Conditions | 1 |
Paths | 1 |
Total Lines | 26 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function __construct() { |
||
23 | |||
24 | # Admin language |
||
25 | |||
26 | $languages = Extend\Languages::loader(SECTION_ADMIN); |
||
27 | |||
28 | $this->addSelect('admin_language', $languages->active(), $languages->items(true)); |
||
29 | |||
30 | # Admin template |
||
31 | |||
32 | $templates = Extend\Templates::loader(SECTION_ADMIN); |
||
33 | |||
34 | $this->addSelect('admin_template', $templates->active(), $templates->items(true)); |
||
35 | |||
36 | # Admin display entities |
||
37 | |||
38 | $this->addSelect('admin_display_entities', Settings::get('admin_display_entities'), |
||
39 | |||
40 | Range\Display\Entities::getRange()); |
||
41 | |||
42 | # Admin display files |
||
43 | |||
44 | $this->addSelect('admin_display_files', Settings::get('admin_display_files'), |
||
45 | |||
46 | Range\Display\Files::getRange()); |
||
47 | } |
||
48 | } |
||
50 |