|
From: FlorinCB <ory...@us...> - 2008-11-06 00:00:36
|
Update of /cvsroot/mxbb/core/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv615 Modified Files: page_header.php Log Message: added isset for theme vars not defined in phpbb3 backend Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** page_header.php 5 Nov 2008 23:38:00 -0000 1.65 --- page_header.php 6 Nov 2008 00:00:29 -0000 1.66 *************** *** 210,215 **** 'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'], 'L_SEARCH_SELF' => $lang['Search_your_posts'], ! 'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'), ! 'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'), 'L_BACK_TO_TOP' => $lang['Back_to_top'], --- 210,215 ---- 'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'], 'L_SEARCH_SELF' => $lang['Search_your_posts'], ! 'L_WHOSONLINE_ADMIN' => isset($theme['fontcolor3']) ? sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>') : '', ! 'L_WHOSONLINE_MOD' => isset($theme['fontcolor2']) ? sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>') : '', 'L_BACK_TO_TOP' => $lang['Back_to_top'], *************** *** 218,223 **** 'U_SEARCH_NEW' => mx_append_sid(PHPBB_URL .'search.'.$phpEx.'?search_id=newposts'), ! 'LOGO' => $images['mx_logo'], ! 'THEME_GRAPHICS' => $images['theme_graphics'], 'NAV_IMAGES_HOME' => $images['mx_nav_home'], --- 218,223 ---- 'U_SEARCH_NEW' => mx_append_sid(PHPBB_URL .'search.'.$phpEx.'?search_id=newposts'), ! 'LOGO' => isset($images['mx_logo']) ? $images['mx_logo'] : '', ! 'THEME_GRAPHICS' => isset($images['theme_graphics']) ? $images['theme_graphics'] : '', 'NAV_IMAGES_HOME' => $images['mx_nav_home'], *************** *** 243,248 **** // These theme variables are not used for MX-Publisher, since MX-Publisher require a theme.css file // ! 'T_HEAD_STYLESHEET' => $theme['head_stylesheet'], ! 'T_BODY_BACKGROUND' => $theme['body_background'], 'T_BODY_BGCOLOR' => '#'.$theme['body_bgcolor'], 'T_BODY_TEXT' => '#'.$theme['body_text'], --- 243,248 ---- // These theme variables are not used for MX-Publisher, since MX-Publisher require a theme.css file // ! 'T_HEAD_STYLESHEET' => isset($theme['head_stylesheet']) ? $theme['head_stylesheet'] : '', ! 'T_BODY_BACKGROUND' => isset($theme['body_background']) ? $theme['body_background'] : '', 'T_BODY_BGCOLOR' => '#'.$theme['body_bgcolor'], 'T_BODY_TEXT' => '#'.$theme['body_text'], *************** *** 254,284 **** 'T_TR_COLOR2' => '#'.$theme['tr_color2'], 'T_TR_COLOR3' => '#'.$theme['tr_color3'], ! 'T_TR_CLASS1' => $theme['tr_class1'], ! 'T_TR_CLASS2' => $theme['tr_class2'], ! 'T_TR_CLASS3' => $theme['tr_class3'], ! 'T_TH_COLOR1' => '#'.$theme['th_color1'], ! 'T_TH_COLOR2' => '#'.$theme['th_color2'], ! 'T_TH_COLOR3' => '#'.$theme['th_color3'], ! 'T_TH_CLASS1' => $theme['th_class1'], ! 'T_TH_CLASS2' => $theme['th_class2'], ! 'T_TH_CLASS3' => $theme['th_class3'], ! 'T_TD_COLOR1' => '#'.$theme['td_color1'], ! 'T_TD_COLOR2' => '#'.$theme['td_color2'], ! 'T_TD_COLOR3' => '#'.$theme['td_color3'], ! 'T_TD_CLASS1' => $theme['td_class1'], ! 'T_TD_CLASS2' => $theme['td_class2'], ! 'T_TD_CLASS3' => $theme['td_class3'], ! 'T_FONTFACE1' => $theme['fontface1'], ! 'T_FONTFACE2' => $theme['fontface2'], ! 'T_FONTFACE3' => $theme['fontface3'], ! 'T_FONTSIZE1' => $theme['fontsize1'], ! 'T_FONTSIZE2' => $theme['fontsize2'], ! 'T_FONTSIZE3' => $theme['fontsize3'], ! 'T_FONTCOLOR1' => '#'.$theme['fontcolor1'], ! 'T_FONTCOLOR2' => '#'.$theme['fontcolor2'], ! 'T_FONTCOLOR3' => '#'.$theme['fontcolor3'], ! 'T_SPAN_CLASS1' => $theme['span_class1'], ! 'T_SPAN_CLASS2' => $theme['span_class2'], ! 'T_SPAN_CLASS3' => $theme['span_class3'], //+ MX-Publisher --- 254,284 ---- 'T_TR_COLOR2' => '#'.$theme['tr_color2'], 'T_TR_COLOR3' => '#'.$theme['tr_color3'], ! 'T_TR_CLASS1' => isset($theme['tr_class1']) ? $theme['tr_class1'] : '', ! 'T_TR_CLASS2' => isset($theme['tr_class2']) ? $theme['tr_class2'] : '', ! 'T_TR_CLASS3' => isset($theme['tr_class3']) ? $theme['tr_class3'] : '', ! 'T_TH_COLOR1' => isset($theme['th_color1']) ? '#'.$theme['th_color1'] : '', ! 'T_TH_COLOR2' => isset($theme['th_color2']) ? '#'.$theme['th_color2'] : '', ! 'T_TH_COLOR3' => isset($theme['th_color3']) ? '#'.$theme['th_color3'] : '', ! 'T_TH_CLASS1' => isset($theme['th_class1']) ? $theme['th_class1'] : '', ! 'T_TH_CLASS2' => isset($theme['th_class2']) ? $theme['th_class2'] : '', ! 'T_TH_CLASS3' => isset($theme['th_class3']) ? $theme['th_class3'] : '', ! 'T_TD_COLOR1' => isset($theme['td_color1']) ? '#'.$theme['td_color1'] : '', ! 'T_TD_COLOR2' => isset($theme['td_color2']) ? '#'.$theme['td_color2'] : '', ! 'T_TD_COLOR3' => isset($theme['td_color3']) ? '#'.$theme['td_color3'] : '', ! 'T_TD_CLASS1' => isset($theme['td_class1']) ? $theme['td_class1'] : '', ! 'T_TD_CLASS2' => isset($theme['td_class2']) ? $theme['td_class2'] : '', ! 'T_TD_CLASS3' => isset($theme['td_class3']) ? $theme['td_class3'] : '', ! 'T_FONTFACE1' => isset($theme['fontface1']) ? $theme['fontface1'] : '', ! 'T_FONTFACE2' => isset($theme['fontface2']) ? $theme['fontface2'] : '', ! 'T_FONTFACE3' => isset($theme['fontface3']) ? $theme['fontface3'] : '', ! 'T_FONTSIZE1' => isset($theme['fontsize1']) ? $theme['fontsize1'] : '', ! 'T_FONTSIZE2' => isset($theme['fontsize2']) ? $theme['fontsize2'] : '', ! 'T_FONTSIZE3' => isset($theme['fontsize3']) ? $theme['fontsize3'] : '', ! 'T_FONTCOLOR1' => isset($theme['fontcolor1']) ? '#'.$theme['fontcolor1'] : '', ! 'T_FONTCOLOR2' => isset($theme['fontcolor2']) ? '#'.$theme['fontcolor2'] : '', ! 'T_FONTCOLOR3' => isset($theme['fontcolor3']) ? '#'.$theme['fontcolor3'] : '', ! 'T_SPAN_CLASS1' => isset($theme['span_class1']) ? $theme['span_class1'] : '', ! 'T_SPAN_CLASS2' => isset($theme['span_class2']) ? $theme['span_class2'] : '', ! 'T_SPAN_CLASS3' => isset($theme['span_class3']) ? $theme['span_class3'] : '', //+ MX-Publisher *************** *** 311,315 **** 'MX_ADDITIONAL_JS_FILES' => $mx_addional_js_files, 'MX_ADDITIONAL_HEADER_TEXT' => $mx_addional_header_text, ! 'MX_ICON_CSS' => $images['mx_graphics']['icon_style'], //- MX-Publisher --- 311,315 ---- 'MX_ADDITIONAL_JS_FILES' => $mx_addional_js_files, 'MX_ADDITIONAL_HEADER_TEXT' => $mx_addional_header_text, ! 'MX_ICON_CSS' => isset($images['mx_graphics']['icon_style']) ? $images['mx_graphics']['icon_style'] : '', //- MX-Publisher |