added: some ezc functions for displaying current date
current_sec, current_min, current_hour, current_year, ... git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1002 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2014, Tomasz Sowa
|
||||
* Copyright (c) 2008-2015, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -201,6 +201,25 @@ void Templates::CreateFunctions()
|
||||
ezc_functions.Insert("config_base_url_common", config_base_url_common);
|
||||
|
||||
|
||||
/*
|
||||
current date
|
||||
*/
|
||||
ezc_functions.Insert("current_sec_utc", current_sec_utc);
|
||||
ezc_functions.Insert("current_min_utc", current_min_utc);
|
||||
ezc_functions.Insert("current_hour_utc", current_hour_utc);
|
||||
ezc_functions.Insert("current_day_utc", current_day_utc);
|
||||
ezc_functions.Insert("current_month_utc", current_month_utc);
|
||||
ezc_functions.Insert("current_year_utc", current_year_utc);
|
||||
ezc_functions.Insert("current_date_utc", current_date_utc);
|
||||
ezc_functions.Insert("current_sec", current_sec);
|
||||
ezc_functions.Insert("current_min", current_min);
|
||||
ezc_functions.Insert("current_hour", current_hour);
|
||||
ezc_functions.Insert("current_day", current_day);
|
||||
ezc_functions.Insert("current_month", current_month);
|
||||
ezc_functions.Insert("current_year", current_year);
|
||||
ezc_functions.Insert("current_date", current_date);
|
||||
|
||||
|
||||
/*
|
||||
dir
|
||||
*/
|
||||
|
Reference in New Issue
Block a user