diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 12:44:08 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 13:50:19 +0200 |
commit | 76fe68d924d424283d0a1784c5f5e7582dda3a00 (patch) | |
tree | 51d1d7f27a4ad12c67467932aba70049da8c4234 /plugins/isso/isso.php | |
parent | 0d930454a2892715e691f9c7713e26a3bb4ee96c (diff) | |
download | Shaarli-76fe68d924d424283d0a1784c5f5e7582dda3a00.tar.gz Shaarli-76fe68d924d424283d0a1784c5f5e7582dda3a00.tar.zst Shaarli-76fe68d924d424283d0a1784c5f5e7582dda3a00.zip |
Fix plugin base path in core plugins
Also fix note check in archiveorg plugin, and regression on vintage template.
Documentation regarding relative path has been added.
Fixes #1548
Diffstat (limited to 'plugins/isso/isso.php')
-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>'; |