changed: rename cmslu to winix
changed: html templates are a part of winix now
and the user can provide special html templates for its site
added: locales
added: html templates are using HtmlFilter now (locales)
changed: now we have html templates for each language
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@560 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
40
templates/misc.h
Executable file
40
templates/misc.h
Executable file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* This file is a part of CMSLU -- Content Management System like Unix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2010, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef headerfilecmslutemplatesmisc
|
||||
#define headerfilecmslutemplatesmisc
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "localefilter.h"
|
||||
#include "ezc.h"
|
||||
|
||||
|
||||
|
||||
|
||||
namespace TemplatesMisc
|
||||
{
|
||||
|
||||
typedef std::vector<std::vector<Ezc::Pattern> > Patterns;
|
||||
|
||||
|
||||
|
||||
// those functions from here are used in the second thread too
|
||||
|
||||
void Read(Patterns & patterns, size_t pat, LocaleFilter & locale_filter, const std::string & dir, const char * file, bool delete_white = false);
|
||||
void Read(Patterns & patterns, size_t pat, LocaleFilter & locale_filter, const char * file, bool delete_white = false);
|
||||
void ClearPatterns(Patterns & patterns, size_t len);
|
||||
|
||||
|
||||
|
||||
} // namespace TemplatesMisc
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user