summaryrefslogtreecommitdiff
path: root/views/new-post.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/new-post.php')
-rw-r--r--views/new-post.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/new-post.php b/views/new-post.php
index 02733bc..69e3a84 100644
--- a/views/new-post.php
+++ b/views/new-post.php
@@ -65,11 +65,15 @@
<input type="text" id="note_slug" value="" class="form-control">
</div>
+ <?php if(supports_post_type($this->user, 'photo')): ?>
+
<div class="form-group hidden" id="photo-previews">
</div>
<a href="javascript:addNewPhoto();" id="expand-photo-section"><i class="glyphicon glyphicon-camera" style="color: #aaa; font-size: 36px;"></i></a>
+ <?php endif ?>
+
<div class="form-group" style="margin-top: 1em;">
<label for="note_syndicate-to">Syndicate <a href="javascript:reload_syndications()">(refresh list)</a></label>
<div id="syndication-container">