removed some thread and ticket information from request

they are in FunThread and FunTicket classes now
added funtion FunUptime (I forgot about it)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@631 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-08-10 20:43:38 +00:00
parent 76897b8a83
commit 9901c63ede
79 changed files with 1219 additions and 993 deletions

View File

@@ -4,17 +4,17 @@ bot.o: bot.h
init.o: ../../core/log.h ../../core/request.h ../../core/requesttypes.h
init.o: ../../core/session.h ../../core/item.h ../../core/error.h
init.o: ../../core/log.h ../../core/user.h ../../core/plugindata.h
init.o: ../../core/rebus.h ../../core/thread.h ../../core/compress.h
init.o: ../../core/rebus.h ../../core/compress.h
init.o: ../../core/acceptencodingparser.h ../../core/acceptbaseparser.h
init.o: ../../core/htmlfilter.h ../../core/postmultiparser.h
init.o: ../../core/config.h ../../core/confparser.h ../../core/ticket.h
init.o: ../../core/config.h ../../core/db.h ../../core/group.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/db.h ../../core/mounts.h ../../core/mount.h
init.o: ../../core/users.h ../../core/lastcontainer.h ../../core/groups.h
init.o: ../../core/loadavg.h ../../core/sessionmanager.h
init.o: ../../core/config.h ../../core/confparser.h ../../core/config.h
init.o: ../../core/db.h ../../core/group.h ../../core/thread.h
init.o: ../../core/dircontainer.h ../../core/ugcontainer.h
init.o: ../../core/ticket.h bot.h stats.h templates.h ../../core/plugin.h
init.o: ../../core/pluginmsg.h ../../core/request.h ../../core/system.h
init.o: ../../core/dirs.h ../../core/db.h ../../core/mounts.h
init.o: ../../core/mount.h ../../core/users.h ../../core/lastcontainer.h
init.o: ../../core/groups.h ../../core/loadavg.h ../../core/sessionmanager.h
init.o: ../../core/sessioncontainer.h ../../functions/functions.h
init.o: ../../functions/functionbase.h ../../core/item.h ../../core/system.h
init.o: ../../core/notify.h ../../templatesnotify/templatesnotify.h
@@ -33,8 +33,9 @@ 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 ../../core/thread.h
init.o: ../../functions/funticket.h ../../functions/tinymce.h
init.o: ../../functions/uname.h ../../functions/upload.h
init.o: ../../functions/funticket.h ../../core/ticket.h
init.o: ../../functions/tinymce.h ../../functions/uname.h
init.o: ../../functions/upload.h ../../functions/uptime.h
init.o: ../../functions/who.h ../../templates/templates.h
init.o: ../../templates/patterncacher.h ../../core/item.h
init.o: ../../templates/misc.h ../../templates/ckeditorgetparser.h
@@ -76,8 +77,9 @@ 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 ../../core/thread.h
templates.o: ../../functions/funticket.h ../../functions/tinymce.h
templates.o: ../../functions/uname.h ../../functions/upload.h
templates.o: ../../functions/funticket.h ../../core/ticket.h
templates.o: ../../functions/tinymce.h ../../functions/uname.h
templates.o: ../../functions/upload.h ../../functions/uptime.h
templates.o: ../../functions/who.h ../../templates/templates.h
templates.o: ../../templates/patterncacher.h ../../core/item.h
templates.o: ../../templates/misc.h ../../templates/ckeditorgetparser.h

View File

@@ -39,8 +39,8 @@ void CalcItemId(Request * request)
if( request->is_item )
current_item_id = request->item.id;
else
if( !request->dir_table.empty() )
current_item_id = request->dir_table.back()->id;
if( !request->dir_tab.empty() )
current_item_id = request->dir_tab.back()->id;
else
current_item_id = -1;
}