added: to config: 'content_type_header' parameter
the kind of "Content-Type" header send to the client if utf8 is enabled then 'charset=UTF-8' will also be appended added: to templates: an index pattern for 'rawcontent' used when 'rawcontent' parameter is present by default the template has only one [content] ezc function useful in AJAX requests git-svn-id: svn://ttmath.org/publicrep/winix/trunk@784 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -37,6 +37,8 @@ class Functions;
|
||||
namespace TemplatesFunctions
|
||||
{
|
||||
extern size_t pat_index;
|
||||
extern size_t pat_index_fullscreen;
|
||||
extern size_t pat_index_rawcontent;
|
||||
extern size_t pat_err_404;
|
||||
extern size_t pat_err_per_denied;
|
||||
|
||||
@@ -485,6 +487,8 @@ private:
|
||||
void ReadLocale();
|
||||
void SetHtmlFilter();
|
||||
void CreateFunctions(); // should be called before reading patterns (patterns will cache ezc functions)
|
||||
Ezc::Pattern * SelectIndexPatternFromItemAndMountPoint();
|
||||
Ezc::Pattern * SelectIndexPattern();
|
||||
|
||||
TemplatesFunctions::EzcGen generator;
|
||||
std::wstring temp;
|
||||
|
Reference in New Issue
Block a user