user preferences: improve styling of fieldset headers, change Export form layout

This commit is contained in:
Crack
2010-08-29 12:35:02 +02:00
parent a42c7b331c
commit b17a2e4a85
4 changed files with 37 additions and 39 deletions

View File

@@ -256,25 +256,23 @@ $forms['Import']['Open_Document'] = array('Import' => array(
'ods_recognize_percentages', 'ods_recognize_percentages',
'ods_recognize_currency')); 'ods_recognize_currency'));
$forms['Export']['Export_defaults'] = array('Export' => array( $forms['Export']['Export_defaults'] = array('Export' => array(
'method' => ':group', 'method',
':group:' . __('Quick'), ':group:' . __('Quick'),
'quick_export_onserver', 'quick_export_onserver',
'quick_export_onserver_overwrite', 'quick_export_onserver_overwrite',
':group:end',
':group:' . __('Custom'),
'asfile' => ':group',
'onserver',
'onserver_overwrite',
':group:end',
':group:end',
':group:end', ':group:end',
'format', ':group:' . __('Custom'),
'compression', 'format',
'charset', 'compression',
'remember_file_template', 'charset',
'file_template_table', 'asfile' => ':group',
'file_template_database', 'onserver',
'file_template_server')); 'onserver_overwrite',
':group:end',
'remember_file_template',
'file_template_table',
'file_template_database',
'file_template_server'));
$forms['Export']['Sql'] = array('Export' => array( $forms['Export']['Sql'] = array('Export' => array(
'sql_include_comments' => ':group', 'sql_include_comments' => ':group',
'sql_dates', 'sql_dates',

View File

@@ -159,24 +159,22 @@ $forms['Import']['Open_Document'] = array(
'Import/ods_recognize_percentages', 'Import/ods_recognize_percentages',
'Import/ods_recognize_currency'); 'Import/ods_recognize_currency');
$forms['Export']['Export_defaults'] = array( $forms['Export']['Export_defaults'] = array(
'Export/method' => ':group', 'Export/method',
':group:' . __('Quick'), ':group:' . __('Quick'),
'Export/quick_export_onserver', 'Export/quick_export_onserver',
'Export/quick_export_onserver_overwrite', 'Export/quick_export_onserver_overwrite',
':group:end',
':group:' . __('Custom'),
'Export/asfile' => ':group',
'Export/onserver',
'Export/onserver_overwrite',
':group:end',
':group:end',
':group:end', ':group:end',
'Export/format', ':group:' . __('Custom'),
'Export/compression', 'Export/format',
'Export/charset', 'Export/compression',
'Export/file_template_table', 'Export/charset',
'Export/file_template_database', 'Export/asfile' => ':group',
'Export/file_template_server'); 'Export/onserver',
'Export/onserver_overwrite',
':group:end',
'Export/file_template_table',
'Export/file_template_database',
'Export/file_template_server');
$forms['Export']['Sql'] = array( $forms['Export']['Sql'] = array(
'Export/sql_include_comments' => ':group', 'Export/sql_include_comments' => ':group',
'Export/sql_dates', 'Export/sql_dates',

View File

@@ -1653,8 +1653,9 @@ td.more_opts {
} }
.config-form fieldset p { .config-form fieldset p {
margin: 0; margin: 0;
padding: 0.5em; padding: 0.5em;
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
} }
.config-form fieldset .errors { /* form error list */ .config-form fieldset .errors { /* form error list */

View File

@@ -1606,8 +1606,9 @@ iframe.IE_hack {
} }
.config-form fieldset p { .config-form fieldset p {
margin: 0; margin: 0;
padding: 0.5em; padding: 0.5em;
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
} }
.config-form fieldset .errors { /* form error list */ .config-form fieldset .errors { /* form error list */