Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96372095
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
Thu, Dec 26, 01:55
Size
1 KB
Mime Type
text/x-php
Expires
Sat, Dec 28, 01:55 (2 d)
Engine
blob
Format
Raw Data
Handle
23174601
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