]> git.mxchange.org Git - friendica.git/blob - view/templates/jot.tpl
wrapping up 2019.12
[friendica.git] / view / templates / jot.tpl
1 <div id="profile-jot-wrapper" >
2         <div id="profile-jot-banner-wrapper">
3                 <div id="profile-jot-desc" >&nbsp;</div>
4                 <div id="character-counter" class="grey"></div>
5         </div>
6         <div id="profile-jot-banner-end"></div>
7
8         <form id="profile-jot-form" action="{{$action}}" method="post" >
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                 <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none"></div>
22                 {{if $placeholdercategory}}
23                 <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></div>
24                 {{/if}}
25                 <div id="jot-text-wrap">
26                 <img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
27                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder="{{$share}}">{{if $content}}{{$content nofilter}}{{/if}}</textarea>
28                 </div>
29
30 <div id="profile-jot-submit-wrapper" class="jothidden">
31         <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
32
33         <div id="profile-upload-wrapper" style="display: {{$visitor}};" >
34                 <div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="{{$upload}}"></a></div>
35         </div>
36         <div id="profile-attach-wrapper" style="display: {{$visitor}};" >
37                 <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div>
38         </div>
39
40         <div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
41                 <a id="profile-link" class="icon link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
42         </div>
43         <div id="profile-video-wrapper" style="display: {{$visitor}};" >
44                 <a id="profile-video" class="icon video" title="{{$video}}" onclick="jotVideoURL();return false;"></a>
45         </div>
46         <div id="profile-audio-wrapper" style="display: {{$visitor}};" >
47                 <a id="profile-audio" class="icon audio" title="{{$audio}}" onclick="jotAudioURL();return false;"></a>
48         </div>
49         <div id="profile-location-wrapper" style="display: {{$visitor}};" >
50                 <a id="profile-location" class="icon globe" title="{{$setloc}}" onclick="jotGetLocation();return false;"></a>
51         </div>
52         <div id="profile-nolocation-wrapper" style="display: none;" >
53                 <a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a>
54         </div>
55
56         <div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};" >
57                 <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}}"  title="{{$permset}}" ></a>{{$bang}}
58         </div>
59
60         <!-- {{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>{{/if}} -->
61         {{if $preview}}<input type="submit" onclick="preview_post(); return false;" id="jot-preview-link" value="{{$preview}}" />{{/if}}
62
63         <div id="profile-jot-perms-end"></div>
64
65
66         <div id="profile-jot-plugin-wrapper">
67         {{$jotplugins nofilter}}
68         </div>
69
70         <div id="profile-rotator-wrapper" style="display: {{$visitor}};" >
71                 <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
72         </div>
73
74         <div id="jot-preview-content" style="display:none;"></div>
75
76         <div style="display: none;">
77                 <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
78                         {{$acl nofilter}}
79                 </div>
80         </div>
81
82
83 </div>
84
85 <div id="profile-jot-end"></div>
86 </form>
87 </div>
88                 {{if $content}}<script>initEditor();</script>{{/if}}