1: <?php
2: /**
3: * This code is licensed under AGPLv3 license or Afterlogic Software License
4: * if commercial version of the product was purchased.
5: * For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files.
6: */
7:
8: namespace Aurora\Modules\BrandingWebclient;
9:
10: use Aurora\System\SettingsProperty;
11:
12: /**
13: * @property bool $Disabled
14: * @property string $LoginLogo
15: * @property string $TabsbarLogo
16: * @property string $TopIframeUrl
17: * @property int $TopIframeHeightPx
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: