Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorTitleGlyphsSetting.php
| <?php | <?php | ||||
| final class PhabricatorTitleGlyphsSetting | final class PhabricatorTitleGlyphsSetting | ||||
| extends PhabricatorSelectSetting { | extends PhabricatorSelectSetting { | ||||
| const SETTINGKEY = 'titles'; | const SETTINGKEY = 'titles'; | ||||
| const VALUE_TITLE_GLYPHS = 'glyph'; | const VALUE_TITLE_GLYPHS = 'glyph'; | ||||
| const VALUE_TITLE_TEXT = 'text'; | const VALUE_TITLE_TEXT = 'text'; | ||||
| public function getSettingName() { | public function getSettingName() { | ||||
| return pht('Page Titles'); | return pht('Page Titles'); | ||||
| } | } | ||||
| public function getSettingPanelKey() { | |||||
| return PhabricatorDisplayPreferencesSettingsPanel::PANELKEY; | |||||
| } | |||||
| protected function getSettingOrder() { | |||||
| return 200; | |||||
| } | |||||
| protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
| return pht( | return pht( | ||||
| 'Phabricator uses unicode glyphs in page titles to provide a compact '. | 'Phabricator uses unicode glyphs in page titles to provide a compact '. | ||||
| 'representation of the current application. You can substitute plain '. | 'representation of the current application. You can substitute plain '. | ||||
| 'text instead if these glyphs do not display on your system.'); | 'text instead if these glyphs do not display on your system.'); | ||||
| } | } | ||||
| public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
| Show All 11 Lines | |||||