|
From: OryNider <ory...@us...> - 2008-03-15 19:54:18
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9101/album_mod/includes Modified Files: album_constants.php Log Message: fix Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** album_constants.php 14 Mar 2008 14:13:41 -0000 1.6 --- album_constants.php 15 Mar 2008 19:54:14 -0000 1.7 *************** *** 51,56 **** { $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); } } --- 51,54 ---- *************** *** 61,73 **** $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('mx_smartor.css'); // 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 } // Album Tables --- 59,67 ---- $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } $mx_page->add_css_file('mx_smartor.css'); // 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 } + $mx_user->set_module_lang_path($module_root_path . 'album_mod/'); + $mx_user->extend(MX_LANG_ALL, MX_IMAGES); // Album Tables |