Since: 3.0.0
Author: Jack P.
Inheritance: extends Traq\Controllers\AppController
Beispiel #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());
 }
Beispiel #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]]);
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('plugins'));
     Registry::indexPlugins();
 }
Beispiel #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]]);
 }
Beispiel #5
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('priorities'));
 }
Beispiel #6
0
 public function __construct()
 {
     parent::__construct();
     $this->addcrumb($this->translate('projects'), $this->generateUrl('admin_projects'));
 }
Beispiel #7
0
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('users'), $this->generateUrl('admin_users'));
 }
Beispiel #8
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('project_roles'));
 }
Beispiel #9
0
 public function __construct()
 {
     parent::__construct();
     $this->title($this->translate('groups'));
 }
Beispiel #10
0
 public function __construct()
 {
     parent::__construct();
     $this->addCrumb($this->translate('plugins'), $this->generateUrl('admin_plugins'));
     Registry::indexPlugins();
 }