Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/provider/PhabricatorPhabricatorAuthProvider.php
Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | if ($is_setup) { | ||||
->setValue($v_name) | ->setValue($v_name) | ||||
->setName(self::PROPERTY_PHABRICATOR_NAME) | ->setName(self::PROPERTY_PHABRICATOR_NAME) | ||||
->setError($e_name) | ->setError($e_name) | ||||
->setCaption(pht( | ->setCaption(pht( | ||||
'Use lowercase letters, digits, and periods. For example: %s', | 'Use lowercase letters, digits, and periods. For example: %s', | ||||
phutil_tag( | phutil_tag( | ||||
'tt', | 'tt', | ||||
array(), | array(), | ||||
'`example.oauthserver`')))); | 'example.oauthserver')))); | ||||
} else { | } else { | ||||
$form | $form | ||||
->appendChild( | ->appendChild( | ||||
id(new AphrontFormStaticControl()) | id(new AphrontFormStaticControl()) | ||||
->setLabel(pht('Server Name')) | ->setLabel(pht('Server Name')) | ||||
->setValue($v_name)); | ->setValue($v_name)); | ||||
} | } | ||||
Show All 27 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0