added: now plugin ticket uses a new horizontal table (plugins.ticket)

columns: dir_id, param, value
we are able to build complicated tickets 



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@664 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-10-19 00:31:20 +00:00
parent 33057acd62
commit 1b053c03ba
53 changed files with 1680 additions and 1902 deletions

View File

@@ -8,10 +8,10 @@
*/
#include "../core/misc.h"
#include "../core/request.h"
#include "templates.h"
#include "misc.h"
#include "core/misc.h"
#include "core/request.h"
namespace TemplatesFunctions
@@ -34,6 +34,24 @@ void print_date_nice(Ezc::Info & i, const tm * ptm)
}
void print_user_name(Ezc::Info & i, const User * puser, const std::string & guest_name)
{
if( puser )
{
HtmlEscape(i.out, puser->name);
}
else
{
i.out << "~";
if( !guest_name.empty() )
HtmlEscape(i.out, guest_name);
else
i.out << "guest"; // !! dodac do konfiga
}
}
int ParseCKeditorFun()
{