]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/templates/jot.tpl
Merge pull request #3120 from tobiasd/20170128-editor
[friendica.git] / view / theme / smoothly / templates / jot.tpl
1
2
3 <div id="profile-jot-wrapper" >
4         <div id="profile-jot-banner-wrapper">
5                 <div id="profile-jot-desc" >&nbsp;</div>
6                 <div id="character-counter" class="grey" style="display: none;">0</div>
7         </div>
8         <div id="profile-jot-banner-end"></div>
9
10         <form id="profile-jot-form" action="{{$action}}" method="post" >
11                 <input type="hidden" name="type" value="{{$ptyp}}" />
12                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
13                 <input type="hidden" name="return" value="{{$return_path}}" />
14                 <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
15                 <input type="hidden" name="coord" id="jot-coord" value="" />
16                 <input type="hidden" name="post_id" value="{{$post_id}}" />
17                 <input type="hidden" name="preview" id="jot-preview" value="0" />
18                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
19                 <div id="jot-title-wrap">
20                         <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none">
21                 </div>
22                 {{if $placeholdercategory}}
23                 <div id="jot-category-wrap">
24                         <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
25                 </div>
26                 {{/if}}
27                 <div id="jot-text-wrap">
28                         <img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /><br>
29                         <textarea rows="5" cols="80" class="profile-jot-text" id="profile-jot-text" name="body" placeholder="{{$share}}">
30                         {{if $content}}{{$content}}{{/if}}
31                         </textarea>
32                 </div>
33
34         <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
35                 <div id="wall-image-upload-div" ><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="{{$upload}}"></a></div>
36         </div>
37         <div id="profile-attach-wrapper" class="jot-tool" style="display: none;" >
38                 <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon border attach" title="{{$attach}}"></a></div>
39         </div>
40         <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
41                 <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>
42         </div>
43         <div id="profile-video-wrapper" class="jot-tool" style="display: none;" >
44                 <a href="#" id="profile-video" class="icon border  video" title="{{$video}}" onclick="jotVideoURL(); return false;"></a>
45         </div>
46         <div id="profile-audio-wrapper" class="jot-tool" style="display: none;" >
47                 <a href="#" id="profile-audio" class="icon border  audio" title="{{$audio}}" onclick="jotAudioURL(); return false;"></a>
48         </div>
49         <div id="profile-location-wrapper" class="jot-tool" style="display: none;" >
50                 <a href="#" id="profile-location" class="icon border  globe" title="{{$setloc}}" onclick="jotGetLocation(); return false;"></a>
51         </div>
52         <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
53                 <a href="#" id="profile-nolocation" class="icon border  noglobe" title="{{$noloc}}" onclick="jotClearLocation(); return false;"></a>
54         </div>
55
56         <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >{{$preview}}</span>
57
58         <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
59                 <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
60                 <div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};" >
61             <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}} sharePerms" title="{{$permset}}"></a>{{$bang}}</div>
62         </div>
63
64         <div id="profile-jot-plugin-wrapper" style="display: none;">
65         {{$jotplugins}}
66         </div>
67         <div id="profile-jot-tools-end"></div>
68
69         <div id="jot-preview-content" style="display:none;"></div>
70
71         <div style="display: none;">
72             <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
73                 {{$acl}}
74                 <hr style="clear:both"/>
75                 <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
76                 <div id="profile-jot-email-end"></div>
77                 {{$jotnets}}
78             </div>
79         </div>
80
81 <div id="profile-jot-end"></div>
82 </form>
83 </div>
84                 {{if $content}}<script>initEditor();</script>{{/if}}