diff options
author | Pelle Wessman <pelle@kodfabrik.se> | 2015-07-01 19:46:40 +0200 |
---|---|---|
committer | Pelle Wessman <pelle@kodfabrik.se> | 2015-07-27 18:30:46 +0200 |
commit | d979c81758f4b73816763ae80b30854343f90324 (patch) | |
tree | f62f2280893b0994bb678d268bdee092c1fde240 /views/photo.php | |
parent | ebb58a16a2f01994ed6397c6b1698f60f858d530 (diff) |
don't use php shorttags
Diffstat (limited to 'views/photo.php')
-rw-r--r-- | views/photo.php | 14 |
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(){ |