Add "Licenze" and "Log Licenze" sections to admin panel
Introduced two new sections - "Licenze" and "Log Licenze" - to the admin sidebar and created corresponding controllers, views, modals, and scripts to support their functionality. These sections include filtering, listing, and basic interactions such as editing and deletion support.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
class Application_ControllerSection_Admin_Index_Loglicenze extends App_Controller_Sections_AbstractSection
|
||||
{
|
||||
|
||||
public function __construct(App_Controller_Sections_Section $controller)
|
||||
{
|
||||
// $this->_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);
|
||||
}*/
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user