|
From: FlorinCB <ory...@us...> - 2008-08-27 12:24:59
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14472/prosilver Modified Files: prosilver.cfg Log Message: voting images Index: prosilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb3blocks/templates/prosilver/prosilver.cfg,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** prosilver.cfg 27 Aug 2008 05:17:39 -0000 1.3 --- prosilver.cfg 27 Aug 2008 12:23:47 -0000 1.4 *************** *** 37,48 **** // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path . "/images" : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path . "/images" : $default_template_path . "/images" ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_root_path = str_replace($module_root_path, "", $current_template_path); ! $current_template_images = PORTAL_URL . $current_template_root_path . "/images"; ! $current_template_theme_images = !empty($current_template_root_path) && file_exists( $mx_root_path . $current_template_root_path . "/images" ) ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); // ------------------------------------------------------------------------- --- 37,49 ---- // Do some checks // ------------------------------------------------------------------------- ! $current_template_path = file_exists($mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path); ! $current_template_root_path = str_replace($module_root_path, "", $current_template_path); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- ! $current_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_template_theme_images = !empty($current_template_root_path) && file_exists($mx_root_path . $current_template_root_path . "/images") ? PORTAL_URL . $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? PORTAL_URL . cloned_template_path . "/images" : PORTAL_URL . "templates/_core/images"); ! $current_module_images = empty($current_template_root_path) && file_exists($module_root_path . $current_template_root_path ."/images") ? PORTAL_URL . $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; // ------------------------------------------------------------------------- *************** *** 99,104 **** $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = "$current_template_theme_images/phpbb2/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = "$current_template_theme_images/phpbb2/vote_rcap.gif"; ?> \ No newline at end of file --- 100,105 ---- $mx_images['mx_voting_graphic'] = $mx_images['voting_graphic']; // Array() ! $mx_images['mx_vote_bar'] = ($current_module_images) ? "$current_module_images/voting_bar.gif" : "$current_template_theme_images/phpbb2/voting_bar.gif"; ! $mx_images['mx_vote_lcap'] = ($current_module_images) ? "$current_module_images/vote_lcap.gif" : "$current_template_theme_images/phpbb2/vote_lcap.gif"; ! $mx_images['mx_vote_rcap'] = ($current_module_images) ? "$current_module_images/vote_rcap.gif" : "$current_template_theme_images/phpbb2/vote_rcap.gif"; ?> \ No newline at end of file |