mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Remove English-only limitation.
This commit is contained in:
@@ -644,11 +644,11 @@ function multilang_prefs()
|
||||
|
||||
//XXX Remove later.
|
||||
// Enable only for developers - SetEnv E_ENVIRONMENT develop
|
||||
if(!isset($_SERVER['E_DEV_LANGUAGE']) || $_SERVER['E_DEV_LANGUAGE'] !== 'true')
|
||||
{
|
||||
$lanlist = array('English');
|
||||
$mes->addInfo("Alpha version currently supports only the English language. After most features are stable and English terms are optimized - translation will be possible.");
|
||||
}
|
||||
// if(!isset($_SERVER['E_DEV_LANGUAGE']) || $_SERVER['E_DEV_LANGUAGE'] !== 'true')
|
||||
// {
|
||||
// $lanlist = array('English');
|
||||
// $mes->addInfo("Alpha version currently supports only the English language. After most features are stable and English terms are optimized - translation will be possible.");
|
||||
// }
|
||||
|
||||
$text = "
|
||||
<form method='post' action='".e_SELF."' id='linkform'>
|
||||
|
Reference in New Issue
Block a user