From: Lo?c C. <lo...@us...> - 2001-04-20 17:03:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/localization In directory usw-pr-cvs1:/tmp/cvs-serv10543/chat/localization Modified Files: tutorial.lib.php3 languages.lib.php3 admin.lib.php3 Log Message: An invalid regexp has been fixed Index: tutorial.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/tutorial.lib.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** tutorial.lib.php3 2001/04/18 22:45:45 1.4 --- tutorial.lib.php3 2001/04/20 17:03:39 1.5 *************** *** 17,21 **** // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // --- 17,21 ---- // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <te...@ph...> | // +--------------------------------------------------------------------------+ // *************** *** 53,58 **** // 2 for the 'HTTP_USER_AGENT' one if ( ($envType == 0 && strcasecmp($name, $str) == 0) ! || ($envType == 1 && eregi('^' . $key . '$', $str)) ! || ($envType == 2 && eregi('(\(|\[|;[[:space:]])' . $key . '(;|\]|\))', $str))) { $lang = $availableTutorials[$key]; --- 53,58 ---- // 2 for the 'HTTP_USER_AGENT' one if ( ($envType == 0 && strcasecmp($name, $str) == 0) ! || ($envType == 1 && eregi('^(' . $key . ')$', $str)) ! || ($envType == 2 && eregi('(\(|\[|;[[:space:]])(' . $key . ')(;|\]|\))', $str))) { $lang = $availableTutorials[$key]; Index: languages.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/languages.lib.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** languages.lib.php3 2001/04/18 22:45:45 1.4 --- languages.lib.php3 2001/04/20 17:03:39 1.5 *************** *** 17,21 **** // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // --- 17,21 ---- // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <te...@ph...> | // +--------------------------------------------------------------------------+ // *************** *** 53,58 **** // 2 for the 'HTTP_USER_AGENT' one if ( ($envType == 0 && strcasecmp($name, $str) == 0) ! || ($envType == 1 && eregi('^' . $key . '$', $str)) ! || ($envType == 2 && eregi('(\(|\[|;[[:space:]])' . $key . '(;|\]|\))', $str))) { $dbSessionVars['lang'] = $availableLanguages[$key]; --- 53,58 ---- // 2 for the 'HTTP_USER_AGENT' one if ( ($envType == 0 && strcasecmp($name, $str) == 0) ! || ($envType == 1 && eregi('^(' . $key . ')$', $str)) ! || ($envType == 2 && eregi('(\(|\[|;[[:space:]])(' . $key . ')(;|\]|\))', $str))) { $dbSessionVars['lang'] = $availableLanguages[$key]; Index: admin.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/localization/admin.lib.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** admin.lib.php3 2001/04/18 22:45:45 1.4 --- admin.lib.php3 2001/04/20 17:03:39 1.5 *************** *** 17,21 **** // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // --- 17,21 ---- // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <te...@ph...> | // +--------------------------------------------------------------------------+ // *************** *** 53,58 **** // 2 for the 'HTTP_USER_AGENT' one if ( ($envType == 0 && strcasecmp($name, $str) == 0) ! || ($envType == 1 && eregi('^' . $key . '$', $str)) ! || ($envType == 2 && eregi('(\(|\[|;[[:space:]])' . $key . '(;|\]|\))', $str))) { $$dbSessionVars['lang'] = $availableAdmins[$key]; --- 53,58 ---- // 2 for the 'HTTP_USER_AGENT' one if ( ($envType == 0 && strcasecmp($name, $str) == 0) ! || ($envType == 1 && eregi('^(' . $key . ')$', $str)) ! || ($envType == 2 && eregi('(\(|\[|;[[:space:]])(' . $key . ')(;|\]|\))', $str))) { $$dbSessionVars['lang'] = $availableAdmins[$key]; |