Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorUIConfigOptions.php
| Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | return array( | ||||
| "information or an about page.\n\n". | "information or an about page.\n\n". | ||||
| "Specify a list of dictionaries. Each dictionary describes ". | "Specify a list of dictionaries. Each dictionary describes ". | ||||
| "a footer item. These keys are supported:\n\n". | "a footer item. These keys are supported:\n\n". | ||||
| " - `name` The name of the item.\n". | " - `name` The name of the item.\n". | ||||
| " - `href` Optionally, the link target of the item. You can ". | " - `href` Optionally, the link target of the item. You can ". | ||||
| " omit this if you just want a piece of text, like a copyright ". | " omit this if you just want a piece of text, like a copyright ". | ||||
| " notice.")) | " notice.")) | ||||
| ->addExample($example, pht('Basic Example')), | ->addExample($example, pht('Basic Example')), | ||||
| $this->newOption('ui.custom-wordmark', 'string', array()) | |||||
| ->setSummary( | |||||
| pht( | |||||
| 'Customize the text next to the logo.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| "Allows you to change the text (Phabricator by default) ". | |||||
| "next to the Phabricator logo.\n\n")), | |||||
| $this->newOption( | $this->newOption( | ||||
| 'ui.custom-header', | 'ui.custom-header', | ||||
| 'custom:PhabricatorCustomHeaderConfigType', | 'custom:PhabricatorCustomHeaderConfigType', | ||||
| null) | null) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht('Customize the Phabricator logo.')) | pht('Customize the Phabricator logo.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht('You can customize the Phabricator logo by specifying the '. | pht('You can customize the Phabricator logo by specifying the '. | ||||
| 'phid for a viewable image you have uploaded to Phabricator '. | 'phid for a viewable image you have uploaded to Phabricator '. | ||||
| 'via the [[ /file/ | Files application]]. This image should '. | 'via the [[ /file/ | Files application]]. This image should '. | ||||
| 'be:'."\n". | 'be:'."\n". | ||||
| ' - 192px X 80px; while not enforced, images with these '. | ' - 80px X 80px; while not enforced, images with these '. | ||||
| 'dimensions will look best across devices.'."\n". | 'dimensions will look best across devices.'."\n". | ||||
| ' - have view policy public if [[ '. | ' - have view policy public if [[ '. | ||||
| '/config/edit/policy.allow-public | `policy.allow-public`]] '. | '/config/edit/policy.allow-public | `policy.allow-public`]] '. | ||||
| 'is true and otherwise view policy user; mismatches in these '. | 'is true and otherwise view policy user; mismatches in these '. | ||||
| 'policy settings will result in a broken logo for some users.'. | 'policy settings will result in a broken logo for some users.'. | ||||
| "\n\n". | "\n\n". | ||||
| 'You should restart Phabricator after updating this value '. | 'You should restart Phabricator after updating this value '. | ||||
| 'to see this change take effect.'. | 'to see this change take effect.'. | ||||
| Show All 9 Lines | |||||