Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94139828
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
Wed, Dec 4, 05:20
Size
928 B
Mime Type
text/x-php
Expires
Fri, Dec 6, 05:20 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22743304
Attached To
rPH Phabricator
PhabricatorEmailFormatSetting.php
View Options
<?php
final
class
PhabricatorEmailFormatSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'html-emails'
;
const
VALUE_HTML_EMAIL
=
'html'
;
const
VALUE_TEXT_EMAIL
=
'text'
;
public
function
getSettingName
()
{
return
pht
(
'HTML Email'
);
}
public
function
getSettingPanelKey
()
{
return
PhabricatorEmailFormatSettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
()
{
return
100
;
}
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