|
From: FlorinCB <ory...@us...> - 2009-01-24 13:42:49
|
Update of /cvsroot/mxbb/mx_pjirc/templates/_core In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4000/templates/_core Added Files: _core.cfg Log Message: upgrade --- NEW FILE: _core.cfg --- <?php /** * * @package Mx-Publisher CMS Module - mx_pjirc * @version $Id: _core.cfg,v 1.1 2009/01/24 13:42:43 orynider Exp $ * @copyright (c) 2002-2006 Mx-Publisher Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // ** Configuration file for subSilver template ** // // ** copyright (C) 2001 The phpBB Group ** // ** Created by subBlue design ** // ** www.subBlue.com ** // // ** subSilver dev. forum: www.subSky.com/phpBB2/ ** // // $Id: _core.cfg,v 1.1 2009/01/24 13:42:43 orynider Exp $ // // Please note that to enable support of different languages // the ". LANG ." place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // $mx_template_config = true; // ------------------------------------------------------------------------- // 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"; // ------------------------------------------------------------------------- // (Re)Define images // ------------------------------------------------------------------------- // MOM Pics $mx_images['upload_song'] = "$current_module_images/{LANG}/upload_song.gif"; $mx_images['no_image'] = "$current_module_images/no_image.gif"; // Use standard phpBB graphics // $mx_images['icon_quote'] = "$current_module_images/{LANG}/icon_post_quote.gif"; $mx_images['icon_edit'] = "$current_module_images/{LANG}/icon_post_edit.gif"; $mx_images['icon_search'] = "$current_module_images/{LANG}/icon_user_search.gif"; $mx_images['icon_profile'] = "$current_module_images/{LANG}/icon_user_profile.gif"; $mx_images['icon_pm'] = "$current_module_images/{LANG}/icon_contact_pm.gif"; $mx_images['icon_email'] = "$current_module_images/{LANG}/icon_contact_email.gif"; $mx_images['icon_delpost'] = "$current_module_images/{LANG}/icon_post_delete.gif"; $mx_images['icon_ip'] = "$current_module_images/{LANG}/icon_ip.gif"; $mx_images['icon_www'] = "$current_module_images/{LANG}/icon_contact_www.gif"; $mx_images['icon_icq'] = "$current_module_images/{LANG}/icon_contact_icq.gif"; $mx_images['icon_aim'] = "$current_module_images/{LANG}/icon_contact_aim.gif"; $mx_images['icon_yim'] = "$current_module_images/{LANG}/icon_contact_yahoo.gif"; $mx_images['icon_msnm'] = "$current_module_images/{LANG}/icon_contact_msnm.gif"; $mx_images['icon_minipost'] = "$current_module_images/icon_minipost.gif"; $mx_images['icon_gotopost'] = "$current_module_images/icon_minipost.gif"; $mx_images['icon_minipost_new'] = "$current_module_images/icon_minipost_new.gif"; // // Last Message and Anouncement block compatibility // $mx_images['icon_latest_reply'] = "$current_module_images/icon_topic_latest.gif"; $mx_images['icon_newest_reply'] = "$current_module_images/icon_topic_newest.gif"; $mx_images['forum'] = "$current_module_images/forum_read.gif"; $mx_images['forum_new'] = "$current_module_images/forum_unread.gif"; $mx_images['forum_locked'] = "$current_module_images/forum_read_locked.gif"; $mx_images['folder'] = "$current_module_images/topic_read.gif"; $mx_images['folder_new'] = "$current_module_images/topic_unread.gif"; $mx_images['folder_hot'] = "$current_module_images/topic_read_hot.gif"; $mx_images['folder_hot_new'] = "$current_module_images/topic_unread_hot.gif"; $mx_images['folder_locked'] = "$current_module_images/topic_read_locked.gif"; $mx_images['folder_locked_new'] = "$current_module_images/topic_unread_locked.gif"; $mx_images['folder_sticky'] = "$current_module_images/sticky_read.gif"; $mx_images['folder_sticky_new'] = "$current_module_images/sticky_unread.gif"; $mx_images['folder_announce'] = "$current_module_images/announce_read.gif"; $mx_images['folder_announce_new'] = "$current_module_images/announce_unread.gif"; ?> |