From: <on...@us...> - 2002-09-21 16:52:34
|
Update of /cvsroot/xoops/xoops-current/html In directory usw-pr-cvs1:/tmp/cvs-serv3296 Modified Files: header.php Log Message: no message Index: header.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/header.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** header.php 21 Sep 2002 07:20:16 -0000 1.9 --- header.php 21 Sep 2002 16:52:31 -0000 1.10 *************** *** 58,62 **** } unset($theme_css); - $xoopsTpl->assign('xoops_theme', $xoopsConfig['default_theme']); // assign theme specific language variables if any if ( isset($xoopsTheme) && is_array($xoopsTheme) ) { --- 58,61 ---- *************** *** 131,137 **** switch ($arr[$i]->getVar('side')) { case XOOPS_SIDEBLOCK_LEFT: - if (!isset($show_lblock)) { - $show_lblock = 1; - } $xoopsTpl->append_by_ref('xoops_lblocks', $fetched); break; --- 130,133 ---- *************** *** 168,188 **** unset($fetched); } - $xoopsCSS = array('lblock' => '', 'cblock' => '', 'rblock' => ''); - if (!isset($show_lblock)) { - $xoopsCSS['lblock'] = 'display: none;'; - } - if (!isset($show_rblock)) { - $xoopsCSS['rblock'] = 'display: none;'; - } - if (!isset($show_cblock)) { - $xoopsCSS['cblock'] = 'display: none;'; - } - ob_start(); - include(XOOPS_ROOT_PATH.'/include/xoopscss.php'); - $contents = ob_get_contents(); - ob_end_clean(); - $xoopsTpl->assign('xoops_css', $contents); - unset($xoopsCSS); - unset($contents); ob_start(); include(XOOPS_ROOT_PATH.'/include/xoopsjs.php'); --- 164,167 ---- |