added: date_creation and date_modification to items
changed: function 'run' is using a template: fun_run.html there is: [item_run] called from this template git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@489 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -24,6 +24,8 @@ long user_id;
|
||||
long group_id;
|
||||
int privileges;
|
||||
|
||||
tm date_creation;
|
||||
tm date_modification;
|
||||
|
||||
std::string subject;
|
||||
std::string content;
|
||||
@@ -82,6 +84,10 @@ void Clear()
|
||||
default_item = -1;
|
||||
|
||||
content_id = -1;
|
||||
|
||||
time_t t = std::time(0);
|
||||
date_creation = *std::localtime( &t );
|
||||
date_modification = date_creation;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user