Example #1
0
 public function config()
 {
     parent::config();
     $this->data->page['desc'] = T_('Define or edit user permissions to allow or block access to special pages');
     $this->data->page['haschild'] = false;
     $myChild = $this->child();
     if ($myChild) {
         $this->data->page['title'] = T_('Edit') . ' ' . T_('permission') . ' ' . T_($myChild);
         $this->data->permissions = $this->model()->permModuleFill();
     } else {
         $this->data->datarow = $this->model()->draw_permissions();
     }
 }
Example #2
0
 public function config()
 {
     parent::config();
     $this->data->page['desc'] = T_('Edit your site general options');
     $this->data->page['haschild'] = false;
 }