|
From: Florin C B. <ory...@us...> - 2013-04-05 09:18:12
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18616 Modified Files: mx_functions_style.php Log Message: decode lang and not encode lang Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** mx_functions_style.php 22 Oct 2012 15:56:56 -0000 1.121 --- mx_functions_style.php 5 Apr 2013 09:18:10 -0000 1.122 *************** *** 1692,1699 **** function _load_module_lang($lang_mode = MX_LANG_MAIN) { ! global $lang, $board_config, $mx_block, $phpEx, $mx_root_path; ! ! $default_lang = ($this->lang['default_lang']) ? $this->encode_lang($this->lang['default_lang']) : $board_config['default_lang']; ! if (empty($default_lang)) { --- 1692,1697 ---- function _load_module_lang($lang_mode = MX_LANG_MAIN) { ! global $lang, $board_config, $mx_block, $phpEx, $mx_root_path; ! $default_lang = ($this->lang['default_lang']) ? $this->decode_lang($this->lang['default_lang']) : $board_config['default_lang']; if (empty($default_lang)) { *************** *** 1701,1705 **** $default_lang= 'english'; } - if (!isset($this->loaded_langs[$mx_block->module_root_path])) { --- 1699,1702 ---- *************** *** 1714,1718 **** $module_lang_path = $mx_root_path . $mx_block->module_root_path; } - // ------------------------------------------------------------------------- // Read Module Main Language Definition --- 1711,1714 ---- *************** *** 1726,1730 **** } } - if ($lang_mode == MX_LANG_ADMIN || $lang_mode == MX_LANG_ALL) { --- 1722,1725 ---- *************** *** 1743,1747 **** } } ! /** * Enter description here... --- 1738,1742 ---- } } ! /** * Enter description here... |