diff options
author | Andrew Dolgov <[email protected]> | 2012-12-27 01:12:28 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-27 01:13:18 +0400 |
commit | 699daf5856fc2c0b7cc57c5b3271ee34b12a0db4 (patch) | |
tree | a4e1b408dd6da0bfa491f855ea120717b216a39e /classes/pref/prefs.php | |
parent | 24e811add99a89e7c0b3ba65bb5347517b7fa065 (diff) |
add several HOOK_PREFS_TAB_SECTION hook points
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 14e88546a..e8926194e 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -366,6 +366,10 @@ class Pref_Prefs extends Handler_Protected { } } + global $pluginhost; + $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB_SECTION, + "hook_prefs_tab_section", "prefPrefsAuth"); + print "</div>"; #pane print "<div dojoType=\"dijit.layout.AccordionPane\" selected=\"true\" title=\"".__('Preferences')."\">"; @@ -594,6 +598,10 @@ class Pref_Prefs extends Handler_Protected { print "</table>"; + global $pluginhost; + $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB_SECTION, + "hook_prefs_tab_section", "prefPrefsPrefsInside"); + print '</div>'; # inside pane print '<div dojoType="dijit.layout.ContentPane" region="bottom">'; @@ -621,6 +629,10 @@ class Pref_Prefs extends Handler_Protected { <label for='prefs_show_advanced'>" . __("Show additional preferences") . "</label>"; + global $pluginhost; + $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB_SECTION, + "hook_prefs_tab_section", "prefPrefsPrefsOutside"); + print "</form>"; print '</div>'; # inner pane print '</div>'; # border container |