| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\MailLoginFormWebclient; |
| 9: | |
| 10: | use Aurora\System\SettingsProperty; |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | |
| 26: | class Settings extends \Aurora\System\Module\Settings |
| 27: | { |
| 28: | protected function initDefaults() |
| 29: | { |
| 30: | $this->aContainer = [ |
| 31: | "Disabled" => new SettingsProperty( |
| 32: | false, |
| 33: | "bool", |
| 34: | null, |
| 35: | "Setting to true disables the module", |
| 36: | ), |
| 37: | "ServerModuleName" => new SettingsProperty( |
| 38: | "MailLoginFormWebclient", |
| 39: | "string", |
| 40: | null, |
| 41: | "Defines name of the module responsible for login page", |
| 42: | ), |
| 43: | "HashModuleName" => new SettingsProperty( |
| 44: | "mail", |
| 45: | "string", |
| 46: | null, |
| 47: | "Defines hash of the module responsible for login page", |
| 48: | ), |
| 49: | "CustomLoginUrl" => new SettingsProperty( |
| 50: | "", |
| 51: | "string", |
| 52: | null, |
| 53: | "", |
| 54: | ), |
| 55: | "DemoLogin" => new SettingsProperty( |
| 56: | "", |
| 57: | "string", |
| 58: | null, |
| 59: | "If set, denotes email address of predefined demo account", |
| 60: | ), |
| 61: | "DemoPassword" => new SettingsProperty( |
| 62: | "", |
| 63: | "string", |
| 64: | null, |
| 65: | "If set, denotes password of predefined demo account", |
| 66: | ), |
| 67: | "InfoText" => new SettingsProperty( |
| 68: | "", |
| 69: | "string", |
| 70: | null, |
| 71: | "Defines additional text message shown on login page", |
| 72: | ), |
| 73: | "BottomInfoHtmlText" => new SettingsProperty( |
| 74: | "", |
| 75: | "string", |
| 76: | null, |
| 77: | "Defines bottom text message shown on login page", |
| 78: | ), |
| 79: | "LoginSignMeType" => new SettingsProperty( |
| 80: | 0, |
| 81: | "int", |
| 82: | null, |
| 83: | "", |
| 84: | ), |
| 85: | "AllowChangeLanguage" => new SettingsProperty( |
| 86: | true, |
| 87: | "bool", |
| 88: | null, |
| 89: | "Enables changing language on login page", |
| 90: | ), |
| 91: | "UseDropdownLanguagesView" => new SettingsProperty( |
| 92: | false, |
| 93: | "bool", |
| 94: | null, |
| 95: | "If true, language selector is presented as a dropdown menu", |
| 96: | ), |
| 97: | ]; |
| 98: | } |
| 99: | } |
| 100: | |