|
From: Florin C B. <ory...@us...> - 2011-03-30 09:55:46
|
Update of /cvsroot/mxbb/core/templates/subsilver2 In directory vz-cvs-4.sog:/tmp/cvs-serv28004/subsilver2 Modified Files: subsilver2.cfg Log Message: templating Index: subsilver2.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/subsilver2/subsilver2.cfg,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** subsilver2.cfg 5 Oct 2008 23:10:24 -0000 1.8 --- subsilver2.cfg 30 Mar 2011 09:55:43 -0000 1.9 *************** *** 49,53 **** // and with $mx_template_settings['cloned_template'] = 'subSilver'. // If this template is a full set of *.tpl files, leave this blank. ! $mx_template_settings['cloned_template'] = ''; // --- 49,53 ---- // and with $mx_template_settings['cloned_template'] = 'subSilver'. // If this template is a full set of *.tpl files, leave this blank. ! $mx_template_settings['cloned_template'] = '_core'; // *************** *** 65,80 **** $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/menu_icons" ) ? $cloned_template_path . "/images/menu_icons" : $default_template_path . "/images/menu_icons" ); $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); ! $mx_images['mx_graphics']['phpbb_icons'] = !empty($current_template_path) && file_exists( $phpbb_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && file_exists( $phpbb_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); // // Prefix all paths to get full img URLs // ! $current_template_images = PORTAL_URL . $mx_images['mx_graphics']['general']; // Logo etc ! $current_template_page_images = PORTAL_URL . $mx_images['mx_graphics']['page_icons']; // Used by adminCP - Pages ! $current_template_block_images = PORTAL_URL . $mx_images['mx_graphics']['block_icons']; // Used by userCP block buttons ! $current_template_menu_images = PORTAL_URL . $mx_images['mx_graphics']['menu_icons']; // Used by adminCP - Navigation Menu ! $current_template_admin_images = PORTAL_URL . $mx_images['mx_graphics']['admin_icons']; // Internal graphics for the MX-Publisher adminCP ! $current_template_phpbb_images = PHPBB_URL . $mx_images['mx_graphics']['phpbb_icons']; // phpBB graphics template ! $current_template_theme_images = PORTAL_URL . $current_template_path . '/theme/images'; // --- 65,85 ---- $mx_images['mx_graphics']['menu_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/menu_icons" ) ? $current_template_path . "/images/menu_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/menu_icons" ) ? $cloned_template_path . "/images/menu_icons" : $default_template_path . "/images/menu_icons" ); $mx_images['mx_graphics']['admin_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/admin_icons" ) ? $current_template_path . "/images/admin_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/admin_icons" ) ? $cloned_template_path . "/images/admin_icons" : $default_template_path . "/images/admin_icons" ); ! $mx_images['mx_graphics']['phpbb_icons'] = !empty($mx_user->default_template_name) && file_exists($phpbb_root_path . "styles/" . $mx_user->default_template_name . "/imageset") ? "styles/" . $mx_user->default_template_name . "/imageset" : ( !empty($mx_user->cloned_template_name) && file_exists($phpbb_root_path . "styles/" . $mx_user->cloned_template_name . "/imageset") ? "styles/" . $mx_user->cloned_template_name . "/imageset" : $current_template_path . "/imageset"); ! $mx_images['mx_graphics']['addon_icons'] = file_exists( $mx_root_path . $current_template_path . "/images/addon_icons" ) ? $current_template_path . "/images/addon_icons" : ( file_exists( $mx_root_path . $cloned_template_path . "/images/addon_icons" ) ? $cloned_template_path . "/images/addon_icons" : $default_template_path . "/images/addon_icons" ); ! $mx_images['mx_graphics']['mx_icons'] = !empty($current_template_path) && file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images"); ! $mx_images['mx_graphics']['theme_icons'] = file_exists( $mx_root_path . $current_template_path . "/theme/images" ) ? $current_template_path . "/theme/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/theme/images" ) ? $cloned_template_path . "/theme/images" : $default_template_path . "/theme/images" ); // // Prefix all paths to get full img URLs // ! $current_template_images = PORTAL_URL . $mx_images['mx_graphics']['general']; // Logo etc ! $current_template_page_images = PORTAL_URL . $mx_images['mx_graphics']['page_icons']; // Used by adminCP - Pages ! $current_template_block_images = PORTAL_URL . $mx_images['mx_graphics']['block_icons']; // Used by userCP block buttons ! $current_template_menu_images = PORTAL_URL . $mx_images['mx_graphics']['menu_icons']; // Used by adminCP - Navigation Menu ! $current_template_admin_images = PORTAL_URL . $mx_images['mx_graphics']['admin_icons']; // Internal graphics for the mxBB adminCP ! $current_template_phpbb_images = PHPBB_URL . $mx_images['mx_graphics']['phpbb_icons']; // phpBB graphics template ! $current_template_addon_images = PORTAL_URL . $mx_images['mx_graphics']['addon_icons']; // Addons and Modules graphics template ! $current_template_theme_images = PORTAL_URL . $mx_images['mx_graphics']['mx_icons']; ! $current_template_style_images = PORTAL_URL . $mx_images['mx_graphics']['theme_icons']; // *************** *** 219,227 **** */ ! $images['voting_graphic'][0] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][1] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][2] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][3] = "$current_template_phpbb_images/voting_bar.gif"; ! $images['voting_graphic'][4] = "$current_template_phpbb_images/voting_bar.gif"; // --- 224,237 ---- */ ! //for pafileDB and other modules ported from vesion 2 ! $images['mx_vote_lcap'] = "$current_template_addon_images/vote_lcap.gif"; ! $images['mx_vote_rcap'] = "$current_template_addon_images/vote_rcap.gif"; ! $images['mx_vote_bar'] = "$current_template_addon_images/voting_bar.gif"; ! $images['mx_voting_graphic'] = "$current_template_addon_images/voting_bar.gif"; ! $images['voting_graphic'][0] = "$current_template_addon_images/voting_bar.gif"; ! $images['voting_graphic'][1] = "$current_template_addon_images/voting_bar.gif"; ! $images['voting_graphic'][2] = "$current_template_addon_images/voting_bar.gif"; ! $images['voting_graphic'][3] = "$current_template_addon_images/voting_bar.gif"; ! $images['voting_graphic'][4] = "$current_template_addon_images/voting_bar.gif"; // *************** *** 267,270 **** // Online Block // ! $mx_images['mx_who_is_online'] = "$current_template_theme_images/whosonline.gif"; ?> --- 277,280 ---- // Online Block // ! $mx_images['mx_who_is_online'] = "$current_template_style_images/whosonline.gif"; ?> |