\r
$headlines_count = db_num_rows($result);\r
\r
- if (get_pref($this->link, 'COMBINED_DISPLAY_MODE')) {\r
+ /* if (get_pref($this->link, 'COMBINED_DISPLAY_MODE')) {\r
$button_plugins = array();\r
foreach (explode(",", ARTICLE_BUTTON_PLUGINS) as $p) {\r
$pclass = "button_" . trim($p);\r
array_push($button_plugins, $plugin);\r
}\r
}\r
- }\r
+ } */\r
+\r
+ global $pluginhost;\r
\r
if (db_num_rows($result) > 0) {\r
\r
\r
//$note_escaped = htmlspecialchars($line['note'], ENT_QUOTES);\r
\r
- foreach ($button_plugins as $p) {\r
- $reply['content'] .= $p->render($id, $line);\r
+ foreach ($pluginhost->get_hooks($pluginhost::HOOK_ARTICLE_BUTTON) as $p) {\r
+ $reply['content'] .= $p->hook_article_button($line);\r
}\r
\r
$reply['content'] .= "<img src=\"images/digest_checkbox.png\"\r