| version 1.36, 2006/09/16 22:53:25 |
version 1.37, 2006/09/20 15:34:37 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.35 2006-09-15 08:28:39 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.36 2006-09-16 22:53:25 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Line 924 function ezin_substitute_basic_propertie |
|
| Line 924 function ezin_substitute_basic_propertie |
|
| |
|
| $tmpl_obj->set(array( |
$tmpl_obj->set(array( |
| // Configuration |
// Configuration |
| 'ezin_name' => @$ezin_cfg['name'], |
'ezin_name' => @$ezin_cfg['name'], |
| 'ezin_url' => @$ezin_cfg['url'], |
'ezin_description' => @$ezin_cfg['description'], |
| 'ezin_encoding' => @$ezin_cfg['encoding'], |
'ezin_url' => @$ezin_cfg['url'], |
| 'ezin_charset' => @$ezin_cfg['encoding'], |
'ezin_encoding' => @$ezin_cfg['encoding'], |
| 'ezin_count' => 'N/A', |
'ezin_charset' => @$ezin_cfg['encoding'], |
| 'ezin_theme_dir' => @$ezin_cfg['theme']['dir'], |
'ezin_count' => 'N/A', |
| 'ezin_theme_url' => @$ezin_cfg['theme']['url'], |
'ezin_theme_dir' => @$ezin_cfg['theme']['dir'], |
| 'ezin_upload_dir' => @$ezin_cfg['upload']['dir'], |
'ezin_theme_url' => @$ezin_cfg['theme']['url'], |
| 'ezin_upload_url' => @$ezin_cfg['upload']['url'], |
'ezin_upload_dir' => @$ezin_cfg['upload']['dir'], |
| 'ezin_debug' => intval(@$ezin_cfg['debug_level']), |
'ezin_upload_url' => @$ezin_cfg['upload']['url'], |
| 'ezin_datetime' => date($ezin_cfg['format_datetime']), |
'ezin_debug' => intval(@$ezin_cfg['debug_level']), |
| 'ezin_date' => date($ezin_cfg['format_date']), |
'ezin_datetime' => date($ezin_cfg['format_datetime']), |
| 'ezin_time' => sprintf('%.2f', Platon::get_mtime() - @$ezin_sys['time']['start']), |
'ezin_date' => date($ezin_cfg['format_date']), |
| |
'ezin_time' => sprintf('%.2f', Platon::get_mtime() - @$ezin_sys['time']['start']), |
| |
|
| // Antispam |
// Antispam |
| 'ezin_antispam_question' => $ezin_cfg['antispam_question'], |
'ezin_antispam_question' => $ezin_cfg['antispam_question'], |