]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/loozah/jot.tpl
smal fix
[friendica.git] / view / theme / loozah / jot.tpl
old mode 100644 (file)
new mode 100755 (executable)
index 78cbece..ac64223
                <input type="hidden" name="location" id="jot-location" value="$defloc" />
                <input type="hidden" name="coord" id="jot-coord" value="" />
                <input type="hidden" name="title" id="jot-title" value="" />
+               <input type="hidden" name="preview" id="jot-preview" value="0" />
                <input type="hidden" name="post_id" value="$post_id" />
 
                <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
                <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
 
-               {{ if $content }}<script>initEditor();</script>{{ endif }}
 
 <div id="profile-jot-submit-wrapper" style="display:none" class="jothidden">
 <input type="submit" id="profile-jot-submit" name="submit" value="$share" />
        <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"  title="$permset" ></a>$bang
        </div>
+
+       <span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>
+
+
        <div id="profile-jot-perms-end"></div>
+
+       <div id="jot-preview-content" style="display:none;"></div>
        
        <div style="display: none;">
                <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
@@ -75,3 +81,4 @@
 <div id="profile-jot-end"></div>
 </form>
 </div>
+               {{ if $content }}<script>initEditor();</script>{{ endif }}