diff options
author | Crack <piotrprz@gmail.com> | 2010-07-12 21:24:07 +0400 |
---|---|---|
committer | Crack <piotrprz@gmail.com> | 2010-07-12 21:24:07 +0400 |
commit | b3ae73f2aa53072a85fccd24f0debcc094ab0813 (patch) | |
tree | b46dbe2ac06e835f5ed001d3b74118877ccdd501 /prefs_manage.php | |
parent | 74eb921e68335c1a4a928251767814d6b478b6b3 (diff) |
ui fixes
Diffstat (limited to 'prefs_manage.php')
-rw-r--r-- | prefs_manage.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/prefs_manage.php b/prefs_manage.php index 4d972d4956..4741855a56 100644 --- a/prefs_manage.php +++ b/prefs_manage.php @@ -139,27 +139,28 @@ PMA_printJsValue("PMA_messages['strSavedOn']", __('Saved on: __DATE__')); echo PMA_generate_common_hidden_inputs() . "\n"; ?> <input type="hidden" name="json" value="" /> - <div style="padding-bottom:0.5em"> + <div> <input type="radio" id="import_text_file" name="import_type" value="text_file" checked="checked" /> <label for="import_text_file"><?php echo __('Import from text file') ?></label> <br /> <input type="radio" id="import_local_storage" name="import_type" value="local_storage" disabled="disabled" /> <label for="import_local_storage"><?php echo __('Import from browser\'s storage') ?></label> </div> - <div id="opts_import_text_file"> + <div id="opts_import_text_file" class="prefsmanage_opts"> <label for="input_import_file"><?php echo __('Location of the text file'); ?></label> - <input style="margin: 5px" type="file" name="import_file" id="input_import_file" /> + <input type="file" name="import_file" id="input_import_file" /> </div> - <div id="opts_import_local_storage" style="display:none"> - <span class="localStorage-supported"> + <div id="opts_import_local_storage" class="prefsmanage_opts" style="display:none"> + <div class="localStorage-supported"> <?php echo __('Settings will be imported from your browser\'s local storage.') ?> + <br /> <span class="localStorage-exists"> <?php echo __('Saved on: __DATE__') ?> </span> <span class="localStorage-empty"> <?php PMA_Message::notice(__('You have no saved settings!'))->display() ?> </span> - </span> + </div> <span class="localStorage-unsupported"> <?php PMA_Message::notice(__('This feature is not supported by your web browser'))->display() ?> </span> @@ -189,7 +190,7 @@ PMA_printJsValue("PMA_messages['strSavedOn']", __('Saved on: __DATE__')); <input type="radio" id="export_local_storage" name="export_type" value="local_storage" disabled="disabled" /> <label for="export_local_storage"><?php echo __('Save to browser\'s storage') ?></label> </div> - <div id="opts_export_local_storage" style="display:none"> + <div id="opts_export_local_storage" class="prefsmanage_opts" style="display:none"> <span class="localStorage-supported"> <?php echo __('Settings will be saved in your browser\'s local storage.') ?> <span class="localStorage-exists"> |