Differential D7787 Diff 17644 src/applications/auth/controller/config/PhabricatorAuthNewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/config/PhabricatorAuthNewController.php
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | $form = id(new AphrontFormView()) | ||||
->setValue(pht('Continue'))); | ->setValue(pht('Continue'))); | ||||
$form_box = id(new PHUIObjectBoxView()) | $form_box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText(pht('Add Authentication Provider')) | ->setHeaderText(pht('Add Authentication Provider')) | ||||
->setFormError($errors) | ->setFormError($errors) | ||||
->setForm($form); | ->setForm($form); | ||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
$crumbs->addCrumb( | $crumbs->addTextCrumb(pht('Add Provider')); | ||||
id(new PhabricatorCrumbView()) | |||||
->setName(pht('Add Provider'))); | |||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$form_box, | $form_box, | ||||
), | ), | ||||
array( | array( | ||||
'title' => pht('Add Authentication Provider'), | 'title' => pht('Add Authentication Provider'), | ||||
'device' => true, | 'device' => true, | ||||
)); | )); | ||||
} | } | ||||
} | } |