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:
2010-01-28 15:39:01 +00:00
parent 5dac8af300
commit 09d427b4ba
65 changed files with 1949 additions and 848 deletions

View File

@@ -22,6 +22,7 @@
#include "lastcontainer.h"
#include "mounts.h"
#include "rebus.h"
#include "locale.h"
class Data
@@ -58,7 +59,8 @@ public:
// fast cgi: group of the socket
std::string fcgi_socket_group;
std::string templates;
std::string templates_dir;
std::string templates_dir_default; // templates from winix
std::string db_database;
std::string db_user;
@@ -109,6 +111,17 @@ public:
// directory for static files (for fastcgi authorizer mode)
std::string static_auth_dir;
// default locale: en pl
std::string locale_str;
// directory with locale files
std::string locale_dir;
// directory with default locale files (those from winix)
std::string locale_dir_default;
// below variables are based on the other config variables
// base_url_prefix + base_server
@@ -120,6 +133,10 @@ public:
// base_url_static_auth_prefix + base_server
std::string base_url_static_auth;
Locale locale;
// end config members
// -----------------------------------------------------------------