Differential D13442 Diff 32540 src/applications/legalpad/controller/LegalpadDocumentEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/legalpad/controller/LegalpadDocumentEditController.php
Show First 20 Lines • Show All 239 Lines • ▼ Show 20 Lines | $form_box = id(new PHUIObjectBoxView()) | ||||
->setFormErrors($errors) | ->setFormErrors($errors) | ||||
->setForm($form); | ->setForm($form); | ||||
$crumbs->addTextCrumb($short); | $crumbs->addTextCrumb($short); | ||||
$preview = id(new PHUIRemarkupPreviewPanel()) | $preview = id(new PHUIRemarkupPreviewPanel()) | ||||
->setHeader(pht('Document Preview')) | ->setHeader(pht('Document Preview')) | ||||
->setPreviewURI($this->getApplicationURI('document/preview/')) | ->setPreviewURI($this->getApplicationURI('document/preview/')) | ||||
->setControlID('document-text'); | ->setControlID('document-text') | ||||
->addClass('phui-document-view'); | |||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$form_box, | $form_box, | ||||
$preview, | $preview, | ||||
), | ), | ||||
array( | array( | ||||
'title' => $title, | 'title' => $title, | ||||
)); | )); | ||||
} | } | ||||
} | } |