Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     // Set Table Prefix
     $this->table_prefix = Kohana::config('database.default.table_prefix');
     // Cacheable JSON Controller
     $this->is_cachable = TRUE;
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'simple_group_settings';
     //check the group user's permissions for this
     $permissions = groups::get_permissions_for_user($this->user->id);
     if (!$permissions["edit_group_settings"]) {
         url::redirect(url::site() . 'admin/simplegroups/dashboard');
     }
 }
Ejemplo n.º 3
0
 function __construct()
 {
     parent::__construct();
     // Display Reply to Option?
     $this->reply_to = TRUE;
     if (!Kohana::config("settings.sms_provider")) {
         // Hide Reply to option
         $this->reply_to = FALSE;
     }
     $this->template->this_page = 'messages';
 }
Ejemplo n.º 4
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'reports';
 }
Ejemplo n.º 5
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'adminmap';
 }
Ejemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 7
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'profile';
     $this->user_id = $_SESSION['auth_user']->id;
 }