From: <ok...@us...> - 2003-01-06 19:42:00
|
Update of /cvsroot/xoops/xoops2 In directory sc8-pr-cvs1:/tmp/cvs-serv15602 Modified Files: header.php Log Message: removed $xoopsOption['template_used'] Index: header.php =================================================================== RCS file: /cvsroot/xoops/xoops2/header.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** header.php 5 Jan 2003 16:33:24 -0000 1.2 --- header.php 6 Jan 2003 19:41:55 -0000 1.3 *************** *** 43,47 **** $xoopsOption['show_rblock'] = (!empty($xoopsOption['show_rblock'])) ? $xoopsOption['show_rblock'] : 0; themeheader($xoopsOption['show_rblock']); ! if (!empty($xoopsOption['template_used'])) { // include Smarty template engine and initialize it require_once XOOPS_ROOT_PATH.'/class/template.php'; --- 43,47 ---- $xoopsOption['show_rblock'] = (!empty($xoopsOption['show_rblock'])) ? $xoopsOption['show_rblock'] : 0; themeheader($xoopsOption['show_rblock']); ! if (!empty($xoopsOption['template_main'])) { // include Smarty template engine and initialize it require_once XOOPS_ROOT_PATH.'/class/template.php'; *************** *** 231,235 **** $xoopsTpl->assign('xoops_showcblock', 0); } ! if (empty($xoopsOption['template_used'])) { // new themes using Smarty does not have old functions that are required in old modules, so include them now include XOOPS_ROOT_PATH.'/include/old_theme_functions.php'; --- 231,235 ---- $xoopsTpl->assign('xoops_showcblock', 0); } ! if (empty($xoopsOption['template_main'])) { // new themes using Smarty does not have old functions that are required in old modules, so include them now include XOOPS_ROOT_PATH.'/include/old_theme_functions.php'; |