|
From: Jon O. <jon...@us...> - 2008-07-10 20:46:41
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22493/sessions/phpbb3 Modified Files: session.php Log Message: Updated more generic initialization of styles and languages for backends. Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** session.php 10 Jul 2008 15:52:25 -0000 1.23 --- session.php 10 Jul 2008 20:46:36 -0000 1.24 *************** *** 83,86 **** --- 83,101 ---- /** + * Load sessions + * @access public + * + */ + function load() + { + global $board_config, $cache; [...1435 lines suppressed...] + $lang_name = 'chinese'; + break; + case 'zh_cmn_hans': + $lang_name = 'chinese_simplified'; + break; + case 'zh_cmn_hant': + $lang_name = 'chinese_traditional'; + break; + case 'zu': + $lang_name = 'zulu'; + break; + default: + $lang_name = $lang; + break; + } + return $lang_name; + } } ?> \ No newline at end of file |