Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548221
PhabricatorTitleGlyphsSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorTitleGlyphsSetting.php
View Options
<?php
final
class
PhabricatorTitleGlyphsSetting
extends
PhabricatorSelectSetting
{
const
SETTINGKEY
=
'titles'
;
const
VALUE_TITLE_GLYPHS
=
'glyph'
;
const
VALUE_TITLE_TEXT
=
'text'
;
public
function
getSettingName
()
{
return
pht
(
'Page Titles'
);
}
public
function
getSettingPanelKey
()
{
return
PhabricatorDisplayPreferencesSettingsPanel
::
PANELKEY
;
}
protected
function
getSettingOrder
()
{
return
200
;
}
protected
function
getControlInstructions
()
{
return
pht
(
'Some applications use unicode glyphs in page titles to provide a '
.
'compact representation of the current application. You can '
.
'substitute plain text instead if these glyphs do not display on '
.
'your system.'
);
}
public
function
getSettingDefaultValue
()
{
return
self
::
VALUE_TITLE_GLYPHS
;
}
protected
function
getSelectOptions
()
{
return
array
(
self
::
VALUE_TITLE_GLYPHS
=>
pht
(
"Use Unicode Glyphs:
\x
E2
\x
9A
\x
99"
),
self
::
VALUE_TITLE_TEXT
=>
pht
(
'Use Plain Text: [Differential]'
),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:46 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120558
Default Alt Text
PhabricatorTitleGlyphsSetting.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment