X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=plugins%2Fisso%2Fisso.php;h=d46321633e9fabdc15d714a7356af2dfc23767d3;hb=e09bb93e18a333eff8e6a4156f5b58ba9c7d25cd;hp=378c11af3bfb526b57e22e76c88aa06f4408c2bd;hpb=e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08;p=github%2Fshaarli%2FShaarli.git diff --git a/plugins/isso/isso.php b/plugins/isso/isso.php index 378c11af..d4632163 100644 --- a/plugins/isso/isso.php +++ b/plugins/isso/isso.php @@ -5,6 +5,8 @@ */ use Shaarli\Config\ConfigManager; +use Shaarli\Plugin\PluginManager; +use Shaarli\Render\TemplatePage; /** * Display an error everywhere if the plugin is enabled without configuration. @@ -47,12 +49,12 @@ function hook_isso_render_linklist($data, $conf) $isso = sprintf($issoHtml, $issoUrl, $issoUrl, $link['id'], $link['id']); $data['plugin_end_zone'][] = $isso; } else { - $button = ''; + $button = ''; // For the default theme we use a FontAwesome icon which is better than an image if ($conf->get('resource.theme') === 'default') { $button .= ''; } else { - $button .= '