diff --git a/app/views/Plugins.php b/app/views/Plugins.php index 9bdd08e..d3bcf03 100644 --- a/app/views/Plugins.php +++ b/app/views/Plugins.php @@ -6,7 +6,6 @@ class Plugins extends Template $userManager = new UserManager(); $langMng = new LanguageManager('en'); - if (!$userManager->isLogin()){ header('Location: ' . BASEURL . 'login'); } diff --git a/app/views/templates/part/pluginButton.phtml b/app/views/templates/part/pluginButton.phtml new file mode 100644 index 0000000..d840553 --- /dev/null +++ b/app/views/templates/part/pluginButton.phtml @@ -0,0 +1,21 @@ +
+
+
+
+
+
+ +
+
+
+ +
+
+
diff --git a/app/views/templates/plugins.phtml b/app/views/templates/plugins.phtml index 3c938ef..6a59b5d 100644 --- a/app/views/templates/plugins.phtml +++ b/app/views/templates/plugins.phtml @@ -22,11 +22,21 @@
-

get('t_Plugins'); ?>

+

get('t_Plugins'); + ?>

- + prepare('langMng',$LANGMNG); + $partial->prepare('pluginName',$plugin['name']); + $partial->prepare('pluginStatus',$plugin['status']); + $partial->render(); + + ?>