3 final class PhabricatorTitleGlyphsSetting
4 extends PhabricatorSelectSetting
{
6 const SETTINGKEY
= 'titles';
8 const VALUE_TITLE_GLYPHS
= 'glyph';
9 const VALUE_TITLE_TEXT
= 'text';
11 public function getSettingName() {
12 return pht('Page Titles');
15 public function getSettingPanelKey() {
16 return PhabricatorDisplayPreferencesSettingsPanel
::PANELKEY
;
19 protected function getSettingOrder() {
23 protected function getControlInstructions() {
25 'Phabricator uses unicode glyphs in page titles to provide a compact '.
26 'representation of the current application. You can substitute plain '.
27 'text instead if these glyphs do not display on your system.');
30 public function getSettingDefaultValue() {
31 return self
::VALUE_TITLE_GLYPHS
;
34 protected function getSelectOptions() {
36 self
::VALUE_TITLE_GLYPHS
=> pht("Use Unicode Glyphs: \xE2\x9A\x99"),
37 self
::VALUE_TITLE_TEXT
=> pht('Use Plain Text: [Differential]'),