From dba1c6f083de4e95b35d6dfa93b22341b6527263 Mon Sep 17 00:00:00 2001 From: corbosman <cor@xs4all.net> Date: Sat, 03 May 2014 14:38:21 -0400 Subject: [PATCH] add preferences_section_header hook --- program/steps/settings/func.inc | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index bccd9ca..4b4575f 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -1241,6 +1241,13 @@ $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']); } -- Gitblit v1.9.1