tickets has been moved to a new plugin 'ticket'

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@657 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2010-09-29 21:24:34 +00:00
parent a589e5a090
commit a8b8c1feec
55 changed files with 2765 additions and 2523 deletions

View File

@ -23,7 +23,8 @@ winix: FORCE
@cd functions ; $(MAKE) -e
@cd templates ; $(MAKE) -e
@cd templatesnotify ; $(MAKE) -e
@cd plugins/stats ; $(MAKE) -e
@cd plugins/stats ; $(MAKE) -e
@cd plugins/ticket ; $(MAKE) -e
@cd ../ezc/src ; $(MAKE) -e
$(CXX) -shared -o winix.so $(CXXFLAGS) core/*.o db/*.o functions/*.o templates/*.o templatesnotify/*.o ../ezc/src/ezc.a -lfcgi -lpq -lz -lpthread
@cd main ; $(MAKE) -e
@ -38,7 +39,8 @@ clean:
@cd functions ; $(MAKE) -e clean
@cd templates ; $(MAKE) -e clean
@cd templatesnotify ; $(MAKE) -e clean
@cd plugins/stats ; $(MAKE) -e clean
@cd plugins/stats ; $(MAKE) -e clean
@cd plugins/ticket ; $(MAKE) -e clean
@cd ../ezc/src ; $(MAKE) -e clean
@cd main ; $(MAKE) -e clean
rm -f winix.so
@ -55,6 +57,7 @@ depend:
@cd templates ; $(MAKE) -e depend
@cd templatesnotify ; $(MAKE) -e depend
@cd plugins/stats ; $(MAKE) -e depend
@cd plugins/ticket ; $(MAKE) -e depend
@cd ../ezc/src ; $(MAKE) -e depend
@cd main ; $(MAKE) -e depend

View File

@ -6,10 +6,10 @@ app.o: dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
app.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
app.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
app.o: ../core/thread.h ../core/error.h log.h ../core/dircontainer.h
app.o: ../core/ugcontainer.h ../core/ticket.h request.h requesttypes.h
app.o: session.h error.h user.h plugindata.h rebus.h mounts.h mount.h
app.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h group.h
app.o: loadavg.h sessionmanager.h sessioncontainer.h notify.h
app.o: ../core/ugcontainer.h request.h requesttypes.h session.h error.h
app.o: user.h plugindata.h rebus.h mounts.h mount.h mountparser.h users.h
app.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
app.o: sessionmanager.h sessioncontainer.h notify.h
app.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
app.o: ../core/mount.h ../core/locale.h ../core/config.h ../templates/misc.h
app.o: ../templates/localefilter.h ../core/locale.h ../functions/functions.h
@ -17,18 +17,17 @@ app.o: ../functions/functionbase.h ../core/request.h ../core/system.h
app.o: ../core/notify.h ../functions/functionparser.h ../functions/adduser.h
app.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
app.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
app.o: ../functions/createthread.h ../functions/createticket.h
app.o: ../functions/default.h ../functions/download.h
app.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
app.o: ../functions/createthread.h ../functions/default.h
app.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
app.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
app.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
app.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
app.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
app.o: ../functions/funticket.h ../functions/template.h
app.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
app.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
app.o: ../templates/templates.h ../templates/patterncacher.h ../core/item.h
app.o: misc.h ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
app.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
app.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
app.o: ../core/htmlfilter.h ../templates/templates.h misc.h
app.o: ../templates/patterncacher.h ../core/item.h
app.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
app.o: ../core/log.h ../templates/indexpatterns.h ../core/sessionmanager.h
app.o: compress.h getparser.h httpsimpleparser.h postparser.h cookieparser.h
app.o: postmultiparser.h acceptencodingparser.h acceptbaseparser.h plugin.h
@ -42,48 +41,46 @@ config.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
config.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
config.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
config.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
config.o: ../core/ugcontainer.h ../core/ticket.h mounts.h mount.h
config.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
config.o: group.h loadavg.h sessionmanager.h sessioncontainer.h
config.o: ../functions/functions.h ../functions/functionbase.h
config.o: ../core/request.h ../core/config.h ../core/system.h
config.o: ../core/notify.h ../../ezc/src/ezc.h ../functions/functionparser.h
config.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
config.o: ../functions/privchanger.h ../functions/chown.h
config.o: ../functions/ckeditor.h ../functions/cp.h
config.o: ../functions/createthread.h ../functions/createticket.h
config.o: ../functions/default.h ../functions/download.h
config.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
config.o: ../core/ugcontainer.h mounts.h mount.h mountparser.h users.h
config.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
config.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
config.o: ../functions/functionbase.h ../core/request.h ../core/config.h
config.o: ../core/system.h ../core/notify.h ../../ezc/src/ezc.h
config.o: ../functions/functionparser.h ../functions/adduser.h
config.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
config.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
config.o: ../functions/createthread.h ../functions/default.h
config.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
config.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
config.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
config.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
config.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
config.o: ../functions/funticket.h ../functions/template.h
config.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
config.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
config.o: ../templates/templates.h ../templates/patterncacher.h
config.o: ../core/item.h misc.h ../templates/ckeditorgetparser.h
config.o: ../core/httpsimpleparser.h ../core/log.h
config.o: ../templates/indexpatterns.h ../templates/localefilter.h
config.o: ../core/locale.h ../core/locale.h ../core/sessionmanager.h
config.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
config.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
config.o: ../core/htmlfilter.h ../templates/templates.h misc.h
config.o: ../templates/patterncacher.h ../core/item.h
config.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
config.o: ../core/log.h ../templates/indexpatterns.h
config.o: ../templates/localefilter.h ../core/locale.h ../core/locale.h
config.o: ../core/sessionmanager.h
confparser.o: confparser.h misc.h item.h
dircontainer.o: dircontainer.h item.h log.h
dirs.o: dirs.h item.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
dirs.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
dirs.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
dirs.o: ../core/thread.h ../core/error.h log.h ../core/dircontainer.h
dirs.o: ../core/ugcontainer.h ../core/ticket.h request.h requesttypes.h
dirs.o: session.h error.h user.h plugindata.h rebus.h config.h confparser.h
dirs.o: htmlfilter.h notify.h ../templatesnotify/templatesnotify.h
dirs.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h ../core/config.h
dirs.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
dirs.o: system.h mounts.h mount.h mountparser.h users.h ugcontainer.h
dirs.o: lastcontainer.h groups.h group.h loadavg.h
dirs.o: ../core/ugcontainer.h request.h requesttypes.h session.h error.h
dirs.o: user.h plugindata.h rebus.h config.h confparser.h htmlfilter.h
dirs.o: notify.h ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
dirs.o: ../core/mount.h ../core/locale.h ../core/config.h ../templates/misc.h
dirs.o: ../templates/localefilter.h ../core/locale.h system.h mounts.h
dirs.o: mount.h mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
dirs.o: group.h loadavg.h
groups.o: groups.h group.h ugcontainer.h ../db/db.h ../db/dbbase.h
groups.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
groups.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
groups.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
groups.o: log.h ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
groups.o: log.h ../core/dircontainer.h ../core/ugcontainer.h
htmlfilter.o: htmlfilter.h
httpsimpleparser.o: httpsimpleparser.h
lastcontainer.o: lastcontainer.h log.h
@ -97,39 +94,38 @@ mountparser.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
mountparser.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
mountparser.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
mountparser.o: ../core/thread.h ../core/error.h log.h ../core/dircontainer.h
mountparser.o: ../core/ugcontainer.h ../core/ticket.h request.h
mountparser.o: requesttypes.h session.h user.h plugindata.h rebus.h config.h
mountparser.o: confparser.h htmlfilter.h misc.h
mountparser.o: ../core/ugcontainer.h request.h requesttypes.h session.h
mountparser.o: user.h plugindata.h rebus.h config.h confparser.h htmlfilter.h
mountparser.o: misc.h
mounts.o: mounts.h mount.h error.h dirs.h item.h dircontainer.h ../db/db.h
mounts.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
mounts.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
mounts.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
mounts.o: ../core/thread.h ../core/error.h log.h ../core/dircontainer.h
mounts.o: ../core/ugcontainer.h ../core/ticket.h request.h requesttypes.h
mounts.o: session.h user.h plugindata.h rebus.h config.h confparser.h
mounts.o: htmlfilter.h mountparser.h plugin.h pluginmsg.h system.h users.h
mounts.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
mounts.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
mounts.o: ../core/ugcontainer.h request.h requesttypes.h session.h user.h
mounts.o: plugindata.h rebus.h config.h confparser.h htmlfilter.h
mounts.o: mountparser.h plugin.h pluginmsg.h system.h users.h ugcontainer.h
mounts.o: lastcontainer.h groups.h group.h loadavg.h sessionmanager.h
mounts.o: sessioncontainer.h ../functions/functions.h
mounts.o: ../functions/functionbase.h ../core/request.h ../core/config.h
mounts.o: ../core/system.h ../core/notify.h ../../ezc/src/ezc.h
mounts.o: ../functions/functionparser.h ../functions/adduser.h
mounts.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
mounts.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
mounts.o: ../functions/createthread.h ../functions/createticket.h
mounts.o: ../functions/default.h ../functions/download.h
mounts.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
mounts.o: ../functions/createthread.h ../functions/default.h
mounts.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
mounts.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
mounts.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
mounts.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
mounts.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
mounts.o: ../functions/funticket.h ../functions/template.h
mounts.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
mounts.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
mounts.o: ../templates/templates.h ../templates/patterncacher.h
mounts.o: ../core/item.h misc.h ../templates/ckeditorgetparser.h
mounts.o: ../core/httpsimpleparser.h ../core/log.h
mounts.o: ../templates/indexpatterns.h ../templates/localefilter.h
mounts.o: ../core/locale.h ../core/locale.h ../core/sessionmanager.h
mounts.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
mounts.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
mounts.o: ../core/htmlfilter.h ../templates/templates.h misc.h
mounts.o: ../templates/patterncacher.h ../core/item.h
mounts.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
mounts.o: ../core/log.h ../templates/indexpatterns.h
mounts.o: ../templates/localefilter.h ../core/locale.h ../core/locale.h
mounts.o: ../core/sessionmanager.h
notify.o: log.h notify.h ../templatesnotify/templatesnotify.h
notify.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h confparser.h
notify.o: ../core/config.h ../templates/misc.h ../templates/localefilter.h
@ -139,9 +135,8 @@ notify.o: dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
notify.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
notify.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
notify.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
notify.o: ../core/ugcontainer.h ../core/ticket.h mounts.h mount.h
notify.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
notify.o: group.h loadavg.h misc.h
notify.o: ../core/ugcontainer.h mounts.h mount.h mountparser.h users.h
notify.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h misc.h
plugin.o: plugin.h pluginmsg.h log.h plugindata.h config.h confparser.h
plugin.o: htmlfilter.h request.h requesttypes.h session.h item.h error.h
plugin.o: user.h rebus.h system.h dirs.h dircontainer.h ../db/db.h
@ -149,30 +144,28 @@ plugin.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
plugin.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
plugin.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
plugin.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
plugin.o: ../core/ugcontainer.h ../core/ticket.h mounts.h mount.h
plugin.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
plugin.o: group.h loadavg.h sessionmanager.h sessioncontainer.h
plugin.o: ../functions/functions.h ../functions/functionbase.h
plugin.o: ../core/request.h ../core/config.h ../core/system.h
plugin.o: ../core/notify.h ../../ezc/src/ezc.h ../functions/functionparser.h
plugin.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
plugin.o: ../functions/privchanger.h ../functions/chown.h
plugin.o: ../functions/ckeditor.h ../functions/cp.h
plugin.o: ../functions/createthread.h ../functions/createticket.h
plugin.o: ../functions/default.h ../functions/download.h
plugin.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
plugin.o: ../core/ugcontainer.h mounts.h mount.h mountparser.h users.h
plugin.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
plugin.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
plugin.o: ../functions/functionbase.h ../core/request.h ../core/config.h
plugin.o: ../core/system.h ../core/notify.h ../../ezc/src/ezc.h
plugin.o: ../functions/functionparser.h ../functions/adduser.h
plugin.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
plugin.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
plugin.o: ../functions/createthread.h ../functions/default.h
plugin.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
plugin.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
plugin.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
plugin.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
plugin.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
plugin.o: ../functions/funticket.h ../functions/template.h
plugin.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
plugin.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
plugin.o: ../templates/templates.h ../templates/patterncacher.h
plugin.o: ../core/item.h misc.h ../templates/ckeditorgetparser.h
plugin.o: ../core/httpsimpleparser.h ../core/log.h
plugin.o: ../templates/indexpatterns.h ../templates/localefilter.h
plugin.o: ../core/locale.h ../core/locale.h ../core/sessionmanager.h
plugin.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
plugin.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
plugin.o: ../core/htmlfilter.h ../templates/templates.h misc.h
plugin.o: ../templates/patterncacher.h ../core/item.h
plugin.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
plugin.o: ../core/log.h ../templates/indexpatterns.h
plugin.o: ../templates/localefilter.h ../core/locale.h ../core/locale.h
plugin.o: ../core/sessionmanager.h
plugindata.o: plugindata.h plugin.h pluginmsg.h log.h config.h confparser.h
plugindata.o: htmlfilter.h request.h requesttypes.h session.h item.h error.h
plugindata.o: user.h rebus.h system.h dirs.h dircontainer.h ../db/db.h
@ -180,32 +173,30 @@ plugindata.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
plugindata.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
plugindata.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
plugindata.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
plugindata.o: ../core/ugcontainer.h ../core/ticket.h mounts.h mount.h
plugindata.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
plugindata.o: group.h loadavg.h sessionmanager.h sessioncontainer.h
plugindata.o: ../functions/functions.h ../functions/functionbase.h
plugindata.o: ../core/request.h ../core/config.h ../core/system.h
plugindata.o: ../core/notify.h ../../ezc/src/ezc.h
plugindata.o: ../core/ugcontainer.h mounts.h mount.h mountparser.h users.h
plugindata.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
plugindata.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
plugindata.o: ../functions/functionbase.h ../core/request.h ../core/config.h
plugindata.o: ../core/system.h ../core/notify.h ../../ezc/src/ezc.h
plugindata.o: ../functions/functionparser.h ../functions/adduser.h
plugindata.o: ../functions/cat.h ../functions/chmod.h
plugindata.o: ../functions/privchanger.h ../functions/chown.h
plugindata.o: ../functions/ckeditor.h ../functions/cp.h
plugindata.o: ../functions/createthread.h ../functions/createticket.h
plugindata.o: ../functions/default.h ../functions/download.h
plugindata.o: ../functions/editticket.h ../functions/emacs.h
plugindata.o: ../functions/createthread.h ../functions/default.h
plugindata.o: ../functions/download.h ../functions/emacs.h
plugindata.o: ../functions/last.h ../functions/login.h ../functions/logout.h
plugindata.o: ../functions/ls.h ../functions/mkdir.h ../functions/mv.h
plugindata.o: ../functions/node.h ../functions/priv.h ../functions/reload.h
plugindata.o: ../functions/rm.h ../functions/run.h ../functions/subject.h
plugindata.o: ../functions/funthread.h ../functions/funticket.h
plugindata.o: ../functions/template.h ../functions/tinymce.h
plugindata.o: ../functions/uname.h ../functions/upload.h
plugindata.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
plugindata.o: ../templates/templates.h ../templates/patterncacher.h
plugindata.o: ../core/item.h misc.h ../templates/ckeditorgetparser.h
plugindata.o: ../core/httpsimpleparser.h ../core/log.h
plugindata.o: ../templates/indexpatterns.h ../templates/localefilter.h
plugindata.o: ../core/locale.h ../core/locale.h ../core/sessionmanager.h
plugindata.o: ../functions/funthread.h ../functions/template.h
plugindata.o: ../functions/tinymce.h ../functions/uname.h
plugindata.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
plugindata.o: ../core/htmlfilter.h ../templates/templates.h misc.h
plugindata.o: ../templates/patterncacher.h ../core/item.h
plugindata.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
plugindata.o: ../core/log.h ../templates/indexpatterns.h
plugindata.o: ../templates/localefilter.h ../core/locale.h ../core/locale.h
plugindata.o: ../core/sessionmanager.h
postmultiparser.o: postmultiparser.h error.h requesttypes.h config.h
postmultiparser.o: confparser.h htmlfilter.h log.h
rebus.o: log.h rebus.h misc.h item.h request.h requesttypes.h session.h
@ -217,30 +208,28 @@ request.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
request.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
request.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
request.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
request.o: ../core/ugcontainer.h ../core/ticket.h mounts.h mount.h
request.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
request.o: group.h loadavg.h sessionmanager.h sessioncontainer.h
request.o: ../functions/functions.h ../functions/functionbase.h
request.o: ../core/request.h ../core/config.h ../core/system.h
request.o: ../core/notify.h ../../ezc/src/ezc.h ../functions/functionparser.h
request.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
request.o: ../functions/privchanger.h ../functions/chown.h
request.o: ../functions/ckeditor.h ../functions/cp.h
request.o: ../functions/createthread.h ../functions/createticket.h
request.o: ../functions/default.h ../functions/download.h
request.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
request.o: ../core/ugcontainer.h mounts.h mount.h mountparser.h users.h
request.o: ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
request.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
request.o: ../functions/functionbase.h ../core/request.h ../core/config.h
request.o: ../core/system.h ../core/notify.h ../../ezc/src/ezc.h
request.o: ../functions/functionparser.h ../functions/adduser.h
request.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
request.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
request.o: ../functions/createthread.h ../functions/default.h
request.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
request.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
request.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
request.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
request.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
request.o: ../functions/funticket.h ../functions/template.h
request.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
request.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
request.o: ../templates/templates.h ../templates/patterncacher.h
request.o: ../core/item.h misc.h ../templates/ckeditorgetparser.h
request.o: ../core/httpsimpleparser.h ../core/log.h
request.o: ../templates/indexpatterns.h ../templates/localefilter.h
request.o: ../core/locale.h ../core/locale.h ../core/sessionmanager.h
request.o: ../functions/template.h ../functions/tinymce.h
request.o: ../functions/uname.h ../functions/upload.h ../functions/uptime.h
request.o: ../functions/who.h ../core/htmlfilter.h ../templates/templates.h
request.o: misc.h ../templates/patterncacher.h ../core/item.h
request.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
request.o: ../core/log.h ../templates/indexpatterns.h
request.o: ../templates/localefilter.h ../core/locale.h ../core/locale.h
request.o: ../core/sessionmanager.h
session.o: session.h item.h error.h user.h plugindata.h rebus.h
sessioncontainer.o: sessioncontainer.h session.h item.h error.h user.h
sessioncontainer.o: plugindata.h rebus.h lastcontainer.h log.h
@ -252,9 +241,9 @@ sessionmanager.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
sessionmanager.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
sessionmanager.o: ../core/user.h ../core/group.h ../core/thread.h
sessionmanager.o: ../core/error.h log.h ../core/dircontainer.h
sessionmanager.o: ../core/ugcontainer.h ../core/ticket.h mounts.h mount.h
sessionmanager.o: mountparser.h users.h ugcontainer.h groups.h group.h
sessionmanager.o: loadavg.h sessionparser.h plugin.h pluginmsg.h
sessionmanager.o: ../core/ugcontainer.h mounts.h mount.h mountparser.h
sessionmanager.o: users.h ugcontainer.h groups.h group.h loadavg.h
sessionmanager.o: sessionparser.h plugin.h pluginmsg.h
sessionmanager.o: ../functions/functions.h ../functions/functionbase.h
sessionmanager.o: ../core/request.h ../core/config.h ../core/system.h
sessionmanager.o: ../core/notify.h ../../ezc/src/ezc.h
@ -262,20 +251,19 @@ sessionmanager.o: ../functions/functionparser.h ../functions/adduser.h
sessionmanager.o: ../functions/cat.h ../functions/chmod.h
sessionmanager.o: ../functions/privchanger.h ../functions/chown.h
sessionmanager.o: ../functions/ckeditor.h ../functions/cp.h
sessionmanager.o: ../functions/createthread.h ../functions/createticket.h
sessionmanager.o: ../functions/default.h ../functions/download.h
sessionmanager.o: ../functions/editticket.h ../functions/emacs.h
sessionmanager.o: ../functions/createthread.h ../functions/default.h
sessionmanager.o: ../functions/download.h ../functions/emacs.h
sessionmanager.o: ../functions/last.h ../functions/login.h
sessionmanager.o: ../functions/logout.h ../functions/ls.h
sessionmanager.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
sessionmanager.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
sessionmanager.o: ../functions/run.h ../functions/subject.h
sessionmanager.o: ../functions/funthread.h ../functions/funticket.h
sessionmanager.o: ../functions/template.h ../functions/tinymce.h
sessionmanager.o: ../functions/uname.h ../functions/upload.h
sessionmanager.o: ../functions/uptime.h ../functions/who.h
sessionmanager.o: ../core/htmlfilter.h ../templates/templates.h
sessionmanager.o: ../templates/patterncacher.h ../core/item.h misc.h
sessionmanager.o: ../functions/funthread.h ../functions/template.h
sessionmanager.o: ../functions/tinymce.h ../functions/uname.h
sessionmanager.o: ../functions/upload.h ../functions/uptime.h
sessionmanager.o: ../functions/who.h ../core/htmlfilter.h
sessionmanager.o: ../templates/templates.h misc.h
sessionmanager.o: ../templates/patterncacher.h ../core/item.h
sessionmanager.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
sessionmanager.o: ../core/log.h ../templates/indexpatterns.h
sessionmanager.o: ../templates/localefilter.h ../core/locale.h
@ -288,19 +276,19 @@ sessionparser.o: ../db/dbtextstream.h ../core/textstream.h
sessionparser.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
sessionparser.o: ../core/user.h ../core/group.h ../core/thread.h
sessionparser.o: ../core/error.h log.h ../core/dircontainer.h
sessionparser.o: ../core/ugcontainer.h ../core/ticket.h
sessionparser.o: ../core/ugcontainer.h
system.o: system.h dirs.h item.h dircontainer.h ../db/db.h ../db/dbbase.h
system.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
system.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
system.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
system.o: log.h ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
system.o: request.h requesttypes.h session.h error.h user.h plugindata.h
system.o: rebus.h config.h confparser.h htmlfilter.h mounts.h mount.h
system.o: mountparser.h users.h ugcontainer.h lastcontainer.h groups.h
system.o: group.h loadavg.h misc.h notify.h
system.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
system.o: ../core/mount.h ../core/locale.h ../core/config.h
system.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
system.o: log.h ../core/dircontainer.h ../core/ugcontainer.h request.h
system.o: requesttypes.h session.h error.h user.h plugindata.h rebus.h
system.o: config.h confparser.h htmlfilter.h mounts.h mount.h mountparser.h
system.o: users.h ugcontainer.h lastcontainer.h groups.h group.h loadavg.h
system.o: misc.h notify.h ../templatesnotify/templatesnotify.h
system.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
system.o: ../core/config.h ../templates/misc.h ../templates/localefilter.h
system.o: ../core/locale.h
textstream.o: textstream.h
users.o: users.h user.h ugcontainer.h lastcontainer.h request.h
users.o: requesttypes.h session.h item.h error.h plugindata.h rebus.h
@ -308,4 +296,4 @@ users.o: config.h confparser.h htmlfilter.h ../db/db.h ../db/dbbase.h
users.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
users.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
users.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
users.o: log.h ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
users.o: log.h ../core/dircontainer.h ../core/ugcontainer.h

View File

@ -153,7 +153,8 @@ bool App::Init()
// call this after system.Init() (mount points identificators should be created)
templates_notify.SetMountTypes( system.mounts.MountTypeCms(),
system.mounts.MountTypeThread(),
system.mounts.MountTypeTicket() );
2 ); // !! chwilowo
//system.mounts.MountTypeTicket() );
// init templates after functions are created
templates.ReadIndexFileNames();

View File

@ -26,7 +26,6 @@ void Mounts::CreateMountType()
{
mount_type_cms = AddMountType("cms");
mount_type_thread = AddMountType("thread");
mount_type_ticket = AddMountType("ticket");
}
@ -41,19 +40,7 @@ void Mounts::CreateMountPar()
{
mount_par_page = AddMountPar("page");
mount_par_thread = AddMountPar("thread");
mount_par_ticket = AddMountPar("ticket");
mount_par_ticket_type = AddMountPar("ticket_type");
mount_par_ticket_type_default = AddMountPar("ticket_type_default");
mount_par_ticket_status = AddMountPar("ticket_status");
mount_par_ticket_status_default = AddMountPar("ticket_status_default");
mount_par_ticket_priority = AddMountPar("ticket_priority");
mount_par_ticket_priority_default = AddMountPar("ticket_priority_default");
mount_par_ticket_category = AddMountPar("ticket_category");
mount_par_ticket_category_default = AddMountPar("ticket_category_default");
mount_par_ticket_expected = AddMountPar("ticket_expected");
mount_par_ticket_expected_default = AddMountPar("ticket_expected_default");
mount_par_createthread_on = AddMountPar("createthread_on");
mount_par_createticket_on = AddMountPar("createticket_on");
mount_par_only_root_remove = AddMountPar("only_root_remove");
mount_par_emacs_on = AddMountPar("emacs_on");
mount_par_mkdir_on = AddMountPar("mkdir_on");
@ -122,6 +109,17 @@ const std::string & Mounts::GetMountType(int id)
}
int Mounts::FindMountType(const std::string & type)
{
for(size_t i=0 ; i<mount_type_tab.size() ; ++i)
if( mount_type_tab[i] == type )
return (int)i;
return -1;
}
int Mounts::AddMountFs(const std::string & fs)
{
return AddMountFs(fs.c_str());

View File

@ -38,7 +38,10 @@ public:
// id of a specific mount type (the id is always valid)
int MountTypeCms() { return mount_type_cms; }
int MountTypeThread() { return mount_type_thread; }
int MountTypeTicket() { return mount_type_ticket; }
// return -1 if there is no such a mount type
// or index otherwhise
int FindMountType(const std::string & type);
/*
@ -62,19 +65,7 @@ public:
int MountParPage() { return mount_par_page; }
int MountParThread() { return mount_par_thread; }
int MountParTicket() { return mount_par_ticket; }
int MountParTicketType() { return mount_par_ticket_type; }
int MountParTicketTypeDefault() { return mount_par_ticket_type_default; }
int MountParTicketStatus() { return mount_par_ticket_status; }
int MountParTicketStatusDefault() { return mount_par_ticket_status_default; }
int MountParTicketPriority() { return mount_par_ticket_priority; }
int MountParTicketPriorityDefault() { return mount_par_ticket_priority_default; }
int MountParTicketCategory() { return mount_par_ticket_category; }
int MountParTicketCategoryDefault() { return mount_par_ticket_category_default; }
int MountParTicketExpected() { return mount_par_ticket_expected; }
int MountParTicketExpectedDefault() { return mount_par_ticket_expected_default; }
int MountParCreatethreadOn() { return mount_par_createthread_on; }
int MountParCreateticketOn() { return mount_par_createticket_on; }
int MountParOnlyRootRemove() { return mount_par_only_root_remove; }
int MountParEmacsOn() { return mount_par_emacs_on; }
int MountParMkdirOn() { return mount_par_mkdir_on; }
@ -107,8 +98,8 @@ public:
private:
Dirs * dirs;
Db * db;
Dirs * dirs;
Request * request;
const std::string empty_str;
@ -117,12 +108,10 @@ private:
// cms
// thread
// ticket
std::vector<std::string> mount_type_tab;
int mount_type_cms;
int mount_type_thread;
int mount_type_ticket;
// simplefs
// hashfs
@ -133,27 +122,11 @@ private:
// page
// thread
// ticket
// ticket_type
// ticket_type_default
// ...
std::vector<std::string> mount_par_tab;
int mount_par_page;
int mount_par_thread;
int mount_par_ticket;
int mount_par_ticket_type;
int mount_par_ticket_type_default;
int mount_par_ticket_status;
int mount_par_ticket_status_default;
int mount_par_ticket_priority;
int mount_par_ticket_priority_default;
int mount_par_ticket_category;
int mount_par_ticket_category_default;
int mount_par_ticket_expected;
int mount_par_ticket_expected_default;
int mount_par_createthread_on;
int mount_par_createticket_on;
int mount_par_only_root_remove;
int mount_par_emacs_on;
int mount_par_mkdir_on;

View File

@ -252,8 +252,8 @@ Users::Iterator i;
{
sending = false;
if( system->mounts.pmount->type == system->mounts.MountTypeThread() ||
system->mounts.pmount->type == system->mounts.MountTypeTicket() )
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
//system->mounts.pmount->type == system->mounts.MountTypeTicket() )
{
if( (i->thread_notify & notify_code) != 0 )
sending = true;

View File

@ -52,5 +52,12 @@
// for adding a new mount type call: system->mounts.AddMountType("new_mount_name")
#define WINIX_ADD_MOUNTS 3009
// add plugin functions here
#define WINIX_CREATE_FUNCTIONS 3010
// choose a default function
// if you do not select it then it will be choosen by winix
#define WINIX_SELECT_DEFAULT_FUNCTION 3011
#endif

View File

@ -4,7 +4,7 @@ db.o: db.h dbbase.h dbconn.h dbtextstream.h ../core/textstream.h
db.o: dbitemquery.h ../core/item.h dbitemcolumns.h ../core/user.h
db.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
db.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
db.o: ../core/ticket.h ../core/log.h ../core/misc.h
db.o: ../core/log.h ../core/misc.h
dbbase.o: dbbase.h dbconn.h dbtextstream.h ../core/textstream.h ../core/log.h
dbbase.o: ../core/error.h ../core/log.h
dbconn.o: dbconn.h dbtextstream.h ../core/textstream.h ../core/log.h

281
db/db.cpp
View File

@ -1659,284 +1659,3 @@ return status;
Error Db::GetTicketByDirId(long dir_id, Ticket & ticket)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("select ticket.id, ticket.dir_id, ticket.parent_id, ticket.type, ticket.status, ticket.priority, "
"ticket.category, ticket.expected, ticket.progress, ticket.item_id "
"from core.ticket "
"where ticket.dir_id=") << dir_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_TUPLES_OK);
int rows = Rows(r);
if( rows > 1 )
log << log1 << "Db: there is more than one ticket with dir_id: " << dir_id << logend;
else
if( rows == 0 )
throw Error(WINIX_ERR_NO_TICKET);
TicketColumns tc;
tc.SetColumns(r);
tc.SetTicket(r, 0, ticket);
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error Db::GetTickets(long parent_id, std::vector<Ticket> & ticket_tab)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("select ticket.id, ticket.dir_id, ticket.parent_id, ticket.type, ticket.status, ticket.priority, "
"ticket.category, ticket.expected, ticket.progress, ticket.item_id "
"from core.ticket "
"where ticket.parent_id = ") << parent_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_TUPLES_OK);
int rows = Rows(r);
Ticket ticket;
TicketColumns tc;
tc.SetColumns(r);
for(int i=0 ; i<rows ; ++i)
{
tc.SetTicket(r, i, ticket);
ticket_tab.push_back(ticket);
}
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
/*
bool Db::IsTicket(long dir_id)
{
PGresult * r = 0;
bool is_ticket = false;
try
{
query.Clear();
query << "select ticket.id from core.ticket "
"where ticket.dir_id = '" << dir_id << "';";
r = AssertQuery(query);
AssertResult(r, PGRES_TUPLES_OK);
is_ticket = (Rows(r) == 1);
}
catch(const Error &)
{
}
ClearResult(r);
return is_ticket;
}
*/
Error Db::AddTicket(Ticket & ticket)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("insert into core.ticket (dir_id, parent_id, type, status, priority, "
"category, expected, progress, item_id) values (")
<< ticket.dir_id
<< ticket.parent_id
<< ticket.type
<< ticket.status
<< ticket.priority
<< ticket.category
<< ticket.expected
<< ticket.progress
<< ticket.item_id
<< R(");");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
ticket.id = AssertCurrval("core.ticket_id_seq");
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error Db::EditTicketById(Ticket & ticket)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("update core.ticket set (dir_id, parent_id, type, status, "
"priority, category, expected, progress, item_id) = (")
<< ticket.dir_id
<< ticket.parent_id
<< ticket.type
<< ticket.status
<< ticket.priority
<< ticket.category
<< ticket.expected
<< ticket.progress
<< ticket.item_id
<< R(") where id=")
<< ticket.id
<< R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error Db::EditTicketRemoveItem(long item_id)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("update core.ticket set item_id = -1 where item_id=") << item_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error Db::RemoveTicket(long dir_id)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("delete from core.ticket where dir_id=") << dir_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
long rows = AffectedRows(r);
if( rows > 0 )
log << log2 << "Db: deleted " << rows << " rows from core.ticket" << logend;
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
void Db::TicketColumns::SetColumns(PGresult * r)
{
// PQfnumber returns -1 if there is no such a column
id = PQfnumber(r, "id");
dir_id = PQfnumber(r, "dir_id");
parent_id = PQfnumber(r, "parent_id");
type = PQfnumber(r, "type");
status = PQfnumber(r, "status");
priority = PQfnumber(r, "priority");
category = PQfnumber(r, "category");
expected = PQfnumber(r, "expected");
progress = PQfnumber(r, "progress");
item_id = PQfnumber(r, "item_id");
}
void Db::TicketColumns::SetTicket(PGresult * r, long row, Ticket & ticket)
{
if( id != -1 ) ticket.id = DbBase::AssertValueLong(r, row, id);
if( dir_id != -1 ) ticket.dir_id = DbBase::AssertValueLong(r, row, dir_id);
if( parent_id != -1 ) ticket.parent_id = DbBase::AssertValueLong(r, row, parent_id);
if( type != -1 ) ticket.type = DbBase::AssertValueInt(r, row, type);
if( status != -1 ) ticket.status = DbBase::AssertValueInt(r, row, status);
if( priority != -1 ) ticket.priority = DbBase::AssertValueInt(r, row, priority);
if( category != -1 ) ticket.category = DbBase::AssertValueInt(r, row, category);
if( expected != -1 ) ticket.expected = DbBase::AssertValueInt(r, row, expected);
if( progress != -1 ) ticket.progress = DbBase::AssertValueInt(r, row, progress);
if( item_id != -1 ) ticket.item_id = DbBase::AssertValueLong(r, row, item_id);
}

