Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorEmailFormatSetting.php
| <?php | <?php | ||||
| final class PhabricatorEmailFormatSetting | final class PhabricatorEmailFormatSetting | ||||
| extends PhabricatorSelectSetting { | extends PhabricatorSelectSetting { | ||||
| const SETTINGKEY = 'html-emails'; | const SETTINGKEY = 'html-emails'; | ||||
| const VALUE_HTML_EMAIL = 'true'; | const VALUE_HTML_EMAIL = 'html'; | ||||
| const VALUE_TEXT_EMAIL = 'false'; | const VALUE_TEXT_EMAIL = 'text'; | ||||
| public function getSettingName() { | public function getSettingName() { | ||||
| return pht('HTML Email'); | return pht('HTML Email'); | ||||
| } | } | ||||
| public function getSettingPanelKey() { | public function getSettingPanelKey() { | ||||
| return PhabricatorEmailFormatSettingsPanel::PANELKEY; | return PhabricatorEmailFormatSettingsPanel::PANELKEY; | ||||
| } | } | ||||
| Show All 27 Lines | |||||