added: mount option: html_template(file.html)
files: indexpatterns.h indexpatterns.cpp
removed: templates/index_root.html
its content was moved to index.html
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@611 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -33,7 +33,6 @@ void print_date_nice(Ezc::Info & i, tm * ptm)
|
||||
|
||||
|
||||
|
||||
|
||||
// those functions from here are used in the second thread too
|
||||
|
||||
|
||||
@@ -43,8 +42,6 @@ void Read(Patterns & patterns, size_t pat, Locale & locale, LocaleFilter & local
|
||||
{
|
||||
size_t i;
|
||||
size_t len = patterns.size();
|
||||
Locale::Lang old_lang = locale.GetLang();
|
||||
|
||||
|
||||
for(i=0 ; i<len ; ++i)
|
||||
{
|
||||
@@ -54,24 +51,9 @@ void Read(Patterns & patterns, size_t pat, Locale & locale, LocaleFilter & local
|
||||
patterns[i][pat].Directory(data.templates_dir, data.templates_dir_default);
|
||||
patterns[i][pat].ParseFile(file);
|
||||
|
||||
Locale::Lang new_lang = static_cast<Locale::Lang>(i);
|
||||
locale.SetLang(new_lang);
|
||||
|
||||
locale_filter.Filter(patterns[i][pat], locale);
|
||||
locale_filter.Filter(patterns[i][pat], locale, static_cast<Locale::Lang>(i));
|
||||
}
|
||||
}
|
||||
|
||||
locale.SetLang(old_lang);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user