|
From: Jon O. <jon...@us...> - 2008-02-11 22:49:40
|
Update of /cvsroot/mxbb/core/modules/mx_coreblocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7371 Modified Files: mx_online.php Log Message: Fix for the online block. Should not show phpBB2 info when in internal mode Index: mx_online.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_coreblocks/mx_online.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** mx_online.php 4 Feb 2008 16:04:30 -0000 1.25 --- mx_online.php 11 Feb 2008 22:49:29 -0000 1.26 *************** *** 188,192 **** } } ! if ( $total_online_users == 0 ) { --- 188,192 ---- } } ! if ( $total_online_users == 0 ) { *************** *** 424,427 **** --- 424,437 ---- )); + switch (PORTAL_BACKEND) + { + case 'internal': + + break; + default: + $template->assign_block_vars("switch_phpbb", array()); + + } + $template->pparse('body_online'); ?> \ No newline at end of file |