mark fields that user can disable in setup script

This commit is contained in:
Crack
2010-07-21 01:21:32 +02:00
parent 43a7629da9
commit cc9b5c9028
4 changed files with 11 additions and 8 deletions

View File

@@ -66,9 +66,6 @@ function PMA_lang($lang_key)
*/
function PMA_lang_name($canonical_path, $type = 'name', $default = 'key')
{
if ($type == 'name' && strpos($canonical_path, 'disable/') === 0) {
return __('Disable') . ': ' . lcfirst(PMA_lang_name(substr($canonical_path, 8), $type, $default));
}
$lang_key = str_replace(
array('Servers/1/', 'disable/', '/'),
array('Servers/', '', '_'),