]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/jot.tpl
Fix registration form
[friendica.git] / view / theme / smoothly / jot.tpl
index 5f711cf242fa06a2e3a774ad8ea84214566804a0..12792fa0b419d2496f71b7e7e514dea660beb1ad 100644 (file)
                <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" />
-               <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="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
+               <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>
+               {{ 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 }}
                <div id="jot-text-wrap">
-                <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
-                <textarea rows="5" cols="88" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
+                       <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /><br>
+                       <textarea rows="5" cols="80" class="profile-jot-text" id="profile-jot-text" name="body" >
+                       {{ if $content }}$content{{ else }}$share
+                       {{ endif }}
+                       </textarea>
                </div>
 
        <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
@@ -47,7 +57,7 @@
 
        <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
                <input type="submit" id="profile-jot-submit" name="submit" value="$share" />
-               <div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" >
+               <div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
             <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
        </div>