| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\MobileAppsWebclient; |
| 9: | |
| 10: | use Aurora\System\SettingsProperty; |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | |
| 26: | |
| 27: | |
| 28: | |
| 29: | |
| 30: | class Settings extends \Aurora\System\Module\Settings |
| 31: | { |
| 32: | protected function initDefaults() |
| 33: | { |
| 34: | $this->aContainer = [ |
| 35: | "Disabled" => new SettingsProperty( |
| 36: | false, |
| 37: | "bool", |
| 38: | null, |
| 39: | "Setting to true disables the module", |
| 40: | ), |
| 41: | "FilesSectionName" => new SettingsProperty( |
| 42: | "Aurora Files", |
| 43: | "string", |
| 44: | null, |
| 45: | "Title of Files section in Mobile Apps tab of Settings screen", |
| 46: | ), |
| 47: | "ShowFilesAndroidApp" => new SettingsProperty( |
| 48: | true, |
| 49: | "bool", |
| 50: | null, |
| 51: | "If true, display a link to Aurora Files for Android", |
| 52: | ), |
| 53: | "ShowFilesServerUrlApp" => new SettingsProperty( |
| 54: | true, |
| 55: | "bool", |
| 56: | null, |
| 57: | "If true, display URL which needs to be supplied in mobile apps to access files", |
| 58: | ), |
| 59: | "FilesAndroidAppLink" => new SettingsProperty( |
| 60: | "https://play.google.com/store/apps/details?id=com.afterlogic.aurora.files", |
| 61: | "string", |
| 62: | null, |
| 63: | "URL of a link to Aurora Files for Android", |
| 64: | ), |
| 65: | "ShowFilesIosApp" => new SettingsProperty( |
| 66: | true, |
| 67: | "bool", |
| 68: | null, |
| 69: | "If true, display a link to Aurora Files for iOS", |
| 70: | ), |
| 71: | "FilesIosAppLink" => new SettingsProperty( |
| 72: | "https://apps.apple.com/us/app/aurorafiles/id1030108751?platform=iphone", |
| 73: | "string", |
| 74: | null, |
| 75: | "URL of a link to Aurora Files for iOS", |
| 76: | ), |
| 77: | "ShowFilesWinApp" => new SettingsProperty( |
| 78: | true, |
| 79: | "bool", |
| 80: | null, |
| 81: | "If true, link to Windows client for accessing files is shown", |
| 82: | ), |
| 83: | "FilesWinAppLink" => new SettingsProperty( |
| 84: | "https://afterlogic.com/download/AuroraFileSync.msi", |
| 85: | "string", |
| 86: | null, |
| 87: | "URL of a link to Windows client for accessing files", |
| 88: | ), |
| 89: | "MailSectionName" => new SettingsProperty( |
| 90: | "Aurora Mail", |
| 91: | "string", |
| 92: | null, |
| 93: | "Title of Mail section in Mobile Apps tab of Settings screen", |
| 94: | ), |
| 95: | "ShowMailServerUrlApp" => new SettingsProperty( |
| 96: | true, |
| 97: | "bool", |
| 98: | null, |
| 99: | "If true, display the URL for accessing this product installation", |
| 100: | ), |
| 101: | "ShowMailAndroidApp" => new SettingsProperty( |
| 102: | true, |
| 103: | "bool", |
| 104: | null, |
| 105: | "If true, display a link to Aurora Mail for Android", |
| 106: | ), |
| 107: | "MailAndroidAppLink" => new SettingsProperty( |
| 108: | "https://play.google.com/store/apps/details?id=com.afterlogic.aurora.mail", |
| 109: | "string", |
| 110: | null, |
| 111: | "URL of a link to Aurora Mail for Android", |
| 112: | ), |
| 113: | "ShowMailIosApp" => new SettingsProperty( |
| 114: | true, |
| 115: | "bool", |
| 116: | null, |
| 117: | "If true, display a link to Aurora Mail for iOS", |
| 118: | ), |
| 119: | "MailIosAppLink" => new SettingsProperty( |
| 120: | "https://apps.apple.com/us/app/aurora-mail/id1494290317?platform=iphone", |
| 121: | "string", |
| 122: | null, |
| 123: | "URL of a link to Aurora Mail for iOS", |
| 124: | ), |
| 125: | ]; |
| 126: | } |
| 127: | } |
| 128: | |