Removing short open tags and replacing with print statements.

This commit is contained in:
Dan Cryer 2013-05-14 18:28:03 +01:00
commit fa7ad2f45d
9 changed files with 38 additions and 39 deletions

View file

@ -1,5 +1,5 @@
<div id="title">
<h1><?= $type == 'add' ? 'Add Project' : 'Edit Project' ?></h1>
<h1><?php print $type == 'add' ? 'Add Project' : 'Edit Project' ?></h1>
</div>
<div class="row">
@ -8,7 +8,7 @@
<?php if(!is_null($key)): ?>
<p>To make it easier to get started, we've generated a public / private key pair for you to use for this project. To use it, just add the following public key to the "deploy keys" section of your repository settings on Github / Bitbucket.</p>
<textarea style="width: 90%; height: 150px;"><?= $key ?></textarea>
<textarea style="width: 90%; height: 150px;"><?php print $key ?></textarea>
<?php elseif($type == 'add'): ?>
<p>Fill in the form to the right to add your new project.</p>
<?php else: ?>
@ -17,7 +17,7 @@
</div>
</div>
<div class="span8">
<?= $form; ?>
<?php print $form; ?>
</div>
</div>