added: notifications to users' emails

(core/notify.h core/notify.cpp)
       templatesnotify directory
       all notifications are managed by a second thread


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@512 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-09-30 22:31:20 +00:00
parent 9902ce2b78
commit 85b678a8fb
30 changed files with 769 additions and 37 deletions

View File

@@ -37,6 +37,7 @@ Ezc::Pattern pat_item_info;
Ezc::Pattern pat_item_tab_info;
Ezc::Pattern pat_dir_last_info;
Ezc::Functions functions;
@@ -379,7 +380,8 @@ void Templates::CreateFunctions()
functions.Insert("mount_param_withinfo", mount_param_withinfo);
functions.Insert("mount_param_thread_with_header", mount_param_thread_with_header);
functions.Insert("mount_param_thread_with_info", mount_param_thread_with_info);
functions.Insert("mount_is_thread", mount_is_thread);
functions.Insert("mount_is_cms", mount_is_cms);
// !! tymczasowa
@@ -459,6 +461,7 @@ void Templates::Read()
pat_dir_last_info.Directory(data.templates);
pat_dir_last_info.ParseFile("dir_last_info.html");
CreateFunctions();
#ifdef APPTEMPLATES
@@ -478,3 +481,5 @@ void Templates::Generate()
generator.Generate();
}