added: uptime winix function prints how many sessions there are
changed: functions for text/numbers conversions int Toi(const std::string & str, int base = 10); int Toi(const std::wstring & str, int base = 10); int Toi(const char * str, int base = 10); int Toi(const wchar_t * str, int base = 10); long Tol(const std::string & str, int base = 10); long Tol(const std::wstring & str, int base = 10); long Tol(const char * str, int base = 10); long Tol(const wchar_t * str, int base = 10); template<class CharType> bool Toa(unsigned long value, CharType * buffer, size_t buf_len, int base = 10); template<class CharType> bool Toa(long value, CharType * buffer, size_t buf_len, int base = 10); template<class CharType> bool Toa(unsigned int value, CharType * buffer, size_t buf_len, int base = 10); template<class CharType> bool Toa(int value, CharType * buffer, size_t buf_len, int base = 10); const wchar_t * Toa(unsigned int value, int base = 10); const wchar_t * Toa(unsigned long value, int base = 10); const wchar_t * Toa(int value, int base = 10); const wchar_t * Toa(long value, int base = 10); void Toa(int value, std::string & res, int base = 10, bool clear = true); void Toa(long value, std::string & res, int base = 10, bool clear = true); void Toa(int value, std::wstring & res, int base = 10, bool clear = true); void Toa(long value, std::wstring & res, int base = 10, bool clear = true); added: HtmlTextStream class (files htmltextstream.cpp htmltextstream.h in templates) this is a special stream for automatically escaping html tags git-svn-id: svn://ttmath.org/publicrep/winix/trunk@682 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -6,15 +6,16 @@ init.o: ../../core/item.h ../../core/request.h ../../core/requesttypes.h
|
||||
init.o: ../../core/session.h ../../core/error.h ../../core/log.h
|
||||
init.o: ../../core/user.h ../../core/plugindata.h ../../core/rebus.h
|
||||
init.o: ../../core/config.h ../../core/confparser.h ../../core/htmlfilter.h
|
||||
init.o: ../../templates/htmltextstream.h ../../core/textstream.h
|
||||
init.o: ../../core/config.h ../../db/db.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
init.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/error.h
|
||||
init.o: ../../db/dbitemquery.h ../../core/item.h ../../db/dbitemcolumns.h
|
||||
init.o: ../../core/user.h ../../core/group.h ../../core/thread.h
|
||||
init.o: ../../core/dircontainer.h ../../core/ugcontainer.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: ../../db/dbtextstream.h ../../core/error.h ../../db/dbitemquery.h
|
||||
init.o: ../../core/item.h ../../db/dbitemcolumns.h ../../core/user.h
|
||||
init.o: ../../core/group.h ../../core/thread.h ../../core/dircontainer.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
|
||||
@@ -25,26 +26,26 @@ init.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
init.o: ../../../ezc/src/stringconv.h ../../../ezc/src/functions.h
|
||||
init.o: ../../../ezc/src/funinfo.h ../../core/mount.h ../../templates/misc.h
|
||||
init.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
init.o: ../../core/confparser.h ../../functions/functionparser.h
|
||||
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/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/stat.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 ../../functions/vim.h
|
||||
init.o: ../../core/htmlfilter.h ../../templates/templates.h
|
||||
init.o: ../../templates/patterncacher.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: ../../core/confparser.h ../../templates/htmltextstream.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/stat.h ../../functions/subject.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 ../../functions/vim.h ../../core/htmlfilter.h
|
||||
init.o: ../../templates/templates.h ../../templates/patterncacher.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 ../../core/textstream.h
|
||||
stats.o: ../../core/misc.h ../../core/item.h ../../../ezc/src/utf8.h
|
||||
templates.o: templates.h ../../core/plugin.h ../../core/pluginmsg.h
|
||||
@@ -66,14 +67,15 @@ templates.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
|
||||
templates.o: ../../core/session.h ../../functions/functions.h
|
||||
templates.o: ../../functions/functionbase.h ../../core/request.h
|
||||
templates.o: ../../core/requesttypes.h ../../core/textstream.h
|
||||
templates.o: ../../core/misc.h ../../core/config.h ../../core/system.h
|
||||
templates.o: ../../core/notify.h ../../templatesnotify/templatesnotify.h
|
||||
templates.o: ../../../ezc/src/ezc.h ../../../ezc/src/utf8.h
|
||||
templates.o: ../../../ezc/src/generator.h ../../../ezc/src/pattern.h
|
||||
templates.o: ../../../ezc/src/stringconv.h ../../../ezc/src/functions.h
|
||||
templates.o: ../../../ezc/src/funinfo.h ../../core/mount.h
|
||||
templates.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
templates.o: ../../templates/locale.h ../../core/confparser.h
|
||||
templates.o: ../../core/misc.h ../../templates/htmltextstream.h
|
||||
templates.o: ../../core/config.h ../../core/system.h ../../core/notify.h
|
||||
templates.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
|
||||
templates.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
templates.o: ../../../ezc/src/pattern.h ../../../ezc/src/stringconv.h
|
||||
templates.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
templates.o: ../../core/mount.h ../../templates/misc.h
|
||||
templates.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
templates.o: ../../core/confparser.h ../../templates/htmltextstream.h
|
||||
templates.o: ../../functions/functionparser.h ../../functions/adduser.h
|
||||
templates.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
templates.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
|
@@ -11,6 +11,7 @@
|
||||
#include "ezc.h"
|
||||
#include "core/misc.h"
|
||||
#include "stats.h"
|
||||
#include "templates/misc.h"
|
||||
|
||||
|
||||
namespace Stats
|
||||
@@ -84,8 +85,8 @@ void stats_item_bing(Info & i)
|
||||
|
||||
void CreateFunctions(PluginInfo & info)
|
||||
{
|
||||
typedef Ezc::Functions<TextStream<std::wstring> > Fun;
|
||||
Fun * fun = reinterpret_cast<Fun*>(info.p1);
|
||||
using TemplatesFunctions::EzcFun;
|
||||
EzcFun * fun = reinterpret_cast<EzcFun*>(info.p1);
|
||||
|
||||
fun->Insert("stats_from", stats_from);
|
||||
|
||||
|
@@ -13,7 +13,8 @@ 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: ../../templates/htmltextstream.h ../../core/config.h
|
||||
createticket.o: ../../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
|
||||
@@ -26,7 +27,8 @@ createticket.o: ../../../ezc/src/stringconv.h ../../../ezc/src/functions.h
|
||||
createticket.o: ../../../ezc/src/funinfo.h ../../core/mount.h
|
||||
createticket.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
createticket.o: ../../templates/locale.h ../../core/confparser.h
|
||||
createticket.o: ../../core/system.h ticketinfo.h ticketparser.h ticketconf.h
|
||||
createticket.o: ../../templates/htmltextstream.h ../../core/system.h
|
||||
createticket.o: ticketinfo.h ticketparser.h ticketconf.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
|
||||
@@ -63,32 +65,34 @@ editticket.o: ../../core/lastcontainer.h ../../core/groups.h
|
||||
editticket.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
|
||||
editticket.o: ../../functions/functionbase.h ../../core/request.h
|
||||
editticket.o: ../../core/requesttypes.h ../../core/session.h
|
||||
editticket.o: ../../core/plugindata.h ../../core/config.h ../../core/notify.h
|
||||
editticket.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
editticket.o: ../../core/config.h ../../core/notify.h
|
||||
editticket.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
|
||||
editticket.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
editticket.o: ../../../ezc/src/pattern.h ../../../ezc/src/stringconv.h
|
||||
editticket.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
editticket.o: ../../core/mount.h ../../templates/misc.h
|
||||
editticket.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
editticket.o: ../../core/confparser.h ../../core/system.h
|
||||
editticket.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
editticket.o: ../../functions/functionparser.h ../../functions/adduser.h
|
||||
editticket.o: ../../functions/cat.h ../../functions/chmod.h
|
||||
editticket.o: ../../functions/privchanger.h ../../functions/chown.h
|
||||
editticket.o: ../../functions/ckeditor.h ../../functions/cp.h
|
||||
editticket.o: ../../functions/createthread.h ../../functions/default.h
|
||||
editticket.o: ../../functions/download.h ../../functions/emacs.h
|
||||
editticket.o: ../../functions/last.h ../../functions/login.h
|
||||
editticket.o: ../../functions/logout.h ../../functions/ls.h
|
||||
editticket.o: ../../functions/mkdir.h ../../functions/mv.h
|
||||
editticket.o: ../../functions/node.h ../../functions/priv.h
|
||||
editticket.o: ../../functions/reload.h ../../functions/rm.h
|
||||
editticket.o: ../../functions/run.h ../../functions/stat.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: ../../functions/vim.h ../../core/htmlfilter.h
|
||||
editticket.o: ../../core/confparser.h ../../templates/htmltextstream.h
|
||||
editticket.o: ../../core/system.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/stat.h ../../functions/subject.h
|
||||
editticket.o: ../../functions/funthread.h ../../functions/template.h
|
||||
editticket.o: ../../functions/tinymce.h ../../functions/uname.h
|
||||
editticket.o: ../../functions/upload.h ../../functions/uptime.h
|
||||
editticket.o: ../../functions/who.h ../../functions/vim.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/misc.h ../../core/item.h ../../core/error.h
|
||||
@@ -107,14 +111,16 @@ funticket.o: ../../core/lastcontainer.h ../../core/groups.h
|
||||
funticket.o: ../../core/group.h ../../core/rebus.h ../../core/loadavg.h
|
||||
funticket.o: ../../functions/functionbase.h ../../core/request.h
|
||||
funticket.o: ../../core/requesttypes.h ../../core/session.h
|
||||
funticket.o: ../../core/plugindata.h ../../core/config.h ../../core/notify.h
|
||||
funticket.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
funticket.o: ../../core/config.h ../../core/notify.h
|
||||
funticket.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
|
||||
funticket.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
funticket.o: ../../../ezc/src/pattern.h ../../../ezc/src/stringconv.h
|
||||
funticket.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
funticket.o: ../../core/mount.h ../../templates/misc.h
|
||||
funticket.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
funticket.o: ../../core/confparser.h ../../core/system.h ../../core/misc.h
|
||||
funticket.o: ../../core/confparser.h ../../templates/htmltextstream.h
|
||||
funticket.o: ../../core/system.h ../../core/misc.h
|
||||
init.o: tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
init.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/misc.h
|
||||
init.o: ../../core/item.h ../../core/error.h ../../core/log.h
|
||||
@@ -131,36 +137,38 @@ init.o: ../../core/lastcontainer.h ../../core/groups.h ../../core/group.h
|
||||
init.o: ../../core/rebus.h ../../core/loadavg.h
|
||||
init.o: ../../functions/functionbase.h ../../core/request.h
|
||||
init.o: ../../core/requesttypes.h ../../core/session.h
|
||||
init.o: ../../core/plugindata.h ../../core/config.h ../../core/notify.h
|
||||
init.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
init.o: ../../core/config.h ../../core/notify.h
|
||||
init.o: ../../templatesnotify/templatesnotify.h ../../../ezc/src/ezc.h
|
||||
init.o: ../../../ezc/src/utf8.h ../../../ezc/src/generator.h
|
||||
init.o: ../../../ezc/src/pattern.h ../../../ezc/src/stringconv.h
|
||||
init.o: ../../../ezc/src/functions.h ../../../ezc/src/funinfo.h
|
||||
init.o: ../../core/mount.h ../../templates/misc.h
|
||||
init.o: ../../templates/localefilter.h ../../templates/locale.h
|
||||
init.o: ../../core/confparser.h ../../core/system.h editticket.h
|
||||
init.o: createticket.h ../../core/log.h ../../core/plugin.h
|
||||
init.o: ../../core/pluginmsg.h ../../core/sessionmanager.h
|
||||
init.o: ../../core/sessioncontainer.h ../../functions/functions.h
|
||||
init.o: ../../functions/functionbase.h ../../functions/functionparser.h
|
||||
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/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/stat.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 ../../functions/vim.h
|
||||
init.o: ../../core/htmlfilter.h ../../templates/templates.h
|
||||
init.o: ../../templates/patterncacher.h ../../templates/ckeditorgetparser.h
|
||||
init.o: ../../core/httpsimpleparser.h ../../core/log.h
|
||||
init.o: ../../templates/indexpatterns.h ../../core/sessionmanager.h
|
||||
init.o: ../../core/confparser.h ../../templates/htmltextstream.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/stat.h ../../functions/subject.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 ../../functions/vim.h ../../core/htmlfilter.h
|
||||
init.o: ../../templates/templates.h ../../templates/patterncacher.h
|
||||
init.o: ../../templates/ckeditorgetparser.h ../../core/httpsimpleparser.h
|
||||
init.o: ../../core/log.h ../../templates/indexpatterns.h
|
||||
init.o: ../../core/sessionmanager.h
|
||||
tdb.o: tdb.h ticket.h ../../db/dbbase.h ../../db/dbconn.h
|
||||
tdb.o: ../../db/dbtextstream.h ../../core/textstream.h ../../core/misc.h
|
||||
tdb.o: ../../core/item.h ../../core/error.h ../../core/log.h
|
||||
@@ -186,32 +194,34 @@ templates.o: ../../db/dbbase.h ../../db/dbconn.h ../../db/dbtextstream.h
|
||||
templates.o: ../../core/textstream.h ../../core/misc.h ../../core/error.h
|
||||
templates.o: editticket.h ../../functions/functionbase.h ../../core/request.h
|
||||
templates.o: ../../core/requesttypes.h ../../core/session.h
|
||||
templates.o: ../../core/plugindata.h ../../core/config.h ../../core/notify.h
|
||||
templates.o: ../../core/plugindata.h ../../templates/htmltextstream.h
|
||||
templates.o: ../../core/config.h ../../core/notify.h
|
||||
templates.o: ../../templatesnotify/templatesnotify.h ../../core/mount.h
|
||||
templates.o: ../../templates/misc.h ../../templates/localefilter.h
|
||||
templates.o: ../../templates/locale.h ../../core/confparser.h
|
||||
templates.o: ../../core/system.h createticket.h ../../core/misc.h
|
||||
templates.o: ../../core/plugin.h ../../core/pluginmsg.h
|
||||
templates.o: ../../core/sessionmanager.h ../../core/sessioncontainer.h
|
||||
templates.o: ../../functions/functions.h ../../functions/functionbase.h
|
||||
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/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/stat.h
|
||||
templates.o: ../../functions/subject.h ../../functions/funthread.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: ../../functions/vim.h ../../core/htmlfilter.h
|
||||
templates.o: ../../templates/templates.h ../../templates/patterncacher.h
|
||||
templates.o: ../../templates/htmltextstream.h ../../core/system.h
|
||||
templates.o: createticket.h ../../core/misc.h ../../core/plugin.h
|
||||
templates.o: ../../core/pluginmsg.h ../../core/sessionmanager.h
|
||||
templates.o: ../../core/sessioncontainer.h ../../functions/functions.h
|
||||
templates.o: ../../functions/functionbase.h ../../functions/functionparser.h
|
||||
templates.o: ../../functions/adduser.h ../../functions/cat.h
|
||||
templates.o: ../../functions/chmod.h ../../functions/privchanger.h
|
||||
templates.o: ../../functions/chown.h ../../functions/ckeditor.h
|
||||
templates.o: ../../functions/cp.h ../../functions/createthread.h
|
||||
templates.o: ../../functions/default.h ../../functions/download.h
|
||||
templates.o: ../../functions/emacs.h ../../functions/last.h
|
||||
templates.o: ../../functions/login.h ../../functions/logout.h
|
||||
templates.o: ../../functions/ls.h ../../functions/mkdir.h
|
||||
templates.o: ../../functions/mv.h ../../functions/node.h
|
||||
templates.o: ../../functions/priv.h ../../functions/reload.h
|
||||
templates.o: ../../functions/rm.h ../../functions/run.h
|
||||
templates.o: ../../functions/stat.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
|
||||
templates.o: ../../functions/who.h ../../functions/vim.h
|
||||
templates.o: ../../core/htmlfilter.h ../../templates/templates.h
|
||||
templates.o: ../../templates/patterncacher.h
|
||||
templates.o: ../../templates/ckeditorgetparser.h
|
||||
templates.o: ../../core/httpsimpleparser.h ../../core/log.h
|
||||
templates.o: ../../templates/indexpatterns.h ../../core/sessionmanager.h
|
||||
|
@@ -76,7 +76,7 @@ void ticket_print_value(Info & i, size_t conf_index, int value)
|
||||
if( conf_item.type == TicketConf::TicketItem::TypeSelect )
|
||||
{
|
||||
if( value < (int)conf_item.select.size() )
|
||||
HtmlEscape(i.out, conf_item.select[value].name);
|
||||
i.out << conf_item.select[value].name;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -92,13 +92,13 @@ void ticket_is(Info & i)
|
||||
|
||||
void ticket_item_subject(Info & i)
|
||||
{
|
||||
HtmlEscape(i.out, ticket_info.item.subject);
|
||||
i.out << ticket_info.item.subject;
|
||||
}
|
||||
|
||||
|
||||
void ticket_item_content(Info & i)
|
||||
{
|
||||
HtmlEscape(i.out, ticket_info.item.content);
|
||||
i.out << ticket_info.item.content;
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ void tickets_tab_url(Info & i)
|
||||
Item * dir = tickets_tab_find_index_dir();
|
||||
|
||||
if( dir )
|
||||
HtmlEscape(i.out, dir->url);
|
||||
i.out << dir->url;
|
||||
}
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@ void tickets_tab_subject(Info & i)
|
||||
Item * dir = tickets_tab_find_index_dir();
|
||||
|
||||
if( dir )
|
||||
HtmlEscape(i.out, dir->subject);
|
||||
i.out << dir->subject;
|
||||
}
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ void ticket_tab(Info & i)
|
||||
void ticket_tab_param(Info & i)
|
||||
{
|
||||
if( conf_index < ticket_info.cur_conf->tab.size() )
|
||||
HtmlEscape(i.out, ticket_info.cur_conf->tab[conf_index].name);
|
||||
i.out << ticket_info.cur_conf->tab[conf_index].name;
|
||||
}
|
||||
|
||||
|
||||
@@ -333,7 +333,7 @@ void ticket_tab_select_tab_name(Info & i)
|
||||
if( conf_index < ticket_info.cur_conf->tab.size() &&
|
||||
select_index < ticket_info.cur_conf->tab[conf_index].select.size() )
|
||||
{
|
||||
HtmlEscape(i.out, ticket_info.cur_conf->tab[conf_index].select[select_index].name);
|
||||
i.out << ticket_info.cur_conf->tab[conf_index].select[select_index].name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -359,8 +359,8 @@ void AddEzcFunctions(PluginInfo & info)
|
||||
using namespace ns_tickets_tab;
|
||||
using namespace ns_ticket_tab;
|
||||
|
||||
typedef Ezc::Functions<TextStream<std::wstring> > Fun;
|
||||
Fun * fun = reinterpret_cast<Fun*>(info.p1);
|
||||
using TemplatesFunctions::EzcFun;
|
||||
EzcFun * fun = reinterpret_cast<EzcFun*>(info.p1);
|
||||
|
||||
fun->Insert("ticket_is", ticket_is);
|
||||
fun->Insert("ticket_item_subject", ticket_item_subject);
|
||||
|
@@ -285,8 +285,8 @@ Ticket::TicketParam param;
|
||||
{
|
||||
if( IsSubString(parstr, i->first.c_str()) )
|
||||
{
|
||||
param.param = Atoi(i->first.c_str() + parlen);
|
||||
param.value = Atoi(i->second);
|
||||
param.param = Toi(i->first.c_str() + parlen);
|
||||
param.value = Toi(i->second);
|
||||
|
||||
if( CheckMinMaxValue(param) )
|
||||
ticket.par_tab.push_back(param);
|
||||
|
@@ -99,7 +99,7 @@ void TicketParser::CheckId(int & id, bool & def)
|
||||
if( id_str == L"def" )
|
||||
def = true;
|
||||
else
|
||||
id = Atoi(id_str);
|
||||
id = Toi(id_str);
|
||||
|
||||
if( *pchar == ',' )
|
||||
pchar += 1;
|
||||
@@ -165,10 +165,10 @@ void TicketParser::ReadItemInteger()
|
||||
ReadText(int_max);
|
||||
|
||||
if( !int_min.empty() )
|
||||
item.integer_min = Atoi(int_min);
|
||||
item.integer_min = Toi(int_min);
|
||||
|
||||
if( !int_max.empty() )
|
||||
item.integer_max = Atoi(int_max);
|
||||
item.integer_max = Toi(int_max);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user