| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\ChangePasswordWebclient; |
| 9: | |
| 10: | use Aurora\System\SettingsProperty; |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | class Settings extends \Aurora\System\Module\Settings |
| 19: | { |
| 20: | protected function initDefaults() |
| 21: | { |
| 22: | $this->aContainer = [ |
| 23: | "Disabled" => new SettingsProperty( |
| 24: | false, |
| 25: | "bool", |
| 26: | null, |
| 27: | "Setting to true disables the module", |
| 28: | ), |
| 29: | "ShowSingleMailChangePasswordInCommonSettings" => new SettingsProperty( |
| 30: | false, |
| 31: | "bool", |
| 32: | null, |
| 33: | "If set to true, Change Password button is displayed in Common settings rather than under Email Accounts section", |
| 34: | ), |
| 35: | "ShowSingleMailChangePasswordInSecuritySettings" => new SettingsProperty( |
| 36: | false, |
| 37: | "bool", |
| 38: | null, |
| 39: | "If set to true, Change Password button is displayed in Security settings, SecuritySettingsWebclient module", |
| 40: | ), |
| 41: | ]; |
| 42: | } |
| 43: | } |
| 44: | |