aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/isso/isso.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-25 10:59:40 +0200
committerGitHub <noreply@github.com>2020-09-25 10:59:40 +0200
commit85b972baf67c61ebabf1ce332358e4dfd2456a4e (patch)
tree6f890cf93ac6cd30da509fa9c39ec7d061f25709 /plugins/isso/isso.php
parent71eb87353ca09a1476c3f94e51ccfbfb45a91170 (diff)
parent76fe68d924d424283d0a1784c5f5e7582dda3a00 (diff)
downloadShaarli-85b972baf67c61ebabf1ce332358e4dfd2456a4e.tar.gz
Shaarli-85b972baf67c61ebabf1ce332358e4dfd2456a4e.tar.zst
Shaarli-85b972baf67c61ebabf1ce332358e4dfd2456a4e.zip
Merge pull request #1558 from ArthurHoaro/fix/plugins-base-path
Fix plugin base path in core plugins
Diffstat (limited to 'plugins/isso/isso.php')
-rw-r--r--plugins/isso/isso.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/isso/isso.php b/plugins/isso/isso.php
index 16edd9a6..79e7380b 100644
--- a/plugins/isso/isso.php
+++ b/plugins/isso/isso.php
@@ -49,7 +49,7 @@ function hook_isso_render_linklist($data, $conf)
49 $isso = sprintf($issoHtml, $issoUrl, $issoUrl, $link['id'], $link['id']); 49 $isso = sprintf($issoHtml, $issoUrl, $issoUrl, $link['id'], $link['id']);
50 $data['plugin_end_zone'][] = $isso; 50 $data['plugin_end_zone'][] = $isso;
51 } else { 51 } else {
52 $button = '<span><a href="?%s#isso-thread">'; 52 $button = '<span><a href="'. ($data['_BASE_PATH_'] ?? '') . '/shaare/%s#isso-thread">';
53 // For the default theme we use a FontAwesome icon which is better than an image 53 // For the default theme we use a FontAwesome icon which is better than an image
54 if ($conf->get('resource.theme') === 'default') { 54 if ($conf->get('resource.theme') === 'default') {
55 $button .= '<i class="linklist-plugin-icon fa fa-comment"></i>'; 55 $button .= '<i class="linklist-plugin-icon fa fa-comment"></i>';