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