|
From: OryNider <ory...@us...> - 2008-03-13 09:35:15
|
Update of /cvsroot/mxbb/mx_music/music_box/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30086/music_box/includes Modified Files: music_constants.php Log Message: upgrade version to 2.0.2 for core29x branch Index: music_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_music/music_box/includes/music_constants.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** music_constants.php 13 Mar 2008 04:43:05 -0000 1.5 --- music_constants.php 13 Mar 2008 09:35:10 -0000 1.6 *************** *** 58,61 **** --- 58,63 ---- // Footer Copyrights // ------------------------------------------------------------------------- + $mx_user->set_module_lang_path($module_root_path . 'music_box/'); + if (!MXBB_MODULE) { *************** *** 63,68 **** { $mx_user->set_module_cfg_name('mx_music'); - $mx_user->set_module_lang_path($module_root_path . 'music_box/'); - $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } } --- 65,68 ---- *************** *** 73,89 **** $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } - - if (is_object($mx_page)) - { - // ------------------------------------------------------------------------- - // Extend User Style with module lang and images - // Usage: $mx_user->extend(LANG, IMAGES) - // Switches: - // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE - // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE - // ------------------------------------------------------------------------- - $mx_user->extend(MX_LANG_ALL, MX_IMAGES); - } } ?> \ No newline at end of file --- 73,86 ---- $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } } + // ------------------------------------------------------------------------- + // Extend User Style with module lang and images + // Usage: $mx_user->extend(LANG, IMAGES) + // Switches: + // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE + // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE + // ------------------------------------------------------------------------- + $mx_user->extend(MX_LANG_ALL, MX_IMAGES); + ?> \ No newline at end of file |