]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/jot.tpl
Don't replace data-src with src in acl-template
[friendica.git] / view / theme / dispy / jot.tpl
index 12969dd031861e227d7ed3117209d6cace9dd474..193872f182f6daffe46beccafa11c36e04110099 100644 (file)
@@ -9,9 +9,12 @@
                <input type="hidden" name="coord" id="jot-coord" value="" />
                <input type="hidden" name="post_id" value="$post_id" />
                <input type="hidden" name="preview" id="jot-preview" value="0" />
+               <input type="hidden" name="post_id_random" value="$rand_num" />
                <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none" /></div>
                <div id="character-counter" class="grey jothidden"></div>
+               {{ if $placeholdercategory }}
                <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
+               {{ endif }}
                <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body">{{ if $content }}$content{{ else }}$share{{ endif }}
                </textarea>