19
db/db.h
View File

@ -27,7 +27,7 @@
#include "core/error.h"
#include "core/dircontainer.h"
#include "core/ugcontainer.h"
#include "core/ticket.h"
@ -97,13 +97,6 @@ public:
Error RemoveThread(long dir_id);
Error GetTicketByDirId(long dir_id, Ticket & ticket);
Error GetTickets(long parent_id, std::vector<Ticket> & ticket_tab);
//bool IsTicket(long dir_id);
Error AddTicket(Ticket & ticket);
Error EditTicketById(Ticket & ticket);
Error EditTicketRemoveItem(long item_id);
Error RemoveTicket(long dir_id);
protected:
@ -129,16 +122,6 @@ protected:
Error DelItemCountContents(const Item & item, long & contents);
// !! tymczasowo
// bedzie wszystko w osobnym pluginie
struct TicketColumns
{
int id, dir_id, parent_id, type, status, priority, category, expected, progress, item_id;
void SetColumns(PGresult * r);
void SetTicket(PGresult * r, long row, Ticket & ticket);
};
};

View File

@ -5,27 +5,27 @@ adduser.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
adduser.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
adduser.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
adduser.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
adduser.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
adduser.o: ../core/session.h ../core/error.h ../core/user.h
adduser.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
adduser.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
adduser.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
adduser.o: ../core/request.h ../core/mounts.h ../core/mount.h
adduser.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
adduser.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
adduser.o: ../core/loadavg.h ../core/notify.h
adduser.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
adduser.o: ../core/mount.h ../core/locale.h ../templates/misc.h
adduser.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
adduser.o: ../core/request.h ../core/requesttypes.h ../core/session.h
adduser.o: ../core/error.h ../core/user.h ../core/plugindata.h
adduser.o: ../core/rebus.h ../core/config.h ../core/confparser.h
adduser.o: ../core/htmlfilter.h ../core/config.h ../core/system.h
adduser.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
adduser.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
adduser.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
adduser.o: ../core/groups.h ../core/group.h ../core/loadavg.h
adduser.o: ../core/notify.h ../templatesnotify/templatesnotify.h
adduser.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
adduser.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
adduser.o: ../core/system.h
cat.o: cat.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
cat.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
cat.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
cat.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
cat.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
cat.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
cat.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
cat.o: ../core/rebus.h ../core/config.h ../core/confparser.h
cat.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
cat.o: ../core/request.h ../core/requesttypes.h ../core/session.h
cat.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
cat.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
cat.o: ../core/config.h ../core/system.h ../core/dirs.h
cat.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
cat.o: ../core/mount.h ../core/mountparser.h ../core/users.h
cat.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -38,15 +38,14 @@ chmod.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
chmod.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
chmod.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
chmod.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
chmod.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
chmod.o: ../core/session.h ../core/error.h ../core/user.h
chmod.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
chmod.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
chmod.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
chmod.o: ../core/request.h ../core/mounts.h ../core/mount.h
chmod.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
chmod.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
chmod.o: ../core/loadavg.h ../core/notify.h
chmod.o: ../core/request.h ../core/requesttypes.h ../core/session.h
chmod.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
chmod.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
chmod.o: ../core/config.h ../core/system.h ../core/dirs.h
chmod.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
chmod.o: ../core/mount.h ../core/mountparser.h ../core/users.h
chmod.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
chmod.o: ../core/group.h ../core/loadavg.h ../core/notify.h
chmod.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
chmod.o: ../core/mount.h ../core/locale.h ../templates/misc.h
chmod.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -56,15 +55,14 @@ chown.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
chown.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
chown.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
chown.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
chown.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
chown.o: ../core/session.h ../core/error.h ../core/user.h
chown.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
chown.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
chown.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
chown.o: ../core/request.h ../core/mounts.h ../core/mount.h
chown.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
chown.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
chown.o: ../core/loadavg.h ../core/notify.h
chown.o: ../core/request.h ../core/requesttypes.h ../core/session.h
chown.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
chown.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
chown.o: ../core/config.h ../core/system.h ../core/dirs.h
chown.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
chown.o: ../core/mount.h ../core/mountparser.h ../core/users.h
chown.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
chown.o: ../core/group.h ../core/loadavg.h ../core/notify.h
chown.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
chown.o: ../core/mount.h ../core/locale.h ../templates/misc.h
chown.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -74,184 +72,131 @@ ckeditor.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
ckeditor.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
ckeditor.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
ckeditor.o: ../core/log.h ../core/dircontainer.h ../core/item.h
ckeditor.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
ckeditor.o: ../core/requesttypes.h ../core/session.h ../core/error.h
ckeditor.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
ckeditor.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
ckeditor.o: ../core/config.h ../core/system.h ../core/dirs.h
ckeditor.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
ckeditor.o: ../core/mount.h ../core/mountparser.h ../core/users.h
ckeditor.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
ckeditor.o: ../core/group.h ../core/loadavg.h ../core/notify.h
ckeditor.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
ckeditor.o: ../core/session.h ../core/error.h ../core/user.h
ckeditor.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
ckeditor.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
ckeditor.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
ckeditor.o: ../core/request.h ../core/mounts.h ../core/mount.h
ckeditor.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
ckeditor.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
ckeditor.o: ../core/loadavg.h ../core/notify.h
ckeditor.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
ckeditor.o: ../core/mount.h ../core/locale.h ../templates/misc.h
ckeditor.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
ckeditor.o: functions.h functionparser.h adduser.h cat.h chmod.h
ckeditor.o: privchanger.h chown.h cp.h createthread.h createticket.h
ckeditor.o: default.h download.h editticket.h emacs.h last.h login.h logout.h
ckeditor.o: ls.h mkdir.h mv.h node.h priv.h reload.h rm.h run.h subject.h
ckeditor.o: funthread.h funticket.h template.h tinymce.h uname.h upload.h
ckeditor.o: uptime.h who.h ../core/htmlfilter.h
ckeditor.o: privchanger.h chown.h cp.h createthread.h default.h download.h
ckeditor.o: emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h priv.h
ckeditor.o: reload.h rm.h run.h subject.h funthread.h template.h tinymce.h
ckeditor.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
cp.o: cp.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
cp.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
cp.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
cp.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
cp.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
cp.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
cp.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
cp.o: ../core/rebus.h ../core/config.h ../core/confparser.h
cp.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
cp.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
cp.o: ../core/mount.h ../core/mountparser.h ../core/users.h
cp.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
cp.o: ../core/group.h ../core/loadavg.h ../core/notify.h
cp.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
cp.o: ../core/mount.h ../core/locale.h ../templates/misc.h
cp.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
cp.o: ../core/misc.h functions.h functionparser.h adduser.h cat.h chmod.h
cp.o: privchanger.h chown.h ckeditor.h createthread.h createticket.h
cp.o: default.h download.h editticket.h emacs.h last.h login.h logout.h ls.h
cp.o: mkdir.h mv.h node.h priv.h reload.h rm.h run.h subject.h funthread.h
cp.o: funticket.h template.h tinymce.h uname.h upload.h uptime.h who.h
cp.o: ../core/htmlfilter.h
cp.o: ../core/request.h ../core/requesttypes.h ../core/session.h
cp.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
cp.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
cp.o: ../core/config.h ../core/system.h ../core/dirs.h ../core/dircontainer.h
cp.o: ../core/request.h ../core/mounts.h ../core/mount.h
cp.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
cp.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
cp.o: ../core/loadavg.h ../core/notify.h ../templatesnotify/templatesnotify.h
cp.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
cp.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
cp.o: ../core/system.h ../core/misc.h functions.h functionparser.h adduser.h
cp.o: cat.h chmod.h privchanger.h chown.h ckeditor.h createthread.h default.h
cp.o: download.h emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h
cp.o: priv.h reload.h rm.h run.h subject.h funthread.h template.h tinymce.h
cp.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
createthread.o: createthread.h functionbase.h ../core/item.h ../db/db.h
createthread.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
createthread.o: ../core/textstream.h ../db/dbitemquery.h
createthread.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
createthread.o: ../core/thread.h ../core/error.h ../core/log.h
createthread.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
createthread.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
createthread.o: ../core/session.h ../core/error.h ../core/user.h
createthread.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
createthread.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
createthread.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
createthread.o: ../core/request.h ../core/mounts.h ../core/mount.h
createthread.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
createthread.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
createthread.o: ../core/loadavg.h ../core/notify.h
createthread.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
createthread.o: ../core/mount.h ../core/locale.h ../templates/misc.h
createthread.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
createthread.o: functions.h functionparser.h adduser.h cat.h chmod.h
createthread.o: privchanger.h chown.h ckeditor.h cp.h createticket.h
createthread.o: default.h download.h editticket.h emacs.h last.h login.h
createthread.o: logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h run.h
createthread.o: subject.h funthread.h funticket.h template.h tinymce.h
createthread.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
createticket.o: createticket.h functionbase.h ../core/item.h ../db/db.h
createticket.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
createticket.o: ../core/textstream.h ../db/dbitemquery.h
createticket.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
createticket.o: ../core/thread.h ../core/error.h ../core/log.h
createticket.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
createticket.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
createticket.o: ../core/session.h ../core/error.h ../core/user.h
createticket.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
createticket.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
createticket.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
createticket.o: ../core/request.h ../core/mounts.h ../core/mount.h
createticket.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
createticket.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
createticket.o: ../core/loadavg.h ../core/notify.h
createticket.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
createticket.o: ../core/mount.h ../core/locale.h ../templates/misc.h
createticket.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
createticket.o: readticket.h functions.h functionparser.h adduser.h cat.h
createticket.o: chmod.h privchanger.h chown.h ckeditor.h cp.h createthread.h
createticket.o: default.h download.h editticket.h emacs.h last.h login.h
createticket.o: logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h run.h
createticket.o: subject.h funthread.h funticket.h template.h tinymce.h
createticket.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
createthread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
createthread.o: ../core/error.h ../core/user.h ../core/plugindata.h
createthread.o: ../core/rebus.h ../core/config.h ../core/confparser.h
createthread.o: ../core/htmlfilter.h ../core/config.h ../core/system.h
createthread.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
createthread.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
createthread.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
createthread.o: ../core/groups.h ../core/group.h ../core/loadavg.h
createthread.o: ../core/notify.h ../templatesnotify/templatesnotify.h
createthread.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
createthread.o: ../templates/misc.h ../templates/localefilter.h
createthread.o: ../core/locale.h ../core/system.h functions.h
createthread.o: functionparser.h adduser.h cat.h chmod.h privchanger.h
createthread.o: chown.h ckeditor.h cp.h default.h download.h emacs.h last.h
createthread.o: login.h logout.h ls.h mkdir.h mv.h node.h priv.h reload.h
createthread.o: rm.h run.h subject.h funthread.h template.h tinymce.h uname.h
createthread.o: upload.h uptime.h who.h ../core/htmlfilter.h
default.o: default.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
default.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
default.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
default.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
default.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
default.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
default.o: ../core/session.h ../core/error.h ../core/user.h
default.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
default.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
default.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
default.o: ../core/request.h ../core/mounts.h ../core/mount.h
default.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
default.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
default.o: ../core/loadavg.h ../core/notify.h
default.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
default.o: ../core/mount.h ../core/locale.h ../templates/misc.h
default.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
default.o: ../core/request.h ../core/requesttypes.h ../core/session.h
default.o: ../core/error.h ../core/user.h ../core/plugindata.h
default.o: ../core/rebus.h ../core/config.h ../core/confparser.h
default.o: ../core/htmlfilter.h ../core/config.h ../core/system.h
default.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
default.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
default.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
default.o: ../core/groups.h ../core/group.h ../core/loadavg.h
default.o: ../core/notify.h ../templatesnotify/templatesnotify.h
default.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
default.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
default.o: ../core/system.h
download.o: download.h functionbase.h ../core/item.h ../db/db.h
download.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
download.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
download.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
download.o: ../core/log.h ../core/dircontainer.h ../core/item.h
download.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
download.o: ../core/requesttypes.h ../core/session.h ../core/error.h
download.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
download.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
download.o: ../core/config.h ../core/system.h ../core/dirs.h
download.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
download.o: ../core/mount.h ../core/mountparser.h ../core/users.h
download.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
download.o: ../core/group.h ../core/loadavg.h ../core/notify.h
download.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
download.o: ../core/session.h ../core/error.h ../core/user.h
download.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
download.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
download.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
download.o: ../core/request.h ../core/mounts.h ../core/mount.h
download.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
download.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
download.o: ../core/loadavg.h ../core/notify.h
download.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
download.o: ../core/mount.h ../core/locale.h ../templates/misc.h
download.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
editticket.o: editticket.h functionbase.h ../core/item.h ../db/db.h
editticket.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
editticket.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
editticket.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
editticket.o: ../core/log.h ../core/dircontainer.h ../core/item.h
editticket.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
editticket.o: ../core/requesttypes.h ../core/session.h ../core/error.h
editticket.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
editticket.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
editticket.o: ../core/config.h ../core/system.h ../core/dirs.h
editticket.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
editticket.o: ../core/mount.h ../core/mountparser.h ../core/users.h
editticket.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
editticket.o: ../core/group.h ../core/loadavg.h ../core/notify.h
editticket.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
editticket.o: ../core/mount.h ../core/locale.h ../templates/misc.h
editticket.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
editticket.o: functions.h functionparser.h adduser.h cat.h chmod.h
editticket.o: privchanger.h chown.h ckeditor.h cp.h createthread.h
editticket.o: createticket.h default.h download.h emacs.h last.h login.h
editticket.o: logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h run.h
editticket.o: subject.h funthread.h funticket.h template.h tinymce.h uname.h
editticket.o: upload.h uptime.h who.h ../core/htmlfilter.h readticket.h
emacs.o: emacs.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
emacs.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
emacs.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
emacs.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
emacs.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
emacs.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
emacs.o: ../core/session.h ../core/error.h ../core/user.h
emacs.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
emacs.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
emacs.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
emacs.o: ../core/request.h ../core/mounts.h ../core/mount.h
emacs.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
emacs.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
emacs.o: ../core/loadavg.h ../core/notify.h
emacs.o: ../core/request.h ../core/requesttypes.h ../core/session.h
emacs.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
emacs.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
emacs.o: ../core/config.h ../core/system.h ../core/dirs.h
emacs.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
emacs.o: ../core/mount.h ../core/mountparser.h ../core/users.h
emacs.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
emacs.o: ../core/group.h ../core/loadavg.h ../core/notify.h
emacs.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
emacs.o: ../core/mount.h ../core/locale.h ../templates/misc.h
emacs.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
emacs.o: ../templates/templates.h ../templates/patterncacher.h ../core/item.h
emacs.o: ../templates/misc.h ../templates/ckeditorgetparser.h
emacs.o: ../core/httpsimpleparser.h ../core/log.h
emacs.o: ../templates/indexpatterns.h ../core/sessionmanager.h
emacs.o: ../templates/templates.h ../templates/misc.h
emacs.o: ../templates/patterncacher.h ../core/item.h
emacs.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
emacs.o: ../core/log.h ../templates/indexpatterns.h ../core/sessionmanager.h
emacs.o: ../core/sessioncontainer.h functions.h functionparser.h adduser.h
emacs.o: cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h createthread.h
emacs.o: createticket.h default.h download.h editticket.h last.h login.h
emacs.o: logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h run.h
emacs.o: subject.h funthread.h funticket.h template.h tinymce.h uname.h
emacs.o: upload.h uptime.h who.h ../core/htmlfilter.h
emacs.o: default.h download.h last.h login.h logout.h ls.h mkdir.h mv.h
emacs.o: node.h priv.h reload.h rm.h run.h subject.h funthread.h template.h
emacs.o: tinymce.h uname.h upload.h uptime.h who.h ../core/htmlfilter.h
functionbase.o: functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
functionbase.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
functionbase.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
functionbase.o: ../core/group.h ../core/thread.h ../core/error.h
functionbase.o: ../core/log.h ../core/dircontainer.h ../core/item.h
functionbase.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
functionbase.o: ../core/ugcontainer.h ../core/request.h
functionbase.o: ../core/requesttypes.h ../core/session.h ../core/error.h
functionbase.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
functionbase.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
@ -265,11 +210,11 @@ functionbase.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
functionbase.o: ../templates/misc.h ../templates/localefilter.h
functionbase.o: ../core/locale.h ../core/system.h functions.h
functionbase.o: functionparser.h adduser.h cat.h chmod.h privchanger.h
functionbase.o: chown.h ckeditor.h cp.h createthread.h createticket.h
functionbase.o: default.h download.h editticket.h emacs.h last.h login.h
functionbase.o: logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h run.h
functionbase.o: subject.h funthread.h funticket.h template.h tinymce.h
functionbase.o: uname.h upload.h uptime.h who.h ../core/htmlfilter.h
functionbase.o: chown.h ckeditor.h cp.h createthread.h default.h download.h
functionbase.o: emacs.h last.h login.h logout.h ls.h mkdir.h mv.h node.h
functionbase.o: priv.h reload.h rm.h run.h subject.h funthread.h template.h
functionbase.o: tinymce.h uname.h upload.h uptime.h who.h
functionbase.o: ../core/htmlfilter.h
functionparser.o: functionparser.h ../core/request.h ../core/requesttypes.h
functionparser.o: ../core/session.h ../core/item.h ../core/error.h
functionparser.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
@ -279,94 +224,76 @@ functionparser.o: ../db/dbtextstream.h ../core/textstream.h
functionparser.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
functionparser.o: ../core/user.h ../core/group.h ../core/thread.h
functionparser.o: ../core/error.h ../core/log.h ../core/dircontainer.h
functionparser.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
functionparser.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
functionparser.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
functionparser.o: ../core/users.h ../core/ugcontainer.h
functionparser.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
functionparser.o: ../core/loadavg.h ../core/log.h functions.h functionbase.h
functionparser.o: ../core/config.h ../core/notify.h
functionparser.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
functionparser.o: ../core/mount.h ../core/locale.h ../templates/misc.h
functionparser.o: ../templates/localefilter.h ../core/locale.h
functionparser.o: ../core/system.h adduser.h cat.h chmod.h privchanger.h
functionparser.o: chown.h ckeditor.h cp.h createthread.h createticket.h
functionparser.o: default.h download.h editticket.h emacs.h last.h login.h
functionparser.o: logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h
functionparser.o: run.h subject.h funthread.h funticket.h template.h
functionparser.o: tinymce.h uname.h upload.h uptime.h who.h
functionparser.o: ../core/htmlfilter.h
functionparser.o: ../core/ugcontainer.h ../core/system.h ../core/dirs.h
functionparser.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
functionparser.o: ../core/mount.h ../core/mountparser.h ../core/users.h
functionparser.o: ../core/ugcontainer.h ../core/lastcontainer.h
functionparser.o: ../core/groups.h ../core/group.h ../core/loadavg.h
functionparser.o: ../core/log.h functions.h functionbase.h ../core/config.h
functionparser.o: ../core/notify.h ../templatesnotify/templatesnotify.h
functionparser.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
functionparser.o: ../templates/misc.h ../templates/localefilter.h
functionparser.o: ../core/locale.h ../core/system.h adduser.h cat.h chmod.h
functionparser.o: privchanger.h chown.h ckeditor.h cp.h createthread.h
functionparser.o: default.h download.h emacs.h last.h login.h logout.h ls.h
functionparser.o: mkdir.h mv.h node.h priv.h reload.h rm.h run.h subject.h
functionparser.o: funthread.h template.h tinymce.h uname.h upload.h uptime.h
functionparser.o: who.h ../core/htmlfilter.h
functions.o: functions.h functionbase.h ../core/item.h ../db/db.h
functions.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
functions.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
functions.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
functions.o: ../core/log.h ../core/dircontainer.h ../core/item.h
functions.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
functions.o: ../core/requesttypes.h ../core/session.h ../core/error.h
functions.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
functions.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
functions.o: ../core/config.h ../core/system.h ../core/dirs.h
functions.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
functions.o: ../core/mount.h ../core/mountparser.h ../core/users.h
functions.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
functions.o: ../core/group.h ../core/loadavg.h ../core/notify.h
functions.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
functions.o: ../core/session.h ../core/error.h ../core/user.h
functions.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
functions.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
functions.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
functions.o: ../core/request.h ../core/mounts.h ../core/mount.h
functions.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
functions.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
functions.o: ../core/loadavg.h ../core/notify.h
functions.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
functions.o: ../core/mount.h ../core/locale.h ../templates/misc.h
functions.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
functions.o: functionparser.h adduser.h cat.h chmod.h privchanger.h chown.h
functions.o: ckeditor.h cp.h createthread.h createticket.h default.h
functions.o: download.h editticket.h emacs.h last.h login.h logout.h ls.h
functions.o: mkdir.h mv.h node.h priv.h reload.h rm.h run.h subject.h
functions.o: funthread.h funticket.h template.h tinymce.h uname.h upload.h
functions.o: uptime.h who.h ../core/htmlfilter.h ../core/log.h ../core/misc.h
functions.o: ../templates/templates.h ../templates/patterncacher.h
functions.o: ../core/item.h ../templates/misc.h
functions.o: ckeditor.h cp.h createthread.h default.h download.h emacs.h
functions.o: last.h login.h logout.h ls.h mkdir.h mv.h node.h priv.h reload.h
functions.o: rm.h run.h subject.h funthread.h template.h tinymce.h uname.h
functions.o: upload.h uptime.h who.h ../core/htmlfilter.h ../core/log.h
functions.o: ../core/misc.h ../core/plugin.h ../core/pluginmsg.h
functions.o: ../core/sessionmanager.h ../core/sessioncontainer.h
functions.o: ../functions/functions.h ../templates/templates.h
functions.o: ../templates/misc.h ../templates/patterncacher.h ../core/item.h
functions.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
functions.o: ../core/log.h ../templates/indexpatterns.h
functions.o: ../core/sessionmanager.h ../core/sessioncontainer.h
functions.o: ../core/sessionmanager.h
funthread.o: funthread.h functionbase.h ../core/item.h ../db/db.h
funthread.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
funthread.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
funthread.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
funthread.o: ../core/log.h ../core/dircontainer.h ../core/item.h
funthread.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
funthread.o: ../core/requesttypes.h ../core/session.h ../core/error.h
funthread.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
funthread.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
funthread.o: ../core/config.h ../core/system.h ../core/dirs.h
funthread.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
funthread.o: ../core/mount.h ../core/mountparser.h ../core/users.h
funthread.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
funthread.o: ../core/group.h ../core/loadavg.h ../core/notify.h
funthread.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
funthread.o: ../core/session.h ../core/error.h ../core/user.h
funthread.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
funthread.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
funthread.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
funthread.o: ../core/request.h ../core/mounts.h ../core/mount.h
funthread.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
funthread.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
funthread.o: ../core/loadavg.h ../core/notify.h
funthread.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
funthread.o: ../core/mount.h ../core/locale.h ../templates/misc.h
funthread.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
funticket.o: funticket.h functionbase.h ../core/item.h ../db/db.h
funticket.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
funticket.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
funticket.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
funticket.o: ../core/log.h ../core/dircontainer.h ../core/item.h
funticket.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
funticket.o: ../core/requesttypes.h ../core/session.h ../core/error.h
funticket.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
funticket.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
funticket.o: ../core/config.h ../core/system.h ../core/dirs.h
funticket.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
funticket.o: ../core/mount.h ../core/mountparser.h ../core/users.h
funticket.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
funticket.o: ../core/group.h ../core/loadavg.h ../core/notify.h
funticket.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
funticket.o: ../core/mount.h ../core/locale.h ../templates/misc.h
funticket.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
last.o: last.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
last.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
last.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
last.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
last.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
last.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
last.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
last.o: ../core/rebus.h ../core/config.h ../core/confparser.h
last.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
last.o: ../core/request.h ../core/requesttypes.h ../core/session.h
last.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
last.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
last.o: ../core/config.h ../core/system.h ../core/dirs.h
last.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
last.o: ../core/mount.h ../core/mountparser.h ../core/users.h
last.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -379,15 +306,14 @@ login.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
login.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
login.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
login.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
login.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
login.o: ../core/session.h ../core/error.h ../core/user.h
login.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
login.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
login.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
login.o: ../core/request.h ../core/mounts.h ../core/mount.h
login.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
login.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
login.o: ../core/loadavg.h ../core/notify.h
login.o: ../core/request.h ../core/requesttypes.h ../core/session.h
login.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
login.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
login.o: ../core/config.h ../core/system.h ../core/dirs.h
login.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
login.o: ../core/mount.h ../core/mountparser.h ../core/users.h
login.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
login.o: ../core/group.h ../core/loadavg.h ../core/notify.h
login.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
login.o: ../core/mount.h ../core/locale.h ../templates/misc.h
login.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -396,15 +322,14 @@ logout.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
logout.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
logout.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
logout.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
logout.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
logout.o: ../core/session.h ../core/error.h ../core/user.h
logout.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
logout.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
logout.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
logout.o: ../core/request.h ../core/mounts.h ../core/mount.h
logout.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
logout.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
logout.o: ../core/loadavg.h ../core/notify.h
logout.o: ../core/request.h ../core/requesttypes.h ../core/session.h
logout.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
logout.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
logout.o: ../core/config.h ../core/system.h ../core/dirs.h
logout.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
logout.o: ../core/mount.h ../core/mountparser.h ../core/users.h
logout.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
logout.o: ../core/group.h ../core/loadavg.h ../core/notify.h
logout.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
logout.o: ../core/mount.h ../core/locale.h ../templates/misc.h
logout.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -413,71 +338,67 @@ ls.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
ls.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
ls.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
ls.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
ls.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
ls.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
ls.o: ../core/rebus.h ../core/config.h ../core/confparser.h
ls.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
ls.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
ls.o: ../core/mount.h ../core/mountparser.h ../core/users.h
ls.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
ls.o: ../core/group.h ../core/loadavg.h ../core/notify.h
ls.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
ls.o: ../core/mount.h ../core/locale.h ../templates/misc.h
ls.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
ls.o: ../core/request.h ../core/requesttypes.h ../core/session.h
ls.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
ls.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
ls.o: ../core/config.h ../core/system.h ../core/dirs.h ../core/dircontainer.h
ls.o: ../core/request.h ../core/mounts.h ../core/mount.h
ls.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
ls.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
ls.o: ../core/loadavg.h ../core/notify.h ../templatesnotify/templatesnotify.h
ls.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
ls.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
ls.o: ../core/system.h
mkdir.o: mkdir.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
mkdir.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
mkdir.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
mkdir.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
mkdir.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
mkdir.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
mkdir.o: ../core/session.h ../core/error.h ../core/user.h
mkdir.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
mkdir.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
mkdir.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
mkdir.o: ../core/request.h ../core/mounts.h ../core/mount.h
mkdir.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
mkdir.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
mkdir.o: ../core/loadavg.h ../core/notify.h
mkdir.o: ../core/request.h ../core/requesttypes.h ../core/session.h
mkdir.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
mkdir.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
mkdir.o: ../core/config.h ../core/system.h ../core/dirs.h
mkdir.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
mkdir.o: ../core/mount.h ../core/mountparser.h ../core/users.h
mkdir.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
mkdir.o: ../core/group.h ../core/loadavg.h ../core/notify.h
mkdir.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
mkdir.o: ../core/mount.h ../core/locale.h ../templates/misc.h
mkdir.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
mkdir.o: functions.h functionparser.h adduser.h cat.h chmod.h privchanger.h
mkdir.o: chown.h ckeditor.h cp.h createthread.h createticket.h default.h
mkdir.o: download.h editticket.h emacs.h last.h login.h logout.h ls.h mv.h
mkdir.o: node.h priv.h reload.h rm.h run.h subject.h funthread.h funticket.h
mkdir.o: template.h tinymce.h uname.h upload.h uptime.h who.h
mkdir.o: ../core/htmlfilter.h
mkdir.o: chown.h ckeditor.h cp.h createthread.h default.h download.h emacs.h
mkdir.o: last.h login.h logout.h ls.h mv.h node.h priv.h reload.h rm.h run.h
mkdir.o: subject.h funthread.h template.h tinymce.h uname.h upload.h uptime.h
mkdir.o: who.h ../core/htmlfilter.h
mv.o: mv.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
mv.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
mv.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
mv.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
mv.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
mv.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
mv.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
mv.o: ../core/rebus.h ../core/config.h ../core/confparser.h
mv.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
mv.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
mv.o: ../core/mount.h ../core/mountparser.h ../core/users.h
mv.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
mv.o: ../core/group.h ../core/loadavg.h ../core/notify.h
mv.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
mv.o: ../core/mount.h ../core/locale.h ../templates/misc.h
mv.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
mv.o: functions.h functionparser.h adduser.h cat.h chmod.h privchanger.h
mv.o: chown.h ckeditor.h cp.h createthread.h createticket.h default.h
mv.o: download.h editticket.h emacs.h last.h login.h logout.h ls.h mkdir.h
mv.o: node.h priv.h reload.h rm.h run.h subject.h funthread.h funticket.h
mv.o: template.h tinymce.h uname.h upload.h uptime.h who.h
mv.o: ../core/htmlfilter.h
mv.o: ../core/request.h ../core/requesttypes.h ../core/session.h
mv.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
mv.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
mv.o: ../core/config.h ../core/system.h ../core/dirs.h ../core/dircontainer.h
mv.o: ../core/request.h ../core/mounts.h ../core/mount.h
mv.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
mv.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
mv.o: ../core/loadavg.h ../core/notify.h ../templatesnotify/templatesnotify.h
mv.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
mv.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
mv.o: ../core/system.h functions.h functionparser.h adduser.h cat.h chmod.h
mv.o: privchanger.h chown.h ckeditor.h cp.h createthread.h default.h
mv.o: download.h emacs.h last.h login.h logout.h ls.h mkdir.h node.h priv.h
mv.o: reload.h rm.h run.h subject.h funthread.h template.h tinymce.h uname.h
mv.o: upload.h uptime.h who.h ../core/htmlfilter.h
node.o: node.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
node.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
node.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
node.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
node.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
node.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
node.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
node.o: ../core/rebus.h ../core/config.h ../core/confparser.h
node.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
node.o: ../core/request.h ../core/requesttypes.h ../core/session.h
node.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
node.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
node.o: ../core/config.h ../core/system.h ../core/dirs.h
node.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
node.o: ../core/mount.h ../core/mountparser.h ../core/users.h
node.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -490,10 +411,10 @@ priv.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
priv.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
priv.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
priv.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
priv.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
priv.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
priv.o: ../core/rebus.h ../core/config.h ../core/confparser.h
priv.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
priv.o: ../core/request.h ../core/requesttypes.h ../core/session.h
priv.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
priv.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
priv.o: ../core/config.h ../core/system.h ../core/dirs.h
priv.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
priv.o: ../core/mount.h ../core/mountparser.h ../core/users.h
priv.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -511,70 +432,50 @@ privchanger.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
privchanger.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
privchanger.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
privchanger.o: ../core/thread.h ../core/error.h ../core/log.h
privchanger.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
privchanger.o: ../core/request.h ../core/mounts.h ../core/mount.h
privchanger.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
privchanger.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
privchanger.o: ../core/loadavg.h
readticket.o: readticket.h ../core/request.h ../core/requesttypes.h
readticket.o: ../core/session.h ../core/item.h ../core/error.h ../core/user.h
readticket.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
readticket.o: ../core/confparser.h ../core/htmlfilter.h ../core/ticket.h
readticket.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
readticket.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
readticket.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
readticket.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
readticket.o: ../core/thread.h ../core/error.h ../core/log.h
readticket.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/request.h
readticket.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
readticket.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
readticket.o: ../core/groups.h ../core/group.h ../core/loadavg.h
privchanger.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/request.h
privchanger.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
privchanger.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
privchanger.o: ../core/groups.h ../core/group.h ../core/loadavg.h
reload.o: reload.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
reload.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
reload.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
reload.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
reload.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
reload.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
reload.o: ../core/session.h ../core/error.h ../core/user.h
reload.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
reload.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
reload.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
reload.o: ../core/request.h ../core/mounts.h ../core/mount.h
reload.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
reload.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
reload.o: ../core/loadavg.h ../core/notify.h
reload.o: ../core/request.h ../core/requesttypes.h ../core/session.h
reload.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
reload.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
reload.o: ../core/config.h ../core/system.h ../core/dirs.h
reload.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
reload.o: ../core/mount.h ../core/mountparser.h ../core/users.h
reload.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
reload.o: ../core/group.h ../core/loadavg.h ../core/notify.h
reload.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
reload.o: ../core/mount.h ../core/locale.h ../templates/misc.h
reload.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
reload.o: ../templates/templates.h ../templates/patterncacher.h
reload.o: ../core/item.h ../templates/misc.h ../templates/ckeditorgetparser.h
reload.o: ../core/httpsimpleparser.h ../core/log.h
reload.o: ../templates/indexpatterns.h ../core/sessionmanager.h
reload.o: ../templates/templates.h ../templates/misc.h
reload.o: ../templates/patterncacher.h ../core/item.h
reload.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
reload.o: ../core/log.h ../templates/indexpatterns.h ../core/sessionmanager.h
reload.o: ../core/sessioncontainer.h
rm.o: rm.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
rm.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
rm.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
rm.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
rm.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
rm.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
rm.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
rm.o: ../core/rebus.h ../core/config.h ../core/confparser.h
rm.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
rm.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
rm.o: ../core/mount.h ../core/mountparser.h ../core/users.h
rm.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
rm.o: ../core/group.h ../core/loadavg.h ../core/notify.h
rm.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
rm.o: ../core/mount.h ../core/locale.h ../templates/misc.h
rm.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
rm.o: ../core/plugin.h ../core/pluginmsg.h ../core/sessionmanager.h
rm.o: ../core/sessioncontainer.h ../functions/functions.h functionparser.h
rm.o: adduser.h cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h
rm.o: createthread.h createticket.h default.h download.h editticket.h emacs.h
rm.o: last.h login.h logout.h ls.h mkdir.h mv.h node.h priv.h reload.h run.h
rm.o: subject.h funthread.h funticket.h template.h tinymce.h uname.h upload.h
rm.o: uptime.h who.h ../core/htmlfilter.h ../templates/templates.h
rm.o: ../templates/patterncacher.h ../core/item.h ../templates/misc.h
rm.o: ../core/request.h ../core/requesttypes.h ../core/session.h
rm.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
rm.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
rm.o: ../core/config.h ../core/system.h ../core/dirs.h ../core/dircontainer.h
rm.o: ../core/request.h ../core/mounts.h ../core/mount.h
rm.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
rm.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
rm.o: ../core/loadavg.h ../core/notify.h ../templatesnotify/templatesnotify.h
rm.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
rm.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
rm.o: ../core/system.h ../core/plugin.h ../core/pluginmsg.h
rm.o: ../core/sessionmanager.h ../core/sessioncontainer.h
rm.o: ../functions/functions.h ../templates/templates.h ../templates/misc.h
rm.o: ../templates/patterncacher.h ../core/item.h
rm.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
rm.o: ../core/log.h ../templates/indexpatterns.h ../core/sessionmanager.h
run.o: run.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
@ -582,10 +483,10 @@ run.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
run.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
run.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
run.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
run.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
run.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
run.o: ../core/rebus.h ../core/config.h ../core/confparser.h
run.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
run.o: ../core/request.h ../core/requesttypes.h ../core/session.h
run.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
run.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
run.o: ../core/config.h ../core/system.h ../core/dirs.h
run.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
run.o: ../core/mount.h ../core/mountparser.h ../core/users.h
run.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -598,32 +499,32 @@ subject.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
subject.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
subject.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
subject.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
subject.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
subject.o: ../core/session.h ../core/error.h ../core/user.h
subject.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
subject.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
subject.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
subject.o: ../core/request.h ../core/mounts.h ../core/mount.h
subject.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
subject.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
subject.o: ../core/loadavg.h ../core/notify.h
subject.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
subject.o: ../core/mount.h ../core/locale.h ../templates/misc.h
subject.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
subject.o: ../core/request.h ../core/requesttypes.h ../core/session.h
subject.o: ../core/error.h ../core/user.h ../core/plugindata.h
subject.o: ../core/rebus.h ../core/config.h ../core/confparser.h
subject.o: ../core/htmlfilter.h ../core/config.h ../core/system.h
subject.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
subject.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
subject.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
subject.o: ../core/groups.h ../core/group.h ../core/loadavg.h
subject.o: ../core/notify.h ../templatesnotify/templatesnotify.h
subject.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
subject.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
subject.o: ../core/system.h
template.o: template.h functionbase.h ../core/item.h ../db/db.h
template.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
template.o: ../core/textstream.h ../db/dbitemquery.h ../db/dbitemcolumns.h
template.o: ../core/user.h ../core/group.h ../core/thread.h ../core/error.h
template.o: ../core/log.h ../core/dircontainer.h ../core/item.h
template.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
template.o: ../core/requesttypes.h ../core/session.h ../core/error.h
template.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
template.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
template.o: ../core/config.h ../core/system.h ../core/dirs.h
template.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
template.o: ../core/mount.h ../core/mountparser.h ../core/users.h
template.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
template.o: ../core/group.h ../core/loadavg.h ../core/notify.h
template.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
template.o: ../core/session.h ../core/error.h ../core/user.h
template.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
template.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
template.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
template.o: ../core/request.h ../core/mounts.h ../core/mount.h
template.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
template.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
template.o: ../core/loadavg.h ../core/notify.h
template.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
template.o: ../core/mount.h ../core/locale.h ../templates/misc.h
template.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -633,38 +534,35 @@ tinymce.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
tinymce.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
tinymce.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
tinymce.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
tinymce.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
tinymce.o: ../core/session.h ../core/error.h ../core/user.h
tinymce.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
tinymce.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
tinymce.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
tinymce.o: ../core/request.h ../core/mounts.h ../core/mount.h
tinymce.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
tinymce.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
tinymce.o: ../core/loadavg.h ../core/notify.h
tinymce.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
tinymce.o: ../core/mount.h ../core/locale.h ../templates/misc.h
tinymce.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
tinymce.o: functions.h functionparser.h adduser.h cat.h chmod.h privchanger.h
tinymce.o: chown.h ckeditor.h cp.h createthread.h createticket.h default.h
tinymce.o: download.h editticket.h emacs.h last.h login.h logout.h ls.h
tinymce.o: mkdir.h mv.h node.h priv.h reload.h rm.h run.h subject.h
tinymce.o: funthread.h funticket.h template.h uname.h upload.h uptime.h who.h
tinymce.o: ../core/htmlfilter.h
tinymce.o: ../core/request.h ../core/requesttypes.h ../core/session.h
tinymce.o: ../core/error.h ../core/user.h ../core/plugindata.h
tinymce.o: ../core/rebus.h ../core/config.h ../core/confparser.h
tinymce.o: ../core/htmlfilter.h ../core/config.h ../core/system.h
tinymce.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
tinymce.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
tinymce.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
tinymce.o: ../core/groups.h ../core/group.h ../core/loadavg.h
tinymce.o: ../core/notify.h ../templatesnotify/templatesnotify.h
tinymce.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h
tinymce.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
tinymce.o: ../core/system.h functions.h functionparser.h adduser.h cat.h
tinymce.o: chmod.h privchanger.h chown.h ckeditor.h cp.h createthread.h
tinymce.o: default.h download.h emacs.h last.h login.h logout.h ls.h mkdir.h
tinymce.o: mv.h node.h priv.h reload.h rm.h run.h subject.h funthread.h
tinymce.o: template.h uname.h upload.h uptime.h who.h ../core/htmlfilter.h
uname.o: uname.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
uname.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
uname.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
uname.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
uname.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
uname.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
uname.o: ../core/session.h ../core/error.h ../core/user.h
uname.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
uname.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
uname.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
uname.o: ../core/request.h ../core/mounts.h ../core/mount.h
uname.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
uname.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
uname.o: ../core/loadavg.h ../core/notify.h
uname.o: ../core/request.h ../core/requesttypes.h ../core/session.h
uname.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
uname.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
uname.o: ../core/config.h ../core/system.h ../core/dirs.h
uname.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
uname.o: ../core/mount.h ../core/mountparser.h ../core/users.h
uname.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
uname.o: ../core/group.h ../core/loadavg.h ../core/notify.h
uname.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
uname.o: ../core/mount.h ../core/locale.h ../templates/misc.h
uname.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -673,38 +571,31 @@ upload.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
upload.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
upload.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
upload.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
upload.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
upload.o: ../core/session.h ../core/error.h ../core/user.h
upload.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
upload.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
upload.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
upload.o: ../core/request.h ../core/mounts.h ../core/mount.h
upload.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
upload.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
upload.o: ../core/loadavg.h ../core/notify.h
upload.o: ../core/request.h ../core/requesttypes.h ../core/session.h
upload.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
upload.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
upload.o: ../core/config.h ../core/system.h ../core/dirs.h
upload.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
upload.o: ../core/mount.h ../core/mountparser.h ../core/users.h
upload.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
upload.o: ../core/group.h ../core/loadavg.h ../core/notify.h
upload.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
upload.o: ../core/mount.h ../core/locale.h ../templates/misc.h
upload.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
upload.o: ../core/misc.h ../functions/functions.h functionparser.h adduser.h
upload.o: cat.h chmod.h privchanger.h chown.h ckeditor.h cp.h createthread.h
upload.o: createticket.h default.h download.h editticket.h emacs.h last.h
upload.o: login.h logout.h ls.h mkdir.h mv.h node.h priv.h reload.h rm.h
upload.o: run.h subject.h funthread.h funticket.h template.h tinymce.h
upload.o: uname.h uptime.h who.h ../core/htmlfilter.h
upload.o: ../core/misc.h ../functions/functions.h
uptime.o: uptime.h functionbase.h ../core/item.h ../db/db.h ../db/dbbase.h
uptime.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
uptime.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
uptime.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
uptime.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
uptime.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
uptime.o: ../core/session.h ../core/error.h ../core/user.h
uptime.o: ../core/plugindata.h ../core/rebus.h ../core/config.h
uptime.o: ../core/confparser.h ../core/htmlfilter.h ../core/config.h
uptime.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
uptime.o: ../core/request.h ../core/mounts.h ../core/mount.h
uptime.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
uptime.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
uptime.o: ../core/loadavg.h ../core/notify.h
uptime.o: ../core/request.h ../core/requesttypes.h ../core/session.h
uptime.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
uptime.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
uptime.o: ../core/config.h ../core/system.h ../core/dirs.h
uptime.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
uptime.o: ../core/mount.h ../core/mountparser.h ../core/users.h
uptime.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
uptime.o: ../core/group.h ../core/loadavg.h ../core/notify.h
uptime.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
uptime.o: ../core/mount.h ../core/locale.h ../templates/misc.h
uptime.o: ../templates/localefilter.h ../core/locale.h ../core/system.h
@ -713,10 +604,10 @@ who.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
who.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
who.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
who.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
who.o: ../core/ticket.h ../core/request.h ../core/requesttypes.h
who.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
who.o: ../core/rebus.h ../core/config.h ../core/confparser.h
who.o: ../core/htmlfilter.h ../core/config.h ../core/system.h ../core/dirs.h
who.o: ../core/request.h ../core/requesttypes.h ../core/session.h
who.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
who.o: ../core/config.h ../core/confparser.h ../core/htmlfilter.h
who.o: ../core/config.h ../core/system.h ../core/dirs.h
who.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
who.o: ../core/mount.h ../core/mountparser.h ../core/users.h
who.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h

