]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/jot.tpl
wrapping up 2019.12
[friendica.git] / view / theme / quattro / templates / 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}}" title="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" />
5                 {{if $placeholdercategory}}
6                 <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" title="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
7                 {{/if}}
8                 <div id="character-counter" class="grey jothidden"></div>
9                 <input type="hidden" name="wall" value="{{$wall}}" />
10                 <input type="hidden" name="post_type" value="{{$posttype}}" />
11                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
12                 <input type="hidden" name="return" value="{{$return_path}}" />
13                 <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
14                 <input type="hidden" name="coord" id="jot-coord" value="" />
15                 <input type="hidden" name="post_id" value="{{$post_id}}" />
16                 <input type="hidden" name="preview" id="jot-preview" value="0" />
17                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
18                 {{if $notes_cid}}
19                 <input type="hidden" name="contact_allow[]" value="<{{$notes_cid}}>" />
20                 {{/if}}
21
22                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder="{{$share}}">{{if $content}}{{$content nofilter}}{{/if}}</textarea>
23
24                 <ul id="jot-tools" class="jothidden" style="display:none">
25                         <li><a href="#" onclick="return false;" id="wall-image-upload" title="{{$upload}}">{{$shortupload}}</a></a></li>
26                         <li><a href="#" onclick="return false;" id="wall-file-upload"  title="{{$attach}}">{{$shortattach}}</a></li>
27                         <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>
28                         <li><a id="profile-video" onclick="jotVideoURL();return false;" title="{{$video}}">{{$shortvideo}}</a></li>
29                         <li><a id="profile-audio" onclick="jotAudioURL();return false;" title="{{$audio}}">{{$shortaudio}}</a></li>
30                         <!-- TODO: waiting for a better placement
31                         <li><a id="profile-location" onclick="jotGetLocation();return false;" title="{{$setloc}}">{{$shortsetloc}}</a></li>
32                         <li><a id="profile-nolocation" onclick="jotClearLocation();return false;" title="{{$noloc}}">{{$shortnoloc}}</a></li>
33                         -->
34                         <li><a id="jot-preview-link" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a></li>
35                         {{$jotplugins nofilter}}
36
37                         {{if !$is_edit}}
38                         <li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 {{$lockstate}} {{$bang}}"  title="{{$permset}}" ></a></li>
39                         {{/if}}
40                         <li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /></li>
41                         <li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}"  /></li>
42                 </ul>
43         </div>
44
45         <div id="jot-preview-content" style="display:none;"></div>
46
47         <div style="display: none;">
48                 <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
49                         {{$acl nofilter}}
50                 </div>
51         </div>
52
53 </form>
54
55 {{if $content}}<script>initEditor();</script>{{/if}}