summaryrefslogtreecommitdiff
path: root/views/new-code.php
diff options
context:
space:
mode:
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>