]> git.mxchange.org Git - friendica.git/blob - view/jot.tpl
quattro post preview, style contacts pages, style for "shiny" class, fix contacts...
[friendica.git] / view / jot.tpl
1 <form id="profile-jot-form" action="$action" method="post">
2         <div id="jot">
3                 <div id="profile-jot-desc" class="jothidden" >&nbsp;</div>
4                 <input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none">
5                 <div id="character-counter" class="grey jothidden"></div>
6                 
7                 <input type="hidden" name="type" value="$ptyp" />
8                 <input type="hidden" name="profile_uid" value="$profile_uid" />
9                 <input type="hidden" name="return" value="$return_path" />
10                 <input type="hidden" name="location" id="jot-location" value="$defloc" />
11                 <input type="hidden" name="coord" id="jot-coord" value="" />
12                 <input type="hidden" name="post_id" value="$post_id" />
13                 <input type="hidden" name="preview" id="jot-preview" value="0" />
14                 
15                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>                
16                                 
17                 <ul id="jot-tools" class="jothidden" style="display:none">
18                         <li><a href="#" onclick="return false;" id="wall-image-upload" title="$upload">$shortupload</a></a></li>
19                         <li><a href="#" onclick="return false;" id="wall-file-upload"  title="$attach">$shortattach</a></li>
20                         <li><a id="profile-link"  ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="$weblink">$shortweblink</a></li>
21                         <li><a id="profile-video" onclick="jotVideoURL();return false;" title="$gvideo">$shortvideo</a></li>
22                         <li><a id="profile-audio" onclick="jotAudioURL();return false;" title="$audio">$shortaudio</a></li>
23                         <li><a id="profile-location" onclick="jotGetLocation();return false;" title="$setloc">$shortsetloc</a></li>
24                         <li><a id="profile-nolocation" onclick="jotClearLocation();return false;" title="$noloc">$shortnoloc</a></li>
25                         <li><a id="jot-preview-link" onclick="preview_post(); return false;" title="$preview">$preview</a></li>
26                         $jotplugins
27
28                         <li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 $lockstate $bang"  title="$permset" ></a></li>
29                         <li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="$share" /></li>
30                         <li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="$wait" title="$wait"  /></li>
31                 </ul>
32         </div>
33         
34         <div id="jot-preview-content" style="display:none;"></div>
35
36         <div style="display: none;">
37                 <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
38                         $acl
39                         <hr style="clear:both"/>
40                         <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
41                         <div id="profile-jot-email-end"></div>
42                         $jotnets
43                 </div>
44         </div>  
45
46         
47 </form>
48
49 {{ if $content }}<script>initEditor();</script>{{ endif }}
50
51
52
53