|
From: Florin C B. <ory...@us...> - 2013-04-05 07:42:49
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13529 Modified Files: mx_functions.php Log Message: function mx_t() for translation and compatibility with the calendar module features common with other CMS systems. Index: mx_functions.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions.php,v retrieving revision 1.114 retrieving revision 1.115 diff -C2 -d -r1.114 -r1.115 *** mx_functions.php 5 Apr 2013 07:36:36 -0000 1.114 --- mx_functions.php 5 Apr 2013 07:42:47 -0000 1.115 *************** *** 2675,2679 **** $options['langcode'] = $lang['USER_LANG'] ? $lang['USER_LANG'] : $mx_user->encode_lang($board_config['default_lang']); } ! if (!isset($lang[$string])) { $lang_string = $lang[$string]; --- 2675,2679 ---- $options['langcode'] = $lang['USER_LANG'] ? $lang['USER_LANG'] : $mx_user->encode_lang($board_config['default_lang']); } ! if (!empty($lang[$string])) { $lang_string = $lang[$string]; |