Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / settings / setting / PhabricatorTitleGlyphsSetting.php
blobe5947c4875d9bf7f39d405446015d6a036fc8b9b
1 <?php
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() {
20 return 200;
23 protected function getControlInstructions() {
24 return pht(
25 'Some applications use unicode glyphs in page titles to provide a '.
26 'compact representation of the current application. You can '.
27 'substitute plain text instead if these glyphs do not display on '.
28 'your system.');
31 public function getSettingDefaultValue() {
32 return self::VALUE_TITLE_GLYPHS;
35 protected function getSelectOptions() {
36 return array(
37 self::VALUE_TITLE_GLYPHS => pht("Use Unicode Glyphs: \xE2\x9A\x99"),
38 self::VALUE_TITLE_TEXT => pht('Use Plain Text: [Differential]'),