|
From: OryNider <ory...@us...> - 2008-03-13 08:47:26
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32439 Modified Files: album_constants.php Log Message: upgrade version to 2.0.2 for core29x branch Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_constants.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_constants.php 13 Mar 2008 08:47:23 -0000 1.4 *************** *** 32,42 **** } ! // ------------------------------------------------------------------------- ! // 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 ! // ------------------------------------------------------------------------- if (!MXBB_MODULE) { --- 32,37 ---- } ! $mx_user->set_module_lang_path($module_root_path . 'album_mod/'); ! if (!MXBB_MODULE) { *************** *** 44,48 **** { $mx_user->set_module_cfg_name('mx_smartor'); - $mx_user->set_module_lang_path($module_root_path . 'album_mod/'); $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } --- 39,42 ---- *************** *** 54,71 **** $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); - } } // Album Tables !defined('ALBUM_TABLE') ? define('ALBUM_TABLE', $mx_table_prefix.'smartor_album') : false; --- 48,62 ---- $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); + // Album Tables !defined('ALBUM_TABLE') ? define('ALBUM_TABLE', $mx_table_prefix.'smartor_album') : false; |