summaryrefslogtreecommitdiff
path: root/program/steps/settings/func.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/func.inc
parent93e12fa4147191ec40ef5de03b4c7c211012eb4c (diff)
parentdba1c6f083de4e95b35d6dfa93b22341b6527263 (diff)
Merge pull request #179 from corbosman/master
add preferences_section_header hook
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r--program/steps/settings/func.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index bccd9caa8..4b4575f10 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -1241,6 +1241,13 @@ function rcmail_user_prefs($current = null)
$sections[$idx]['blocks'] = $data['blocks'];
}
+ $data = $RCMAIL->plugins->exec_hook('preferences_section_header',
+ array('section' => $sect['id'], 'header' => '', 'current' => $current));
+
+ if(!empty($data['header'])) {
+ $sections[$idx]['header'] = $data['header'];
+ }
+
return array($sections, $plugin['cols']);
}