]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/jot.tpl
quattro post preview, style contacts pages, style for "shiny" class, fix contacts...
[friendica.git] / view / theme / dispy / jot.tpl
old mode 100644 (file)
new mode 100755 (executable)
index d5e81a9..c312d22
@@ -9,17 +9,21 @@
        </div>
 
        <form id="profile-jot-form" action="$action" method="post" >
-               <input type="hidden" name="type" value="wall" />
+               <input type="hidden" name="type" value="$ptyp" />
                <input type="hidden" name="profile_uid" value="$profile_uid" />
                <input type="hidden" name="return" value="$return_path" />
                <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="post_id" value="$post_id" />
+               <input type="hidden" name="preview" id="jot-preview" value="0" />
+               <div id="jot-title-wrapper">
+               <span id="jot-title-desc" style="display: none;">$addtitle</span>
+               <span id="jot-title-display" style="display: none;"></span>
+               <input type="text" name="title" id="jot-title" value="" style="display: none;" />
+               </div>
 
                 <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">
@@ -37,9 +41,6 @@
        <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
                <a id="profile-link" class="icon border  link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
        </div> 
-       <div id="profile-youtube-wrapper" class="jot-tool" style="display: none;" >
-               <a id="profile-youtube" class="icon border  youtube" title="$youtube" onclick="jotGetVideo(); return false;"></a>
-       </div> 
        <div id="profile-video-wrapper" class="jot-tool" style="display: none;" >
                <a id="profile-video" class="icon border  video" title="$video" onclick="jotVideoURL(); return false;"></a>
        </div> 
@@ -52,9 +53,6 @@
        <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
                <a id="profile-nolocation" class="icon border  noglobe" title="$noloc" onclick="jotClearLocation(); return false;"></a>
        </div> 
-       <div id="profile-title-wrapper" class="jot-tool" style="display: none;" >
-               <a id="profile-title" class="icon border  article" title="$title" onclick="jotTitle(); return false;"></a>
-       </div> 
 
        <div id="profile-jot-plugin-wrapper" style="display: none;">
        $jotplugins
@@ -74,3 +72,4 @@
 <div id="profile-jot-end"></div>
 </form>
 </div>
+                {{ if $content }}<script>initEditor();</script>{{ endif }}