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:
@@ -76,7 +76,7 @@ void LocaleFilter::Parse(std::string & str)
|
||||
{
|
||||
++pchar;
|
||||
ReadKey();
|
||||
res += FilterValue(plocale->Get(key));
|
||||
res += FilterValue(plocale->Get(key, lang));
|
||||
}
|
||||
else
|
||||
if( *pchar == '\\' && (*(pchar+1) == open_mark || *(pchar+1) == closing_mark || *(pchar+1) == '\\') )
|
||||
@@ -110,8 +110,10 @@ void LocaleFilter::FilterText(Ezc::Pattern::Item & item)
|
||||
|
||||
|
||||
|
||||
void LocaleFilter::Filter(Ezc::Pattern & pattern, const Locale & locale)
|
||||
void LocaleFilter::Filter(Ezc::Pattern & pattern, const Locale & locale, Locale::Lang lang_)
|
||||
{
|
||||
plocale = &locale;
|
||||
lang = lang_;
|
||||
|
||||
FilterText( pattern.item_root );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user