View File

@ -1 +1 @@
o = adduser.o cat.o chmod.o chown.o ckeditor.o cp.o createthread.o createticket.o default.o download.o editticket.o emacs.o functionbase.o functionparser.o functions.o funthread.o funticket.o last.o login.o logout.o ls.o mkdir.o mv.o node.o priv.o privchanger.o readticket.o reload.o rm.o run.o subject.o template.o tinymce.o uname.o upload.o uptime.o who.o
o = adduser.o cat.o chmod.o chown.o ckeditor.o cp.o createthread.o default.o download.o emacs.o functionbase.o functionparser.o functions.o funthread.o last.o login.o logout.o ls.o mkdir.o mv.o node.o priv.o privchanger.o reload.o rm.o run.o subject.o template.o tinymce.o uname.o upload.o uptime.o who.o

View File

@ -84,11 +84,13 @@ void Emacs::PostFunEmacsModifyMountPoint(bool adding)
system->RedirectToLastDir();
}
/* !! tticket
else
if( system->mounts.pmount->type == system->mounts.MountTypeTicket() )
{
system->RedirectToLastDir();
}
*/
else
{
// system->mounts.MountTypeCms()

View File

@ -10,6 +10,7 @@
#include "functions.h"
#include "core/log.h"
#include "core/misc.h"
#include "core/plugin.h"
#include "templates/templates.h"
@ -176,10 +177,8 @@ void Functions::Create()
Add(fun_ckeditor);
Add(fun_cp);
Add(fun_createthread);
Add(fun_createticket);
Add(fun_default);
Add(fun_download);
Add(fun_editticket);
Add(fun_emacs);
Add(fun_last);
Add(fun_login);
@ -194,12 +193,17 @@ void Functions::Create()
Add(fun_run);
Add(fun_subject);
Add(fun_thread);
Add(fun_ticket);
Add(fun_tinymce);
Add(fun_uname);
Add(fun_upload);
Add(fun_uptime);
Add(fun_who);
plugin.Call(WINIX_CREATE_FUNCTIONS);
// Add(fun_ticket);
// Add(fun_createticket);
// Add(fun_editticket);
}
@ -234,25 +238,14 @@ void Functions::SetDefaultFunctionForDir()
{
log << log3 << "Content: Default item: id: " << default_item << logend;
system->RedirectTo(default_item);
return;
}
else
{
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
request->function = &fun_thread;
else
request->function = &fun_ls;
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
{
request->function = &fun_thread;
log << log3 << "Content: default function: " << request->function->fun.url << logend;
}
else
if( system->mounts.pmount->type == system->mounts.MountTypeTicket() )
{
request->function = &fun_ticket;
log << log3 << "Content: default function: " << request->function->fun.url << logend;
}
else
{
// cms
request->function = &fun_ls;
log << log3 << "Content: default function: " << request->function->fun.url << logend;
}
}
@ -260,14 +253,18 @@ void Functions::SetDefaultFunctionForDir()
void Functions::SetDefaultFunction()
{
plugin.Call(WINIX_SELECT_DEFAULT_FUNCTION);
if( request->function )
{
log << log3 << "Functions: default function: " << request->function->fun.url << logend;
return;
}
if( request->is_item )
{
SetDefaultFunctionForFile();
}
else
{
SetDefaultFunctionForDir();
}
}

View File

@ -20,10 +20,8 @@
#include "ckeditor.h"
#include "cp.h"
#include "createthread.h"
#include "createticket.h"
#include "default.h"
#include "download.h"
#include "editticket.h"
#include "emacs.h"
#include "last.h"
#include "login.h"
@ -38,7 +36,6 @@
#include "run.h"
#include "subject.h"
#include "funthread.h"
#include "funticket.h"
#include "template.h"
#include "tinymce.h"
#include "uname.h"
@ -63,10 +60,8 @@ public:
Fun::Ckeditor fun_ckeditor;
Fun::Cp fun_cp;
Fun::CreateThread fun_createthread;
Fun::CreateTicket fun_createticket;
Fun::Default fun_default;
Fun::Download fun_download;
Fun::EditTicket fun_editticket;
Fun::Emacs fun_emacs;
Fun::Last fun_last;
Fun::Login fun_login;
@ -81,7 +76,6 @@ public:
Fun::Run fun_run;
Fun::Subject fun_subject;
Fun::FunThread fun_thread;
Fun::FunTicket fun_ticket;
Fun::Template fun_template;
Fun::Tinymce fun_tinymce;
Fun::Uname fun_uname;
@ -124,6 +118,10 @@ public:
void SetUser(Item & item);
void Add(FunctionBase * fun);
void Add(FunctionBase & fun);
private:
Config * config;
@ -136,8 +134,6 @@ private:
std::string temp;
HTMLFilter html_filter;
void Add(FunctionBase * fun);
void Add(FunctionBase & fun);
void SetObjects(FunctionBase * fun);
void SetDefaultFunctionForFile();
void SetDefaultFunctionForDir();

View File

@ -110,7 +110,8 @@ void Rm::RemoveAllDirs(long dir_id)
system->dirs.DelDir(dir_id);
db->RemoveThread(dir_id);
db->RemoveTicket(dir_id);
// !! tticket
// db->RemoveTicket(dir_id);
plugin.Call(WINIX_DIR_REMOVED, dir_id);
}
@ -207,9 +208,12 @@ void Rm::RemoveFile()
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
db->EditThreadRemoveItem(request->item.parent_id);
/*
!! tticket
else
if( system->mounts.pmount->type == system->mounts.MountTypeTicket() )
db->EditTicketRemoveItem(request->item.id);
*/
if( request->item.auth != Item::auth_none )
RemoveAuth(request->item);

View File

@ -1,5 +1,5 @@
[if mount_page_is "subject"][if mount_page_is "info"]<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>[end]
[if mount_page_is "info"][include "item_info.html"][end]
[if mount_page_arg_is "subject"][if mount_page_arg_is "info"]<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>[end]
[if mount_page_arg_is "info"][include "item_info.html"][end]
[if-one item_auth_is_image]
<img class="catimage" src="[item_link]/download/thumb" alt="[item_subject]">

View File

@ -1,12 +1,12 @@
[if-one item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[include "error.html"]
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]ckeditor">
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]ckeditor">
<fieldset>
<legend>{form_emacs_legend}</legend>
[if-one mount_type_is_cms]
[if mount_type_is "cms"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
@ -14,21 +14,19 @@
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_thread]
[if mount_thread_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{suggested_url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-any mount_type_is "thread" mount_thread_arg_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{suggested_url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_cms]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if-one mount_type_is_thread]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if-one mount_type_is_ticket]<p class="withnext">{form_emacs_content_ticket}</p>[end]
[if mount_type_is "cms"]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if mount_type_is "thread"]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if mount_type_is "ticket"]<p class="withnext">{form_emacs_content_ticket}</p>[end]
<textarea class="multitext" rows="[if-one mount_type_is_cms]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
<textarea class="multitext" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
<input type="hidden" name="contenttype" value="2">
@ -46,7 +44,7 @@
<input class="edit" type="text" name="rebus">
[end]
<input class="submit" type="submit" value="[if-one item_is]{change}[else]{add}[end]">
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
</fieldset>
</form>

View File

