Diff for Metafox/subst.inc.php between version 1.26 and 1.27
| version 1.26, 2007/02/10 22:04:48 |
version 1.27, 2007/02/18 21:30:29 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.25 2007-02-10 21:44:22 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.26 2007-02-10 22:04:48 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 217 switch ($ezin_cgi['output']) { /* {{{ */ |
|
| Line 217 switch ($ezin_cgi['output']) { /* {{{ */ |
|
| break; |
break; |
| case 'author': |
case 'author': |
| if (strlen($ezin_tmpl_key) <= 0) { |
if (strlen($ezin_tmpl_key) <= 0) { |
| $ezin_tmpl_key = $ezin_sys['tmpl']['delim'].'author'; |
$ezin_tmpl_key = $ezin_sys['tmpl']['delim'].'author'; // TODO? |
| } |
} |
| $ezin_tmpl_main_fname = $ezin_sys['tmpl']['author'].$ezin_tmpl_key; |
$ezin_tmpl_main_fname = $ezin_sys['tmpl']['author'].$ezin_tmpl_key; |
| break; |
break; |
| |
case 'author_edit': |
| |
if (strlen($ezin_tmpl_key) <= 0) { |
| |
$ezin_tmpl_key = $ezin_sys['tmpl']['delim'].'author_edit'; // TODO? |
| |
} |
| |
$ezin_tmpl_main_fname = $ezin_sys['tmpl']['author_edit'].$ezin_tmpl_key; |
| |
break; |
| } /* }}} */ |
} /* }}} */ |
| |
|
| $ezin_tmpl_main = new HTML_Template_Platon($ezin_tmpl_main_fname); |
$ezin_tmpl_main = new HTML_Template_Platon($ezin_tmpl_main_fname); |
Platon Group <platon@platon.org> http://platon.org/
|
|