summaryrefslogtreecommitdiff
path: root/views/photo.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-07-27 09:51:36 -0700
committerAaron Parecki <aaron@parecki.com>2015-07-27 09:51:36 -0700
commit4944e0a57bb5d22913ae1d6b69adb0c49e7fafef (patch)
tree320a2bd392266247203b56b4e55556b0b0308b5e /views/photo.php
parent24d72bf4bed9b2462ed25fa09daa1e6d7bc32569 (diff)
parentd979c81758f4b73816763ae80b30854343f90324 (diff)
Merge pull request #25 from voxpelli/dont-use-shorttags
Don't use php shorttags
Diffstat (limited to 'views/photo.php')
-rw-r--r--views/photo.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/views/photo.php b/views/photo.php
index ab2a364..25651dd 100644
--- a/views/photo.php
+++ b/views/photo.php
@@ -17,7 +17,7 @@
<div class="form-group">
<label for="note_content"><code>content</code> (optional)</label>
- <textarea name="note_content" id="note_content" value="" class="form-control" style="height: 4em;"><? if(isset($this->note_content)) echo $this->note_content ?></textarea>
+ <textarea name="note_content" id="note_content" value="" class="form-control" style="height: 4em;"><?php if(isset($this->note_content)) echo $this->note_content ?></textarea>
</div>
<button class="btn btn-success" id="btn_post">Post</button>
@@ -25,22 +25,22 @@
<div style="clear:both;"></div>
</form>
- <? if(!empty($this->location)): ?>
+ <?php if(!empty($this->location)): ?>
<div class="alert alert-success">
<strong>Success!</strong> Photo posted to: <em><a href="<?= $this->location ?>"><?= $this->location ?></a></em>
</div>
- <? endif ?>
+ <?php endif ?>
- <? if(!empty($this->error)): ?>
+ <?php if(!empty($this->error)): ?>
<div class="alert alert-danger">
<strong>Error:</strong> <em><?= $this->error ?></em>
</div>
- <? endif ?>
+ <?php endif ?>
- <? if(!empty($this->response)): ?>
+ <?php if(!empty($this->response)): ?>
<h4>Response:</h4>
<pre><?= $this->response ?></pre>
- <? endif ?>
+ <?php endif ?>
</div>
<script>
$(function(){