From 699daf5856fc2c0b7cc57c5b3271ee34b12a0db4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 27 Dec 2012 01:12:28 +0400 Subject: add several HOOK_PREFS_TAB_SECTION hook points --- classes/pref/prefs.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'classes/pref/prefs.php') 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 ""; #pane print "
"; @@ -594,6 +598,10 @@ class Pref_Prefs extends Handler_Protected { print ""; + global $pluginhost; + $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB_SECTION, + "hook_prefs_tab_section", "prefPrefsPrefsInside"); + print '
'; # inside pane print '
'; @@ -621,6 +629,10 @@ class Pref_Prefs extends Handler_Protected { "; + global $pluginhost; + $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB_SECTION, + "hook_prefs_tab_section", "prefPrefsPrefsOutside"); + print ""; print '
'; # inner pane print ''; # border container -- cgit v1.2.3