]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/templates/jot.tpl
Merge pull request #11018 from annando/api-status
[friendica.git] / view / theme / smoothly / 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" style="display: none;">0</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                 <div id="jot-title-wrap">
19                         <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" dir="auto">
20                 </div>
21                 {{if $placeholdercategory}}
22                 <div id="jot-category-wrap">
23                         <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" dir="auto" />
24                 </div>
25                 {{/if}}
26                 <div id="jot-text-wrap">
27                         <img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /><br>
28                         <textarea rows="5" cols="80" class="profile-jot-text" id="profile-jot-text" name="body" placeholder="{{$share}}" dir="auto">
29                         {{if $content}}{{$content nofilter}}{{/if}}
30                         </textarea>
31                 </div>
32
33         <div id="profile-upload-wrapper" class="jot-tool" style="display: none;">
34                 <div id="wall-image-upload-div"><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="{{$upload}}"></a></div>
35         </div>
36         <div id="profile-attach-wrapper" class="jot-tool" style="display: none;">
37                 <div id="wall-file-upload-div"><a href="#" onclick="return false;" id="wall-file-upload" class="icon border attach" title="{{$attach}}"></a></div>
38         </div>
39         <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);">
40                 <a href="#" 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>
41         </div>
42         <div id="profile-video-wrapper" class="jot-tool" style="display: none;">
43                 <a href="#" id="profile-video" class="icon border  video" title="{{$video}}" onclick="jotVideoURL(); return false;"></a>
44         </div>
45         <div id="profile-audio-wrapper" class="jot-tool" style="display: none;">
46                 <a href="#" id="profile-audio" class="icon border  audio" title="{{$audio}}" onclick="jotAudioURL(); return false;"></a>
47         </div>
48         <div id="profile-location-wrapper" class="jot-tool" style="display: none;">
49                 <a href="#" id="profile-location" class="icon border  globe" title="{{$setloc}}" onclick="jotGetLocation(); return false;"></a>
50         </div>
51         <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;">
52                 <a href="#" id="profile-nolocation" class="icon border  noglobe" title="{{$noloc}}" onclick="jotClearLocation(); return false;"></a>
53         </div>
54
55         <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;">{{$preview}}</span>
56
57         <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
58                 <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
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}} sharePerms" title="{{$permset}}"></a>{{$bang}}</div>
61         </div>
62
63         <div id="profile-jot-plugin-wrapper" style="display: none;">
64         {{$jotplugins nofilter}}
65         </div>
66         <div id="profile-jot-tools-end"></div>
67
68         <div id="jot-preview-content" style="display:none;"></div>
69
70         <div style="display: none;">
71             <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
72                 {{$acl nofilter}}
73                 {{$jotnets nofilter}}
74                 {{if $scheduled_at}}{{$scheduled_at nofilter}}{{/if}}
75             </div>
76         </div>
77
78 <div id="profile-jot-end"></div>
79 </form>
80 </div>
81                 {{if $content}}<script>initEditor();</script>{{/if}}