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:
@@ -228,10 +228,10 @@ void dir_last_subject(Info & i)
|
||||
|
||||
void dir_last_info(Info & i)
|
||||
{
|
||||
if( static_cast<size_t>(data.locale.GetLang()) >= patterns.size() )
|
||||
if( static_cast<size_t>(locale.GetLang()) >= patterns.size() )
|
||||
return;
|
||||
|
||||
Ezc::Generator gen(i.out, patterns[data.locale.GetLang()][pat_dir_last_info], functions);
|
||||
Ezc::Generator gen(i.out, patterns[locale.GetLang()][pat_dir_last_info], functions);
|
||||
gen.Generate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user