diff options
author | alecpl <alec@alec.pl> | 2008-04-14 09:54:57 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-04-14 09:54:57 +0000 |
commit | a901aa564a73e85d37eda6b53c21c0638d435169 (patch) | |
tree | bef21eb38f86526eaea6e6b7e20231aca8c954ca /program/steps | |
parent | 3cd24d81e9dda709dd2a16fa3d8402c888fe492d (diff) |
- Added sections (fieldset+label) in Settings interface
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/settings/func.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 81da0a29d..502ca147e 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -40,8 +40,8 @@ function rcmail_user_prefs_form($attrib) // allow the following attributes to be added to the <table> tag $attrib_str = create_attrib_string($attrib, array('style', 'class', 'id', 'cellpadding', 'cellspacing', 'border', 'summary')); - // return the complete edit form as table - $out = "$form_start<table" . $attrib_str . ">\n\n"; + // return the complete edit form as tables + $out = "$form_start<fieldset><legend>" . Q(rcube_label('uisettings')) . "</legend>\n<table" . $attrib_str . ">\n\n"; // show language selection if (!isset($no_override['language'])) @@ -180,6 +180,8 @@ function rcmail_user_prefs_form($attrib) Q(rcube_label('previewpane')), $input_preview->show($CONFIG['preview_pane']?1:0)); } + + $out .= "</table></fieldset>\n<fieldset><legend>" . Q(rcube_label('serversettings')) . "</legend>\n<table" . $attrib_str . ">\n\n"; if (!empty($CONFIG['drafts_mbox']) && !isset($no_override['draft_autosave'])) { @@ -217,7 +219,7 @@ function rcmail_user_prefs_form($attrib) $input_expunge->show($CONFIG['logout_expunge']?1:0)); } - $out .= "\n</table>$form_end"; + $out .= "\n</table></fieldset>$form_end"; return $out; } |