From 66c3491041ff14d9209436a682bf08109adc7aed Mon Sep 17 00:00:00 2001 From: Hugues Peccatte Date: Sun, 8 Feb 2015 16:35:16 +0100 Subject: [PATCH] Minor HTML/PHP rewrite. Signed-off-by: Hugues Peccatte --- prefs_manage.php | 115 ++++++++++++++++++++++++++++------------------- 1 file changed, 69 insertions(+), 46 deletions(-) diff --git a/prefs_manage.php b/prefs_manage.php index 0b795ecd67..3eb10a36e7 100644 --- a/prefs_manage.php +++ b/prefs_manage.php @@ -283,8 +283,12 @@ if (file_exists('setup/index.php')) {

', ''); - echo PMA_Util::showDocu('setup', 'setup-script'); + echo sprintf( + __( + 'You can set more settings by modifying config.inc.php, eg. ' + . 'by using %sSetup script%s.' + ), '', '' + ) . PMA_Util::showDocu('setup', 'setup-script'); ?>
@@ -294,58 +298,77 @@ if (file_exists('setup/index.php')) {
-

+

' - . '
' - . PMA_URL_getHiddenInputs() - . '
' - . '' - . '' - . '
' - . '' - . '' - . '
' - . '
' - . '' - . __('Settings will be saved in your browser\'s local storage.') - . '
' - . '' . __('Existing settings will be overwritten!') . '' - . '
' - . '
' - . '
'; -PMA_Message::notice( - __('This feature is not supported by your web browser') -)->display(); -?> + PMA_Message::rawSuccess( + __('Configuration has been saved.') + )->display(); + ?> +
+ + +
+ +
+ + +
+
+ + +
+ + + +
+
+
+ display(); + ?>

-'; -?> + '; + ?>
-' . __('Reset') . '' - . '
' - . PMA_URL_getHiddenInputs() - . __('You can reset all your settings and restore them to default values.') - . '

' - . '' - . '
'; -?> +

+
+ +

+ +