summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/functions.php b/include/functions.php
index c633c03b5..b00817563 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3284,27 +3284,17 @@
onclick=\"editArticleNote($id)\"
alt='PubNote' title='".__('Edit article note')."'>";
- $rv['content'] .= "<img src=\"".theme_image($link, 'images/art-email.png')."\"
- class='tagsPic' style=\"cursor : pointer\"
- onclick=\"emailArticle($id)\"
- alt='Zoom' title='".__('Forward by email')."'>";
-
$button_plugins = explode(",", ARTICLE_BUTTON_PLUGINS);
foreach ($button_plugins as $p) {
- $pclass = "${p}_button";
+ $pclass = trim("${p}_button");
if (class_exists($pclass)) {
$plugin = new $pclass($link);
- $rv['content'] .= $plugin->render($id);
+ $rv['content'] .= $plugin->render($id, $line);
}
}
- $rv['content'] .= "<img src=\"".theme_image($link, 'images/art-share.png')."\"
- class='tagsPic' style=\"cursor : pointer\"
- onclick=\"shareArticle(".$line['int_id'].")\"
- alt='Zoom' title='".__('Share by URL')."'>";
-
$rv['content'] .= "<img src=\"".theme_image($link, 'images/digest_checkbox.png')."\"
class='tagsPic' style=\"cursor : pointer\"
onclick=\"closeArticlePanel($id)\"