fix "restore default" button, should be visible only when field has custom value

added missing validations for setup script
added two field descriptions
added SkipLockedTables to user preferences
This commit is contained in:
Crack
2010-07-16 20:28:11 +02:00
parent 0b30a339fa
commit c5bef4d2da
6 changed files with 15 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ $msg->display();
// warn about using session storage for settings
$cfgRelation = PMA_getRelationsParam();
if (!$cfgRelation['userconfigwork']) {
$msg = __('Your preferences will be saved only for current session. Storing them permanently requires %spmadb%s.');
$msg = __('Your preferences will be saved for current session only. Storing them permanently requires %spmadb%s.');
$msg = PMA_sanitize(sprintf($msg, '[a@http://wiki.phpmyadmin.net/pma/pmadb@_blank]', '[/a]'));
PMA_Message::notice($msg)->display();
}