X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=plugins%2Fisso%2Fisso.php;h=d46321633e9fabdc15d714a7356af2dfc23767d3;hb=ce901a58289c72bf7f4dc3515a2be70562cd618b;hp=9bdd5909bc49edc35f029a7a13497a928e5a0279;hpb=a932f486f20f3daf8ad657d8d39a6d6c316e66eb;p=github%2Fshaarli%2FShaarli.git diff --git a/plugins/isso/isso.php b/plugins/isso/isso.php index 9bdd5909..d4632163 100644 --- a/plugins/isso/isso.php +++ b/plugins/isso/isso.php @@ -5,7 +5,8 @@ */ use Shaarli\Config\ConfigManager; -use Shaarli\Router; +use Shaarli\Plugin\PluginManager; +use Shaarli\Render\TemplatePage; /** * Display an error everywhere if the plugin is enabled without configuration. @@ -48,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 .= '