|
From: FlorinCB <ory...@us...> - 2008-12-17 00:26:43
|
Update of /cvsroot/mxbb/mx_calsnails/templates/_core In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21731/templates/_core Modified Files: _core.cfg Log Message: development version 2.9.0 Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/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:08:50 -0000 1.3 --- _core.cfg 17 Dec 2008 00:26:36 -0000 1.4 *************** *** 21,25 **** // Do not alter this line! // ! define(MX_TEMPLATE_CONFIG, TRUE); $mx_template_config = true; --- 21,28 ---- // Do not alter this line! // ! //define(MX_TEMPLATE_CONFIG, TRUE); ! // ! // Do not alter this line! ! // $mx_template_config = true; *************** *** 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 ); // ------------------------------------------------------------------------- --- 30,35 ---- // 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,36 **** --- 37,42 ---- // ------------------------------------------------------------------------- $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"; // ------------------------------------------------------------------------- *************** *** 41,46 **** // Redefine phpBB images // ------------------------------------------------------------------------- ! $mx_images['calsnails_icon_edit'] = $images['icon_edit']; ! $mx_images['calsnails_icon_delpost'] = $images['icon_delpost']; ?> \ No newline at end of file --- 47,52 ---- // Redefine phpBB images // ------------------------------------------------------------------------- ! $mx_images['calsnails_icon_edit'] = "$current_module_images/{LANG}/icon_post_edit.gif"; ! $mx_images['calsnails_icon_delpost'] = "$current_module_images/{LANG}/icon_post_delete.gif"; ?> \ No newline at end of file |