Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96685772
PhabricatorTitleGlyphsSetting.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
Sun, Dec 29, 20:10
Size
1 KB
Mime Type
text/x-php
Expires
Tue, Dec 31, 20:10 (2 d)
Engine
blob
Format
Raw Data
Handle
23225747
Attached To
rPH Phabricator
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
(
'Phabricator uses 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]'
),
);
}
}
Event Timeline
Log In to Comment