Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/controller/blog/PhameBlogEditController.php
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
} | } | ||||
$form_box = id(new PHUIObjectBoxView()) | $form_box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText($page_title) | ->setHeaderText($page_title) | ||||
->setFormError($error_view) | ->setFormError($error_view) | ||||
->setForm($form); | ->setForm($form); | ||||
$crumbs = $this->buildApplicationCrumbs(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
$crumbs->addCrumb( | $crumbs->addTextCrumb($page_title, $this->getApplicationURI('blog/new')); | ||||
id(new PhabricatorCrumbView()) | |||||
->setName($page_title) | |||||
->setHref($this->getApplicationURI('blog/new'))); | |||||
$nav = $this->renderSideNavFilterView(); | $nav = $this->renderSideNavFilterView(); | ||||
$nav->selectFilter($this->id ? null : 'blog/new'); | $nav->selectFilter($this->id ? null : 'blog/new'); | ||||
$nav->appendChild( | $nav->appendChild( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$form_box, | $form_box, | ||||
)); | )); | ||||
Show All 9 Lines |