]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/testbubble/jot.tpl
a bit more colour
[friendica.git] / view / theme / testbubble / jot.tpl
index dce5fb616cecd72e963e569a061b87c546595173..45d206d57dd792739943e9eee7eaae3a021c54ac 100644 (file)
                <input type="hidden" name="location" id="jot-location" value="$defloc" />
                <input type="hidden" name="coord" id="jot-coord" value="" />
                <input type="hidden" name="post_id" value="$post_id" />
-
-               <div id="jot-title-wrapper">
-        <span id="jot-title-desc" style="display: none;">$addtitle</span>
-        <input type="text" name="title" id="jot-title" value="" style="display: none;" />
-        </div>
-
+               <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-text-wrap">
                 <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>
        <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
                <div id="wall-image-upload-div" ><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="$upload"></a></div>
        </div>
@@ -47,6 +43,8 @@
                <a id="profile-nolocation" class="icon border  noglobe" title="$noloc" onclick="jotClearLocation(); return false;"></a>
        </div> 
 
+       <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >$preview</span>
+
        <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;" >
@@ -58,6 +56,8 @@
        </div>
        <div id="profile-jot-tools-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;">
                 $acl
@@ -71,3 +71,4 @@
 <div id="profile-jot-end"></div>
 </form>
 </div>
+                {{ if $content }}<script>initEditor();</script>{{ endif }}