summaryrefslogtreecommitdiff
path: root/views/new-code.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2019-10-19 21:31:55 +0100
committerAaron Parecki <aaron@parecki.com>2019-10-19 21:31:55 +0100
commit873cc81ee7325752c43dd007f723b225758cf9ac (patch)
tree6dad56e3fc011452f6064d47655cf4d35dc50fac /views/new-code.php
parentecb47c9c2f6396a7627d92b8e2023f478be05a36 (diff)
drop php shorttags
Diffstat (limited to 'views/new-code.php')
-rw-r--r--views/new-code.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/new-code.php b/views/new-code.php
index 4201816..0266b76 100644
--- a/views/new-code.php
+++ b/views/new-code.php
@@ -19,7 +19,7 @@
<textarea id="note_content" value="" class="form-control code-snippet" style="height: 12em;"><?= htmlspecialchars($this->edit_data['content']) ?></textarea>
</div>
- <? if(!$this->url): ?>
+ <?php if(!$this->url): ?>
<label for="note_language">Language</label>
<select class="form-control" id="note_language">
<?php
@@ -30,7 +30,7 @@
endforeach;
?>
</select>
- <? endif; ?>
+ <?php endif; ?>
<div style="float: right; margin-top: 6px;">
<button class="btn btn-success" id="btn_post"><?= $this->url ? 'Save' : 'Post' ?></button>