]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/templates/jot.tpl
Merge pull request #2556 from tobiasd/shashapes
[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" >
30                         {{if $content}}{{$content}}{{else}}{{$share}}
31                         {{/if}}
32                         </textarea>
33                 </div>
34
35         <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
36                 <div id="wall-image-upload-div" ><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="{{$upload}}"></a></div>
37         </div>
38         <div id="profile-attach-wrapper" class="jot-tool" style="display: none;" >
39                 <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon border attach" title="{{$attach}}"></a></div>
40         </div>  
41         <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
42                 <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>
43         </div> 
44         <div id="profile-video-wrapper" class="jot-tool" style="display: none;" >
45                 <a href="#" id="profile-video" class="icon border  video" title="{{$video}}" onclick="jotVideoURL(); return false;"></a>
46         </div> 
47         <div id="profile-audio-wrapper" class="jot-tool" style="display: none;" >
48                 <a href="#" id="profile-audio" class="icon border  audio" title="{{$audio}}" onclick="jotAudioURL(); return false;"></a>
49         </div> 
50         <div id="profile-location-wrapper" class="jot-tool" style="display: none;" >
51                 <a href="#" id="profile-location" class="icon border  globe" title="{{$setloc}}" onclick="jotGetLocation(); return false;"></a>
52         </div> 
53         <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
54                 <a href="#" id="profile-nolocation" class="icon border  noglobe" title="{{$noloc}}" onclick="jotClearLocation(); return false;"></a>
55         </div> 
56
57         <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >{{$preview}}</span>
58
59         <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
60                 <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
61                 <div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};" >
62             <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}} sharePerms" title="{{$permset}}"></a>{{$bang}}</div>
63         </div>
64
65         <div id="profile-jot-plugin-wrapper" style="display: none;">
66         {{$jotplugins}}
67         </div>
68         <div id="profile-jot-tools-end"></div>
69         
70         <div id="jot-preview-content" style="display:none;"></div>
71
72         <div style="display: none;">
73             <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
74                 {{$acl}}
75                 <hr style="clear:both"/>
76                 <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
77                 <div id="profile-jot-email-end"></div>
78                 {{$jotnets}}
79             </div>
80         </div>
81
82 <div id="profile-jot-end"></div>
83 </form>
84 </div>
85                 {{if $content}}<script>initEditor();</script>{{/if}}