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:
@@ -169,48 +169,49 @@ init.o: ../../templates/templates.h ../../templates/patterncacher.h
|
||||
init.o: ../../templates/indexpatterns.h ../../templates/patterns.h
|
||||
init.o: ../../templates/changepatterns.h ../../templates/htmltextstream.h
|
||||
init.o: ../../core/sessionmanager.h templates.h
|
||||
reply.o: reply.h ../../functions/functionbase.h ../../core/item.h
|
||||
reply.o: ../../core/plugin.h pluginmsg.h ../../core/log.h
|
||||
reply.o: ../../core/textstream.h ../../core/logmanipulators.h
|
||||
reply.o: ../../../pikotools/textstream/textstream.h
|
||||
reply.o: ../../../pikotools/space/space.h
|
||||
reply.o: ../../../pikotools/textstream/types.h ../../../pikotools/date/date.h
|
||||
reply.o: ../../db/db.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
reply.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/misc.h
|
||||
reply.o: ../../core/item.h ../../core/requesttypes.h
|
||||
reply.o: ../../../pikotools/textstream/textstream.h
|
||||
reply.o: ../../../pikotools/convert/convert.h
|
||||
reply.o: ../../../pikotools/convert/inttostr.h
|
||||
reply.o: ../../../pikotools/membuffer/membuffer.h
|
||||
reply.o: ../../../pikotools/textstream/types.h ../../../pikotools/utf8/utf8.h
|
||||
reply.o: ../../core/error.h ../../../pikotools/space/spaceparser.h
|
||||
reply.o: ../../../pikotools/space/space.h ../../db/dbitemquery.h
|
||||
reply.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
|
||||
reply.o: ../../core/dircontainer.h ../../core/ugcontainer.h ../../core/log.h
|
||||
reply.o: ../../core/textstream.h ../../core/logmanipulators.h
|
||||
reply.o: ../../core/slog.h ../../core/cur.h ../../core/request.h
|
||||
reply.o: ../../core/error.h ../../core/config.h ../../core/htmlfilter.h
|
||||
reply.o: ../../templates/htmltextstream.h
|
||||
reply.o: ../../../pikotools/textstream/types.h ../../core/slog.h
|
||||
reply.o: ../../core/cur.h ../../core/request.h ../../core/requesttypes.h
|
||||
reply.o: ../../core/item.h ../../core/error.h ../../core/config.h
|
||||
reply.o: ../../../pikotools/space/spaceparser.h
|
||||
reply.o: ../../../pikotools/space/space.h ../../core/htmlfilter.h
|
||||
reply.o: ../../templates/htmltextstream.h ../../core/textstream.h
|
||||
reply.o: ../../core/misc.h ../../../pikotools/utf8/utf8.h
|
||||
reply.o: ../../../pikotools/space/spacetojson.h ../../core/session.h
|
||||
reply.o: ../../core/user.h ../../core/plugindata.h ../../core/rebus.h
|
||||
reply.o: ../../core/mount.h ../../templates/locale.h ../../core/request.h
|
||||
reply.o: ../../core/config.h ../../core/system.h ../../core/job.h
|
||||
reply.o: ../../core/basethread.h ../../core/synchro.h ../../core/dirs.h
|
||||
reply.o: ../../core/dircontainer.h ../../notify/notify.h
|
||||
reply.o: ../../notify/notifypool.h ../../templates/patterns.h
|
||||
reply.o: ../../templates/locale.h ../../templates/localefilter.h
|
||||
reply.o: ../../../ezc/src/ezc.h ../../../ezc/src/generator.h
|
||||
reply.o: ../../../ezc/src/pattern.h ../../../ezc/src/functions.h
|
||||
reply.o: ../../../ezc/src/funinfo.h ../../../ezc/src/stringconv.h
|
||||
reply.o: ../../notify/notifythread.h ../../core/basethread.h
|
||||
reply.o: ../../notify/templatesnotify.h ../../core/users.h
|
||||
reply.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
|
||||
reply.o: ../../core/mount.h ../../templates/locale.h ../../core/system.h
|
||||
reply.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
|
||||
reply.o: ../../core/lastcontainer.h ../../core/synchro.h
|
||||
reply.o: ../../core/basethread.h ../../functions/functions.h
|
||||
reply.o: ../../functions/functionbase.h ../../functions/functionparser.h
|
||||
reply.o: ../../db/db.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
reply.o: ../../db/dbtextstream.h ../../core/error.h ../../db/dbitemquery.h
|
||||
reply.o: ../../core/item.h ../../db/dbitemcolumns.h ../../core/user.h
|
||||
reply.o: ../../core/group.h ../../core/dircontainer.h
|
||||
reply.o: ../../core/ugcontainer.h ../../core/cur.h ../../core/system.h
|
||||
reply.o: ../../core/job.h ../../core/dirs.h ../../core/dircontainer.h
|
||||
reply.o: ../../notify/notify.h ../../notify/notifypool.h
|
||||
reply.o: ../../templates/patterns.h ../../templates/locale.h
|
||||
reply.o: ../../templates/localefilter.h ../../../ezc/src/ezc.h
|
||||
reply.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
reply.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
reply.o: ../../../ezc/src/stringconv.h ../../notify/notifythread.h
|
||||
reply.o: ../../core/basethread.h ../../notify/templatesnotify.h
|
||||
reply.o: ../../core/config.h ../../core/users.h ../../core/ugcontainer.h
|
||||
reply.o: ../../core/mounts.h ../../core/mountparser.h ../../core/crypt.h
|
||||
reply.o: ../../core/run.h ../../core/users.h ../../core/groups.h
|
||||
reply.o: ../../core/group.h ../../core/loadavg.h ../../core/image.h
|
||||
reply.o: ../../core/threadmanager.h ../../core/timezones.h
|
||||
reply.o: ../../core/timezone.h ../../core/synchro.h tdb.h thread.h
|
||||
reply.o: ../../db/dbbase.h threadinfo.h ../../functions/functions.h
|
||||
reply.o: ../../functions/functionbase.h ../../functions/functionparser.h
|
||||
reply.o: ../../core/cur.h ../../functions/adduser.h ../../functions/cat.h
|
||||
reply.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
reply.o: ../../core/timezone.h ../../functions/adduser.h
|
||||
reply.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
reply.o: ../../functions/privchanger.h ../../core/request.h
|
||||
reply.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
reply.o: ../../functions/cp.h ../../functions/default.h
|
||||
reply.o: ../../functions/download.h ../../functions/emacs.h
|
||||
@@ -226,12 +227,12 @@ reply.o: ../../functions/subject.h ../../functions/template.h
|
||||
reply.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
reply.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
reply.o: ../../functions/who.h ../../functions/vim.h ../../core/htmlfilter.h
|
||||
reply.o: ../../core/misc.h ../../core/plugin.h pluginmsg.h
|
||||
reply.o: ../../core/system.h ../../core/sessionmanager.h
|
||||
reply.o: ../../core/sessioncontainer.h ../../templates/templates.h
|
||||
reply.o: ../../templates/patterncacher.h ../../templates/indexpatterns.h
|
||||
reply.o: ../../templates/patterns.h ../../templates/changepatterns.h
|
||||
reply.o: ../../templates/htmltextstream.h ../../core/sessionmanager.h
|
||||
reply.o: ../../templates/templates.h ../../templates/patterncacher.h
|
||||
reply.o: ../../templates/indexpatterns.h ../../templates/patterns.h
|
||||
reply.o: ../../templates/changepatterns.h ../../templates/htmltextstream.h
|
||||
reply.o: ../../core/sessionmanager.h reply.h ../../functions/functionbase.h
|
||||
reply.o: ../../core/synchro.h tdb.h thread.h ../../db/dbbase.h threadinfo.h
|
||||
reply.o: ../../core/misc.h
|
||||
showthreads.o: showthreads.h ../../functions/functionbase.h ../../core/item.h
|
||||
showthreads.o: ../../../pikotools/space/space.h
|
||||
showthreads.o: ../../../pikotools/textstream/types.h
|
||||
|
||||
@@ -25,6 +25,12 @@
|
||||
#define WINIX_PL_THREAD_CAN_MAKE_REDIRECT 4005
|
||||
|
||||
|
||||
// a new answer is going to add in a thread
|
||||
// in p1 you have a pointer to the new Item struct
|
||||
// cur->request->item is the 'main' thread file
|
||||
#define WINIX_PL_THREAD_PREPARE_TO_REPLY_IN_THREAD 4006
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "core/plugin.h"
|
||||
#include "reply.h"
|
||||
#include "functions/functions.h"
|
||||
#include "core/misc.h"
|
||||
@@ -97,6 +98,8 @@ void Reply::MakePost()
|
||||
if( functions->CheckAbuse() )
|
||||
return;
|
||||
|
||||
plugin.Call(WINIX_PL_THREAD_PREPARE_TO_REPLY_IN_THREAD, &answer);
|
||||
|
||||
cur->request->status = system->AddFile(answer);
|
||||
|
||||
if( cur->request->status == WINIX_ERR_OK )
|
||||
|
||||
Reference in New Issue
Block a user