From 205e66189f406bce4c8dcfcf1be3cb3a17c8962e Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 27 Aug 2013 09:43:45 -0700 Subject: [PATCH] Update XHPast forms Summary: Forms look like others, they do Test Plan: Page reload, I see Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6826 --- .../PhabricatorXHPASTViewRunController.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php b/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php index 5e03fe90a9..ee0d76319e 100644 --- a/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php +++ b/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php @@ -43,15 +43,15 @@ final class PhabricatorXHPASTViewRunController id(new AphrontFormSubmitControl()) ->setValue('Parse')); - $panel = new AphrontPanelView(); - $panel->setHeader('Generate XHP AST'); - $panel->setWidth(AphrontPanelView::WIDTH_WIDE); - $panel->appendChild($form); + $form_box = id(new PHUIFormBoxView()) + ->setHeaderText(pht('Generate XHP AST')) + ->setForm($form); - return $this->buildStandardPageResponse( - $panel, + return $this->buildApplicationPage( + $form_box, array( - 'title' => 'XHPAST View', + 'title' => pht('XHPAST View'), + 'device' => true, )); }