|
From: Florin C B. <ory...@us...> - 2011-11-28 09:33:47
|
Update of /cvsroot/mxbb/mx_act/templates/_core In directory vz-cvs-4.sog:/tmp/cvs-serv17641/templates/_core Modified Files: _core.cfg Log Message: fixes Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_act/templates/_core/_core.cfg,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** _core.cfg 3 Jun 2008 20:07:03 -0000 1.3 --- _core.cfg 28 Nov 2011 09:33:45 -0000 1.4 *************** *** 27,31 **** // 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 ); // ------------------------------------------------------------------------- --- 27,32 ---- // 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); // ------------------------------------------------------------------------- *************** *** 33,44 **** // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // Define images // ------------------------------------------------------------------------- ! $mx_images['activity_icon_trophy'] = "$current_template_images/trophy.gif"; ! $mx_images['activity_new_game'] = "$current_template_images/new_game.gif"; ! $mx_images['activity_popular_game'] = "$current_template_images/popular_game.jpg"; ! // ------------------------------------------------------------------------- // Redefine phpBB images --- 34,49 ---- // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; + $current_template_phpbb_images = $current_template_path . "/images"; + $current_template_theme_images = !empty($current_template_root_path) && file_exists($mx_root_path . $current_template_root_path . "/images") ? $current_template_root_path . "/images" : ( !empty($cloned_template_path) && file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $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") ? $module_root_path . $current_template_root_path ."/images" : $current_template_theme_images . "/phpbb2"; + // ------------------------------------------------------------------------- // Define images // ------------------------------------------------------------------------- ! $mx_images['activity_icon_trophy'] = "$current_module_images/trophy.gif"; ! $mx_images['activity_new_game'] = "$current_module_images/new_game.gif"; ! $mx_images['activity_popular_game'] = "$current_module_images/popular_game.jpg"; ! $mx_images['activity_icon_mini_faq'] = "$current_template_phpbb_images/icon_mini_activity.gif"; // ------------------------------------------------------------------------- // Redefine phpBB images *************** *** 53,55 **** --- 58,61 ---- $mx_images['activity_icon_yim'] = $images['icon_yim']; + ?> \ No newline at end of file |