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

@@ -17,6 +17,8 @@
#include "misc.h"
#include "ckeditorgetparser.h"
#include "../core/locale.h"
#include "indexpatterns.h"
namespace TemplatesFunctions
@@ -66,7 +68,7 @@ namespace TemplatesFunctions
};
extern IndexPatterns index_patterns;
extern TemplatesMisc::Patterns patterns;
extern PatternCacher pattern_cacher;
extern Locale locale;
@@ -369,7 +371,7 @@ namespace TemplatesFunctions
void winix_err_code(Info & i);
void winix_is_err_in_locales(Info & i);
void winix_err_msg_from_locales(Info & i);
void winix_content_full(Info & i);
void winix_show_content_in_full_window(Info & i);
} // namespace TemplatesFunctions
@@ -384,6 +386,8 @@ public:
void ClearPatterns();
void ReadTemplates();
void ReadNewIndexTemplates();
void ReadIndexFileNames();
void CreateFunctions();
void Generate();
void GenerateRunRaw();