From: <on...@us...> - 2002-09-18 11:02:10
|
Update of /cvsroot/xoops/xoops-current/html/include In directory usw-pr-cvs1:/tmp/cvs-serv27667 Modified Files: functions.php cp_functions.php Log Message: no message Index: functions.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/include/functions.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** functions.php 6 Sep 2002 02:36:50 -0000 1.12 --- functions.php 18 Sep 2002 11:02:07 -0000 1.13 *************** *** 298,301 **** --- 298,302 ---- </body> </html>'; + exit(); } *************** *** 426,430 **** } if ( $xoopsUser ) { ! $arr =& $xoopsblock->getAllBlocksByGroup($xoopsUser->groups(), true, $side, XOOPS_BLOCK_VISIBLE); } else { $arr =& $xoopsblock->getAllBlocksByGroup(XoopsGroup::getByType("Anonymous"), true, $side, XOOPS_BLOCK_VISIBLE); --- 427,431 ---- } if ( $xoopsUser ) { ! $arr =& $xoopsblock->getAllBlocksByGroup($xoopsUser->getGroups(), true, $side, XOOPS_BLOCK_VISIBLE); } else { $arr =& $xoopsblock->getAllBlocksByGroup(XoopsGroup::getByType("Anonymous"), true, $side, XOOPS_BLOCK_VISIBLE); *************** *** 456,460 **** $arr = array(); if ( $xoopsUser ) { ! $arr =& $xoopsblock->getAllBlocksByGroup($xoopsUser->groups(), true, XOOPS_CENTERBLOCK_ALL, XOOPS_BLOCK_VISIBLE); } else { $arr =& $xoopsblock->getAllBlocksByGroup(XoopsGroup::getByType("Anonymous"), true, XOOPS_CENTERBLOCK_ALL, XOOPS_BLOCK_VISIBLE); --- 457,461 ---- $arr = array(); if ( $xoopsUser ) { ! $arr =& $xoopsblock->getAllBlocksByGroup($xoopsUser->getGroups(), true, XOOPS_CENTERBLOCK_ALL, XOOPS_BLOCK_VISIBLE); } else { $arr =& $xoopsblock->getAllBlocksByGroup(XoopsGroup::getByType("Anonymous"), true, XOOPS_CENTERBLOCK_ALL, XOOPS_BLOCK_VISIBLE); Index: cp_functions.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/include/cp_functions.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** cp_functions.php 16 Aug 2002 09:24:44 -0000 1.2 --- cp_functions.php 18 Sep 2002 11:02:07 -0000 1.3 *************** *** 25,29 **** xoops_header(false); include_once(XOOPS_ROOT_PATH."/modules/system/cache/adminmenu.php"); ! $admin_mids = XoopsModule::getByRight($xoopsUser->groups(), "A"); $abscissa_step = 140; // step for the left boundaries of layers $abscissa_offset = 15; // to choose the horizontal coordinate start offset for the layers --- 25,29 ---- xoops_header(false); include_once(XOOPS_ROOT_PATH."/modules/system/cache/adminmenu.php"); ! $admin_mids = XoopsModule::getByRight($xoopsUser->getGroups(), "A"); $abscissa_step = 140; // step for the left boundaries of layers $abscissa_offset = 15; // to choose the horizontal coordinate start offset for the layers |