Diff for Metafox/subst.inc.php between version 1.25 and 1.26
| version 1.25, 2007/02/10 21:44:22 |
version 1.26, 2007/02/10 22:04:48 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.24 2007-01-17 10:03:26 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.25 2007-02-10 21:44:22 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 182 switch ($ezin_cgi['output']) { /* {{{ */ |
|
| Line 182 switch ($ezin_cgi['output']) { /* {{{ */ |
|
| $ezin_tmpl_main_fname = $ezin_sys['tmpl']['notfound']; |
$ezin_tmpl_main_fname = $ezin_sys['tmpl']['notfound']; |
| break; |
break; |
| case 'admin': |
case 'admin': |
| |
// for admin section we need to include this early |
| |
if (file_exists($ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file'])) { |
| |
include_once $ezin_cfg['theme']['dir'].'/'.$ezin_sys['tmpl']['fnc_file']; |
| |
} |
| $ezin_tmpl_main_fname = $ezin_sys['tmpl']['admin']; |
$ezin_tmpl_main_fname = $ezin_sys['tmpl']['admin']; |
| $ezin_tmpl_main_fname .= $ezin_sys['tmpl']['delim']; |
$ezin_tmpl_main_fname .= $ezin_sys['tmpl']['delim']; |
| $ezin_tmpl_main_fname .= $ezin_auth->getAuth() && $ezin_admin_action != 'logout' |
$ezin_tmpl_main_fname .= $ezin_auth->getAuth() && $ezin_admin_action != 'logout' |
Platon Group <platon@platon.org> http://platon.org/
|
|