Differential D21784 Diff 51940 src/applications/diffusion/panel/DiffusionSetPasswordSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/panel/DiffusionSetPasswordSettingsPanel.php
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | public function processRequest(AphrontRequest $request) { | ||||
} | } | ||||
$title = pht('Set VCS Password'); | $title = pht('Set VCS Password'); | ||||
$form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->appendRemarkupInstructions( | ->appendRemarkupInstructions( | ||||
pht( | pht( | ||||
'To access repositories hosted by Phabricator over HTTP, you must '. | 'To access repositories hosted on this server over HTTP, you must '. | ||||
'set a version control password. This password should be unique.'. | 'set a version control password. This password should be unique.'. | ||||
"\n\n". | "\n\n". | ||||
"This password applies to all repositories available over ". | "This password applies to all repositories available over ". | ||||
"HTTP.")); | "HTTP.")); | ||||
if ($vcspassword->getID()) { | if ($vcspassword->getID()) { | ||||
$form | $form | ||||
->appendChild( | ->appendChild( | ||||
▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines |