|
From: Jon O. <jon...@us...> - 2008-07-01 21:50:37
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv448/templates/_core Added Files: mx_pafiledb.cfg Removed Files: _core.cfg Log Message: image buttons minor bugfixes cleanup --- _core.cfg DELETED --- --- NEW FILE: mx_pafiledb.cfg --- <?php /** * * @package MX-Publisher Module - mx_pafiledb * @version $Id: mx_pafiledb.cfg,v 1.1 2008/07/01 21:50:32 jonohlsson Exp $ * @copyright (c) 2002-2006 MX-Publisher Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // 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! // define(MX_TEMPLATE_CONFIG, TRUE); $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 ); // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; // ------------------------------------------------------------------------- // Define buttons // ------------------------------------------------------------------------- $mx_images['pa_search'] = "$current_template_images/{LANG}/icon_pa_search.gif"; $mx_images['buttontype']['pa_search'] = MX_BUTTON_IMAGE; $mx_images['pa_stats'] = "$current_template_images/{LANG}/icon_pa_stats.gif"; $mx_images['buttontype']['pa_stats'] = MX_BUTTON_IMAGE; $mx_images['pa_toplist'] = "$current_template_images/{LANG}/icon_pa_toplist.gif"; $mx_images['buttontype']['pa_toplist'] = MX_BUTTON_IMAGE; $mx_images['pa_upload'] = "$current_template_images/{LANG}/icon_pa_upload.gif"; $mx_images['buttontype']['pa_upload'] = MX_BUTTON_IMAGE; $mx_images['pa_viewall'] = "$current_template_images/{LANG}/icon_pa_viewall.gif"; $mx_images['buttontype']['pa_viewall'] = MX_BUTTON_IMAGE; $mx_images['pa_moderator'] = ""; $mx_images['buttontype']['pa_moderator'] = MX_BUTTON_TEXT; $mx_images['pa_download'] = "$current_template_images/{LANG}/icon_pa_download.gif"; $mx_images['buttontype']['pa_download'] = MX_BUTTON_IMAGE; $mx_images['pa_email'] = "$current_template_images/{LANG}/icon_pa_email.gif"; $mx_images['buttontype']['pa_email'] = MX_BUTTON_IMAGE; $mx_images['pa_icon_edit'] = $images['icon_edit']; $mx_images['buttontype']['pa_icon_edit'] = MX_BUTTON_IMAGE; $mx_images['pa_icon_delpost'] = $images['icon_delpost']; $mx_images['buttontype']['pa_icon_delpost'] = MX_BUTTON_IMAGE; $mx_images['pa_rate'] = "$current_template_images/{LANG}/icon_pa_rate.gif"; $mx_images['buttontype']['pa_rate'] = MX_BUTTON_IMAGE; $mx_images['pa_comment_post'] = "$current_template_images/{LANG}/icon_pa_post_comment.gif"; $mx_images['buttontype']['pa_comment_post'] = MX_BUTTON_IMAGE; $mx_images['pa_comment_edit'] = $images['icon_edit']; $mx_images['buttontype']['pa_comment_edit'] = MX_BUTTON_IMAGE; $mx_images['pa_comment_delete'] = $images['icon_delpost']; $mx_images['buttontype']['pa_comment_delete'] = MX_BUTTON_IMAGE; $mx_images['pa_icon_approve'] = $images['icon_approve']; $mx_images['buttontype']['pa_icon_approve'] = MX_BUTTON_IMAGE; $mx_images['pa_icon_unapprove'] = $images['icon_unapprove']; $mx_images['buttontype']['pa_icon_unapprove'] = MX_BUTTON_IMAGE; // ------------------------------------------------------------------------- // Define images // ------------------------------------------------------------------------- $mx_images['pa_file_new'] = "$current_template_images/icon_pa_new.gif"; $mx_images['pa_icon_minipost'] = $images['icon_minipost']; $mx_images['pa_icon_latest_reply'] = $images['icon_latest_reply']; $mx_images['pa_folder'] = $images['folder']; $mx_images['pa_folder_new'] = $images['folder_new']; $mx_images['pa_folder_sticky'] = $images['folder_sticky']; $mx_images['pa_voting_graphic'] = $images['voting_graphic']; ?> |