|
From: OryNider <ory...@us...> - 2008-03-15 19:12:20
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14929 Modified Files: Tag: core28x album_constants.php Log Message: downgrade version to 2.0.1 for core28x branch Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -C2 -d -r1.1.2.6 -r1.1.2.7 *** album_constants.php 14 Mar 2008 12:36:50 -0000 1.1.2.6 --- album_constants.php 15 Mar 2008 19:12:14 -0000 1.1.2.7 *************** *** 38,42 **** // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE ! // ------------------------------------------------------------------------- if (!MXBB_MODULE) { --- 38,49 ---- // - LANG: MX_LANG_MAIN (default), MX_LANG_ADMIN, MX_LANG_ALL, MX_LANG_NONE // - IMAGES: MX_IMAGES (default), MX_IMAGES_NONE ! // ! // Extend page with additional header or footer data ! // Examples: ! // $mx_page->add_css_file(); // Include style dependent *.css file, eg module_path/template_path/template/theme.css ! // $mx_page->add_js_file( 'includes/js.js' ); // Relative to module_root ! // $mx_page->add_header_text( 'header text' ); ! // $mx_page->add_footer_text( 'includes/test.txt', true ); // Relative to module_root ! // Note: Included text from file (last example), will evaluate $theme and $mx_block->info variables. if (!MXBB_MODULE) { *************** *** 52,69 **** if (!$_GET['print']) // Do not "fix" with reuest wrapper!! { ! $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); } } --- 59,72 ---- if (!$_GET['print']) // Do not "fix" with reuest wrapper!! { ! //$mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } if (is_object($mx_page)) { $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } + + $mx_page->add_css_file(); // Include style dependent *.css file, eg module_path/template_path/template/theme.css + $mx_page->add_js_file($module_root_path . 'album_mod/fap_loader.js'); // Relative to module_root } |