Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101514399
PhabricatorEmailFormatSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 11, 04:43
Size
763 B
Mime Type
text/x-php
Expires
Thu, Feb 13, 04:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24172572
Attached To
rPH Phabricator
PhabricatorEmailFormatSetting.php
View Options
<?php
final
class
PhabricatorEmailFormatSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'html-emails'
;
const
VALUE_HTML_EMAIL
=
'true'
;
const
VALUE_TEXT_EMAIL
=
'false'
;
public
function
getSettingName
()
{
return
pht
(
'HTML Email'
);
}
protected
function
getControlInstructions
()
{
return
pht
(
'You can opt to receive plain text email from Phabricator instead '
.
'of HTML email. Plain text email works better with some clients.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_HTML_EMAIL
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_HTML_EMAIL
=>
pht
(
'Send HTML Email'
),
self
::
VALUE_TEXT_EMAIL
=>
pht
(
'Send Plain Text Email'
),
);
}
}
Event Timeline
Log In to Comment