Changeset 4611
- Timestamp:
- 08/29/10 19:35:13 (18 months ago)
- Location:
- trunk/core/viewhelper/smarty
- Files:
-
- 2 edited
-
function.load_module.php (modified) (1 diff)
-
modifier.dateformat.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/viewhelper/smarty/function.load_module.php
r4578 r4611 65 65 66 66 # Load class, if not already loaded 67 if(class_exists($module_classname, false) == false)67 if(class_exists($module_classname, false) === false) 68 68 { 69 69 # Check if class was loaded 70 if(Clansuite_Loader::loadModul($module_classname) == false)70 if(Clansuite_Loader::loadModul($module_classname) === false) 71 71 { 72 72 return '<br/>Module missing or misspelled: <strong>' . $module_classname . '</strong>'; -
trunk/core/viewhelper/smarty/modifier.dateformat.php
r4493 r4611 19 19 * Example: {$timestamp|date} 20 20 21 * @version 1.022 21 * @author Jens-André Koch <jakoch@web.de> 23 22 * @param string = has to be a unix timestamp … … 26 25 function smarty_modifier_dateformat($string) 27 26 { 28 if (!defined('DATE_FORMAT'))29 {30 define('DATE_FORMAT', "d.m.Y H:i");31 }32 33 27 # it's a unix timestamp? 34 28 if(mb_strlen($string) == 11)
Note: See TracChangeset
for help on using the changeset viewer.
