|
From: Florin C B. <ory...@us...> - 2011-03-30 09:55:45
|
Update of /cvsroot/mxbb/core/templates/prosilver In directory vz-cvs-4.sog:/tmp/cvs-serv28004/prosilver Modified Files: prosilver.cfg Log Message: templating Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/templates/prosilver/prosilver.cfg,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** prosilver.cfg 29 Mar 2011 15:35:01 -0000 1.11 --- prosilver.cfg 30 Mar 2011 09:55:43 -0000 1.12 *************** *** 66,70 **** $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']['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 . "/imageset"); $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" ); --- 66,71 ---- $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" ); *************** *** 78,81 **** --- 79,83 ---- $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']; *************** *** 222,231 **** $images['topic_mod_delete'] = "$current_template_phpbb_images/topic_delete.gif"; ! $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 ---- $images['topic_mod_delete'] = "$current_template_phpbb_images/topic_delete.gif"; ! //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"; // |