]> git.mxchange.org Git - friendica.git/blob - view/templates/jot.tpl
Merge pull request #12138 from MrPetovan/task/4090-move-mod-repair_ostatus
[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>
5         <div id="profile-jot-banner-end"></div>
6
7         <form id="profile-jot-form" action="{{$action}}" method="post">
8                 <input type="hidden" name="wall" value="{{$wall}}" />
9                 <input type="hidden" name="post_type" value="{{$posttype}}" />
10                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
11                 <input type="hidden" name="return" value="{{$return_path}}" />
12                 <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
13                 <input type="hidden" name="coord" id="jot-coord" value="" />
14                 <input type="hidden" name="post_id" value="{{$post_id}}" />
15                 <input type="hidden" name="preview" id="jot-preview" value="0" />
16                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
17                 {{if $notes_cid}}
18                 <input type="hidden" name="contact_allow[]" value="<{{$notes_cid}}>" />
19                 {{/if}}
20                 <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" dir="auto"></div>
21                 {{if $placeholdercategory}}
22                 <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" dir="auto"></div>
23                 {{/if}}
24                 <div id="jot-text-wrap">
25                 <img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
26                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder="{{$share}}" dir="auto">{{if $content}}{{$content nofilter}}{{/if}}</textarea>
27                 </div>
28
29 <div id="profile-jot-submit-wrapper" class="jothidden">
30         <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
31
32         <div id="profile-upload-wrapper" style="display: {{$visitor}};">
33                 <div id="wall-image-upload-div"><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="{{$upload}}"></a></div>
34         </div>
35         <div id="profile-attach-wrapper" style="display: {{$visitor}};">
36                 <div id="wall-file-upload-div"><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div>
37         </div>
38
39         <div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);">
40                 <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>
41         </div>
42         <div id="profile-video-wrapper" style="display: {{$visitor}};">
43                 <a id="profile-video" class="icon video" title="{{$video}}" onclick="jotVideoURL();return false;"></a>
44         </div>
45         <div id="profile-audio-wrapper" style="display: {{$visitor}};">
46                 <a id="profile-audio" class="icon audio" title="{{$audio}}" onclick="jotAudioURL();return false;"></a>
47         </div>
48         <div id="profile-location-wrapper" style="display: {{$visitor}};">
49                 <a id="profile-location" class="icon globe" title="{{$setloc}}" onclick="jotGetLocation();return false;"></a>
50         </div>
51         <div id="profile-nolocation-wrapper" style="display: none;">
52                 <a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a>
53         </div>
54
55         <div id="post-length">
56                 <span id="character-counter" class="grey"></span>
57         </div>
58
59         <div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};">
60                 <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}}"  title="{{$permset}}"></a>{{$bang}}
61         </div>
62
63         <!-- {{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>{{/if}} -->
64         {{if $preview}}<input type="submit" onclick="preview_post(); return false;" id="jot-preview-link" value="{{$preview}}" />{{/if}}
65
66         <div id="profile-jot-perms-end"></div>
67
68
69         <div id="profile-jot-plugin-wrapper">
70         {{$jotplugins nofilter}}
71         </div>
72
73         <div id="profile-rotator-wrapper" style="display: {{$visitor}};">
74                 <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
75         </div>
76
77         <div id="jot-preview-content" style="display:none;"></div>
78
79         <div style="display: none;">
80                 <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
81                         {{$acl nofilter}}
82                         {{if $scheduled_at}}{{$scheduled_at nofilter}}{{/if}}
83                         {{if $created_at}}{{$created_at nofilter}}{{/if}}
84                 </div>
85         </div>
86
87
88 </div>
89
90 <div id="profile-jot-end"></div>
91 </form>
92 </div>
93                 {{if $content}}<script>initEditor();</script>{{/if}}