revert disable/* options

This commit is contained in:
Crack
2010-07-25 22:58:14 +02:00
parent 5afd385f30
commit b39567f381
6 changed files with 7 additions and 47 deletions

View File

@@ -67,8 +67,8 @@ function PMA_lang($lang_key)
function PMA_lang_name($canonical_path, $type = 'name', $default = 'key')
{
$lang_key = str_replace(
array('Servers/1/', 'disable/', '/'),
array('Servers/', '', '_'),
array('Servers/1/', '/'),
array('Servers/', '_'),
$canonical_path) . '_' . $type;
return isset($GLOBALS["strConfig$lang_key"])
? ($type == 'desc' ? PMA_lang($lang_key) : $GLOBALS["strConfig$lang_key"])