fixed: Config::Text() returned a reference to a local variable (std::string)
added: 'static' directory with *.css and images we have a default layout moved: locale from data to templates notification templates have its own locale object added: reload function reloades locale now too added: 'nice' form of item_info in templates git-svn-id: svn://ttmath.org/publicrep/winix/trunk@582 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "templates.h"
|
||||
#include "misc.h"
|
||||
#include "../core/data.h"
|
||||
#include "../core/request.h"
|
||||
#include "../core/misc.h"
|
||||
@@ -135,6 +136,14 @@ void thread_tab_last_item_date_modification(Info & i)
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_last_item_date_modification_nice(Info & i)
|
||||
{
|
||||
if( thread_tab_index < request.thread_tab.size() )
|
||||
if( request.thread_tab[thread_tab_index].last_item.id != -1 )
|
||||
TemplatesMisc::print_date_nice(i, &request.thread_tab[thread_tab_index].last_item.date_modification);
|
||||
}
|
||||
|
||||
|
||||
void thread_tab_last_item_user(Info & i)
|
||||
{
|
||||
if( thread_tab_index < request.thread_tab.size() )
|
||||
|
Reference in New Issue
Block a user