@ -1,13 +1,13 @@
[if-one item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[include "error.html"]
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]emacs">
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs">
<fieldset>
<legend>{form_emacs_legend}</legend>
[if-one mount_type_is_cms]
[if mount_type_is "cms"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
@ -15,14 +15,12 @@
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_thread]
[if mount_thread_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{suggested_url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-any mount_type_is "thread" mount_thread_arg_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{suggested_url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[include "fun_emacs_post.html"]
@ -35,7 +33,7 @@
<input class="edit" type="text" name="rebus">
[end]
<input class="submit" type="submit" value="[if-one item_is]{change}[else]{add}[end]">
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
</fieldset>
</form>

View File

@ -2,12 +2,12 @@
[if winix_function_is "upload"]
<p class="withnext">{upload_content}</p>
[else]
[if-one mount_type_is_cms]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if-one mount_type_is_thread]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if-one mount_type_is_ticket]<p class="withnext">{form_emacs_content_ticket}</p>[end]
[if mount_type_is "cms"]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if mount_type_is "thread"]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if mount_type_is "ticket"]<p class="withnext">{form_emacs_content_ticket}</p>[end]
[end]
<textarea class="multitext" rows="[if winix_function_is "upload"]7[else][if-one mount_type_is_cms]30[else]10[end][end]" cols="60" name="itemcontent">[item_content]</textarea>
<textarea class="multitext" rows="[if winix_function_is "upload"]7[else][if mount_type_is "cms"]30[else]10[end][end]" cols="60" name="itemcontent">[item_content]</textarea>
<p class="withnext">{form_emacs_content_type}</p>
@ -15,9 +15,9 @@
<select name="contenttype" class="contenttype">
<option[if item_content_type_is "text"] selected[end] value="0">{form_emacs_content_type_text}</option>
<option[if item_content_type_is "formatted text"] selected[end] value="1">{form_emacs_content_type_formatted_text}</option>
[if-one user_can_use_html]<option[if item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end]
[if-one user_can_use_bbcode]<option[if item_content_type_is "bbcode"] selected[end] value="3">{form_emacs_content_type_bbcode}</option>[end]
[if-one user_can_use_raw]<option[if item_content_type_is "raw"] selected[end] value="4">{form_emacs_content_type_raw}</option>[end]
[if user_can_use_html]<option[if item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end]
[if user_can_use_bbcode]<option[if item_content_type_is "bbcode"] selected[end] value="3">{form_emacs_content_type_bbcode}</option>[end]
[if user_can_use_raw]<option[if item_content_type_is "raw"] selected[end] value="4">{form_emacs_content_type_raw}</option>[end]
</select>

View File

@ -1,6 +1,6 @@
<div>
[if mount_page_is "subject"]
[if mount_page_is "info"]
[if mount_page_arg_is "subject"]
[if mount_page_arg_is "info"]
<h1 class="withinfo">
[else]
<h1>
@ -11,7 +11,7 @@
[end]
[if mount_page_is "info"]
[if mount_page_arg_is "info"]
[include "item_info.html"]
[end]

View File

