1: | <?php |
2: | |
3: | |
4: | |
5: | |
6: | |
7: | |
8: | namespace Aurora\Modules\BrandingWebclient; |
9: | |
10: | use Aurora\System\SettingsProperty; |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | |
18: | |
19: | |
20: | class Settings extends \Aurora\System\Module\Settings |
21: | { |
22: | protected function initDefaults() |
23: | { |
24: | $this->aContainer = [ |
25: | "Disabled" => new SettingsProperty( |
26: | false, |
27: | "bool", |
28: | null, |
29: | "Setting to true disables the module", |
30: | ), |
31: | "LoginLogo" => new SettingsProperty( |
32: | "", |
33: | "string", |
34: | null, |
35: | "URL of logo image used on login page", |
36: | ), |
37: | "TabsbarLogo" => new SettingsProperty( |
38: | "", |
39: | "string", |
40: | null, |
41: | "URL of logo image used in top left corner of main interface", |
42: | ), |
43: | "TopIframeUrl" => new SettingsProperty( |
44: | "", |
45: | "string", |
46: | null, |
47: | "URL of iframe displaying custom content (e.g. advertisement) on top of main interface", |
48: | ), |
49: | "TopIframeHeightPx" => new SettingsProperty( |
50: | 0, |
51: | "int", |
52: | null, |
53: | "Height of iframe with custom content, in pixels", |
54: | ), |
55: | ]; |
56: | } |
57: | } |
58: | |