Since: 3.0.0
Author: Jack P.
Inheritance: extends Traq\Controllers\AppController
Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('settings'), $this->generateUrl('admin_settings'));
     // Ticket history sorting select options
     $this->set('historySortingSelectOptions', [['label' => $this->translate("oldest_first"), 'value' => "oldest_first"], ['label' => $this->translate("newest_first"), 'value' => "newest_first"]]);
     Themes::index();
     $this->set('themes', Themes::selectOptions());
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('statuses'), $this->generateUrl('admin_statuses'));
     $this->set('typeSelectOptions', [['label' => $this->translate('status.type.1'), 'value' => 1], ['label' => $this->translate('status.type.2'), 'value' => 2], ['label' => $this->translate('status.type.0'), 'value' => 0]]);
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('plugins'));
     Registry::indexPlugins();
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('statuses'));
     $this->set('typeSelectOptions', [['label' => $this->translate('status.type.1'), 'value' => 1], ['label' => $this->translate('status.type.2'), 'value' => 2], ['label' => $this->translate('status.type.0'), 'value' => 0]]);
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('priorities'));
 }
Example #6
0
 public function __construct()
 {
     parent::__construct();
     $this->addcrumb($this->translate('projects'), $this->generateUrl('admin_projects'));
 }
Example #7
0
File: Users.php Project: nirix/traq
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('users'), $this->generateUrl('admin_users'));
 }
Example #8
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('project_roles'));
 }
Example #9
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('groups'));
 }
Example #10
0
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('plugins'), $this->generateUrl('admin_plugins'));
     Registry::indexPlugins();
 }