summaryrefslogtreecommitdiff
path: root/program/steps/settings/edit_prefs.inc
diff options
context:
space:
mode:
authorThomas B. <thomas@roundcube.net>2014-05-05 11:10:29 +0200
committerThomas B. <thomas@roundcube.net>2014-05-05 11:10:29 +0200
commitd004009ebbf55d20cfeacfb48812563650b97bab (patch)
treee7c7489a31018b4395ac93826c89b85c4e97ca60 /program/steps/settings/edit_prefs.inc
parent93e12fa4147191ec40ef5de03b4c7c211012eb4c (diff)
parentdba1c6f083de4e95b35d6dfa93b22341b6527263 (diff)
Merge pull request #179 from corbosman/master
add preferences_section_header hook
Diffstat (limited to 'program/steps/settings/edit_prefs.inc')
-rw-r--r--program/steps/settings/edit_prefs.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/steps/settings/edit_prefs.inc b/program/steps/settings/edit_prefs.inc
index 05f4db6a6..b72c3e73f 100644
--- a/program/steps/settings/edit_prefs.inc
+++ b/program/steps/settings/edit_prefs.inc
@@ -51,6 +51,10 @@ function rcmail_user_prefs_form($attrib)
$out = $form_start;
+ if(!empty($SECTIONS[$CURR_SECTION]['header'])) {
+ $out .= html::div(array('id' => 'preferences-header', 'class' =>'boxcontent'), $SECTIONS[$CURR_SECTION]['header']);
+ }
+
foreach ($SECTIONS[$CURR_SECTION]['blocks'] as $class => $block) {
if (!empty($block['options'])) {
$table = new html_table(array('cols' => 2));