|
From: FlorinCB <ory...@us...> - 2008-11-05 23:38:07
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32079 Modified Files: page_header.php Log Message: fixed not always defined page_header variables Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** page_header.php 31 Oct 2008 19:02:21 -0000 1.64 --- page_header.php 5 Nov 2008 23:38:00 -0000 1.65 *************** *** 153,157 **** // $mx_addional_css_files = ''; ! if ( count($mx_page->mxbb_css_addup) > 0 ) { foreach($mx_page->mxbb_css_addup as $key => $mx_css_path) --- 153,157 ---- // $mx_addional_css_files = ''; ! if (isset($mx_page->mxbb_css_addup) && (count($mx_page->mxbb_css_addup) > 0)) { foreach($mx_page->mxbb_css_addup as $key => $mx_css_path) *************** *** 165,169 **** // $mx_addional_js_files = ''; ! if ( count($mx_page->mxbb_js_addup) > 0 ) { foreach($mx_page->mxbb_js_addup as $key => $mx_js_path) --- 165,169 ---- // $mx_addional_js_files = ''; ! if (isset($mx_page->mxbb_js_addup) && (count($mx_page->mxbb_js_addup) > 0)) { foreach($mx_page->mxbb_js_addup as $key => $mx_js_path) *************** *** 177,181 **** // $mx_addional_header_text = ''; ! if ( count($mx_page->mxbb_header_addup) > 0 ) { foreach($mx_page->mxbb_header_addup as $key => $mx_header_text) --- 177,181 ---- // $mx_addional_header_text = ''; ! if (isset($mx_page->mxbb_header_addup) && (count($mx_page->mxbb_header_addup) > 0)) { foreach($mx_page->mxbb_header_addup as $key => $mx_header_text) |