diff --git a/application/controllerSections/Admin/Index/Licenze.php b/application/controllerSections/Admin/Index/Licenze.php new file mode 100644 index 0000000..af5ffa1 --- /dev/null +++ b/application/controllerSections/Admin/Index/Licenze.php @@ -0,0 +1,38 @@ +_moduleName = 'admin'; + $this->_resourceName = 'licenze'; + + //Usato per abilitare la sezione filtri + $this->_enableModalFilter = false; + + //Disable new insert of element + $this->_enableNewInsert = false; + + parent::__construct($controller); + } + + public function lista() + { + parent::lista(); + + $this->_controller->_MENUITEM = "licenze"; + $this->_controller->_EVENTLOADER = $this->_controller->getRequest()->getActionName(); + $this->_controller->_PAGETITLE = 'Elenco Licenze'; + $this->_controller->_ICONTITLE = 'fa-key'; + + } + + //Personalizzazione della funzione di delete Elemento singolo + /*protected function deleteElement($id){ + $this->_model->delete($this->_resourceName,$id); + }*/ + + +} diff --git a/application/controllerSections/Admin/Index/Loglicenze.php b/application/controllerSections/Admin/Index/Loglicenze.php new file mode 100644 index 0000000..f3320cf --- /dev/null +++ b/application/controllerSections/Admin/Index/Loglicenze.php @@ -0,0 +1,36 @@ +_moduleName = 'admin'; + $this->_resourceName = 'LogLicenze'; + + //Usato per abilitare la sezione filtri + $this->_enableModalFilter = false; + + //Disable new insert of element + $this->_enableNewInsert = false; + + parent::__construct($controller); + } + + public function lista() + { + parent::lista(); + + $this->_controller->_MENUITEM = "loglicenze"; + $this->_controller->_EVENTLOADER = $this->_controller->getRequest()->getActionName(); + $this->_controller->_PAGETITLE = 'Log Operazioni Licenze'; + $this->_controller->_ICONTITLE = 'fa-list'; + } + + //Personalizzazione della funzione di delete Elemento singolo + /*protected function deleteElement($id){ + $this->_model->delete($this->_resourceName,$id); + }*/ + + +} diff --git a/application/layouts/scripts/admin/_sidebarAdmin.phtml b/application/layouts/scripts/admin/_sidebarAdmin.phtml index 7c645a6..616a817 100644 --- a/application/layouts/scripts/admin/_sidebarAdmin.phtml +++ b/application/layouts/scripts/admin/_sidebarAdmin.phtml @@ -23,6 +23,22 @@ + + + +