add HOOK_PREFS_EDIT_FEED

This commit is contained in:
Andrew Dolgov 2013-04-26 14:21:08 +04:00
parent 3fbb4d183d
commit 057177eb2c
2 changed files with 4 additions and 0 deletions

View file

@ -34,6 +34,7 @@ class PluginHost {
const HOOK_HEADLINE_TOOLBAR_BUTTON = 17; const HOOK_HEADLINE_TOOLBAR_BUTTON = 17;
const HOOK_HOTKEY_INFO = 18; const HOOK_HOTKEY_INFO = 18;
const HOOK_ARTICLE_LEFT_BUTTON = 19; const HOOK_ARTICLE_LEFT_BUTTON = 19;
const HOOK_PREFS_EDIT_FEED = 20;
const KIND_ALL = 1; const KIND_ALL = 1;
const KIND_SYSTEM = 2; const KIND_SYSTEM = 2;

View file

@ -748,6 +748,9 @@ class Pref_Feeds extends Handler_Protected {
print "</div>"; print "</div>";
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_EDIT_FEED,
"hook_prefs_edit_feed", $feed_id);
$title = htmlspecialchars($title, ENT_QUOTES); $title = htmlspecialchars($title, ENT_QUOTES);
print "<div class='dlgButtons'> print "<div class='dlgButtons'>