- Timestamp:
- Mar 3, 2023 4:39:34 AM (14 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/list_template.cli.php
r768 r782 123 123 $listrows[] = "<\x3fphp echo '9999-12-31' == \$list[\$i]['$field'] ? '' : date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])); \x3f>"; 124 124 } else if (preg_match('/datetime/i', $type)) { 125 $listrows[] = "<\x3fphp echo Validator::validateStrDate(\$list[\$i]['$field'])? date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])) : ''; \x3f>";125 $listrows[] = "<\x3fphp echo strtotime(\$list[\$i]['modified_datetime']) > 0 ? date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])) : ''; \x3f>"; 126 126 } else if (preg_match('/date/i', $type)) { 127 $listrows[] = "<\x3fphp echo Validator::validateStrDate(\$list[\$i]['$field'])? date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])) : ''; \x3f>";127 $listrows[] = "<\x3fphp echo strtotime(\$list[\$i]['modified_datetime']) > 0 ? date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])) : ''; \x3f>"; 128 128 } else if (preg_match('/(amount|_rate)/i', $field)) { 129 129 $listrows[] = "<\x3fphp printf('$%01.2f', \$list[\$i]['$field']); \x3f>"; -
trunk/lib/App.inc.php
r778 r782 91 91 'site_version' => '', // Version of this application (set automatically during start() if site_version_file is used). 92 92 'site_version_file' => 'docs/version.txt', // File containing version number of this app, relative to the include path. 93 'template_ext' => 'ihtml', // Legacy template file send in.ihtml, newer sites use .inc.html or .inc.php.93 'template_ext' => 'ihtml', // Template filename extension. Legacy template files use .ihtml, newer sites use .inc.html or .inc.php. 94 94 95 95 // The location the user will go if the system doesn't know where else to send them.
Note: See TracChangeset
for help on using the changeset viewer.