|
From: FlorinCB <ory...@us...> - 2009-01-08 20:43:50
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16644/album_mod/includes Modified Files: album_constants.php Log Message: Version 2.9.7 - album mid pic fixed to resize GIF files on the fly ;) Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** album_constants.php 29 Aug 2008 13:44:31 -0000 1.11 --- album_constants.php 8 Jan 2009 20:43:41 -0000 1.12 *************** *** 75,78 **** --- 75,89 ---- $tplEx = ($tplEx) ? $tplEx : 'tpl'; + $default_lang = ($mx_user->lang['default_lang']) ? $mx_user->lang['default_lang'] : $board_config['default_lang']; + + if ( empty($default_lang) ) + { + // - populate $default_lang + $default_lang= 'english'; + } + + //fix + $images['no_thumbnail'] = ($images['no_thumbnail']) ? $images['no_thumbnail'] : $module_root_path . "templates/_core/images/lang_" . $default_lang . "/nothumbnail.jpg"; + // Album Tables !defined('ALBUM_TABLE') ? define('ALBUM_TABLE', $mx_table_prefix.'smartor_album') : false; |