Esempio 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;
 }
Esempio 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');
     }
 }
Esempio 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';
 }
Esempio n. 4
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'reports';
 }
Esempio n. 5
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'adminmap';
 }
Esempio n. 6
0
 function __construct()
 {
     parent::__construct();
 }
Esempio n. 7
0
 function __construct()
 {
     parent::__construct();
     $this->template->this_page = 'profile';
     $this->user_id = $_SESSION['auth_user']->id;
 }