diff --git a/plugins/myShaarli/myShaarli.php b/plugins/myShaarli/myShaarli.php index fadafa88..2aee8142 100644 --- a/plugins/myShaarli/myShaarli.php +++ b/plugins/myShaarli/myShaarli.php @@ -22,7 +22,7 @@ function myShaarli_init($conf) { $conf->set('thumbnails.mode', 'none'); return array($error); } - if ($conf->get('resource.theme') !== 'myShaarli' and $conf->get('resource.theme') !== 'myShaarli_Columns') { + if (!in_array($conf->get('resource.theme'), ['myShaarli', 'myShaarli_Columns'])) { $error = 'myShaarli plugin: ' . 'This plugin need modification of template. Use myShaarli theme for test.'; $conf->set('thumbnails.mode', 'none'); @@ -51,7 +51,7 @@ function hook_myShaarli_render_header($data) { 'attr' => [ 'href' => $conf->get('plugins.WebSite_URL'), ], - 'html' => ' Site', + 'html' => 'Site', ]; $data['buttons_toolbar'][] = $button; } diff --git a/tpl/myShaarli/changetag.html b/tpl/myShaarli/changetag.html index 13b7f24a..14b7c7dd 100644 --- a/tpl/myShaarli/changetag.html +++ b/tpl/myShaarli/changetag.html @@ -5,60 +5,62 @@
{include="page.header"} -{'You can also edit tags in the'|t} {'tag list'|t}.
+{'You can also edit tags in the'|t} {'tag list'|t}.
+