1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00

Prefill "<?php" in XHPAST view form

Test Plan: /xhpast/

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5176
This commit is contained in:
vrana 2013-03-01 10:59:44 -08:00
parent 507a96130c
commit cacbfba9f1

View file

@ -37,6 +37,7 @@ final class PhabricatorXHPASTViewRunController
id(new AphrontFormTextAreaControl())
->setLabel('Source')
->setName('source')
->setValue("<?php\n\n")
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_TALL))
->appendChild(
id(new AphrontFormSubmitControl())