Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorDisqusConfigOptions.php
| <?php | <?php | ||||
| final class PhabricatorDisqusConfigOptions | final class PhabricatorDisqusConfigOptions | ||||
| extends PhabricatorApplicationConfigOptions { | extends PhabricatorApplicationConfigOptions { | ||||
| public function getName() { | public function getName() { | ||||
| return pht("Integration with Disqus"); | return pht('Integration with Disqus'); | ||||
| } | } | ||||
| public function getDescription() { | public function getDescription() { | ||||
| return pht("Disqus authentication and integration options."); | return pht('Disqus authentication and integration options.'); | ||||
| } | } | ||||
| public function getOptions() { | public function getOptions() { | ||||
| return array( | return array( | ||||
| $this->newOption('disqus.shortname', 'string', null) | $this->newOption('disqus.shortname', 'string', null) | ||||
| ->setSummary(pht("Shortname for Disqus comment widget.")) | ->setSummary(pht('Shortname for Disqus comment widget.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "Website shortname to use for Disqus comment widget in Phame. ". | "Website shortname to use for Disqus comment widget in Phame. ". | ||||
| "For more information, see:\n\n". | "For more information, see:\n\n". | ||||
| "[[http://docs.disqus.com/help/4/ | Disqus Quick Start Guide]]\n". | "[[http://docs.disqus.com/help/4/ | Disqus Quick Start Guide]]\n". | ||||
| "[[http://docs.disqus.com/help/68/ | Information on Shortnames]]")), | "[[http://docs.disqus.com/help/68/ | Information on Shortnames]]")), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||