]> git.wh0rd.org Git - tt-rss.git/commitdiff
add HOOK_PREFS_TAB_SECTION to user manager toolbar
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 22 May 2013 08:02:43 +0000 (12:02 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 22 May 2013 08:02:43 +0000 (12:02 +0400)
classes/pref/users.php

index 60059dc8df30353710eba3628244e42b42b202b1..914491e4ab64e14d822d9339e4536f5e4d5417b6 100644 (file)
@@ -355,6 +355,9 @@ class Pref_Users extends Handler_Protected {
                                <button dojoType=\"dijit.form.Button\" onclick=\"javascript:resetSelectedUserPass()\">".
                                __('Reset password')."</button dojoType=\"dijit.form.Button\">";
 
+                       PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB_SECTION,
+                               "hook_prefs_tab_section", "prefUsersToolbar");
+
                        print "</div>"; #toolbar
                        print "</div>"; #pane
                        print "<div id=\"pref-user-content\" dojoType=\"dijit.layout.ContentPane\" region=\"center\">";