|
From: Markus P. <mar...@us...> - 2005-04-20 00:20:28
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9293/includes Modified Files: page_tail.php Log Message: Revised page header/footer. Index: page_tail.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_tail.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** page_tail.php 19 Apr 2005 23:36:24 -0000 1.13 --- page_tail.php 20 Apr 2005 00:20:15 -0000 1.14 *************** *** 39,57 **** // Generate the fold/unfold categories switches // ! if ( $show_edit_blocks_icon ) { ! if ( ( $HTTP_COOKIE_VARS['phpbbEdit_Blocks'] ) != '' ) ! { ! $edit_on = $HTTP_COOKIE_VARS['phpbbEdit_Blocks']; ! } ! else if ( $userdata['user_level'] == ADMIN ) ! { ! $edit_on = true; ! } ! else ! { ! $edit_on = false; ! } ! $template->assign_block_vars('switch_edit_' . ( $edit_on ? 'on' : 'off' ), array()); } --- 39,45 ---- // Generate the fold/unfold categories switches // ! if ( $mx_show_edit_blocks_icon ) { ! $template->assign_block_vars('switch_edit_' . ( $mx_show_edit_blocks_on ? 'on' : 'off' ), array()); } *************** *** 59,77 **** // Compose additinal copy footer // ! for( $i = 0; $i < count($mxbb_footer_addup); $i++ ) ! { ! if ( $i == 0 ) ! { ! $mxbb_footer_text = $mxbb_footer_addup[$i]; ! } ! else ! { ! $mxbb_footer_text .= ', ' . $mxbb_footer_addup[$i]; ! } ! } ! ! if ( !empty($mxbb_footer_text) ) { ! $mxbb_footer_text = $lang['Modules_copy'] . '(' . $mxbb_footer_text . ')'; $mxbb_footer_text = '<a href="' . PORTAL_URL . 'index.' . $phpEx . '?sid=' . $userdata['session_id'] . '&mx_copy=true' . '" target="_blank">' . $mxbb_footer_text . '</a>'; } --- 47,53 ---- // Compose additinal copy footer // ! if ( count($mxbb_footer_addup) > 0 ) { ! $mxbb_footer_text = $lang['Modules_copy'] . '(' . implode(', ', $mxbb_footer_addup) . ')'; $mxbb_footer_text = '<a href="' . PORTAL_URL . 'index.' . $phpEx . '?sid=' . $userdata['session_id'] . '&mx_copy=true' . '" target="_blank">' . $mxbb_footer_text . '</a>'; } |