From b17a2e4a853e3ba51b9ba68aede8858ac8955d6a Mon Sep 17 00:00:00 2001 From: Crack Date: Sun, 29 Aug 2010 12:35:02 +0200 Subject: [PATCH] user preferences: improve styling of fieldset headers, change Export form layout --- libraries/config/setup.forms.php | 34 +++++++++---------- libraries/config/user_preferences.forms.php | 32 ++++++++--------- .../darkblue_orange/css/theme_right.css.php | 5 +-- themes/original/css/theme_right.css.php | 5 +-- 4 files changed, 37 insertions(+), 39 deletions(-) diff --git a/libraries/config/setup.forms.php b/libraries/config/setup.forms.php index 8979e2757..ebaaf2792 100644 --- a/libraries/config/setup.forms.php +++ b/libraries/config/setup.forms.php @@ -256,25 +256,23 @@ $forms['Import']['Open_Document'] = array('Import' => array( 'ods_recognize_percentages', 'ods_recognize_currency')); $forms['Export']['Export_defaults'] = array('Export' => array( - 'method' => ':group', - ':group:' . __('Quick'), - 'quick_export_onserver', - 'quick_export_onserver_overwrite', - ':group:end', - ':group:' . __('Custom'), - 'asfile' => ':group', - 'onserver', - 'onserver_overwrite', - ':group:end', - ':group:end', + 'method', + ':group:' . __('Quick'), + 'quick_export_onserver', + 'quick_export_onserver_overwrite', ':group:end', - 'format', - 'compression', - 'charset', - 'remember_file_template', - 'file_template_table', - 'file_template_database', - 'file_template_server')); + ':group:' . __('Custom'), + 'format', + 'compression', + 'charset', + 'asfile' => ':group', + 'onserver', + 'onserver_overwrite', + ':group:end', + 'remember_file_template', + 'file_template_table', + 'file_template_database', + 'file_template_server')); $forms['Export']['Sql'] = array('Export' => array( 'sql_include_comments' => ':group', 'sql_dates', diff --git a/libraries/config/user_preferences.forms.php b/libraries/config/user_preferences.forms.php index bd3202f33..3f4814fd8 100644 --- a/libraries/config/user_preferences.forms.php +++ b/libraries/config/user_preferences.forms.php @@ -159,24 +159,22 @@ $forms['Import']['Open_Document'] = array( 'Import/ods_recognize_percentages', 'Import/ods_recognize_currency'); $forms['Export']['Export_defaults'] = array( - 'Export/method' => ':group', - ':group:' . __('Quick'), - 'Export/quick_export_onserver', - 'Export/quick_export_onserver_overwrite', - ':group:end', - ':group:' . __('Custom'), - 'Export/asfile' => ':group', - 'Export/onserver', - 'Export/onserver_overwrite', - ':group:end', - ':group:end', + 'Export/method', + ':group:' . __('Quick'), + 'Export/quick_export_onserver', + 'Export/quick_export_onserver_overwrite', ':group:end', - 'Export/format', - 'Export/compression', - 'Export/charset', - 'Export/file_template_table', - 'Export/file_template_database', - 'Export/file_template_server'); + ':group:' . __('Custom'), + 'Export/format', + 'Export/compression', + 'Export/charset', + 'Export/asfile' => ':group', + 'Export/onserver', + 'Export/onserver_overwrite', + ':group:end', + 'Export/file_template_table', + 'Export/file_template_database', + 'Export/file_template_server'); $forms['Export']['Sql'] = array( 'Export/sql_include_comments' => ':group', 'Export/sql_dates', diff --git a/themes/darkblue_orange/css/theme_right.css.php b/themes/darkblue_orange/css/theme_right.css.php index 488ac00c0..f828fa2dd 100755 --- a/themes/darkblue_orange/css/theme_right.css.php +++ b/themes/darkblue_orange/css/theme_right.css.php @@ -1653,8 +1653,9 @@ td.more_opts { } .config-form fieldset p { - margin: 0; - padding: 0.5em; + margin: 0; + padding: 0.5em; + background: ; } .config-form fieldset .errors { /* form error list */ diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 1df6f9ab3..da283ead2 100755 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -1606,8 +1606,9 @@ iframe.IE_hack { } .config-form fieldset p { - margin: 0; - padding: 0.5em; + margin: 0; + padding: 0.5em; + background: ; } .config-form fieldset .errors { /* form error list */