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