Revision 807
Added by Matthias over 16 years ago
save.php | ||
---|---|---|
170 | 170 |
// End path and timezone details code |
171 | 171 |
|
172 | 172 |
// Get the default language |
173 |
$allowed_languages = array('BG','CA', 'CS', 'DA', 'DE', 'EN', 'ES', 'ET', 'FI', 'FR', 'HR', 'HU', 'IT', 'LV', 'NL', 'PL', 'PT', 'RU','SE', 'TR'); |
|
173 |
$allowed_languages = array('BG','CA', 'CS', 'DA', 'DE', 'EN', 'ES', 'ET', 'FI', 'FR', 'HR', 'HU', 'IT', 'LV', 'NL', 'NO', 'PL', 'PT', 'RU','SE', 'TR');
|
|
174 | 174 |
if(!isset($_POST['default_language']) OR !in_array($_POST['default_language'], $allowed_languages)) { |
175 | 175 |
set_error('Please select a valid default backend language','default_language'); |
176 | 176 |
} else { |
Also available in: Unified diff
Added norwegian translation (Thanks OEH)