changed: cmslu building
Makefile from cmslu/ builds only: confparser.a content.a core.a templates.a the proper *.fcgi file is created from an application changed: all cmslu functions have english names (ls, emacs, etc) fixed: function: login/logout are placed where there are permissions git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@474 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -188,6 +188,8 @@ void Templates::CreateFunctions()
|
||||
functions.Insert("item_dir", item_dir);
|
||||
functions.Insert("item_url", item_url);
|
||||
functions.Insert("item_link", item_link);
|
||||
functions.Insert("item_can_read", item_can_read);
|
||||
|
||||
|
||||
functions.Insert("item_old_id", item_old_id);
|
||||
functions.Insert("item_old_subject", item_old_subject);
|
||||
@@ -215,6 +217,7 @@ void Templates::CreateFunctions()
|
||||
dir
|
||||
*/
|
||||
functions.Insert("dir", dir);
|
||||
functions.Insert("dir_can_read_exec", dir_can_read_exec);
|
||||
|
||||
functions.Insert("dir_childs_tab", dir_childs_tab);
|
||||
functions.Insert("dir_childs_tab_url", dir_childs_tab_url);
|
||||
@@ -270,6 +273,13 @@ void Templates::CreateFunctions()
|
||||
|
||||
// !! tymczasowa
|
||||
functions.Insert("is_group_tv", is_group_tv);
|
||||
|
||||
|
||||
#ifdef APPTEMPLATES
|
||||
|
||||
AppTemplateFunctions::CreateAppFunctions(functions);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -311,7 +321,7 @@ void Templates::Read()
|
||||
pat_fun_default_item.ParseFile("fun_default_item.html");
|
||||
|
||||
pat_fun_privileges.Directory(data.templates);
|
||||
pat_fun_privileges.ParseFile("fun_privileges.html");
|
||||
pat_fun_privileges.ParseFile("fun_priv.html");
|
||||
|
||||
pat_err_others.Directory(data.templates);
|
||||
pat_err_others.ParseFile("err_others.html");
|
||||
|
Reference in New Issue
Block a user