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:
2010-06-21 23:53:19 +00:00
parent 08f5865c72
commit 1e3f5e8695
22 changed files with 631 additions and 344 deletions

View File

@@ -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 );
}