@ -1,5 +1,5 @@
[if mount_page_is "subject"]<h1[if mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[if mount_page_is "info"][include "dir_last_info.html"][end]
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[if mount_page_arg_is "info"][include "dir_last_info.html"][end]
[if-one thread_can_create]
<ul class="itemmenu">
@ -33,8 +33,8 @@
[for item_tab]
<div class="threadbox[if-index item_tab odd] threadboxcolor[end]">
[if-one item_tab_can_use_emacs]<a class="threadedit" href="[item_tab_link]/emacs">\[{edit}\]</a>[end]
[if mount_thread_is "subject"]<h2[if mount_thread_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[if mount_thread_is "info"][include "item_tab_info.html"][end]
[if mount_thread_arg_is "subject"]<h2[if mount_thread_arg_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[if mount_thread_arg_is "info"][include "item_tab_info.html"][end]
[item_tab_print_content]
</div>
[end]

View File

@ -1,5 +1,5 @@
[if mount_page_is "subject"]<h1[if mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[if mount_page_is "info"][include "dir_last_info.html"][end]
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[if mount_page_arg_is "info"][include "dir_last_info.html"][end]
[if-one ticket_can_create]
@ -55,8 +55,8 @@
[for item_tab]
<div class="threadbox[if-index item_tab odd] threadboxcolor[end]">
[if mount_thread_is "subject"]<h2[if mount_thread_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[if mount_thread_is "info"][include "item_tab_info.html"][end]
[if mount_thread_arg_is "subject"]<h2[if mount_thread_arg_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[if mount_thread_arg_is "info"][include "item_tab_info.html"][end]
[item_tab_print_content]
</div>
[end]

View File

@ -1,13 +1,13 @@
[if-one item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[include "error.html"]
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]tinymce">
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]tinymce">
<fieldset>
<legend>{form_emacs_legend}</legend>
[if-one mount_type_is_cms]
[if mount_type_is "cms"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
@ -15,22 +15,20 @@
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_thread]
[if mount_thread_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{suggested_url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-any mount_type_is "thread" mount_thread_arg_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{suggested_url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_cms]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if-one mount_type_is_thread]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if-one mount_type_is_ticket]<p class="withnext">{form_emacs_content_ticket}</p>[end]
[if mount_type_is "cms"]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if mount_type_is "thread"]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if mount_type_is "ticket"]<p class="withnext">{form_emacs_content_ticket}</p>[end]
<textarea class="[if-one winix_content_full]multitextfull[else]multitext[end]" rows="[if-one mount_type_is_cms]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
<textarea class="[if-one winix_content_full]multitextfull[else]multitext[end]" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
<input type="hidden" name="contenttype" value="2">
@ -42,7 +40,7 @@
<input class="edit" type="text" name="rebus">
[end]
<input class="submit" type="submit" value="[if-one item_is]{change}[else]{add}[end]">
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
</fieldset>
</form>

View File

@ -1 +1 @@
<p class="[if-index item_tab odd]itemtabinfo[else][if mount_thread_is "subject"]itemtabinfo[else]itemtabinfo2[end][end]">{added_by}: [item_tab_user], [item_tab_date_creation_nice][if-no item_tab_dates_equal], {last_modified}[if-one item_tab_users_different] {by}: [item_tab_modification_user], [else]: [end][item_tab_date_modification_nice][end]</p>
<p class="[if-index item_tab odd]itemtabinfo[else][if mount_thread_arg_is "subject"]itemtabinfo[else]itemtabinfo2[end][end]">{added_by}: [item_tab_user], [item_tab_date_creation_nice][if-no item_tab_dates_equal], {last_modified}[if-one item_tab_users_different] {by}: [item_tab_modification_user], [else]: [end][item_tab_date_modification_nice][end]</p>

View File

@ -6,35 +6,33 @@ main.o: ../core/dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
main.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
main.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
main.o: ../core/thread.h ../core/error.h ../core/log.h ../core/dircontainer.h
main.o: ../core/ugcontainer.h ../core/ticket.h ../core/request.h
main.o: ../core/requesttypes.h ../core/session.h ../core/error.h
main.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/mounts.h
main.o: ../core/mount.h ../core/mountparser.h ../core/users.h
main.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
main.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
main.o: ../core/sessioncontainer.h ../core/notify.h
main.o: ../templatesnotify/templatesnotify.h ../../ezc/src/ezc.h
main.o: ../core/mount.h ../core/locale.h ../core/config.h ../templates/misc.h
main.o: ../templates/localefilter.h ../core/locale.h ../functions/functions.h
main.o: ../functions/functionbase.h ../core/request.h ../core/system.h
main.o: ../core/notify.h ../functions/functionparser.h ../functions/adduser.h
main.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
main.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
main.o: ../core/rebus.h ../core/mounts.h ../core/mount.h
main.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
main.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
main.o: ../core/loadavg.h ../core/sessionmanager.h ../core/sessioncontainer.h
main.o: ../core/notify.h ../templatesnotify/templatesnotify.h
main.o: ../../ezc/src/ezc.h ../core/mount.h ../core/locale.h ../core/config.h
main.o: ../templates/misc.h ../templates/localefilter.h ../core/locale.h
main.o: ../functions/functions.h ../functions/functionbase.h
main.o: ../core/request.h ../core/system.h ../core/notify.h
main.o: ../functions/functionparser.h ../functions/adduser.h
main.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
main.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
main.o: ../functions/createthread.h ../functions/createticket.h
main.o: ../functions/default.h ../functions/download.h
main.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
main.o: ../functions/createthread.h ../functions/default.h
main.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
main.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
main.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
main.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
main.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
main.o: ../functions/funticket.h ../functions/template.h
main.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
main.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
main.o: ../templates/templates.h ../templates/patterncacher.h ../core/item.h
main.o: ../templates/misc.h ../templates/ckeditorgetparser.h
main.o: ../core/httpsimpleparser.h ../core/log.h ../templates/indexpatterns.h
main.o: ../core/sessionmanager.h ../core/compress.h ../core/getparser.h
main.o: ../core/httpsimpleparser.h ../core/postparser.h
main.o: ../core/cookieparser.h ../core/postmultiparser.h
main.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
main.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
main.o: ../core/htmlfilter.h ../templates/templates.h ../templates/misc.h
main.o: ../templates/patterncacher.h ../core/item.h
main.o: ../templates/ckeditorgetparser.h ../core/httpsimpleparser.h
main.o: ../core/log.h ../templates/indexpatterns.h ../core/sessionmanager.h
main.o: ../core/compress.h ../core/getparser.h ../core/httpsimpleparser.h
main.o: ../core/postparser.h ../core/cookieparser.h ../core/postmultiparser.h
main.o: ../core/acceptencodingparser.h ../core/acceptbaseparser.h
main.o: ../core/plugin.h ../core/pluginmsg.h

View File

@ -10,11 +10,11 @@ init.o: ../../db/dbbase.h ../../db/dbconn.h ../../db/dbtextstream.h
init.o: ../../core/textstream.h ../../db/dbitemquery.h ../../core/item.h
init.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
init.o: ../../core/thread.h ../../core/error.h ../../core/dircontainer.h
init.o: ../../core/ugcontainer.h ../../core/ticket.h bot.h stats.h
init.o: templates.h ../../core/plugin.h ../../core/pluginmsg.h
init.o: ../../core/request.h ../../core/system.h ../../core/dirs.h
init.o: ../../core/dircontainer.h ../../core/mounts.h ../../core/mount.h
init.o: ../../core/mountparser.h ../../core/users.h ../../core/ugcontainer.h
init.o: ../../core/ugcontainer.h bot.h stats.h templates.h
init.o: ../../core/plugin.h ../../core/pluginmsg.h ../../core/request.h
init.o: ../../core/system.h ../../core/dirs.h ../../core/dircontainer.h
init.o: ../../core/mounts.h ../../core/mount.h ../../core/mountparser.h
init.o: ../../core/users.h ../../core/ugcontainer.h
init.o: ../../core/lastcontainer.h ../../core/groups.h ../../core/group.h
init.o: ../../core/loadavg.h ../../core/sessionmanager.h
init.o: ../../core/sessioncontainer.h ../../functions/functions.h
@ -27,23 +27,21 @@ init.o: ../../functions/adduser.h ../../functions/cat.h
init.o: ../../functions/chmod.h ../../functions/privchanger.h
init.o: ../../functions/chown.h ../../functions/ckeditor.h
init.o: ../../functions/cp.h ../../functions/createthread.h
init.o: ../../functions/createticket.h ../../functions/default.h
init.o: ../../functions/download.h ../../functions/editticket.h
init.o: ../../functions/default.h ../../functions/download.h
init.o: ../../functions/emacs.h ../../functions/last.h
init.o: ../../functions/login.h ../../functions/logout.h ../../functions/ls.h
init.o: ../../functions/mkdir.h ../../functions/mv.h ../../functions/node.h
init.o: ../../functions/priv.h ../../functions/reload.h ../../functions/rm.h
init.o: ../../functions/run.h ../../functions/subject.h
init.o: ../../functions/funthread.h ../../functions/funticket.h
init.o: ../../functions/template.h ../../functions/tinymce.h
init.o: ../../functions/uname.h ../../functions/upload.h
init.o: ../../functions/uptime.h ../../functions/who.h
init.o: ../../core/htmlfilter.h ../../templates/templates.h
init.o: ../../functions/funthread.h ../../functions/template.h
init.o: ../../functions/tinymce.h ../../functions/uname.h
init.o: ../../functions/upload.h ../../functions/uptime.h
init.o: ../../functions/who.h ../../core/htmlfilter.h
init.o: ../../templates/templates.h ../../templates/misc.h
init.o: ../../templates/patterncacher.h ../../core/item.h
init.o: ../../templates/misc.h ../../templates/ckeditorgetparser.h
init.o: ../../core/httpsimpleparser.h ../../core/log.h
init.o: ../../templates/indexpatterns.h ../../core/sessionmanager.h
init.o: statssession.h ../../core/plugindata.h
init.o: ../../templates/ckeditorgetparser.h ../../core/httpsimpleparser.h
init.o: ../../core/log.h ../../templates/indexpatterns.h
init.o: ../../core/sessionmanager.h statssession.h ../../core/plugindata.h
stats.o: stats.h ../../core/config.h ../../core/log.h
templates.o: templates.h ../../core/plugin.h ../../core/pluginmsg.h
templates.o: ../../core/log.h ../../core/plugindata.h ../../core/config.h
@ -54,9 +52,9 @@ templates.o: ../../db/dbbase.h ../../db/dbconn.h ../../db/dbtextstream.h
templates.o: ../../core/textstream.h ../../db/dbitemquery.h ../../core/item.h
templates.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
templates.o: ../../core/thread.h ../../core/error.h ../../core/dircontainer.h
templates.o: ../../core/ugcontainer.h ../../core/ticket.h ../../core/mounts.h
templates.o: ../../core/mount.h ../../core/error.h ../../core/mountparser.h
templates.o: ../../core/users.h ../../core/user.h ../../core/ugcontainer.h
templates.o: ../../core/ugcontainer.h ../../core/mounts.h ../../core/mount.h
templates.o: ../../core/error.h ../../core/mountparser.h ../../core/users.h
templates.o: ../../core/user.h ../../core/ugcontainer.h
templates.o: ../../core/lastcontainer.h ../../core/groups.h
templates.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
templates.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
@ -71,22 +69,21 @@ templates.o: ../../functions/functionparser.h ../../functions/adduser.h
templates.o: ../../functions/cat.h ../../functions/chmod.h
templates.o: ../../functions/privchanger.h ../../functions/chown.h
templates.o: ../../functions/ckeditor.h ../../functions/cp.h
templates.o: ../../functions/createthread.h ../../functions/createticket.h
templates.o: ../../functions/default.h ../../functions/download.h
templates.o: ../../functions/editticket.h ../../functions/emacs.h
templates.o: ../../functions/createthread.h ../../functions/default.h
templates.o: ../../functions/download.h ../../functions/emacs.h
templates.o: ../../functions/last.h ../../functions/login.h
templates.o: ../../functions/logout.h ../../functions/ls.h
templates.o: ../../functions/mkdir.h ../../functions/mv.h
templates.o: ../../functions/node.h ../../functions/priv.h
templates.o: ../../functions/reload.h ../../functions/rm.h
templates.o: ../../functions/run.h ../../functions/subject.h
templates.o: ../../functions/funthread.h ../../functions/funticket.h
templates.o: ../../functions/template.h ../../functions/tinymce.h
templates.o: ../../functions/uname.h ../../functions/upload.h
templates.o: ../../functions/uptime.h ../../functions/who.h
templates.o: ../../core/htmlfilter.h ../../templates/templates.h
templates.o: ../../functions/funthread.h ../../functions/template.h
templates.o: ../../functions/tinymce.h ../../functions/uname.h
templates.o: ../../functions/upload.h ../../functions/uptime.h
templates.o: ../../functions/who.h ../../core/htmlfilter.h
templates.o: ../../templates/templates.h ../../templates/misc.h
templates.o: ../../templates/patterncacher.h ../../core/item.h
templates.o: ../../templates/misc.h ../../templates/ckeditorgetparser.h
templates.o: ../../templates/ckeditorgetparser.h
templates.o: ../../core/httpsimpleparser.h ../../core/log.h
templates.o: ../../templates/indexpatterns.h ../../core/sessionmanager.h
templates.o: ../../core/misc.h stats.h

27
plugins/ticket/Makefile Executable file
View File

@ -0,0 +1,27 @@
include Makefile.o.dep
name = ticket.so
all: $(o)
$(CXX) -shared -Wl,-soname,$(name).so -o $(name) $(CXXFLAGS) *.o
.SUFFIXES: .cpp .o
.cpp.o:
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend -Y. -I../.. -I../../../ezc/src -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean:
rm -f *.o
rm -f $(name)
include Makefile.dep

216
plugins/ticket/Makefile.dep Executable file
View File

@ -0,0 +1,216 @@
# DO NOT DELETE
createticket.o: createticket.h tdb.h ticket.h ../../db/dbbase.h
createticket.o: ../../db/dbconn.h ../../db/dbtextstream.h
createticket.o: ../../core/textstream.h ../../core/error.h ../../core/log.h
createticket.o: ticketinfo.h ../../core/item.h ../../db/db.h
createticket.o: ../../db/dbbase.h ../../db/dbitemquery.h
createticket.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
createticket.o: ../../core/thread.h ../../core/dircontainer.h
createticket.o: ../../core/item.h ../../core/ugcontainer.h
createticket.o: ../../functions/functionbase.h ../../core/request.h
createticket.o: ../../core/requesttypes.h ../../core/session.h
createticket.o: ../../core/error.h ../../core/user.h ../../core/plugindata.h
createticket.o: ../../core/rebus.h ../../core/config.h
createticket.o: ../../core/confparser.h ../../core/htmlfilter.h
createticket.o: ../../core/config.h ../../core/system.h ../../core/dirs.h
createticket.o: ../../core/dircontainer.h ../../core/request.h
createticket.o: ../../core/mounts.h ../../core/mount.h
createticket.o: ../../core/mountparser.h ../../core/users.h
createticket.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
createticket.o: ../../core/groups.h ../../core/group.h ../../core/loadavg.h
createticket.o: ../../core/notify.h ../../templatesnotify/templatesnotify.h
createticket.o: ../../../ezc/src/ezc.h ../../core/mount.h ../../core/locale.h
createticket.o: ../../templates/misc.h ../../templates/localefilter.h
createticket.o: ../../core/locale.h ../../core/system.h readticket.h
createticket.o: ../../functions/functions.h ../../functions/functionbase.h
createticket.o: ../../functions/functionparser.h ../../functions/adduser.h
createticket.o: ../../functions/cat.h ../../functions/chmod.h
createticket.o: ../../functions/privchanger.h ../../functions/chown.h
createticket.o: ../../functions/ckeditor.h ../../functions/cp.h
createticket.o: ../../functions/createthread.h ../../functions/default.h
createticket.o: ../../functions/download.h ../../functions/emacs.h
createticket.o: ../../functions/last.h ../../functions/login.h
createticket.o: ../../functions/logout.h ../../functions/ls.h
createticket.o: ../../functions/mkdir.h ../../functions/mv.h
createticket.o: ../../functions/node.h ../../functions/priv.h
createticket.o: ../../functions/reload.h ../../functions/rm.h
createticket.o: ../../functions/run.h ../../functions/subject.h
createticket.o: ../../functions/funthread.h ../../functions/template.h
createticket.o: ../../functions/tinymce.h ../../functions/uname.h
createticket.o: ../../functions/upload.h ../../functions/uptime.h
createticket.o: ../../functions/who.h ../../core/htmlfilter.h
editticket.o: editticket.h tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
editticket.o: ../../db/dbtextstream.h ../../core/textstream.h
editticket.o: ../../core/error.h ../../core/log.h ticketinfo.h
editticket.o: ../../core/item.h ../../db/db.h ../../db/dbbase.h
editticket.o: ../../db/dbitemquery.h ../../db/dbitemcolumns.h
editticket.o: ../../core/user.h ../../core/group.h ../../core/thread.h
editticket.o: ../../core/dircontainer.h ../../core/item.h
editticket.o: ../../core/ugcontainer.h ../../functions/functionbase.h
editticket.o: ../../core/request.h ../../core/requesttypes.h
editticket.o: ../../core/session.h ../../core/error.h ../../core/user.h
editticket.o: ../../core/plugindata.h ../../core/rebus.h ../../core/config.h
editticket.o: ../../core/confparser.h ../../core/htmlfilter.h
editticket.o: ../../core/config.h ../../core/system.h ../../core/dirs.h
editticket.o: ../../core/dircontainer.h ../../core/request.h
editticket.o: ../../core/mounts.h ../../core/mount.h ../../core/mountparser.h
editticket.o: ../../core/users.h ../../core/ugcontainer.h
editticket.o: ../../core/lastcontainer.h ../../core/groups.h
editticket.o: ../../core/group.h ../../core/loadavg.h ../../core/notify.h
editticket.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
editticket.o: ../../core/mount.h ../../core/locale.h ../../templates/misc.h
editticket.o: ../../templates/localefilter.h ../../core/locale.h
editticket.o: ../../core/system.h readticket.h ../../functions/functions.h
editticket.o: ../../functions/functionbase.h ../../functions/functionparser.h
editticket.o: ../../functions/adduser.h ../../functions/cat.h
editticket.o: ../../functions/chmod.h ../../functions/privchanger.h
editticket.o: ../../functions/chown.h ../../functions/ckeditor.h
editticket.o: ../../functions/cp.h ../../functions/createthread.h
editticket.o: ../../functions/default.h ../../functions/download.h
editticket.o: ../../functions/emacs.h ../../functions/last.h
editticket.o: ../../functions/login.h ../../functions/logout.h
editticket.o: ../../functions/ls.h ../../functions/mkdir.h
editticket.o: ../../functions/mv.h ../../functions/node.h
editticket.o: ../../functions/priv.h ../../functions/reload.h
editticket.o: ../../functions/rm.h ../../functions/run.h
editticket.o: ../../functions/subject.h ../../functions/funthread.h
editticket.o: ../../functions/template.h ../../functions/tinymce.h
editticket.o: ../../functions/uname.h ../../functions/upload.h
editticket.o: ../../functions/uptime.h ../../functions/who.h
editticket.o: ../../core/htmlfilter.h
funticket.o: funticket.h tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
funticket.o: ../../db/dbtextstream.h ../../core/textstream.h
funticket.o: ../../core/error.h ../../core/log.h ticketinfo.h
funticket.o: ../../core/item.h ../../db/db.h ../../db/dbbase.h
funticket.o: ../../db/dbitemquery.h ../../db/dbitemcolumns.h
funticket.o: ../../core/user.h ../../core/group.h ../../core/thread.h
funticket.o: ../../core/dircontainer.h ../../core/item.h
funticket.o: ../../core/ugcontainer.h ../../functions/functionbase.h
funticket.o: ../../core/request.h ../../core/requesttypes.h
funticket.o: ../../core/session.h ../../core/error.h ../../core/user.h
funticket.o: ../../core/plugindata.h ../../core/rebus.h ../../core/config.h
funticket.o: ../../core/confparser.h ../../core/htmlfilter.h
funticket.o: ../../core/config.h ../../core/system.h ../../core/dirs.h
funticket.o: ../../core/dircontainer.h ../../core/request.h
funticket.o: ../../core/mounts.h ../../core/mount.h ../../core/mountparser.h
funticket.o: ../../core/users.h ../../core/ugcontainer.h
funticket.o: ../../core/lastcontainer.h ../../core/groups.h
funticket.o: ../../core/group.h ../../core/loadavg.h ../../core/notify.h
funticket.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
funticket.o: ../../core/mount.h ../../core/locale.h ../../templates/misc.h
funticket.o: ../../templates/localefilter.h ../../core/locale.h
funticket.o: ../../core/system.h
init.o: tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
init.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/error.h
init.o: ../../core/log.h funticket.h ticketinfo.h ../../core/item.h
init.o: ../../db/db.h ../../db/dbbase.h ../../db/dbitemquery.h
init.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
init.o: ../../core/thread.h ../../core/dircontainer.h ../../core/item.h
init.o: ../../core/ugcontainer.h ../../functions/functionbase.h
init.o: ../../core/request.h ../../core/requesttypes.h ../../core/session.h
init.o: ../../core/error.h ../../core/user.h ../../core/plugindata.h
init.o: ../../core/rebus.h ../../core/config.h ../../core/confparser.h
init.o: ../../core/htmlfilter.h ../../core/config.h ../../core/system.h
init.o: ../../core/dirs.h ../../core/dircontainer.h ../../core/request.h
init.o: ../../core/mounts.h ../../core/mount.h ../../core/mountparser.h
init.o: ../../core/users.h ../../core/ugcontainer.h
init.o: ../../core/lastcontainer.h ../../core/groups.h ../../core/group.h
init.o: ../../core/loadavg.h ../../core/notify.h
init.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
init.o: ../../core/mount.h ../../core/locale.h ../../templates/misc.h
init.o: ../../templates/localefilter.h ../../core/locale.h
init.o: ../../core/system.h editticket.h createticket.h ../../core/log.h
init.o: ../../core/plugin.h ../../core/pluginmsg.h
init.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
init.o: ../../functions/functions.h ../../functions/functionbase.h
init.o: ../../functions/functionparser.h ../../functions/adduser.h
init.o: ../../functions/cat.h ../../functions/chmod.h
init.o: ../../functions/privchanger.h ../../functions/chown.h
init.o: ../../functions/ckeditor.h ../../functions/cp.h
init.o: ../../functions/createthread.h ../../functions/default.h
init.o: ../../functions/download.h ../../functions/emacs.h
init.o: ../../functions/last.h ../../functions/login.h
init.o: ../../functions/logout.h ../../functions/ls.h ../../functions/mkdir.h
init.o: ../../functions/mv.h ../../functions/node.h ../../functions/priv.h
init.o: ../../functions/reload.h ../../functions/rm.h ../../functions/run.h
init.o: ../../functions/subject.h ../../functions/funthread.h
init.o: ../../functions/template.h ../../functions/tinymce.h
init.o: ../../functions/uname.h ../../functions/upload.h
init.o: ../../functions/uptime.h ../../functions/who.h
init.o: ../../core/htmlfilter.h ../../templates/templates.h
init.o: ../../templates/misc.h ../../templates/patterncacher.h
init.o: ../../core/item.h ../../templates/ckeditorgetparser.h
init.o: ../../core/httpsimpleparser.h ../../core/log.h
init.o: ../../templates/indexpatterns.h ../../core/sessionmanager.h
readticket.o: readticket.h ticket.h ticketinfo.h ../../core/item.h
readticket.o: ../../db/db.h ../../db/dbbase.h ../../db/dbitemquery.h
readticket.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
readticket.o: ../../core/thread.h ../../core/error.h ../../core/log.h
readticket.o: ../../core/dircontainer.h ../../core/item.h
readticket.o: ../../core/ugcontainer.h tdb.h ../../db/dbbase.h
readticket.o: ../../db/dbconn.h ../../db/dbtextstream.h
readticket.o: ../../core/textstream.h ../../core/request.h
readticket.o: ../../core/requesttypes.h ../../core/session.h
readticket.o: ../../core/error.h ../../core/user.h ../../core/plugindata.h
readticket.o: ../../core/rebus.h ../../core/config.h ../../core/confparser.h
readticket.o: ../../core/htmlfilter.h ../../core/system.h ../../core/dirs.h
readticket.o: ../../core/dircontainer.h ../../core/request.h
readticket.o: ../../core/mounts.h ../../core/mount.h ../../core/mountparser.h
readticket.o: ../../core/users.h ../../core/ugcontainer.h
readticket.o: ../../core/lastcontainer.h ../../core/groups.h
readticket.o: ../../core/group.h ../../core/loadavg.h
tdb.o: tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
tdb.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/error.h
tdb.o: ../../core/log.h ../../core/log.h
ticket.o: ../../../ezc/src/ezc.h ticketinfo.h ticket.h ../../core/item.h
ticket.o: ../../db/db.h ../../db/dbbase.h ../../db/dbitemquery.h
ticket.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
ticket.o: ../../core/thread.h ../../core/error.h ../../core/log.h
ticket.o: ../../core/dircontainer.h ../../core/item.h
ticket.o: ../../core/ugcontainer.h tdb.h ../../db/dbbase.h ../../db/dbconn.h
ticket.o: ../../db/dbtextstream.h ../../core/textstream.h editticket.h
ticket.o: ../../functions/functionbase.h ../../core/request.h
ticket.o: ../../core/requesttypes.h ../../core/session.h ../../core/error.h
ticket.o: ../../core/user.h ../../core/plugindata.h ../../core/rebus.h
ticket.o: ../../core/config.h ../../core/confparser.h ../../core/htmlfilter.h
ticket.o: ../../core/config.h ../../core/system.h ../../core/dirs.h
ticket.o: ../../core/dircontainer.h ../../core/request.h ../../core/mounts.h
ticket.o: ../../core/mount.h ../../core/mountparser.h ../../core/users.h
ticket.o: ../../core/ugcontainer.h ../../core/lastcontainer.h
ticket.o: ../../core/groups.h ../../core/group.h ../../core/loadavg.h
ticket.o: ../../core/notify.h ../../templatesnotify/templatesnotify.h
ticket.o: ../../core/mount.h ../../core/locale.h ../../templates/misc.h
ticket.o: ../../templates/localefilter.h ../../core/locale.h
ticket.o: ../../core/system.h createticket.h ../../core/misc.h
ticket.o: ../../core/plugin.h ../../core/pluginmsg.h
ticket.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
ticket.o: ../../functions/functions.h ../../functions/functionbase.h
ticket.o: ../../functions/functionparser.h ../../functions/adduser.h
ticket.o: ../../functions/cat.h ../../functions/chmod.h
ticket.o: ../../functions/privchanger.h ../../functions/chown.h
ticket.o: ../../functions/ckeditor.h ../../functions/cp.h
ticket.o: ../../functions/createthread.h ../../functions/default.h
ticket.o: ../../functions/download.h ../../functions/emacs.h
ticket.o: ../../functions/last.h ../../functions/login.h
ticket.o: ../../functions/logout.h ../../functions/ls.h
ticket.o: ../../functions/mkdir.h ../../functions/mv.h ../../functions/node.h
ticket.o: ../../functions/priv.h ../../functions/reload.h
ticket.o: ../../functions/rm.h ../../functions/run.h
ticket.o: ../../functions/subject.h ../../functions/funthread.h
ticket.o: ../../functions/template.h ../../functions/tinymce.h
ticket.o: ../../functions/uname.h ../../functions/upload.h
ticket.o: ../../functions/uptime.h ../../functions/who.h
ticket.o: ../../core/htmlfilter.h ../../templates/templates.h
ticket.o: ../../templates/misc.h ../../templates/patterncacher.h
ticket.o: ../../core/item.h ../../templates/ckeditorgetparser.h
ticket.o: ../../core/httpsimpleparser.h ../../core/log.h
ticket.o: ../../templates/indexpatterns.h ../../core/sessionmanager.h
ticketinfo.o: ticketinfo.h ticket.h ../../core/item.h ../../db/db.h
ticketinfo.o: ../../db/dbbase.h ../../db/dbitemquery.h
ticketinfo.o: ../../db/dbitemcolumns.h ../../core/user.h ../../core/group.h
ticketinfo.o: ../../core/thread.h ../../core/error.h ../../core/log.h
ticketinfo.o: ../../core/dircontainer.h ../../core/item.h
ticketinfo.o: ../../core/ugcontainer.h tdb.h ../../db/dbbase.h
ticketinfo.o: ../../db/dbconn.h ../../db/dbtextstream.h
ticketinfo.o: ../../core/textstream.h

1
plugins/ticket/Makefile.o.dep Executable file
View File

@ -0,0 +1 @@
o = createticket.o editticket.o funticket.o init.o readticket.o tdb.o ticket.o ticketinfo.o

View File

@ -9,23 +9,39 @@
#include "createticket.h"
#include "readticket.h"
#include "functions.h"
#include "functions/functions.h"
namespace Fun
namespace Ticket
{
CreateTicket::CreateTicket()
{
fun.url = "createticket";
}
void CreateTicket::SetTDb(TDb * ptdb)
{
tdb = ptdb;
}
void CreateTicket::SetTicketInfo(TicketInfo * pinfo)
{
ticket_info = pinfo;
}
void CreateTicket::Clear()
{
functions->fun_ticket.Clear();
ticket_info->Clear();
}
// returning true if we can create a ticket in the current directory
bool CreateTicket::HasAccess(bool check_root)
{
@ -38,7 +54,7 @@ bool CreateTicket::HasAccess(bool check_root)
if( !system->HasWriteAccess(*request->dir_tab.back()) )
return false;
if( !system->mounts.pmount || system->mounts.pmount->type != system->mounts.MountTypeTicket() )
if( !system->mounts.pmount || system->mounts.pmount->type != ticket_info->mount_type_ticket )
return false;
@ -48,10 +64,10 @@ bool CreateTicket::HasAccess(bool check_root)
// super can create tickets regardless of the createticket_on option
return true;
if( !system->mounts.pmount->IsPar(system->mounts.MountParCreateticketOn()) )
if( !system->mounts.pmount->IsPar(ticket_info->mount_par_createticket_on) )
return true;
if( system->mounts.pmount->IsArg(system->mounts.MountParCreateticketOn(), request->dir_tab.size()) )
if( system->mounts.pmount->IsArg(ticket_info->mount_par_createticket_on, request->dir_tab.size()) )
return true;
return false;
@ -63,6 +79,7 @@ bool CreateTicket::HasAccess()
return HasAccess(false);
}
bool CreateTicket::FunCreateTicketCheckAbuse()
{
if( !system->rebus.CheckRebus() )
@ -89,16 +106,15 @@ void CreateTicket::AddTicket()
{
static std::string temp;
functions->fun_ticket.ticket.dir_id = request->dir_tab.back()->id; // a new directory created by Mkdir()
functions->fun_ticket.ticket.item_id = request->item.id; // this id is set by PostFunEmacsAdd()
ticket_info->ticket.dir_id = request->dir_tab.back()->id; // a new directory created by Mkdir()
ticket_info->ticket.item_id = request->item.id; // this id is set by PostFunEmacsAdd()
request->status = db->AddTicket(functions->fun_ticket.ticket);
request->status = tdb->AddTicket(ticket_info->ticket);
if( request->status == WINIX_ERR_OK )
{
}
}
@ -106,12 +122,12 @@ void CreateTicket::PostFunCreateTicketLogAndRedirect()
{
if( request->status == WINIX_ERR_OK )
{
log << log2 << "Content: added a new ticket" << logend;
log << log2 << "CreateTicket: added a new ticket" << logend;
system->RedirectToLastDir();
}
else
{
log << log1 << "Content: problem with adding a new ticket, error code: "
log << log1 << "CreateTicket: problem with adding a new ticket, error code: "
<< request->status << logend;
}
}
@ -124,7 +140,7 @@ void CreateTicket::MakePost()
functions->SetUser(request->item);
ReadTicket read_ticket;
read_ticket.Read(system, request, &functions->fun_ticket.ticket);
read_ticket.Read(system, request, ticket_info, &ticket_info->ticket);
request->item.privileges = 0777; // !! tymczasowo 777 aby wszyscy mogli wysylac posty

View File

@ -10,11 +10,12 @@
#ifndef headerfilecmslucontentcreateticket
#define headerfilecmslucontentcreateticket
#include "functionbase.h"
#include "tdb.h"
#include "ticketinfo.h"
#include "functions/functionbase.h"
namespace Fun
namespace Ticket
{
@ -23,6 +24,9 @@ class CreateTicket : public FunctionBase
public:
CreateTicket();
void SetTDb(TDb * ptdb);
void SetTicketInfo(TicketInfo * pinfo);
void Clear();
bool HasAccess(bool check_root);
bool HasAccess();
@ -34,6 +38,8 @@ private:
void AddTicket();
void PostFunCreateTicketLogAndRedirect();
TDb * tdb;
TicketInfo * ticket_info;
};

View File

@ -8,13 +8,13 @@
*/
#include "editticket.h"
#include "functions.h"
#include "readticket.h"
#include "functions/functions.h"
namespace Fun
namespace Ticket
{
EditTicket::EditTicket()
@ -23,9 +23,21 @@ EditTicket::EditTicket()
}
void EditTicket::SetTDb(TDb * ptdb)
{
tdb = ptdb;
}
void EditTicket::SetTicketInfo(TicketInfo * pinfo)
{
ticket_info = pinfo;
}
void EditTicket::Clear()
{
functions->fun_ticket.Clear();
ticket_info->Clear();
}
@ -38,15 +50,15 @@ bool EditTicket::HasAccess()
if( request->dir_tab.empty() )
return false;
functions->fun_ticket.ReadTicket();
ticket_info->ReadTicket(request->dir_tab.back()->id);
if( request->is_item || !functions->fun_ticket.is_ticket )
if( request->is_item || !ticket_info->is_ticket )
return false;
if( !system->HasWriteAccess(*request->dir_tab.back()) )
return false;
if( !system->mounts.pmount || system->mounts.pmount->type != system->mounts.MountTypeTicket() )
if( !system->mounts.pmount || system->mounts.pmount->type != ticket_info->mount_type_ticket )
return false;
return true;
@ -62,7 +74,7 @@ void EditTicket::EditTicketCheckFirstItem()
return;
if( functions->fun_ticket.ticket.item_id == -1 )
if( ticket_info->ticket.item_id == -1 )
{
// creating a new item (the item was deleted by a user)
@ -74,12 +86,12 @@ void EditTicket::EditTicketCheckFirstItem()
functions->SetUser(item);
functions->PrepareUrl(item);
request->status = db->AddItem(item);
request->status = db->AddItem(item); // !! moze system->AddFile() tutaj?
if( request->status == WINIX_ERR_OK )
{
log << log2 << "Content: added the first item with content for the ticket, item.id: " << item.id << logend;
functions->fun_ticket.ticket.item_id = item.id;
log << log2 << "EditTicket: added the first item with content for the ticket, item.id: " << item.id << logend;
ticket_info->ticket.item_id = item.id;
}
}
}
@ -93,16 +105,16 @@ void EditTicket::EditTicketModTicket()
Ticket ticket;
ReadTicket read_ticket;
read_ticket.Read(system, request, &ticket);
read_ticket.Read(system, request, ticket_info, &ticket);
functions->fun_ticket.ticket.type = ticket.type;
functions->fun_ticket.ticket.status = ticket.status;
functions->fun_ticket.ticket.priority = ticket.priority;
functions->fun_ticket.ticket.category = ticket.category;
functions->fun_ticket.ticket.expected = ticket.expected;
functions->fun_ticket.ticket.progress = ticket.progress;
ticket_info->ticket.type = ticket.type;
ticket_info->ticket.status = ticket.status;
ticket_info->ticket.priority = ticket.priority;
ticket_info->ticket.category = ticket.category;
ticket_info->ticket.expected = ticket.expected;
ticket_info->ticket.progress = ticket.progress;
request->status = db->EditTicketById(functions->fun_ticket.ticket);
request->status = tdb->EditTicketById(ticket_info->ticket);
}
@ -134,7 +146,7 @@ void EditTicket::EditTicketModFirstItem()
functions->ReadItemContentWithType(request->item);
Item item;
db->GetItemById(functions->fun_ticket.ticket.item_id, item);
db->GetItemById(ticket_info->ticket.item_id, item);
item.subject = request->item.subject;
item.content = request->item.content;
item.content_type = request->item.content_type;
@ -193,7 +205,7 @@ void EditTicket::MakePost()
return;
}
if( db->GetTicketByDirId(request->dir_tab.back()->id, functions->fun_ticket.ticket) != WINIX_ERR_OK )
if( tdb->GetTicketByDirId(request->dir_tab.back()->id, ticket_info->ticket) != WINIX_ERR_OK )
{
request->status = WINIX_ERR_PERMISSION_DENIED;
return;
@ -210,7 +222,7 @@ void EditTicket::MakePost()
void EditTicket::MakeGet()
{
db->GetItemById(functions->fun_ticket.ticket.item_id, request->item);
db->GetItemById(ticket_info->ticket.item_id, request->item);
// the subject we get from the last directory
request->item.subject = request->dir_tab.back()->subject;

View File

@ -10,11 +10,13 @@
#ifndef headerfilecmslucontenteditticket
#define headerfilecmslucontenteditticket
#include "functionbase.h"
#include "tdb.h"
#include "ticket.h"
#include "ticketinfo.h"
#include "functions/functionbase.h"
namespace Fun
namespace Ticket
{
@ -23,6 +25,9 @@ class EditTicket : public FunctionBase
public:
EditTicket();
void SetTDb(TDb * ptdb);
void SetTicketInfo(TicketInfo * pinfo);
void Clear();
bool HasAccess();
void MakePost();
@ -37,6 +42,8 @@ private:
void PostFunEditTicketLogAndRedirect();
bool FunCreateTicketCheckAbuse();
TDb * tdb;
TicketInfo * ticket_info;
};

View File

@ -10,59 +10,61 @@
#include "funticket.h"
namespace Fun
namespace Ticket
{
FunTicket::FunTicket()
{
fun.url = "ticket";
Clear();
}
void FunTicket::SetTDb(TDb * ptdb)
{
tdb = ptdb;
}
void FunTicket::SetTicketInfo(TicketInfo * pinfo)
{
ticket_info = pinfo;
}
void FunTicket::Clear()
{
ticket_info->Clear();
}
bool FunTicket::HasAccess()
{
if( request->is_item || system->mounts.pmount->type != system->mounts.MountTypeTicket() )
if( request->is_item || system->mounts.pmount->type != ticket_info->mount_type_ticket )
return false;
return true;
}
void FunTicket::Clear()
{
item.Clear();
is_ticket = false;
ticket.Clear();
ticket_tab.clear();
}
void FunTicket::ReadTicket()
{
if( db->GetTicketByDirId(request->dir_tab.back()->id, ticket) == WINIX_ERR_OK )
{
is_ticket = true;
db->GetItemById(ticket.item_id, item);
}
}
void FunTicket::TicketDeleteFirst()
{
if( !is_ticket )
if( !ticket_info->is_ticket )
return;
for(size_t i=0 ; i<request->item_tab.size() ; ++i)
{
if( request->item_tab[i].id == ticket.item_id )
if( request->item_tab[i].id == ticket_info->ticket.item_id )
{
// this is the first item with the content for the ticket
if( !system->HasReadAccess(request->item_tab[i]) )
{
request->status = WINIX_ERR_PERMISSION_DENIED;
}
request->item_tab.erase(request->item_tab.begin() + i);
break;
@ -74,7 +76,7 @@ void FunTicket::TicketDeleteFirst()
void FunTicket::MakeGet()
{
ReadTicket();
ticket_info->ReadTicket(request->dir_tab.back()->id);
DbItemQuery iq;
@ -83,7 +85,7 @@ void FunTicket::MakeGet()
iq.WhereAuth(Item::auth_none);
db->GetItems(request->item_tab, iq);
db->GetTickets(request->dir_tab.back()->id, ticket_tab);
tdb->GetTickets(request->dir_tab.back()->id, ticket_info->ticket_tab);
TicketDeleteFirst();
system->CheckAccessToItems(request->item_tab);

View File

@ -10,12 +10,13 @@
#ifndef headerfilecmslucontentticket
#define headerfilecmslucontentticket
#include "functionbase.h"
#include "core/ticket.h"
#include "tdb.h"
#include "ticketinfo.h"
#include "core/item.h"
#include "functions/functionbase.h"
namespace Fun
namespace Ticket
{
@ -24,20 +25,18 @@ class FunTicket : public FunctionBase
public:
FunTicket();
bool HasAccess();
void Clear();
void MakeGet();
void ReadTicket();
void SetTDb(TDb * ptdb);
void SetTicketInfo(TicketInfo * pinfo);
// those object are used by editticket and createticket winix functions too
Item item;
bool is_ticket;
Ticket ticket;
std::vector<Ticket> ticket_tab;
void Clear();
bool HasAccess();
void MakeGet();
private:
void TicketDeleteFirst();
TDb * tdb;
TicketInfo * ticket_info;
};

101
plugins/ticket/init.cpp Executable file
View File

@ -0,0 +1,101 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2010, Tomasz Sowa
* All rights reserved.
*
*/
#include "tdb.h"
#include "funticket.h"
#include "editticket.h"
#include "createticket.h"
#include "core/log.h"
#include "core/plugin.h"
extern "C" void Init(PluginInfo &);
namespace Ticket
{
const char plugin_name[] = "ticket";
TDb tdb;
TicketInfo ticket_info;
FunTicket fun_ticket;
CreateTicket fun_create_ticket;
EditTicket fun_edit_ticket;
void AddFunctions(PluginInfo & info)
{
info.functions->Add(fun_ticket);
info.functions->Add(fun_create_ticket);
info.functions->Add(fun_edit_ticket);
}
void SelectDefaultFunction(PluginInfo & info)
{
if( info.system->mounts.pmount->type == ticket_info.mount_type_ticket )
info.request->function = &fun_ticket;
}
void AddMounts(PluginInfo & info)
{
Mounts & m = info.system->mounts;
ticket_info.mount_type_ticket = m.AddMountType("ticket");
ticket_info.mount_par_ticket = m.AddMountPar("ticket");
ticket_info.mount_par_ticket_type = m.AddMountPar("ticket_type");
ticket_info.mount_par_ticket_type_default = m.AddMountPar("ticket_type_default");
ticket_info.mount_par_ticket_status = m.AddMountPar("ticket_status");
ticket_info.mount_par_ticket_status_default = m.AddMountPar("ticket_status_default");
ticket_info.mount_par_ticket_priority = m.AddMountPar("ticket_priority");
ticket_info.mount_par_ticket_priority_default = m.AddMountPar("ticket_priority_default");
ticket_info.mount_par_ticket_category = m.AddMountPar("ticket_category");
ticket_info.mount_par_ticket_category_default = m.AddMountPar("ticket_category_default");
ticket_info.mount_par_ticket_expected = m.AddMountPar("ticket_expected");
ticket_info.mount_par_ticket_expected_default = m.AddMountPar("ticket_expected_default");
ticket_info.mount_par_createticket_on = m.AddMountPar("createticket_on");
}
void AddEzcFunctions(PluginInfo & info);
} // namespace Ticket
void Init(PluginInfo & info)
{
using namespace Ticket;
plugin.Assign(WINIX_TEMPLATES_CREATEFUNCTIONS, AddEzcFunctions);
plugin.Assign(WINIX_CREATE_FUNCTIONS, AddFunctions);
plugin.Assign(WINIX_SELECT_DEFAULT_FUNCTION, SelectDefaultFunction);
plugin.Assign(WINIX_ADD_MOUNTS, AddMounts);
tdb.SetConn(info.db->GetConn());
ticket_info.SetDb(info.db);
ticket_info.SetTDb(&tdb);
fun_ticket.SetTDb(&tdb);
fun_ticket.SetTicketInfo(&ticket_info);
fun_edit_ticket.SetTDb(&tdb);
fun_edit_ticket.SetTicketInfo(&ticket_info);
fun_create_ticket.SetTDb(&tdb);
fun_create_ticket.SetTicketInfo(&ticket_info);
info.p1 = (void*)plugin_name;
}

View File

@ -10,9 +10,10 @@
#include "readticket.h"
namespace Fun
namespace Ticket
{
ReadTicket::ReadTicket()
{
}
@ -28,8 +29,8 @@ static std::string temp;
request->PostVar("type", temp);
ticket->type = atoi(temp.c_str());
if( ticket->type >= system->mounts.pmount->param[system->mounts.MountParTicketType()].arg.size() )
ticket->type = system->mounts.pmount->param[system->mounts.MountParTicketType()].arg.size();
if( ticket->type >= system->mounts.pmount->param[ticket_info->mount_par_ticket_type].arg.size() )
ticket->type = system->mounts.pmount->param[ticket_info->mount_par_ticket_type].arg.size();
}
@ -41,8 +42,8 @@ static std::string temp;
request->PostVar("status", temp);
ticket->status = atoi(temp.c_str());
if( ticket->status >= system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg.size() )
ticket->status = system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg.size();
if( ticket->status >= system->mounts.pmount->param[ticket_info->mount_par_ticket_status].arg.size() )
ticket->status = system->mounts.pmount->param[ticket_info->mount_par_ticket_status].arg.size();
}
@ -54,8 +55,8 @@ static std::string temp;
request->PostVar("priority", temp);
ticket->priority = atoi(temp.c_str());
if( ticket->priority >= system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg.size() )
ticket->priority = system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg.size();
if( ticket->priority >= system->mounts.pmount->param[ticket_info->mount_par_ticket_priority].arg.size() )
ticket->priority = system->mounts.pmount->param[ticket_info->mount_par_ticket_priority].arg.size();
}
@ -67,8 +68,8 @@ static std::string temp;
request->PostVar("category", temp);
ticket->category = atoi(temp.c_str());
if( ticket->category >= system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg.size() )
ticket->category = system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg.size();
if( ticket->category >= system->mounts.pmount->param[ticket_info->mount_par_ticket_category].arg.size() )
ticket->category = system->mounts.pmount->param[ticket_info->mount_par_ticket_category].arg.size();
}
@ -79,8 +80,8 @@ static std::string temp;
request->PostVar("expected", temp);
ticket->expected = atoi(temp.c_str());
if( ticket->expected >= system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg.size() )
ticket->expected = system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg.size();
if( ticket->expected >= system->mounts.pmount->param[ticket_info->mount_par_ticket_expected].arg.size() )
ticket->expected = system->mounts.pmount->param[ticket_info->mount_par_ticket_expected].arg.size();
}
@ -102,11 +103,12 @@ static std::string temp;
void ReadTicket::Read(System * psystem, Request * prequest, Ticket * pticket)
void ReadTicket::Read(System * psystem, Request * prequest, TicketInfo * pinfo, Ticket * pticket)
{
system = psystem;
request = prequest;
ticket = pticket;
ticket_info = pinfo;
ticket->parent_id = request->dir_tab.back()->id;

View File

@ -10,13 +10,14 @@
#ifndef headerfilecmslucontentreadticket
#define headerfilecmslucontentreadticket
#include "ticket.h"
#include "ticketinfo.h"
#include "core/request.h"
#include "core/ticket.h"
#include "core/system.h"
namespace Fun
namespace Ticket
{
@ -24,12 +25,13 @@ class ReadTicket
{
public:
ReadTicket();
void Read(System * psystem, Request * prequest, Ticket * pticket);
void Read(System * psystem, Request * prequest, TicketInfo * pinfo, Ticket * pticket);
private:
Request * request;
Ticket * ticket;
System * system;
TicketInfo * ticket_info;
void ReadTicketType();
void ReadTicketStatus();

293
plugins/ticket/tdb.cpp Executable file
View File

@ -0,0 +1,293 @@
#include "tdb.h"
#include "core/log.h"
//#include "core/misc.h"
namespace Ticket
{
Error TDb::GetTicketByDirId(long dir_id, Ticket & ticket)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("select ticket.id, ticket.dir_id, ticket.parent_id, ticket.type, ticket.status, ticket.priority, "
"ticket.category, ticket.expected, ticket.progress, ticket.item_id "
"from core.ticket "
"where ticket.dir_id=") << dir_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_TUPLES_OK);
int rows = Rows(r);
if( rows > 1 )
log << log1 << "Db: there is more than one ticket with dir_id: " << dir_id << logend;
else
if( rows == 0 )
throw Error(WINIX_ERR_NO_TICKET);
TicketColumns tc;
tc.SetColumns(r);
tc.SetTicket(r, 0, ticket);
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error TDb::GetTickets(long parent_id, std::vector<Ticket> & ticket_tab)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("select ticket.id, ticket.dir_id, ticket.parent_id, ticket.type, ticket.status, ticket.priority, "
"ticket.category, ticket.expected, ticket.progress, ticket.item_id "
"from core.ticket "
"where ticket.parent_id = ") << parent_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_TUPLES_OK);
int rows = Rows(r);
Ticket ticket;
TicketColumns tc;
tc.SetColumns(r);
for(int i=0 ; i<rows ; ++i)
{
tc.SetTicket(r, i, ticket);
ticket_tab.push_back(ticket);
}
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
/*
bool TDb::IsTicket(long dir_id)
{
PGresult * r = 0;
bool is_ticket = false;
try
{
query.Clear();
query << "select ticket.id from core.ticket "
"where ticket.dir_id = '" << dir_id << "';";
r = AssertQuery(query);
AssertResult(r, PGRES_TUPLES_OK);
is_ticket = (Rows(r) == 1);
}
catch(const Error &)
{
}
ClearResult(r);
return is_ticket;
}
*/
Error TDb::AddTicket(Ticket & ticket)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("insert into core.ticket (dir_id, parent_id, type, status, priority, "
"category, expected, progress, item_id) values (")
<< ticket.dir_id
<< ticket.parent_id
<< ticket.type
<< ticket.status
<< ticket.priority
<< ticket.category
<< ticket.expected
<< ticket.progress
<< ticket.item_id
<< R(");");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
ticket.id = AssertCurrval("core.ticket_id_seq");
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error TDb::EditTicketById(Ticket & ticket)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("update core.ticket set (dir_id, parent_id, type, status, "
"priority, category, expected, progress, item_id) = (")
<< ticket.dir_id
<< ticket.parent_id
<< ticket.type
<< ticket.status
<< ticket.priority
<< ticket.category
<< ticket.expected
<< ticket.progress
<< ticket.item_id
<< R(") where id=")
<< ticket.id
<< R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error TDb::EditTicketRemoveItem(long item_id)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("update core.ticket set item_id = -1 where item_id=") << item_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
Error TDb::RemoveTicket(long dir_id)
{
PGresult * r = 0;
Error status = WINIX_ERR_OK;
try
{
query.Clear();
query << R("delete from core.ticket where dir_id=") << dir_id << R(";");
r = AssertQuery(query);
AssertResult(r, PGRES_COMMAND_OK);
long rows = AffectedRows(r);
if( rows > 0 )
log << log2 << "Db: deleted " << rows << " rows from core.ticket" << logend;
}
catch(const Error & e)
{
status = e;
}
ClearResult(r);
return status;
}
void TDb::TicketColumns::SetColumns(PGresult * r)
{
// PQfnumber returns -1 if there is no such a column
id = PQfnumber(r, "id");
dir_id = PQfnumber(r, "dir_id");
parent_id = PQfnumber(r, "parent_id");
type = PQfnumber(r, "type");
status = PQfnumber(r, "status");
priority = PQfnumber(r, "priority");
category = PQfnumber(r, "category");
expected = PQfnumber(r, "expected");
progress = PQfnumber(r, "progress");
item_id = PQfnumber(r, "item_id");
}
void TDb::TicketColumns::SetTicket(PGresult * r, long row, Ticket & ticket)
{
if( id != -1 ) ticket.id = DbBase::AssertValueLong(r, row, id);
if( dir_id != -1 ) ticket.dir_id = DbBase::AssertValueLong(r, row, dir_id);
if( parent_id != -1 ) ticket.parent_id = DbBase::AssertValueLong(r, row, parent_id);
if( type != -1 ) ticket.type = DbBase::AssertValueInt(r, row, type);
if( status != -1 ) ticket.status = DbBase::AssertValueInt(r, row, status);
if( priority != -1 ) ticket.priority = DbBase::AssertValueInt(r, row, priority);
if( category != -1 ) ticket.category = DbBase::AssertValueInt(r, row, category);
if( expected != -1 ) ticket.expected = DbBase::AssertValueInt(r, row, expected);
if( progress != -1 ) ticket.progress = DbBase::AssertValueInt(r, row, progress);
if( item_id != -1 ) ticket.item_id = DbBase::AssertValueLong(r, row, item_id);
}
} // namespace

60
plugins/ticket/tdb.h Executable file
View File

@ -0,0 +1,60 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2010, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_plugins_ticket_tdb
#define headerfile_winix_plugins_ticket_tdb
#include <vector>
#include "ticket.h"
#include "db/dbbase.h"
#include "core/error.h"
namespace Ticket
{
class TDb : public DbBase
{
public:
Error GetTicketByDirId(long dir_id, Ticket & ticket);
Error GetTickets(long parent_id, std::vector<Ticket> & ticket_tab);
//bool IsTicket(long dir_id);
Error AddTicket(Ticket & ticket);
Error EditTicketById(Ticket & ticket);
Error EditTicketRemoveItem(long item_id);
Error RemoveTicket(long dir_id);
struct TicketColumns
{
int id, dir_id, parent_id, type, status, priority, category, expected, progress, item_id;
void SetColumns(PGresult * r);
void SetTicket(PGresult * r, long row, Ticket & ticket);
};
private:
DbTextStream query;
};
} // namespace
#endif

650
plugins/ticket/ticket.cpp Executable file
View File

@ -0,0 +1,650 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2010, Tomasz Sowa
* All rights reserved.
*
*/
#include "ezc.h"
#include "ticketinfo.h"
#include "editticket.h"
#include "createticket.h"
#include "core/request.h"
#include "core/misc.h"
#include "core/plugin.h"
#include "functions/functions.h"
#include "templates/templates.h"
namespace Ticket
{
using Ezc::Info;
using namespace TemplatesFunctions;
using TemplatesFunctions::system;
extern TicketInfo ticket_info;
extern CreateTicket fun_create_ticket;
extern EditTicket fun_edit_ticket;
int ticket_calc_progress_image_number(int percent)
{
percent = int( double(percent) / 10.0 + 0.5 ) * 10;
if( percent < 0 )
percent = 0;
if( percent > 100 )
percent = 100;
return percent;
}
void ticket_is(Info & i)
{
i.res = ticket_info.is_ticket;
}
void ticket_item_content(Info & i)
{
HtmlEscape(i.out, ticket_info.item.content);
}
void ticket_item_content_type_is(Info & i)
{
item_content_type_is(ticket_info.item, i);
}
void ticket_item_print_content(Info & i)
{
item_print_content(i.out, ticket_info.item.content, ticket_info.item.content_type);
}
void ticket_can_create(Info & i)
{
i.res = fun_create_ticket.HasAccess(true);
}
void ticket_can_edit(Info & i)
{
i.res = fun_edit_ticket.HasAccess();
}
void ticket_type(Info & i)
{
if( ticket_info.ticket.type < system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg[ticket_info.ticket.type]);
}
void ticket_status(Info & i)
{
if( ticket_info.ticket.status < system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg[ticket_info.ticket.status]);
}
void ticket_priority(Info & i)
{
if( ticket_info.ticket.priority < system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg[ticket_info.ticket.priority]);
}
void ticket_category(Info & i)
{
if( ticket_info.ticket.category < system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg[ticket_info.ticket.category]);
}
void ticket_expected(Info & i)
{
if( ticket_info.ticket.expected < system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg[ticket_info.ticket.expected]);
}
void ticket_progress(Info & i)
{
i.out << ticket_info.ticket.progress;
}
void ticket_progress_image_number(Info & i)
{
int percent = ticket_info.ticket.progress;
i.out << ticket_calc_progress_image_number(percent);
}
// --------------------------------------------------------------------------------
static size_t ticket_tab_index;
void ticket_tab(Info & i)
{
ticket_tab_index = i.iter;
i.res = ticket_tab_index < ticket_info.ticket_tab.size();
}
void ticket_tab_url(Info & i)
{
if( ticket_tab_index < ticket_info.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( ticket_info.ticket_tab[ticket_tab_index].dir_id );
if( dir )
{
HtmlEscape(i.out, dir->url);
}
else
{
i.out << "<!-- unknown directory -->";
}
}
}
void ticket_tab_subject(Info & i)
{
if( ticket_tab_index < ticket_info.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( ticket_info.ticket_tab[ticket_tab_index].dir_id );
if( dir )
{
if( !dir->subject.empty() )
HtmlEscape(i.out, dir->subject);
else
HtmlEscape(i.out, dir->url);
}
else
{
i.out << "<!-- unknown subject -->";
}
}
}
void ticket_tab_subject_empty(Info & i)
{
i.res = true;
if( ticket_tab_index < ticket_info.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( ticket_info.ticket_tab[ticket_tab_index].dir_id );
if( dir )
i.res = dir->subject.empty();
}
}
void ticket_tab_author(Info & i)
{
bool unknown = true;
if( ticket_tab_index < ticket_info.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( ticket_info.ticket_tab[ticket_tab_index].dir_id );
if( dir )
{
User * puser = system->users.GetUser(dir->user_id);
unknown = false;
if( puser )
HtmlEscape(i.out, puser->name);
else
{
i.out << "~";
if( !dir->guest_name.empty() )
HtmlEscape(i.out, dir->guest_name);
else
i.out << "guest"; // !! dodac do konfiga
}
}
}
if( unknown )
{
i.out << "<!-- unknown user -->";
}
}
void ticket_tab_type(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
Ticket & t = ticket_info.ticket_tab[ticket_tab_index];
if( t.type < system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg[t.type]);
}
void ticket_tab_status(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
Ticket & t = ticket_info.ticket_tab[ticket_tab_index];
if( t.status < system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg[t.status]);
}
void ticket_tab_priority(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
Ticket & t = ticket_info.ticket_tab[ticket_tab_index];
if( t.priority < system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg[t.priority]);
}
void ticket_tab_category(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
Ticket & t = ticket_info.ticket_tab[ticket_tab_index];
if( t.category < system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg[t.category]);
}
void ticket_tab_expected(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
Ticket & t = ticket_info.ticket_tab[ticket_tab_index];
if( t.expected < system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg[t.expected]);
}
void ticket_tab_progress(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
i.out << ticket_info.ticket_tab[ticket_tab_index].progress;
}
void ticket_tab_progress_image_number(Info & i)
{
if( ticket_tab_index >= ticket_info.ticket_tab.size() )
return;
int percent = ticket_info.ticket_tab[ticket_tab_index].progress;
i.out << ticket_calc_progress_image_number(percent);
}
// --------------------------------------------------------------------------------
static size_t ticket_type_tab_ind;
void ticket_type_tab(Info & i)
{
ticket_type_tab_ind = i.iter;
i.res = ticket_type_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg.size();
}
void ticket_type_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[ticket_info.mount_par_ticket_type].defined;
}
void ticket_type_tab_isdefault(Info & i)
{
if( ticket_info.is_ticket )
{
i.res = (ticket_type_tab_ind == ticket_info.ticket.type);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[ticket_info.mount_par_ticket_type_default];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_type_tab_ind == value);
}
}
void ticket_type_tab_index(Info & i)
{
i.out << ticket_type_tab_ind;
}
void ticket_type_tab_name(Info & i)
{
if( ticket_type_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_type].arg[ticket_type_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_status_tab_ind;
void ticket_status_tab(Info & i)
{
ticket_status_tab_ind = i.iter;
i.res = ticket_status_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg.size();
}
void ticket_status_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[ticket_info.mount_par_ticket_status].defined;
}
void ticket_status_tab_isdefault(Info & i)
{
if( ticket_info.is_ticket )
{
i.res = (ticket_status_tab_ind == ticket_info.ticket.status);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[ticket_info.mount_par_ticket_status_default];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_status_tab_ind == value);
}
}
void ticket_status_tab_index(Info & i)
{
i.out << ticket_status_tab_ind;
}
void ticket_status_tab_name(Info & i)
{
if( ticket_status_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_status].arg[ticket_status_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_priority_tab_ind;
void ticket_priority_tab(Info & i)
{
ticket_priority_tab_ind = i.iter;
i.res = ticket_priority_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg.size();
}
void ticket_priority_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].defined;
}
void ticket_priority_tab_isdefault(Info & i)
{
if( ticket_info.is_ticket )
{
i.res = (ticket_priority_tab_ind == ticket_info.ticket.priority);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[ticket_info.mount_par_ticket_priority_default];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_priority_tab_ind == value);
}
}
void ticket_priority_tab_index(Info & i)
{
i.out << ticket_priority_tab_ind;
}
void ticket_priority_tab_name(Info & i)
{
if( ticket_priority_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_priority].arg[ticket_priority_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_category_tab_ind;
void ticket_category_tab(Info & i)
{
ticket_category_tab_ind = i.iter;
i.res = ticket_category_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg.size();
}
void ticket_category_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[ticket_info.mount_par_ticket_category].defined;
}
void ticket_category_tab_isdefault(Info & i)
{
if( ticket_info.is_ticket )
{
i.res = (ticket_category_tab_ind == ticket_info.ticket.category);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[ticket_info.mount_par_ticket_category_default];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_category_tab_ind == value);
}
}
void ticket_category_tab_index(Info & i)
{
i.out << ticket_category_tab_ind;
}
void ticket_category_tab_name(Info & i)
{
if( ticket_category_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_category].arg[ticket_category_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_expected_tab_ind;
void ticket_expected_tab(Info & i)
{
ticket_expected_tab_ind = i.iter;
i.res = ticket_expected_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg.size();
}
void ticket_expected_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].defined;
}
void ticket_expected_tab_isdefault(Info & i)
{
if( ticket_info.is_ticket )
{
i.res = (ticket_expected_tab_ind == ticket_info.ticket.expected);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[ticket_info.mount_par_ticket_expected_default];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_expected_tab_ind == value);
}
}
void ticket_expected_tab_index(Info & i)
{
i.out << ticket_expected_tab_ind;
}
void ticket_expected_tab_name(Info & i)
{
if( ticket_expected_tab_ind < system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[ticket_info.mount_par_ticket_expected].arg[ticket_expected_tab_ind]);
}
void AddEzcFunctions(PluginInfo & info)
{
Ezc::Functions * fun = reinterpret_cast<Ezc::Functions*>(info.p1);
fun->Insert("ticket_is", ticket_is);
fun->Insert("ticket_item_content", ticket_item_content);
fun->Insert("ticket_item_content_type_is", ticket_item_content_type_is);
fun->Insert("ticket_item_print_content", ticket_item_print_content);
fun->Insert("ticket_can_create", ticket_can_create);
fun->Insert("ticket_can_edit", ticket_can_edit);
fun->Insert("ticket_type", ticket_type);
fun->Insert("ticket_status", ticket_status);
fun->Insert("ticket_priority", ticket_priority);
fun->Insert("ticket_category", ticket_category);
fun->Insert("ticket_expected", ticket_expected);
fun->Insert("ticket_progress", ticket_progress);
fun->Insert("ticket_progress_image_number", ticket_progress_image_number);
fun->Insert("ticket_tab", ticket_tab);
fun->Insert("ticket_tab_url", ticket_tab_url);
fun->Insert("ticket_tab_subject", ticket_tab_subject);
fun->Insert("ticket_tab_subject_empty", ticket_tab_subject_empty);
fun->Insert("ticket_tab_author", ticket_tab_author);
fun->Insert("ticket_tab_type", ticket_tab_type);
fun->Insert("ticket_tab_status", ticket_tab_status);
fun->Insert("ticket_tab_priority", ticket_tab_priority);
fun->Insert("ticket_tab_category", ticket_tab_category);
fun->Insert("ticket_tab_expected", ticket_tab_expected);
fun->Insert("ticket_tab_progress", ticket_tab_progress);
fun->Insert("ticket_tab_progress_image_number",ticket_tab_progress_image_number);
fun->Insert("ticket_type_tab", ticket_type_tab);
fun->Insert("ticket_type_tab_defined", ticket_type_tab_defined);
fun->Insert("ticket_type_tab_isdefault", ticket_type_tab_isdefault);
fun->Insert("ticket_type_tab_index", ticket_type_tab_index);
fun->Insert("ticket_type_tab_name", ticket_type_tab_name);
fun->Insert("ticket_status_tab", ticket_status_tab);
fun->Insert("ticket_status_tab_defined", ticket_status_tab_defined);
fun->Insert("ticket_status_tab_isdefault", ticket_status_tab_isdefault);
fun->Insert("ticket_status_tab_index", ticket_status_tab_index);
fun->Insert("ticket_status_tab_name", ticket_status_tab_name);
fun->Insert("ticket_priority_tab", ticket_priority_tab);
fun->Insert("ticket_priority_tab_defined", ticket_priority_tab_defined);
fun->Insert("ticket_priority_tab_isdefault", ticket_priority_tab_isdefault);
fun->Insert("ticket_priority_tab_index", ticket_priority_tab_index);
fun->Insert("ticket_priority_tab_name", ticket_priority_tab_name);
fun->Insert("ticket_category_tab", ticket_category_tab);
fun->Insert("ticket_category_tab_defined", ticket_category_tab_defined);
fun->Insert("ticket_category_tab_isdefault", ticket_category_tab_isdefault);
fun->Insert("ticket_category_tab_index", ticket_category_tab_index);
fun->Insert("ticket_category_tab_name", ticket_category_tab_name);
fun->Insert("ticket_expected_tab", ticket_expected_tab);
fun->Insert("ticket_expected_tab_defined", ticket_expected_tab_defined);
fun->Insert("ticket_expected_tab_isdefault", ticket_expected_tab_isdefault);
fun->Insert("ticket_expected_tab_index", ticket_expected_tab_index);
fun->Insert("ticket_expected_tab_name", ticket_expected_tab_name);
}
} // namespace Ticket

View File

@ -7,13 +7,14 @@
*
*/
#ifndef headerfilecmslucoreticket
#define headerfilecmslucoreticket
#ifndef headerfile_winix_plugins_ticket_ticket
#define headerfile_winix_plugins_ticket_ticket
#include <string>
namespace Ticket
{
struct Ticket
{
@ -55,4 +56,7 @@ struct Ticket
};
} // namespace
#endif

48
plugins/ticket/ticketinfo.cpp Executable file
View File

@ -0,0 +1,48 @@
#include "ticketinfo.h"
#include "core/error.h"
namespace Ticket
{
TicketInfo::TicketInfo()
{
Clear();
}
void TicketInfo::SetTDb(TDb * ptdb)
{
tdb = ptdb;
}
void TicketInfo::SetDb(Db * pdb)
{
db = pdb;
}
void TicketInfo::Clear()
{
item.Clear();
is_ticket = false;
ticket.Clear();
ticket_tab.clear();
}
void TicketInfo::ReadTicket(long dir_id)
{
if( tdb->GetTicketByDirId(dir_id, ticket) == WINIX_ERR_OK )
{
is_ticket = true;
db->GetItemById(ticket.item_id, item);
}
}
} // namespace

61
plugins/ticket/ticketinfo.h Executable file
View File

@ -0,0 +1,61 @@
#ifndef headerfilecmslucontenteditticket222
#define headerfilecmslucontenteditticket222
#include <vector>
#include "ticket.h"
#include "core/item.h"
#include "db/db.h"
#include "tdb.h"
namespace Ticket
{
class TicketInfo
{
public:
TicketInfo();
void SetTDb(TDb * ptdb);
void SetDb(Db * pdb);
void Clear();
void ReadTicket(long dir_id);
Item item;
bool is_ticket;
Ticket ticket;
std::vector<Ticket> ticket_tab;
int mount_type_ticket;
int mount_par_ticket;
int mount_par_ticket_type;
int mount_par_ticket_type_default;
int mount_par_ticket_status;
int mount_par_ticket_status_default;
int mount_par_ticket_priority;
int mount_par_ticket_priority_default;
int mount_par_ticket_category;
int mount_par_ticket_category_default;
int mount_par_ticket_expected;
int mount_par_ticket_expected_default;
int mount_par_createticket_on;
private:
TDb * tdb;
Db * db;
};
}
#endif

View File

@ -615,6 +615,11 @@ table.forum td {
border: 1px solid #D1D1E1;
}
table.forum a {
display: block;
padding: 0 4px 0 4px;
}
.smallfont {
font-size: 0.7em;
@ -642,9 +647,13 @@ vertical-align: middle;
table.tickettab td.tickettabtitle {
font-size: 1em;
text-align: left;
padding: 0 4px 0 4px;
}
table.tickettab a {
display: block;
padding: 0 4px 0 4px;
}
table.ticket {
margin: 1em 0 1em 0;

View File

@ -1,35 +1,33 @@
# DO NOT DELETE
adduser.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
adduser.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
adduser.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
adduser.o: indexpatterns.h ../core/locale.h ../core/config.h
adduser.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
adduser.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
adduser.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
adduser.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
adduser.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
adduser.o: ../core/locale.h ../core/confparser.h patterncacher.h
adduser.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
adduser.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
adduser.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
adduser.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
adduser.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
adduser.o: ../core/group.h ../core/thread.h ../core/error.h
adduser.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
adduser.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
adduser.o: ../core/request.h ../core/mounts.h ../core/mount.h
adduser.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
adduser.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
adduser.o: ../core/loadavg.h ../core/sessionmanager.h
adduser.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
adduser.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
adduser.o: ../core/request.h ../core/requesttypes.h ../core/session.h
adduser.o: ../core/error.h ../core/user.h ../core/plugindata.h
adduser.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
adduser.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
adduser.o: ../core/mount.h ../core/mountparser.h ../core/users.h
adduser.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
adduser.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
adduser.o: ../core/sessioncontainer.h ../core/system.h
dir.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
dir.o: localefilter.h ../core/locale.h ../core/confparser.h
dir.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h ../core/locale.h
dir.o: ../core/confparser.h patterncacher.h ../core/item.h
dir.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
dir.o: indexpatterns.h ../core/locale.h ../core/config.h ../core/htmlfilter.h
dir.o: ../core/request.h ../core/requesttypes.h ../core/session.h
dir.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
dir.o: ../core/plugindata.h ../core/rebus.h ../core/config.h ../db/db.h
dir.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
dir.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
dir.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
dir.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
dir.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
dir.o: ../core/ticket.h ../core/system.h ../core/dirs.h
dir.o: ../core/error.h ../core/log.h ../core/dircontainer.h ../core/item.h
dir.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
dir.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
dir.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
dir.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
dir.o: ../core/mount.h ../core/mountparser.h ../core/users.h
dir.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -41,28 +39,25 @@ dir.o: ../templates/misc.h ../functions/functionparser.h
dir.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
dir.o: ../functions/privchanger.h ../functions/chown.h
dir.o: ../functions/ckeditor.h ../functions/cp.h ../functions/createthread.h
dir.o: ../functions/createticket.h ../functions/default.h
dir.o: ../functions/download.h ../functions/editticket.h ../functions/emacs.h
dir.o: ../functions/default.h ../functions/download.h ../functions/emacs.h
dir.o: ../functions/last.h ../functions/login.h ../functions/logout.h
dir.o: ../functions/ls.h ../functions/mkdir.h ../functions/mv.h
dir.o: ../functions/node.h ../functions/priv.h ../functions/reload.h
dir.o: ../functions/rm.h ../functions/run.h ../functions/subject.h
dir.o: ../functions/funthread.h ../functions/funticket.h
dir.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
dir.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
dir.o: ../core/htmlfilter.h
doc.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
doc.o: localefilter.h ../core/locale.h ../core/confparser.h
dir.o: ../functions/funthread.h ../functions/template.h
dir.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
dir.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
doc.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h ../core/locale.h
doc.o: ../core/confparser.h patterncacher.h ../core/item.h
doc.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
doc.o: indexpatterns.h ../core/locale.h ../core/config.h ../core/htmlfilter.h
doc.o: ../core/request.h ../core/requesttypes.h ../core/session.h
doc.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
doc.o: ../core/plugindata.h ../core/rebus.h ../core/config.h ../db/db.h
doc.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
doc.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
doc.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
doc.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
doc.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
doc.o: ../core/ticket.h ../core/system.h ../core/dirs.h
doc.o: ../core/error.h ../core/log.h ../core/dircontainer.h ../core/item.h
doc.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
doc.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
doc.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
doc.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
doc.o: ../core/mount.h ../core/mountparser.h ../core/users.h
doc.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
@ -72,201 +67,194 @@ doc.o: ../core/misc.h
indexpatterns.o: indexpatterns.h ../../ezc/src/ezc.h localefilter.h
indexpatterns.o: ../core/locale.h ../core/confparser.h ../core/locale.h
indexpatterns.o: ../core/config.h ../core/htmlfilter.h ../core/log.h
item.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
item.o: localefilter.h ../core/locale.h ../core/confparser.h
item.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
item.o: ../core/locale.h ../core/confparser.h patterncacher.h ../core/item.h
item.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
item.o: indexpatterns.h ../core/locale.h ../core/config.h
item.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
item.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
item.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
item.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
item.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
item.o: ../core/thread.h ../core/error.h ../core/log.h ../core/dircontainer.h
item.o: ../core/item.h ../core/ugcontainer.h ../core/request.h
item.o: ../core/requesttypes.h ../core/session.h ../core/error.h
item.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
item.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
item.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
item.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
item.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
item.o: ../core/ticket.h ../core/system.h ../core/dirs.h
item.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
item.o: ../core/mount.h ../core/mountparser.h ../core/users.h
item.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
item.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
item.o: ../core/sessioncontainer.h ../core/system.h ../core/request.h
item.o: ../core/misc.h ../core/bbcodeparser.h
last.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
last.o: localefilter.h ../core/locale.h ../core/confparser.h
item.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
item.o: ../core/request.h ../core/mounts.h ../core/mount.h
item.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
item.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
item.o: ../core/loadavg.h ../core/sessionmanager.h ../core/sessioncontainer.h
item.o: ../core/system.h ../core/request.h ../core/misc.h
item.o: ../core/bbcodeparser.h
last.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
last.o: ../core/locale.h ../core/confparser.h patterncacher.h ../core/item.h
last.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
last.o: indexpatterns.h ../core/locale.h ../core/config.h
last.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
last.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
last.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
last.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
last.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
last.o: ../core/thread.h ../core/error.h ../core/log.h ../core/dircontainer.h
last.o: ../core/item.h ../core/ugcontainer.h ../core/request.h
last.o: ../core/requesttypes.h ../core/session.h ../core/error.h
last.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
last.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
last.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
last.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
last.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
last.o: ../core/ticket.h ../core/system.h ../core/dirs.h
last.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
last.o: ../core/mount.h ../core/mountparser.h ../core/users.h
last.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
last.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
last.o: ../core/sessioncontainer.h ../core/system.h ../core/lastcontainer.h
last.o: ../core/request.h ../core/misc.h
last.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
last.o: ../core/request.h ../core/mounts.h ../core/mount.h
last.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
last.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
last.o: ../core/loadavg.h ../core/sessionmanager.h ../core/sessioncontainer.h
last.o: ../core/system.h ../core/lastcontainer.h ../core/request.h
last.o: ../core/misc.h
localefilter.o: localefilter.h ../core/locale.h ../core/confparser.h
localefilter.o: ../../ezc/src/ezc.h ../core/misc.h ../core/item.h
ls.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
ls.o: localefilter.h ../core/locale.h ../core/confparser.h
ls.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
ls.o: indexpatterns.h ../core/locale.h ../core/config.h ../core/htmlfilter.h
ls.o: ../core/request.h ../core/requesttypes.h ../core/session.h
ls.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
ls.o: ../core/plugindata.h ../core/rebus.h ../core/config.h ../db/db.h
ls.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h ../core/locale.h
ls.o: ../core/confparser.h patterncacher.h ../core/item.h ckeditorgetparser.h
ls.o: ../core/httpsimpleparser.h ../core/log.h indexpatterns.h
ls.o: ../core/locale.h ../core/config.h ../core/htmlfilter.h ../db/db.h
ls.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
ls.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h ../core/user.h
ls.o: ../core/group.h ../core/thread.h ../core/error.h ../core/dircontainer.h
ls.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h ../core/dirs.h
ls.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
ls.o: ../core/mount.h ../core/mountparser.h ../core/users.h
ls.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
ls.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
ls.o: ../core/sessioncontainer.h ../core/system.h ../core/request.h
ls.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
ls.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
ls.o: ../core/request.h ../core/requesttypes.h ../core/session.h
ls.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
ls.o: ../core/config.h ../core/system.h ../core/dirs.h ../core/dircontainer.h
ls.o: ../core/request.h ../core/mounts.h ../core/mount.h
ls.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
ls.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
ls.o: ../core/loadavg.h ../core/sessionmanager.h ../core/sessioncontainer.h
ls.o: ../core/system.h ../core/request.h
misc.o: ../core/misc.h ../core/item.h ../core/request.h templates.h
misc.o: ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
misc.o: localefilter.h ../core/locale.h ../core/confparser.h
misc.o: ../../ezc/src/ezc.h misc.h localefilter.h ../core/locale.h
misc.o: ../core/confparser.h patterncacher.h ../core/item.h
misc.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
misc.o: indexpatterns.h ../core/locale.h ../core/config.h
misc.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
misc.o: ../core/session.h ../core/error.h ../core/log.h ../core/user.h
misc.o: ../core/plugindata.h ../core/rebus.h ../core/config.h ../db/db.h
misc.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
misc.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
misc.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
misc.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
misc.o: ../core/ticket.h ../core/system.h ../core/dirs.h
misc.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
misc.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
misc.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
misc.o: ../core/thread.h ../core/error.h ../core/log.h ../core/dircontainer.h
misc.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
misc.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
misc.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
misc.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
misc.o: ../core/mount.h ../core/mountparser.h ../core/users.h
misc.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
misc.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
misc.o: ../core/sessioncontainer.h ../core/system.h
mount.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
mount.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
mount.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
mount.o: ../core/locale.h ../core/confparser.h patterncacher.h ../core/item.h
mount.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
mount.o: indexpatterns.h ../core/locale.h ../core/config.h
mount.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
mount.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
mount.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
mount.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
mount.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
mount.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
mount.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
mount.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
mount.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
mount.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
mount.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
mount.o: ../core/groups.h ../core/group.h ../core/loadavg.h
mount.o: ../core/sessionmanager.h ../core/sessioncontainer.h ../core/system.h
mount.o: ../core/misc.h
mount.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
mount.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
mount.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
mount.o: ../core/thread.h ../core/error.h ../core/log.h
mount.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
mount.o: ../core/request.h ../core/requesttypes.h ../core/session.h
mount.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
mount.o: ../core/config.h ../core/system.h ../core/dirs.h
mount.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
mount.o: ../core/mount.h ../core/mountparser.h ../core/users.h
mount.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
mount.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
mount.o: ../core/sessioncontainer.h ../core/system.h ../core/misc.h
patterncacher.o: patterncacher.h ../core/item.h ../../ezc/src/ezc.h
patterncacher.o: ../core/log.h
priv.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
priv.o: localefilter.h ../core/locale.h ../core/confparser.h
priv.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
priv.o: ../core/locale.h ../core/confparser.h patterncacher.h ../core/item.h
priv.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
priv.o: indexpatterns.h ../core/locale.h ../core/config.h
priv.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
priv.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
priv.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
priv.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
priv.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
priv.o: ../core/thread.h ../core/error.h ../core/log.h ../core/dircontainer.h
priv.o: ../core/item.h ../core/ugcontainer.h ../core/request.h
priv.o: ../core/requesttypes.h ../core/session.h ../core/error.h
priv.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
priv.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
priv.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
priv.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
priv.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
priv.o: ../core/ticket.h ../core/system.h ../core/dirs.h
priv.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
priv.o: ../core/mount.h ../core/mountparser.h ../core/users.h
priv.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
priv.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
priv.o: ../core/sessioncontainer.h ../core/system.h ../core/misc.h
priv.o: ../functions/functions.h ../functions/functionbase.h ../core/notify.h
priv.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
priv.o: ../core/request.h ../core/mounts.h ../core/mount.h
priv.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
priv.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
priv.o: ../core/loadavg.h ../core/sessionmanager.h ../core/sessioncontainer.h
priv.o: ../core/system.h ../core/misc.h ../functions/functions.h
priv.o: ../functions/functionbase.h ../core/notify.h
priv.o: ../templatesnotify/templatesnotify.h ../core/mount.h
priv.o: ../templates/misc.h ../functions/functionparser.h
priv.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
priv.o: ../functions/privchanger.h ../functions/chown.h
priv.o: ../functions/ckeditor.h ../functions/cp.h ../functions/createthread.h
priv.o: ../functions/createticket.h ../functions/default.h
priv.o: ../functions/download.h ../functions/editticket.h
priv.o: ../functions/emacs.h ../functions/last.h ../functions/login.h
priv.o: ../functions/logout.h ../functions/ls.h ../functions/mkdir.h
priv.o: ../functions/mv.h ../functions/node.h ../functions/priv.h
priv.o: ../functions/reload.h ../functions/rm.h ../functions/run.h
priv.o: ../functions/subject.h ../functions/funthread.h
priv.o: ../functions/funticket.h ../functions/template.h
priv.o: ../functions/default.h ../functions/download.h ../functions/emacs.h
priv.o: ../functions/last.h ../functions/login.h ../functions/logout.h
priv.o: ../functions/ls.h ../functions/mkdir.h ../functions/mv.h
priv.o: ../functions/node.h ../functions/priv.h ../functions/reload.h
priv.o: ../functions/rm.h ../functions/run.h ../functions/subject.h
priv.o: ../functions/funthread.h ../functions/template.h
priv.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
priv.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
rebus.o: ../core/request.h templates.h ../../ezc/src/ezc.h patterncacher.h
rebus.o: ../core/item.h misc.h localefilter.h ../core/locale.h
rebus.o: ../core/confparser.h ckeditorgetparser.h ../core/httpsimpleparser.h
rebus.o: ../core/request.h templates.h ../../ezc/src/ezc.h misc.h
rebus.o: localefilter.h ../core/locale.h ../core/confparser.h patterncacher.h
rebus.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
rebus.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
rebus.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
rebus.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
rebus.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
rebus.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
rebus.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
rebus.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
rebus.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
rebus.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
rebus.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
rebus.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
rebus.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
rebus.o: ../core/groups.h ../core/group.h ../core/loadavg.h
rebus.o: ../core/sessionmanager.h ../core/sessioncontainer.h ../core/system.h
sys.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
sys.o: localefilter.h ../core/locale.h ../core/confparser.h
rebus.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
rebus.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
rebus.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
rebus.o: ../core/thread.h ../core/error.h ../core/log.h
rebus.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
rebus.o: ../core/request.h ../core/requesttypes.h ../core/session.h
rebus.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
rebus.o: ../core/config.h ../core/system.h ../core/dirs.h
rebus.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
rebus.o: ../core/mount.h ../core/mountparser.h ../core/users.h
rebus.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
rebus.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
rebus.o: ../core/sessioncontainer.h ../core/system.h
sys.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h ../core/locale.h
sys.o: ../core/confparser.h patterncacher.h ../core/item.h
sys.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
sys.o: indexpatterns.h ../core/locale.h ../core/config.h ../core/htmlfilter.h
sys.o: ../core/request.h ../core/requesttypes.h ../core/session.h
sys.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
sys.o: ../core/plugindata.h ../core/rebus.h ../core/config.h ../db/db.h
sys.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
sys.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
sys.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
sys.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
sys.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
sys.o: ../core/ticket.h ../core/system.h ../core/dirs.h
sys.o: ../core/error.h ../core/log.h ../core/dircontainer.h ../core/item.h
sys.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
sys.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
sys.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
sys.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
sys.o: ../core/mount.h ../core/mountparser.h ../core/users.h
sys.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
sys.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
sys.o: ../core/sessioncontainer.h ../core/system.h ../core/request.h
sys.o: ../core/version.h
template.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
template.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
template.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
template.o: indexpatterns.h ../core/locale.h ../core/config.h
template.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
template.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
template.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
template.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
template.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
template.o: ../core/locale.h ../core/confparser.h patterncacher.h
template.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
template.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
template.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
template.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
template.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
template.o: ../core/group.h ../core/thread.h ../core/error.h
template.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
template.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
template.o: ../core/request.h ../core/mounts.h ../core/mount.h
template.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
template.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
template.o: ../core/loadavg.h ../core/sessionmanager.h
template.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
template.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
template.o: ../core/request.h ../core/requesttypes.h ../core/session.h
template.o: ../core/error.h ../core/user.h ../core/plugindata.h
template.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
template.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
template.o: ../core/mount.h ../core/mountparser.h ../core/users.h
template.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
template.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
template.o: ../core/sessioncontainer.h ../core/system.h ../core/misc.h
templates.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
templates.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
templates.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
templates.o: indexpatterns.h ../core/locale.h ../core/config.h
templates.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
templates.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
templates.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
templates.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
templates.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
templates.o: ../core/locale.h ../core/confparser.h patterncacher.h
templates.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
templates.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
templates.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
templates.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
templates.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
templates.o: ../core/group.h ../core/thread.h ../core/error.h
templates.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/ticket.h
templates.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
templates.o: ../core/request.h ../core/mounts.h ../core/mount.h
templates.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
templates.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
templates.o: ../core/loadavg.h ../core/sessionmanager.h
templates.o: ../core/group.h ../core/thread.h ../core/error.h ../core/log.h
templates.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
templates.o: ../core/request.h ../core/requesttypes.h ../core/session.h
templates.o: ../core/error.h ../core/user.h ../core/plugindata.h
templates.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
templates.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
templates.o: ../core/mount.h ../core/mountparser.h ../core/users.h
templates.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
templates.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
templates.o: ../core/sessioncontainer.h ../core/system.h ../core/misc.h
templates.o: ../core/plugin.h ../core/pluginmsg.h ../core/sessionmanager.h
templates.o: ../functions/functions.h ../functions/functionbase.h
@ -276,186 +264,144 @@ templates.o: ../functions/functionparser.h ../functions/adduser.h
templates.o: ../functions/cat.h ../functions/chmod.h
templates.o: ../functions/privchanger.h ../functions/chown.h
templates.o: ../functions/ckeditor.h ../functions/cp.h
templates.o: ../functions/createthread.h ../functions/createticket.h
templates.o: ../functions/default.h ../functions/download.h
templates.o: ../functions/editticket.h ../functions/emacs.h
templates.o: ../functions/last.h ../functions/login.h ../functions/logout.h
templates.o: ../functions/ls.h ../functions/mkdir.h ../functions/mv.h
templates.o: ../functions/node.h ../functions/priv.h ../functions/reload.h
templates.o: ../functions/rm.h ../functions/run.h ../functions/subject.h
templates.o: ../functions/funthread.h ../functions/funticket.h
templates.o: ../functions/template.h ../functions/tinymce.h
templates.o: ../functions/uname.h ../functions/upload.h ../functions/uptime.h
templates.o: ../functions/who.h ../core/htmlfilter.h ../templates/templates.h
thread.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
thread.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
thread.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
thread.o: indexpatterns.h ../core/locale.h ../core/config.h
thread.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
thread.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
thread.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
thread.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
templates.o: ../functions/createthread.h ../functions/default.h
templates.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
templates.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
templates.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
templates.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
templates.o: ../functions/run.h ../functions/subject.h
templates.o: ../functions/funthread.h ../functions/template.h
templates.o: ../functions/tinymce.h ../functions/uname.h
templates.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
templates.o: ../core/htmlfilter.h ../templates/templates.h
thread.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
thread.o: ../core/locale.h ../core/confparser.h patterncacher.h
thread.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
thread.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
thread.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
thread.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
thread.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
thread.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
thread.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
thread.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
thread.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
thread.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
thread.o: ../core/groups.h ../core/group.h ../core/loadavg.h
thread.o: ../core/sessionmanager.h ../core/sessioncontainer.h
thread.o: ../core/system.h ../core/misc.h ../functions/functions.h
thread.o: ../functions/functionbase.h ../core/notify.h
thread.o: ../templatesnotify/templatesnotify.h ../core/mount.h
thread.o: ../templates/misc.h ../functions/functionparser.h
thread.o: ../core/thread.h ../core/error.h ../core/log.h
thread.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
thread.o: ../core/request.h ../core/requesttypes.h ../core/session.h
thread.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
thread.o: ../core/config.h ../core/system.h ../core/dirs.h
thread.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
thread.o: ../core/mount.h ../core/mountparser.h ../core/users.h
thread.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
thread.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
thread.o: ../core/sessioncontainer.h ../core/system.h ../core/misc.h
thread.o: ../functions/functions.h ../functions/functionbase.h
thread.o: ../core/notify.h ../templatesnotify/templatesnotify.h
thread.o: ../core/mount.h ../templates/misc.h ../functions/functionparser.h
thread.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
thread.o: ../functions/privchanger.h ../functions/chown.h
thread.o: ../functions/ckeditor.h ../functions/cp.h
thread.o: ../functions/createthread.h ../functions/createticket.h
thread.o: ../functions/default.h ../functions/download.h
thread.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
thread.o: ../functions/createthread.h ../functions/default.h
thread.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
thread.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
thread.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
thread.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
thread.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
thread.o: ../functions/funticket.h ../functions/template.h
thread.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
thread.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
ticket.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
ticket.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
ticket.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
ticket.o: indexpatterns.h ../core/locale.h ../core/config.h
ticket.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
ticket.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
ticket.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
ticket.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
ticket.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
ticket.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
ticket.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
ticket.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
ticket.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
ticket.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
ticket.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
ticket.o: ../core/groups.h ../core/group.h ../core/loadavg.h
ticket.o: ../core/sessionmanager.h ../core/sessioncontainer.h
ticket.o: ../core/system.h ../core/misc.h ../functions/functions.h
ticket.o: ../functions/functionbase.h ../core/notify.h
ticket.o: ../templatesnotify/templatesnotify.h ../core/mount.h
ticket.o: ../templates/misc.h ../functions/functionparser.h
ticket.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
ticket.o: ../functions/privchanger.h ../functions/chown.h
ticket.o: ../functions/ckeditor.h ../functions/cp.h
ticket.o: ../functions/createthread.h ../functions/createticket.h
ticket.o: ../functions/default.h ../functions/download.h
ticket.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
ticket.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
ticket.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
ticket.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
ticket.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
ticket.o: ../functions/funticket.h ../functions/template.h
ticket.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
ticket.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
upload.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
upload.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
upload.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
upload.o: indexpatterns.h ../core/locale.h ../core/config.h
upload.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
upload.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
upload.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
upload.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
thread.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
thread.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
thread.o: ../core/htmlfilter.h
upload.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
upload.o: ../core/locale.h ../core/confparser.h patterncacher.h
upload.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
upload.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
upload.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
upload.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
upload.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
upload.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
upload.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
upload.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
upload.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
upload.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
upload.o: ../core/groups.h ../core/group.h ../core/loadavg.h
upload.o: ../core/sessionmanager.h ../core/sessioncontainer.h
upload.o: ../core/system.h ../core/request.h
uptime.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
uptime.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
uptime.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
uptime.o: indexpatterns.h ../core/locale.h ../core/config.h
uptime.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
uptime.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
uptime.o: ../core/user.h ../core/plugindata.h ../core/rebus.h
uptime.o: ../core/config.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
upload.o: ../core/thread.h ../core/error.h ../core/log.h
upload.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
upload.o: ../core/request.h ../core/requesttypes.h ../core/session.h
upload.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
upload.o: ../core/config.h ../core/system.h ../core/dirs.h
upload.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
upload.o: ../core/mount.h ../core/mountparser.h ../core/users.h
upload.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
upload.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
upload.o: ../core/sessioncontainer.h ../core/system.h ../core/request.h
uptime.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
uptime.o: ../core/locale.h ../core/confparser.h patterncacher.h
uptime.o: ../core/item.h ckeditorgetparser.h ../core/httpsimpleparser.h
uptime.o: ../core/log.h indexpatterns.h ../core/locale.h ../core/config.h
uptime.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
uptime.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
uptime.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
uptime.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
uptime.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
uptime.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
uptime.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
uptime.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
uptime.o: ../core/groups.h ../core/group.h ../core/loadavg.h
uptime.o: ../core/sessionmanager.h ../core/sessioncontainer.h
uptime.o: ../core/system.h
user.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
user.o: localefilter.h ../core/locale.h ../core/confparser.h
uptime.o: ../core/thread.h ../core/error.h ../core/log.h
uptime.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
uptime.o: ../core/request.h ../core/requesttypes.h ../core/session.h
uptime.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
uptime.o: ../core/config.h ../core/system.h ../core/dirs.h
uptime.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
uptime.o: ../core/mount.h ../core/mountparser.h ../core/users.h
uptime.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
uptime.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
uptime.o: ../core/sessioncontainer.h ../core/system.h
user.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
user.o: ../core/locale.h ../core/confparser.h patterncacher.h ../core/item.h
user.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
user.o: indexpatterns.h ../core/locale.h ../core/config.h
user.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
user.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
user.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
user.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
user.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
user.o: ../core/thread.h ../core/error.h ../core/log.h ../core/dircontainer.h
user.o: ../core/item.h ../core/ugcontainer.h ../core/request.h
user.o: ../core/requesttypes.h ../core/session.h ../core/error.h
user.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
user.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
user.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
user.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
user.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
user.o: ../core/ticket.h ../core/system.h ../core/dirs.h
user.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
user.o: ../core/mount.h ../core/mountparser.h ../core/users.h
user.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
user.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
user.o: ../core/sessioncontainer.h ../core/system.h ../core/request.h
user.o: ../core/misc.h
who.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h misc.h
who.o: localefilter.h ../core/locale.h ../core/confparser.h
user.o: ../core/system.h ../core/dirs.h ../core/dircontainer.h
user.o: ../core/request.h ../core/mounts.h ../core/mount.h
user.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
user.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
user.o: ../core/loadavg.h ../core/sessionmanager.h ../core/sessioncontainer.h
user.o: ../core/system.h ../core/request.h ../core/misc.h
who.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h ../core/locale.h
who.o: ../core/confparser.h patterncacher.h ../core/item.h
who.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
who.o: indexpatterns.h ../core/locale.h ../core/config.h ../core/htmlfilter.h
who.o: ../core/request.h ../core/requesttypes.h ../core/session.h
who.o: ../core/item.h ../core/error.h ../core/log.h ../core/user.h
who.o: ../core/plugindata.h ../core/rebus.h ../core/config.h ../db/db.h
who.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
who.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
who.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
who.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h ../core/thread.h
who.o: ../core/error.h ../core/dircontainer.h ../core/ugcontainer.h
who.o: ../core/ticket.h ../core/system.h ../core/dirs.h
who.o: ../core/error.h ../core/log.h ../core/dircontainer.h ../core/item.h
who.o: ../core/ugcontainer.h ../core/request.h ../core/requesttypes.h
who.o: ../core/session.h ../core/error.h ../core/user.h ../core/plugindata.h
who.o: ../core/rebus.h ../core/config.h ../core/system.h ../core/dirs.h
who.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
who.o: ../core/mount.h ../core/mountparser.h ../core/users.h
who.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
who.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
who.o: ../core/sessioncontainer.h ../core/system.h ../core/misc.h
winix.o: templates.h ../../ezc/src/ezc.h patterncacher.h ../core/item.h
winix.o: misc.h localefilter.h ../core/locale.h ../core/confparser.h
winix.o: templates.h ../../ezc/src/ezc.h misc.h localefilter.h
winix.o: ../core/locale.h ../core/confparser.h patterncacher.h ../core/item.h
winix.o: ckeditorgetparser.h ../core/httpsimpleparser.h ../core/log.h
winix.o: indexpatterns.h ../core/locale.h ../core/config.h
winix.o: ../core/htmlfilter.h ../core/request.h ../core/requesttypes.h
winix.o: ../core/session.h ../core/item.h ../core/error.h ../core/log.h
winix.o: ../core/user.h ../core/plugindata.h ../core/rebus.h ../core/config.h
winix.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
winix.o: ../core/textstream.h ../db/dbitemquery.h ../core/item.h
winix.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
winix.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
winix.o: ../core/ugcontainer.h ../core/ticket.h ../core/system.h
winix.o: ../core/dirs.h ../core/dircontainer.h ../core/request.h
winix.o: ../core/mounts.h ../core/mount.h ../core/mountparser.h
winix.o: ../core/users.h ../core/ugcontainer.h ../core/lastcontainer.h
winix.o: ../core/groups.h ../core/group.h ../core/loadavg.h
winix.o: ../core/sessionmanager.h ../core/sessioncontainer.h ../core/system.h
winix.o: ../functions/functions.h ../functions/functionbase.h
winix.o: ../core/notify.h ../templatesnotify/templatesnotify.h
winix.o: ../core/mount.h ../templates/misc.h ../functions/functionparser.h
winix.o: ../core/htmlfilter.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
winix.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
winix.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
winix.o: ../core/thread.h ../core/error.h ../core/log.h
winix.o: ../core/dircontainer.h ../core/item.h ../core/ugcontainer.h
winix.o: ../core/request.h ../core/requesttypes.h ../core/session.h
winix.o: ../core/error.h ../core/user.h ../core/plugindata.h ../core/rebus.h
winix.o: ../core/config.h ../core/system.h ../core/dirs.h
winix.o: ../core/dircontainer.h ../core/request.h ../core/mounts.h
winix.o: ../core/mount.h ../core/mountparser.h ../core/users.h
winix.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
winix.o: ../core/group.h ../core/loadavg.h ../core/sessionmanager.h
winix.o: ../core/sessioncontainer.h ../core/system.h ../functions/functions.h
winix.o: ../functions/functionbase.h ../core/notify.h
winix.o: ../templatesnotify/templatesnotify.h ../core/mount.h
winix.o: ../templates/misc.h ../functions/functionparser.h
winix.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
winix.o: ../functions/privchanger.h ../functions/chown.h
winix.o: ../functions/ckeditor.h ../functions/cp.h
winix.o: ../functions/createthread.h ../functions/createticket.h
winix.o: ../functions/default.h ../functions/download.h
winix.o: ../functions/editticket.h ../functions/emacs.h ../functions/last.h
winix.o: ../functions/createthread.h ../functions/default.h
winix.o: ../functions/download.h ../functions/emacs.h ../functions/last.h
winix.o: ../functions/login.h ../functions/logout.h ../functions/ls.h
winix.o: ../functions/mkdir.h ../functions/mv.h ../functions/node.h
winix.o: ../functions/priv.h ../functions/reload.h ../functions/rm.h
winix.o: ../functions/run.h ../functions/subject.h ../functions/funthread.h
winix.o: ../functions/funticket.h ../functions/template.h
winix.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
winix.o: ../functions/uptime.h ../functions/who.h ../core/htmlfilter.h
winix.o: ../functions/template.h ../functions/tinymce.h ../functions/uname.h
winix.o: ../functions/upload.h ../functions/uptime.h ../functions/who.h
winix.o: ../core/htmlfilter.h

View File

@ -1 +1 @@
o = adduser.o dir.o doc.o indexpatterns.o item.o last.o localefilter.o ls.o misc.o mount.o patterncacher.o priv.o rebus.o sys.o template.o templates.o thread.o ticket.o upload.o uptime.o user.o who.o winix.o
o = adduser.o dir.o doc.o indexpatterns.o item.o last.o localefilter.o ls.o misc.o mount.o patterncacher.o priv.o rebus.o sys.o template.o templates.o thread.o upload.o uptime.o user.o who.o winix.o

View File

@ -317,16 +317,6 @@ void dir_last_subject(Info & i)
HtmlEscape(i.out, request->dir_tab.back()->subject);
}
/*
void dir_last_info(Info & i)
{
if( static_cast<size_t>(locale.GetLang()) >= patterns.size() )
return;
Ezc::Generator gen(i.out, patterns[locale.GetLang()][pat_dir_last_info], ezc_functions);
gen.Generate();
}
*/
void dir_last_user(Info & i)
{

View File

@ -218,16 +218,6 @@ void item_can_remove(Info & i)
i.res = system->HasWriteAccess(*request->dir_tab.back());
}
/*
void item_info(Info & i)
{
if( static_cast<size_t>(locale.GetLang()) >= patterns.size() )
return;
Ezc::Generator gen(i.out, patterns[locale.GetLang()][pat_item_info], ezc_functions);
gen.Generate();
}
*/
void item_user(Info & i)
{
@ -468,16 +458,6 @@ void item_tab_can_write(Info & i)
}
}
/*
void item_tab_info(Info & i)
{
if( static_cast<size_t>(locale.GetLang()) >= patterns.size() )
return;
Ezc::Generator gen(i.out, patterns[locale.GetLang()][pat_item_tab_info], ezc_functions);
gen.Generate();
}
*/
void item_tab_user(Info & i)
{

View File

@ -15,38 +15,30 @@
namespace TemplatesFunctions
{
void mount_type_is(Info & i)
{
int mount_type_id = system->mounts.FindMountType(i.par);
if( mount_type_id == -1 )
return;
i.res = (system->mounts.pmount->type == mount_type_id);
}
void mount_page_is(Info & i)
void mount_page_arg_is(Info & i)
{
i.res = system->mounts.pmount->IsArg(system->mounts.MountParPage(), i.par);
}
void mount_thread_is(Info & i)
void mount_thread_arg_is(Info & i)
{
i.res = system->mounts.pmount->IsArg(system->mounts.MountParThread(), i.par);
}
void mount_type_is_thread(Info & i)
{
i.res = system->mounts.pmount->type == system->mounts.MountTypeThread();
}
void mount_type_is_ticket(Info & i)
{
i.res = system->mounts.pmount->type == system->mounts.MountTypeTicket();
}
void mount_type_is_cms(Info & i)
{
i.res = system->mounts.pmount->type == system->mounts.MountTypeCms();
}
void mount_has_html_template(Info & i)
{
i.res = system->mounts.pmount->param[system->mounts.MountParHtmlTemplate()].defined;

View File

@ -132,14 +132,6 @@ void Templates::CreateFunctions()
ezc_functions.Clear();
/*
sys
*/
ezc_functions.Insert("sys_ver_major", sys_ver_major);
ezc_functions.Insert("sys_ver_minor", sys_ver_minor);
ezc_functions.Insert("sys_ver_revision", sys_ver_revision);
/*
adduser
*/
@ -147,6 +139,43 @@ void Templates::CreateFunctions()
ezc_functions.Insert("adduser_last_email", adduser_last_email);
/*
dir
*/
ezc_functions.Insert("dir", dir);
ezc_functions.Insert("dir_without_slash", dir_without_slash);
ezc_functions.Insert("dir_parent", dir_parent);
ezc_functions.Insert("dir_parent_without_slash", dir_parent_without_slash);
ezc_functions.Insert("dir_can_read_exec", dir_can_read_exec);
ezc_functions.Insert("dir_can_write", dir_can_write);
ezc_functions.Insert("dir_can_remove", dir_can_remove);
ezc_functions.Insert("dir_can_use_emacs", dir_can_use_emacs);
ezc_functions.Insert("dir_can_use_mkdir", dir_can_use_mkdir);
ezc_functions.Insert("dir_childs_tab", dir_childs_tab);
ezc_functions.Insert("dir_childs_is_parent", dir_childs_is_parent);
ezc_functions.Insert("dir_childs_tab_url", dir_childs_tab_url);
ezc_functions.Insert("dir_childs_tab_privileges", dir_childs_tab_privileges);
ezc_functions.Insert("dir_childs_tab_user", dir_childs_tab_user);
ezc_functions.Insert("dir_childs_tab_group", dir_childs_tab_group);
ezc_functions.Insert("dir_tab", dir_tab);
ezc_functions.Insert("dir_tab_url", dir_tab_url);
ezc_functions.Insert("dir_tab_link", dir_tab_link);
ezc_functions.Insert("dir_last_default_item_dir", dir_last_default_item_dir);
ezc_functions.Insert("dir_last_default_item_url", dir_last_default_item_url);
ezc_functions.Insert("dir_last_subject", dir_last_subject);
ezc_functions.Insert("dir_last_user", dir_last_user);
ezc_functions.Insert("dir_last_url", dir_last_url);
ezc_functions.Insert("dir_last_url_is", dir_last_url_is);
ezc_functions.Insert("dir_last_date_creation", dir_last_date_creation);
ezc_functions.Insert("dir_last_date_modification", dir_last_date_modification);
ezc_functions.Insert("dir_last_dates_equal", dir_last_dates_equal);
ezc_functions.Insert("dir_last_html_template", dir_last_html_template);
ezc_functions.Insert("dir_last_has_html_template", dir_last_has_html_template);
/*
doc
*/
@ -181,7 +210,6 @@ void Templates::CreateFunctions()
ezc_functions.Insert("item_can_read", item_can_read);
ezc_functions.Insert("item_can_write", item_can_write);
ezc_functions.Insert("item_can_remove", item_can_remove);
//ezc_functions.Insert("item_info", item_info);
ezc_functions.Insert("item_user", item_user);
ezc_functions.Insert("item_modification_user", item_modification_user);
ezc_functions.Insert("item_users_different", item_users_different);
@ -210,7 +238,6 @@ void Templates::CreateFunctions()
ezc_functions.Insert("item_tab_link_auth", item_tab_link_auth);
ezc_functions.Insert("item_tab_can_read", item_tab_can_read);
ezc_functions.Insert("item_tab_can_write", item_tab_can_write);
//ezc_functions.Insert("item_tab_info", item_tab_info);
ezc_functions.Insert("item_tab_user", item_tab_user);
ezc_functions.Insert("item_tab_modification_user", item_tab_modification_user);
ezc_functions.Insert("item_tab_users_different", item_tab_users_different);
@ -223,64 +250,33 @@ void Templates::CreateFunctions()
ezc_functions.Insert("item_tab_run", item_tab_run);
ezc_functions.Insert("item_tab_can_use_emacs", item_tab_can_use_emacs);
/*
dir
*/
ezc_functions.Insert("dir", dir);
ezc_functions.Insert("dir_without_slash", dir_without_slash);
ezc_functions.Insert("dir_parent", dir_parent);
ezc_functions.Insert("dir_parent_without_slash", dir_parent_without_slash);
ezc_functions.Insert("dir_can_read_exec", dir_can_read_exec);
ezc_functions.Insert("dir_can_write", dir_can_write);
ezc_functions.Insert("dir_can_remove", dir_can_remove);
ezc_functions.Insert("dir_can_use_emacs", dir_can_use_emacs);
ezc_functions.Insert("dir_can_use_mkdir", dir_can_use_mkdir);
last
*/
ezc_functions.Insert("last_tab", last_tab);
ezc_functions.Insert("last_tab_name", last_tab_name);
ezc_functions.Insert("last_tab_ip", last_tab_ip);
ezc_functions.Insert("last_tab_start", last_tab_start);
ezc_functions.Insert("last_tab_end", last_tab_end);
ezc_functions.Insert("dir_childs_tab", dir_childs_tab);
ezc_functions.Insert("dir_childs_is_parent", dir_childs_is_parent);
ezc_functions.Insert("dir_childs_tab_url", dir_childs_tab_url);
ezc_functions.Insert("dir_childs_tab_privileges", dir_childs_tab_privileges);
ezc_functions.Insert("dir_childs_tab_user", dir_childs_tab_user);
ezc_functions.Insert("dir_childs_tab_group", dir_childs_tab_group);
ezc_functions.Insert("dir_tab", dir_tab);
ezc_functions.Insert("dir_tab_url", dir_tab_url);
ezc_functions.Insert("dir_tab_link", dir_tab_link);
ezc_functions.Insert("dir_last_default_item_dir", dir_last_default_item_dir);
ezc_functions.Insert("dir_last_default_item_url", dir_last_default_item_url);
ezc_functions.Insert("dir_last_subject", dir_last_subject);
//ezc_functions.Insert("dir_last_info", dir_last_info);
ezc_functions.Insert("dir_last_user", dir_last_user);
ezc_functions.Insert("dir_last_url", dir_last_url);
ezc_functions.Insert("dir_last_url_is", dir_last_url_is);
ezc_functions.Insert("dir_last_date_creation", dir_last_date_creation);
ezc_functions.Insert("dir_last_date_modification", dir_last_date_modification);
ezc_functions.Insert("dir_last_dates_equal", dir_last_dates_equal);
ezc_functions.Insert("dir_last_html_template", dir_last_html_template);
ezc_functions.Insert("dir_last_has_html_template", dir_last_has_html_template);
/*
user
mount
*/
ezc_functions.Insert("mount_type_is", mount_type_is);
ezc_functions.Insert("mount_page_arg_is", mount_page_arg_is);
ezc_functions.Insert("mount_thread_arg_is", mount_thread_arg_is);
ezc_functions.Insert("mount_has_html_template", mount_has_html_template);
ezc_functions.Insert("mount_first_html_template", mount_first_html_template);
/*
*/
ezc_functions.Insert("ls_ckeditor_funnum_browse", ls_ckeditor_funnum_browse);
/*
user
*/
ezc_functions.Insert("user_name", user_name);
ezc_functions.Insert("user_logged", user_logged);
ezc_functions.Insert("user_super_user", user_super_user);
ezc_functions.Insert("user_is_in_group", user_is_in_group);
ezc_functions.Insert("user_can_use_html", user_can_use_html);
ezc_functions.Insert("user_can_use_bbcode", user_can_use_bbcode);
ezc_functions.Insert("user_can_use_raw", user_can_use_raw);
/*
privileges
*/
@ -299,126 +295,20 @@ void Templates::CreateFunctions()
ezc_functions.Insert("priv_show_form_chmod", priv_show_form_chmod);
/*
others
*/
ezc_functions.Insert("content", content);
/*
who
*/
ezc_functions.Insert("who_tab", who_tab);
ezc_functions.Insert("who_tab_lp", who_tab_lp);
ezc_functions.Insert("who_tab_user", who_tab_user);
ezc_functions.Insert("who_tab_time", who_tab_time);
ezc_functions.Insert("who_tab_last_time", who_tab_last_time);
/*
last
*/
ezc_functions.Insert("last_tab", last_tab);
ezc_functions.Insert("last_tab_name", last_tab_name);
ezc_functions.Insert("last_tab_ip", last_tab_ip);
ezc_functions.Insert("last_tab_start", last_tab_start);
ezc_functions.Insert("last_tab_end", last_tab_end);
/*
thread
*/
ezc_functions.Insert("thread_is", thread_is);
ezc_functions.Insert("thread_tab", thread_tab);
ezc_functions.Insert("thread_tab_url", thread_tab_url);
ezc_functions.Insert("thread_tab_subject", thread_tab_subject);
ezc_functions.Insert("thread_tab_author", thread_tab_author);
ezc_functions.Insert("thread_tab_answers", thread_tab_answers);
ezc_functions.Insert("thread_tab_last_item_date_modification", thread_tab_last_item_date_modification);
ezc_functions.Insert("thread_tab_last_item_date_modification_nice", thread_tab_last_item_date_modification_nice);
ezc_functions.Insert("thread_tab_last_item_user", thread_tab_last_item_user);
ezc_functions.Insert("thread_can_create", thread_can_create);
/*
ticket
*/
ezc_functions.Insert("ticket_is", ticket_is);
ezc_functions.Insert("ticket_item_content", ticket_item_content);
ezc_functions.Insert("ticket_item_content_type_is", ticket_item_content_type_is);
ezc_functions.Insert("ticket_item_print_content", ticket_item_print_content);
ezc_functions.Insert("ticket_can_create", ticket_can_create);
ezc_functions.Insert("ticket_can_edit", ticket_can_edit);
ezc_functions.Insert("ticket_type", ticket_type);
ezc_functions.Insert("ticket_status", ticket_status);
ezc_functions.Insert("ticket_priority", ticket_priority);
ezc_functions.Insert("ticket_category", ticket_category);
ezc_functions.Insert("ticket_expected", ticket_expected);
ezc_functions.Insert("ticket_progress", ticket_progress);
ezc_functions.Insert("ticket_progress_image_number", ticket_progress_image_number);
ezc_functions.Insert("ticket_tab", ticket_tab);
ezc_functions.Insert("ticket_tab_url", ticket_tab_url);
ezc_functions.Insert("ticket_tab_subject", ticket_tab_subject);
ezc_functions.Insert("ticket_tab_subject_empty", ticket_tab_subject_empty);
ezc_functions.Insert("ticket_tab_author", ticket_tab_author);
ezc_functions.Insert("ticket_tab_type", ticket_tab_type);
ezc_functions.Insert("ticket_tab_status", ticket_tab_status);
ezc_functions.Insert("ticket_tab_priority", ticket_tab_priority);
ezc_functions.Insert("ticket_tab_category", ticket_tab_category);
ezc_functions.Insert("ticket_tab_expected", ticket_tab_expected);
ezc_functions.Insert("ticket_tab_progress", ticket_tab_progress);
ezc_functions.Insert("ticket_tab_progress_image_number",ticket_tab_progress_image_number);
ezc_functions.Insert("ticket_type_tab", ticket_type_tab);
ezc_functions.Insert("ticket_type_tab_defined", ticket_type_tab_defined);
ezc_functions.Insert("ticket_type_tab_isdefault", ticket_type_tab_isdefault);
ezc_functions.Insert("ticket_type_tab_index", ticket_type_tab_index);
ezc_functions.Insert("ticket_type_tab_name", ticket_type_tab_name);
ezc_functions.Insert("ticket_status_tab", ticket_status_tab);
ezc_functions.Insert("ticket_status_tab_defined", ticket_status_tab_defined);
ezc_functions.Insert("ticket_status_tab_isdefault", ticket_status_tab_isdefault);
ezc_functions.Insert("ticket_status_tab_index", ticket_status_tab_index);
ezc_functions.Insert("ticket_status_tab_name", ticket_status_tab_name);
ezc_functions.Insert("ticket_priority_tab", ticket_priority_tab);
ezc_functions.Insert("ticket_priority_tab_defined", ticket_priority_tab_defined);
ezc_functions.Insert("ticket_priority_tab_isdefault", ticket_priority_tab_isdefault);
ezc_functions.Insert("ticket_priority_tab_index", ticket_priority_tab_index);
ezc_functions.Insert("ticket_priority_tab_name", ticket_priority_tab_name);
ezc_functions.Insert("ticket_category_tab", ticket_category_tab);
ezc_functions.Insert("ticket_category_tab_defined", ticket_category_tab_defined);
ezc_functions.Insert("ticket_category_tab_isdefault", ticket_category_tab_isdefault);
ezc_functions.Insert("ticket_category_tab_index", ticket_category_tab_index);
ezc_functions.Insert("ticket_category_tab_name", ticket_category_tab_name);
ezc_functions.Insert("ticket_expected_tab", ticket_expected_tab);
ezc_functions.Insert("ticket_expected_tab_defined", ticket_expected_tab_defined);
ezc_functions.Insert("ticket_expected_tab_isdefault", ticket_expected_tab_isdefault);
ezc_functions.Insert("ticket_expected_tab_index", ticket_expected_tab_index);
ezc_functions.Insert("ticket_expected_tab_name", ticket_expected_tab_name);
/*
mount
*/
ezc_functions.Insert("mount_page_is", mount_page_is);
ezc_functions.Insert("mount_thread_is", mount_thread_is);
ezc_functions.Insert("mount_type_is_thread", mount_type_is_thread);
ezc_functions.Insert("mount_type_is_ticket", mount_type_is_ticket);
ezc_functions.Insert("mount_type_is_cms", mount_type_is_cms);
ezc_functions.Insert("mount_has_html_template", mount_has_html_template);
ezc_functions.Insert("mount_first_html_template", mount_first_html_template);
/*
rebus
*/
ezc_functions.Insert("rebus_question", rebus_question);
/*
sys
*/
ezc_functions.Insert("sys_ver_major", sys_ver_major);
ezc_functions.Insert("sys_ver_minor", sys_ver_minor);
ezc_functions.Insert("sys_ver_revision", sys_ver_revision);
/*
upload
*/
@ -433,6 +323,43 @@ void Templates::CreateFunctions()
ezc_functions.Insert("uptime_hours", uptime_hours);
/*
user
*/
ezc_functions.Insert("user_name", user_name);
ezc_functions.Insert("user_logged", user_logged);
ezc_functions.Insert("user_super_user", user_super_user);
ezc_functions.Insert("user_is_in_group", user_is_in_group);
ezc_functions.Insert("user_can_use_html", user_can_use_html);
ezc_functions.Insert("user_can_use_bbcode", user_can_use_bbcode);
ezc_functions.Insert("user_can_use_raw", user_can_use_raw);
/*
template
*/
ezc_functions.Insert("template_index", template_index);
ezc_functions.Insert("template_tab", template_tab);
ezc_functions.Insert("template_tab_index", template_tab_index);
ezc_functions.Insert("template_tab_isdefault", template_tab_isdefault);
ezc_functions.Insert("template_tab_file_name", template_tab_file_name);
/*
thread
*/
ezc_functions.Insert("thread_is", thread_is);
ezc_functions.Insert("thread_tab", thread_tab);
ezc_functions.Insert("thread_tab_url", thread_tab_url);
ezc_functions.Insert("thread_tab_subject", thread_tab_subject);
ezc_functions.Insert("thread_tab_author", thread_tab_author);
ezc_functions.Insert("thread_tab_answers", thread_tab_answers);
ezc_functions.Insert("thread_tab_last_item_date_modification", thread_tab_last_item_date_modification);
ezc_functions.Insert("thread_tab_last_item_date_modification_nice", thread_tab_last_item_date_modification_nice);
ezc_functions.Insert("thread_tab_last_item_user", thread_tab_last_item_user);
ezc_functions.Insert("thread_can_create", thread_can_create);
/*
winix
*/
@ -457,13 +384,20 @@ void Templates::CreateFunctions()
/*
template
who
*/
ezc_functions.Insert("template_index", template_index);
ezc_functions.Insert("template_tab", template_tab);
ezc_functions.Insert("template_tab_index", template_tab_index);
ezc_functions.Insert("template_tab_isdefault", template_tab_isdefault);
ezc_functions.Insert("template_tab_file_name", template_tab_file_name);
ezc_functions.Insert("who_tab", who_tab);
ezc_functions.Insert("who_tab_lp", who_tab_lp);
ezc_functions.Insert("who_tab_user", who_tab_user);
ezc_functions.Insert("who_tab_time", who_tab_time);
ezc_functions.Insert("who_tab_last_time", who_tab_last_time);
/*
others
*/
ezc_functions.Insert("content", content);
plugin.Call(WINIX_TEMPLATES_CREATEFUNCTIONS, &ezc_functions);

View File

@ -13,13 +13,13 @@
#include <iomanip>
#include <set>
#include "ezc.h"
#include "patterncacher.h"
#include "misc.h"
#include "patterncacher.h"
#include "ckeditorgetparser.h"
#include "indexpatterns.h"
#include "db/db.h"
#include "core/config.h"
#include "core/request.h"
#include "db/db.h"
#include "core/system.h"
#include "core/locale.h"
#include "core/sessionmanager.h"
@ -34,49 +34,14 @@ namespace TemplatesFunctions
{
using Ezc::Info;
enum Pat {
pat_index = 0, // first should be zero
pat_fun_cat,
pat_fun_ls,
pat_fun_emacs,
pat_fun_mkdir,
pat_fun_default,
pat_fun_priv,
pat_fun_rm,
pat_fun_who,
pat_fun_run,
pat_fun_last,
pat_fun_thread,
pat_fun_reload,
pat_fun_createthread,
pat_fun_upload,
pat_fun_ticket,
pat_fun_uptime,
pat_fun_login,
pat_fun_mv,
pat_fun_uname,
pat_fun_createticket,
pat_fun_ckeditor,
pat_fun_adduser,
enum Pat
{
pat_index = 0, // first should be zero
pat_err_404,
pat_err_per_denied,
//pat_item_info,
//pat_item_tab_info,
//pat_dir_last_info,
pat_fun_subject,
pat_fun_cp,
pat_fun_tinymce,
pat_last // should be last
pat_last // should be last
};
struct PatName
{
const char * fun_name;
Pat pat;
};
extern IndexPatterns index_patterns;
extern Patterns patterns;
extern Patterns patterns_fun;
@ -94,13 +59,6 @@ namespace TemplatesFunctions
/*
sys
*/
void sys_ver_major(Info & i);
void sys_ver_minor(Info & i);
void sys_ver_revision(Info & i);
/*
@ -110,6 +68,43 @@ namespace TemplatesFunctions
void adduser_last_email(Info & i);
/*
dir
*/
void dir(Info & i);
void dir_without_slash(Info & i);
void dir_parent(Info & i);
void dir_parent_without_slash(Info & i);
void dir_can_read_exec(Info & i);
void dir_can_write(Info & i);
void dir_can_remove(Info & i);
void dir_can_use_emacs(Info & i);
void dir_can_use_mkdir(Info & i);
void dir_childs_tab(Info & i);
void dir_childs_is_parent(Info & i);
void dir_childs_tab_url(Info & i);
void dir_childs_tab_privileges(Info & i);
void dir_childs_tab_user(Info & i);
void dir_childs_tab_group(Info & i);
void dir_tab(Info & i);
void dir_tab_url(Info & i);
void dir_tab_link(Info & i);
void dir_last_default_item_dir(Info &);
void dir_last_default_item_url(Info & i);
void dir_last_subject(Info & i);
void dir_last_user(Info & i);
void dir_last_url(Info & i);
void dir_last_url_is(Info & i);
void dir_last_date_creation(Info & i);
void dir_last_date_modification(Info & i);
void dir_last_dates_equal(Info & i);
void dir_last_html_template(Info & i);
void dir_last_has_html_template(Info & i);
/*
doc
*/
@ -145,7 +140,6 @@ namespace TemplatesFunctions
void item_can_read(Info & i);
void item_can_write(Info & i);
void item_can_remove(Info & i);
//void item_info(Info & i);
void item_user(Info & i);
void item_modification_user(Info & i);
void item_users_different(Info & i);
@ -174,7 +168,6 @@ namespace TemplatesFunctions
void item_tab_link_auth(Info & i);
void item_tab_can_read(Info & i);
void item_tab_can_write(Info & i);
//void item_tab_info(Info & i);
void item_tab_user(Info & i);
void item_tab_modification_user(Info & i);
void item_tab_users_different(Info & i);
@ -187,63 +180,33 @@ namespace TemplatesFunctions
void item_tab_run(Info & i);
void item_tab_can_use_emacs(Info & i);
/*
dir
last
*/
void dir(Info & i);
void dir_without_slash(Info & i);
void dir_parent(Info & i);
void dir_parent_without_slash(Info & i);
void dir_can_read_exec(Info & i);
void dir_can_write(Info & i);
void dir_can_remove(Info & i);
void dir_can_use_emacs(Info & i);
void dir_can_use_mkdir(Info & i);
void dir_childs_tab(Info & i);
void dir_childs_is_parent(Info & i);
void dir_childs_tab_url(Info & i);
void dir_childs_tab_privileges(Info & i);
void dir_childs_tab_user(Info & i);
void dir_childs_tab_group(Info & i);
void dir_tab(Info & i);
void dir_tab_url(Info & i);
void dir_tab_link(Info & i);
void dir_last_default_item_dir(Info &);
void dir_last_default_item_url(Info & i);
void dir_last_subject(Info & i);
//void dir_last_info(Info & i);
void dir_last_user(Info & i);
void dir_last_url(Info & i);
void dir_last_url_is(Info & i);
void dir_last_date_creation(Info & i);
void dir_last_date_modification(Info & i);
void dir_last_dates_equal(Info & i);
void dir_last_html_template(Info & i);
void dir_last_has_html_template(Info & i);
void last_tab(Info & i);
void last_tab_name(Info & i);
void last_tab_ip(Info & i);
void last_tab_start(Info & i);
void last_tab_end(Info & i);
/*
user
mount
*/
void mount_type_is(Info & i);
void mount_page_arg_is(Info & i);
void mount_thread_arg_is(Info & i);
void mount_has_html_template(Info & i);
void mount_first_html_template(Info & i);
/*
*/
void ls_ckeditor_funnum_browse(Info & i);
/*
user
*/
void user_name(Info & i);
void user_logged(Info & i);
void user_super_user(Info & i);
void user_is_in_group(Info & i);
void user_can_use_html(Info & i);
void user_can_use_bbcode(Info & i);
void user_can_use_raw(Info & i);
/*
privileges
*/
@ -264,23 +227,53 @@ namespace TemplatesFunctions
/*
who
rebus
*/
void who_tab(Info & i);
void who_tab_lp(Info & i);
void who_tab_user(Info & i);
void who_tab_time(Info & i);
void who_tab_last_time(Info & i);
void rebus_question(Info & i);
/*
last
sys
*/
void last_tab(Info & i);
void last_tab_name(Info & i);
void last_tab_ip(Info & i);
void last_tab_start(Info & i);
void last_tab_end(Info & i);
void sys_ver_major(Info & i);
void sys_ver_minor(Info & i);
void sys_ver_revision(Info & i);
/*
upload
*/
void upload_ckeditor_funnum(Info & i);
/*
uptime
*/
void uptime_more_than_one_day(Info & i);
void uptime_days(Info & i);
void uptime_hours(Info & i);
/*
user
*/
void user_name(Info & i);
void user_logged(Info & i);
void user_super_user(Info & i);
void user_is_in_group(Info & i);
void user_can_use_html(Info & i);
void user_can_use_bbcode(Info & i);
void user_can_use_raw(Info & i);
/*
template (html templates)
*/
void template_index(Info & i);
void template_tab(Info & i);
void template_tab_index(Info & i);
void template_tab_isdefault(Info & i);
void template_tab_file_name(Info & i);
/*
@ -298,99 +291,6 @@ namespace TemplatesFunctions
void thread_can_create(Info & i);
/*
ticket
*/
void ticket_is(Info & i); // !! change to is_ticket lub na ticket_defined
void ticket_item_content(Info & i);
void ticket_item_content_type_is(Info & i);
void ticket_item_print_content(Info & i);
void ticket_can_create(Info & i);
void ticket_can_edit(Info & i);
void ticket_type(Info & i);
void ticket_status(Info & i);
void ticket_priority(Info & i);
void ticket_category(Info & i);
void ticket_expected(Info & i);
void ticket_progress(Info & i);
void ticket_progress_image_number(Info & i);
void ticket_tab(Info & i);
void ticket_tab_url(Info & i);
void ticket_tab_subject(Info & i);
void ticket_tab_subject_empty(Info & i);
void ticket_tab_author(Info & i);
void ticket_tab_type(Info & i);
void ticket_tab_status(Info & i);
void ticket_tab_priority(Info & i);
void ticket_tab_category(Info & i);
void ticket_tab_expected(Info & i);
void ticket_tab_progress(Info & i);
void ticket_tab_progress_image_number(Info & i);
void ticket_type_tab(Info & i);
void ticket_type_tab_defined(Info & i);
void ticket_type_tab_isdefault(Info & i);
void ticket_type_tab_index(Info & i);
void ticket_type_tab_name(Info & i);
void ticket_status_tab(Info & i);
void ticket_status_tab_defined(Info & i);
void ticket_status_tab_isdefault(Info & i);
void ticket_status_tab_index(Info & i);
void ticket_status_tab_name(Info & i);
void ticket_priority_tab(Info & i);
void ticket_priority_tab_defined(Info & i);
void ticket_priority_tab_isdefault(Info & i);
void ticket_priority_tab_index(Info & i);
void ticket_priority_tab_name(Info & i);
void ticket_category_tab(Info & i);
void ticket_category_tab_defined(Info & i);
void ticket_category_tab_isdefault(Info & i);
void ticket_category_tab_index(Info & i);
void ticket_category_tab_name(Info & i);
void ticket_expected_tab(Info & i);
void ticket_expected_tab_defined(Info & i);
void ticket_expected_tab_isdefault(Info & i);
void ticket_expected_tab_index(Info & i);
void ticket_expected_tab_name(Info & i);
/*
mount
*/
void mount_page_is(Info & i);
void mount_thread_is(Info & i);
void mount_type_is_thread(Info & i);
void mount_type_is_ticket(Info & i);
void mount_type_is_cms(Info & i);
void mount_has_html_template(Info & i);
void mount_first_html_template(Info & i);
/*
rebus
*/
void rebus_question(Info & i);
/*
upload
*/
void upload_ckeditor_funnum(Info & i);
/*
uptime
*/
void uptime_more_than_one_day(Info & i);
void uptime_days(Info & i);
void uptime_hours(Info & i);
/*
winix
*/
@ -415,19 +315,25 @@ namespace TemplatesFunctions
/*
template (html templates)
who
*/
void template_index(Info & i);
void template_tab(Info & i);
void template_tab_index(Info & i);
void template_tab_isdefault(Info & i);
void template_tab_file_name(Info & i);
void who_tab(Info & i);
void who_tab_lp(Info & i);
void who_tab_user(Info & i);
void who_tab_time(Info & i);
void who_tab_last_time(Info & i);
} // namespace TemplatesFunctions
class Templates
{
public:

View File

@ -1,573 +0,0 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2010, Tomasz Sowa
* All rights reserved.
*
*/
#include "templates.h"
#include "core/request.h"
#include "core/misc.h"
#include "functions/functions.h"
namespace TemplatesFunctions
{
int ticket_calc_progress_image_number(int percent)
{
percent = int( double(percent) / 10.0 + 0.5 ) * 10;
if( percent < 0 )
percent = 0;
if( percent > 100 )
percent = 100;
return percent;
}
void ticket_is(Info & i)
{
i.res = functions->fun_ticket.is_ticket;
}
void ticket_item_content(Info & i)
{
HtmlEscape(i.out, functions->fun_ticket.item.content);
}
void ticket_item_content_type_is(Info & i)
{
item_content_type_is(functions->fun_ticket.item, i);
}
void ticket_item_print_content(Info & i)
{
item_print_content(i.out, functions->fun_ticket.item.content, functions->fun_ticket.item.content_type);
}
void ticket_can_create(Info & i)
{
i.res = functions->fun_createticket.HasAccess(true);
}
void ticket_can_edit(Info & i)
{
//i.res = request->CanEditTicket();
i.res = functions->fun_editticket.HasAccess();
}
void ticket_type(Info & i)
{
if( functions->fun_ticket.ticket.type < system->mounts.pmount->param[system->mounts.MountParTicketType()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketType()].arg[functions->fun_ticket.ticket.type]);
}
void ticket_status(Info & i)
{
if( functions->fun_ticket.ticket.status < system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg[functions->fun_ticket.ticket.status]);
}
void ticket_priority(Info & i)
{
if( functions->fun_ticket.ticket.priority < system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg[functions->fun_ticket.ticket.priority]);
}
void ticket_category(Info & i)
{
if( functions->fun_ticket.ticket.category < system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg[functions->fun_ticket.ticket.category]);
}
void ticket_expected(Info & i)
{
if( functions->fun_ticket.ticket.expected < system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg[functions->fun_ticket.ticket.expected]);
}
void ticket_progress(Info & i)
{
i.out << functions->fun_ticket.ticket.progress;
}
void ticket_progress_image_number(Info & i)
{
int percent = functions->fun_ticket.ticket.progress;
i.out << ticket_calc_progress_image_number(percent);
}
// --------------------------------------------------------------------------------
static size_t ticket_tab_index;
void ticket_tab(Info & i)
{
ticket_tab_index = i.iter;
i.res = ticket_tab_index < functions->fun_ticket.ticket_tab.size();
}
void ticket_tab_url(Info & i)
{
if( ticket_tab_index < functions->fun_ticket.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( functions->fun_ticket.ticket_tab[ticket_tab_index].dir_id );
if( dir )
{
HtmlEscape(i.out, dir->url);
}
else
{
i.out << "<!-- unknown directory -->";
}
}
}
void ticket_tab_subject(Info & i)
{
if( ticket_tab_index < functions->fun_ticket.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( functions->fun_ticket.ticket_tab[ticket_tab_index].dir_id );
if( dir )
{
if( !dir->subject.empty() )
HtmlEscape(i.out, dir->subject);
else
HtmlEscape(i.out, dir->url);
}
else
{
i.out << "<!-- unknown subject -->";
}
}
}
void ticket_tab_subject_empty(Info & i)
{
i.res = true;
if( ticket_tab_index < functions->fun_ticket.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( functions->fun_ticket.ticket_tab[ticket_tab_index].dir_id );
if( dir )
i.res = dir->subject.empty();
}
}
void ticket_tab_author(Info & i)
{
bool unknown = true;
if( ticket_tab_index < functions->fun_ticket.ticket_tab.size() )
{
Item * dir = system->dirs.GetDir( functions->fun_ticket.ticket_tab[ticket_tab_index].dir_id );
if( dir )
{
User * puser = system->users.GetUser(dir->user_id);
unknown = false;
if( puser )
HtmlEscape(i.out, puser->name);
else
{
i.out << "~";
if( !dir->guest_name.empty() )
HtmlEscape(i.out, dir->guest_name);
else
i.out << "guest"; // !! dodac do konfiga
}
}
}
if( unknown )
{
i.out << "<!-- unknown user -->";
}
}
void ticket_tab_type(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
Ticket & t = functions->fun_ticket.ticket_tab[ticket_tab_index];
if( t.type < system->mounts.pmount->param[system->mounts.MountParTicketType()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketType()].arg[t.type]);
}
void ticket_tab_status(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
Ticket & t = functions->fun_ticket.ticket_tab[ticket_tab_index];
if( t.status < system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg[t.status]);
}
void ticket_tab_priority(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
Ticket & t = functions->fun_ticket.ticket_tab[ticket_tab_index];
if( t.priority < system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg[t.priority]);
}
void ticket_tab_category(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
Ticket & t = functions->fun_ticket.ticket_tab[ticket_tab_index];
if( t.category < system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg[t.category]);
}
void ticket_tab_expected(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
Ticket & t = functions->fun_ticket.ticket_tab[ticket_tab_index];
if( t.expected < system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg[t.expected]);
}
void ticket_tab_progress(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
i.out << functions->fun_ticket.ticket_tab[ticket_tab_index].progress;
}
void ticket_tab_progress_image_number(Info & i)
{
if( ticket_tab_index >= functions->fun_ticket.ticket_tab.size() )
return;
int percent = functions->fun_ticket.ticket_tab[ticket_tab_index].progress;
i.out << ticket_calc_progress_image_number(percent);
}
// --------------------------------------------------------------------------------
static size_t ticket_type_tab_ind;
void ticket_type_tab(Info & i)
{
ticket_type_tab_ind = i.iter;
i.res = ticket_type_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketType()].arg.size();
}
void ticket_type_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[system->mounts.MountParTicketType()].defined;
}
void ticket_type_tab_isdefault(Info & i)
{
if( functions->fun_ticket.is_ticket )
{
i.res = (ticket_type_tab_ind == functions->fun_ticket.ticket.type);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[system->mounts.MountParTicketTypeDefault()];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_type_tab_ind == value);
}
}
void ticket_type_tab_index(Info & i)
{
i.out << ticket_type_tab_ind;
}
void ticket_type_tab_name(Info & i)
{
if( ticket_type_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketType()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketType()].arg[ticket_type_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_status_tab_ind;
void ticket_status_tab(Info & i)
{
ticket_status_tab_ind = i.iter;
i.res = ticket_status_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg.size();
}
void ticket_status_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[system->mounts.MountParTicketStatus()].defined;
}
void ticket_status_tab_isdefault(Info & i)
{
if( functions->fun_ticket.is_ticket )
{
i.res = (ticket_status_tab_ind == functions->fun_ticket.ticket.status);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[system->mounts.MountParTicketStatusDefault()];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_status_tab_ind == value);
}
}
void ticket_status_tab_index(Info & i)
{
i.out << ticket_status_tab_ind;
}
void ticket_status_tab_name(Info & i)
{
if( ticket_status_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketStatus()].arg[ticket_status_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_priority_tab_ind;
void ticket_priority_tab(Info & i)
{
ticket_priority_tab_ind = i.iter;
i.res = ticket_priority_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg.size();
}
void ticket_priority_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[system->mounts.MountParTicketPriority()].defined;
}
void ticket_priority_tab_isdefault(Info & i)
{
if( functions->fun_ticket.is_ticket )
{
i.res = (ticket_priority_tab_ind == functions->fun_ticket.ticket.priority);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[system->mounts.MountParTicketPriorityDefault()];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_priority_tab_ind == value);
}
}
void ticket_priority_tab_index(Info & i)
{
i.out << ticket_priority_tab_ind;
}
void ticket_priority_tab_name(Info & i)
{
if( ticket_priority_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketPriority()].arg[ticket_priority_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_category_tab_ind;
void ticket_category_tab(Info & i)
{
ticket_category_tab_ind = i.iter;
i.res = ticket_category_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg.size();
}
void ticket_category_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[system->mounts.MountParTicketCategory()].defined;
}
void ticket_category_tab_isdefault(Info & i)
{
if( functions->fun_ticket.is_ticket )
{
i.res = (ticket_category_tab_ind == functions->fun_ticket.ticket.category);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[system->mounts.MountParTicketCategoryDefault()];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_category_tab_ind == value);
}
}
void ticket_category_tab_index(Info & i)
{
i.out << ticket_category_tab_ind;
}
void ticket_category_tab_name(Info & i)
{
if( ticket_category_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketCategory()].arg[ticket_category_tab_ind]);
}
// --------------------------------------------------------------------------------
static size_t ticket_expected_tab_ind;
void ticket_expected_tab(Info & i)
{
ticket_expected_tab_ind = i.iter;
i.res = ticket_expected_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg.size();
}
void ticket_expected_tab_defined(Info & i)
{
i.res = system->mounts.pmount->param[system->mounts.MountParTicketExpected()].defined;
}
void ticket_expected_tab_isdefault(Info & i)
{
if( functions->fun_ticket.is_ticket )
{
i.res = (ticket_expected_tab_ind == functions->fun_ticket.ticket.expected);
}
else
{
Mount::ParamRow & p = system->mounts.pmount->param[system->mounts.MountParTicketExpectedDefault()];
if( !p.defined || p.arg.empty() )
return; // default false
size_t value = atoi( p.arg[0].c_str() );
i.res = (ticket_expected_tab_ind == value);
}
}
void ticket_expected_tab_index(Info & i)
{
i.out << ticket_expected_tab_ind;
}
void ticket_expected_tab_name(Info & i)
{
if( ticket_expected_tab_ind < system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg.size() )
HtmlEscape(i.out, system->mounts.pmount->param[system->mounts.MountParTicketExpected()].arg[ticket_expected_tab_ind]);
}
} // namespace TemplatesFunctions

View File

@ -12,10 +12,10 @@ notify.o: ../core/dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
notify.o: ../db/dbtextstream.h ../core/textstream.h ../db/dbitemquery.h
notify.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
notify.o: ../core/thread.h ../core/error.h ../core/dircontainer.h
notify.o: ../core/ugcontainer.h ../core/ticket.h ../core/mounts.h
notify.o: ../core/mount.h ../core/mountparser.h ../core/users.h
notify.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/groups.h
notify.o: ../core/group.h ../core/loadavg.h
notify.o: ../core/ugcontainer.h ../core/mounts.h ../core/mount.h
notify.o: ../core/mountparser.h ../core/users.h ../core/ugcontainer.h
notify.o: ../core/lastcontainer.h ../core/groups.h ../core/group.h
notify.o: ../core/loadavg.h
templatesnotify.o: templatesnotify.h ../../ezc/src/ezc.h ../core/mount.h
templatesnotify.o: ../core/locale.h ../core/confparser.h ../core/config.h
templatesnotify.o: ../core/htmlfilter.h ../templates/misc.h