added: to ticket plugin:
some messges: // #define WINIX_PL_TICKET_PREPARE_TO_ADD_TICKET 4103 // a next ticket will be displayed // in p1 you have a pointer to the Item struct // this is call from tickets_tab ezc function #define WINIX_PL_TICKET_TICKETS_TAB_IS_NEXT 4104 methods: void ticket_meta_value(Info & i) void tickets_tab_meta_value(Info & i) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@890 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/plugin.h"
|
||||
#include "createticket.h"
|
||||
#include "functions/functions.h"
|
||||
#include "sessiondata.h"
|
||||
#include "pluginmsg.h"
|
||||
|
||||
|
||||
|
||||
@@ -82,7 +84,9 @@ void CreateTicket::Submit(Ticket & ticket, Item & item)
|
||||
functions->SetUser(item);
|
||||
item.privileges = system->NewFilePrivileges();
|
||||
item.parent_id = cur->request->dir_tab.back()->id;
|
||||
|
||||
|
||||
plugin.Call(WINIX_PL_TICKET_PREPARE_TO_ADD_TICKET, &item, &ticket);
|
||||
|
||||
// adding without notificating
|
||||
cur->request->status = system->AddFile(item, false);
|
||||
|
||||
|
Reference in New Issue
Block a user