diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-25 10:59:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 10:59:40 +0200 |
commit | 85b972baf67c61ebabf1ce332358e4dfd2456a4e (patch) | |
tree | 6f890cf93ac6cd30da509fa9c39ec7d061f25709 /plugins/isso | |
parent | 71eb87353ca09a1476c3f94e51ccfbfb45a91170 (diff) | |
parent | 76fe68d924d424283d0a1784c5f5e7582dda3a00 (diff) | |
download | Shaarli-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')
-rw-r--r-- | plugins/isso/isso.php | 2 |
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>'; |