1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 09:20:58 +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()) id(new AphrontFormTextAreaControl())
->setLabel('Source') ->setLabel('Source')
->setName('source') ->setName('source')
->setValue("<?php\n\n")
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_TALL)) ->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_TALL))
->appendChild( ->appendChild(
id(new AphrontFormSubmitControl()) id(new AphrontFormSubmitControl())