diff --git a/bl-kernel/admin/controllers/install-plugin.php b/bl-kernel/admin/controllers/install-plugin.php index 92f3a643..c8e1eef8 100644 --- a/bl-kernel/admin/controllers/install-plugin.php +++ b/bl-kernel/admin/controllers/install-plugin.php @@ -26,4 +26,4 @@ if ($Login->role()!=='admin') { // ============================================================================ $pluginClassName = $layout['parameters']; activatePlugin($pluginClassName); -Redirect::page('plugins'); +Redirect::page('plugins#'.$pluginClassName); diff --git a/bl-kernel/admin/views/plugins.php b/bl-kernel/admin/views/plugins.php index 7d4c9276..ce01aa3f 100644 --- a/bl-kernel/admin/views/plugins.php +++ b/bl-kernel/admin/views/plugins.php @@ -17,26 +17,22 @@ echo ' '; -foreach($plugins['all'] as $Plugin) -{ - echo 'installed()?'class="plugin-installed"':'class="plugin-notInstalled"').'> +foreach ($plugins['all'] as $Plugin) { + echo 'installed()?'class="plugin-installed"':'class="plugin-notInstalled"').'>
'.$Plugin->name().'
'; echo ''; diff --git a/bl-plugins/static-pages/languages/de_CH.json b/bl-plugins/static-pages/languages/de_CH.json new file mode 100644 index 00000000..71aa7057 --- /dev/null +++ b/bl-plugins/static-pages/languages/de_CH.json @@ -0,0 +1,8 @@ +{ + "plugin-data": { + "name": "Static Pages", + "description": "Menü der statischen Seiten." + }, + "home-link": "Hauptseite", + "show-the-home-link-on-the-sidebar": "Hauptseite im Menü zeigen." +} \ No newline at end of file diff --git a/bl-plugins/static-pages/languages/de_DE.json b/bl-plugins/static-pages/languages/de_DE.json new file mode 100644 index 00000000..71aa7057 --- /dev/null +++ b/bl-plugins/static-pages/languages/de_DE.json @@ -0,0 +1,8 @@ +{ + "plugin-data": { + "name": "Static Pages", + "description": "Menü der statischen Seiten." + }, + "home-link": "Hauptseite", + "show-the-home-link-on-the-sidebar": "Hauptseite im Menü zeigen." +} \ No newline at end of file diff --git a/bl-plugins/static-pages/languages/es.json b/bl-plugins/static-pages/languages/es.json new file mode 100644 index 00000000..37f187fa --- /dev/null +++ b/bl-plugins/static-pages/languages/es.json @@ -0,0 +1,9 @@ +{ + "plugin-data": + { + "name": "Páginas Estáticas", + "description": "Cree su propio menú de navegación con páginas estáticas." + }, + "home-link": "Inicio enlace", + "show-the-home-link-on-the-sidebar": "Mostrar el enlace de inicio en la barra lateral." +} \ No newline at end of file diff --git a/bl-plugins/static-pages/plugin.php b/bl-plugins/static-pages/plugin.php index c7e708a6..17a81a1b 100644 --- a/bl-plugins/static-pages/plugin.php +++ b/bl-plugins/static-pages/plugin.php @@ -27,6 +27,7 @@ class pluginStaticPages extends Plugin { $html .= ''; $html .= '';