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:
@@ -16,7 +16,7 @@
|
||||
#include "patterncacher.h"
|
||||
#include "misc.h"
|
||||
#include "ckeditorgetparser.h"
|
||||
|
||||
#include "../core/locale.h"
|
||||
|
||||
|
||||
namespace TemplatesFunctions
|
||||
@@ -68,6 +68,7 @@ namespace TemplatesFunctions
|
||||
|
||||
extern TemplatesMisc::Patterns patterns;
|
||||
extern PatternCacher pattern_cacher;
|
||||
extern Locale locale;
|
||||
extern Ezc::Functions functions;
|
||||
extern CKEditorGetParser ckeditor_getparser;
|
||||
|
||||
@@ -122,6 +123,8 @@ namespace TemplatesFunctions
|
||||
void item_user(Info & i);
|
||||
void item_date_creation(Info & i);
|
||||
void item_date_modification(Info & i);
|
||||
void item_date_creation_nice(Info & i);
|
||||
void item_date_modification_nice(Info & i);
|
||||
void item_dates_equal(Info & i);
|
||||
void item_run(Info & i);
|
||||
void item_guest_name(Info & i);
|
||||
@@ -153,6 +156,8 @@ namespace TemplatesFunctions
|
||||
void item_tab_user(Info & i);
|
||||
void item_tab_date_creation(Info & i);
|
||||
void item_tab_date_modification(Info & i);
|
||||
void item_tab_date_creation_nice(Info & i);
|
||||
void item_tab_date_modification_nice(Info & i);
|
||||
void item_tab_dates_equal(Info & i);
|
||||
void item_tab_run(Info & i);
|
||||
|
||||
@@ -267,6 +272,7 @@ namespace TemplatesFunctions
|
||||
void thread_tab_author(Info & i);
|
||||
void thread_tab_answers(Info & i);
|
||||
void thread_tab_last_item_date_modification(Info & i);
|
||||
void thread_tab_last_item_date_modification_nice(Info & i);
|
||||
void thread_tab_last_item_user(Info & i);
|
||||
void thread_can_create(Info & i);
|
||||
|
||||
@@ -386,6 +392,8 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
void ReadFile(TemplatesFunctions::Pat pat, const char * file);
|
||||
|
||||
std::string temp;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user