Differential D15885 Diff 38253 src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | public function processRequest(AphrontRequest $request) { | ||||
| $re_prefix_default = PhabricatorEnv::getEnvConfig('metamta.re-prefix') | $re_prefix_default = PhabricatorEnv::getEnvConfig('metamta.re-prefix') | ||||
| ? pht('Enabled') | ? pht('Enabled') | ||||
| : pht('Disabled'); | : pht('Disabled'); | ||||
| $vary_default = PhabricatorEnv::getEnvConfig('metamta.vary-subjects') | $vary_default = PhabricatorEnv::getEnvConfig('metamta.vary-subjects') | ||||
| ? pht('Vary') | ? pht('Vary') | ||||
| : pht('Do Not Vary'); | : pht('Do Not Vary'); | ||||
| $html_emails_default = pht('Plain Text'); | $html_emails_default = pht('HTML'); | ||||
| $re_prefix_value = $preferences->getPreference($pref_re_prefix); | $re_prefix_value = $preferences->getPreference($pref_re_prefix); | ||||
| if ($re_prefix_value === null) { | if ($re_prefix_value === null) { | ||||
| $re_prefix_value = 'default'; | $re_prefix_value = 'default'; | ||||
| } else { | } else { | ||||
| $re_prefix_value = $re_prefix_value | $re_prefix_value = $re_prefix_value | ||||
| ? 'true' | ? 'true' | ||||
| : 'false'; | : 'false'; | ||||
| ▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines | |||||