]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/smarty3/jot.tpl
24dc68462a92982d135bdc89687ac6d82e8787c6
[friendica.git] / view / theme / dispy / smarty3 / jot.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 <form id="profile-jot-form" action="{{$action}}" method="post">
7         <div id="jot">
8                 <div id="profile-jot-desc" class="jothidden">&#160;</div>
9
10                 <input type="hidden" name="type" value="{{$ptyp}}" />
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"><input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" /></div>
19                 <div id="character-counter" class="grey jothidden"></div>
20                 {{if $placeholdercategory}}
21                 <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></div>
22                 {{/if}}
23                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body">{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}
24                 </textarea>
25
26 <div id="profile-jot-submit-wrapper" class="jothidden">
27 <div id="jot-tools" class="jothidden" style="display:none">
28         <div id="profile-jot-submit-wrapper" class="jothidden">
29
30         <div id="profile-upload-wrapper" style="display: {{$visitor}};">
31                 <div id="wall-image-upload-div"><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="{{$upload}}"></a></div>
32         </div>
33         <div id="profile-attach-wrapper" style="display: {{$visitor}};">
34                 <div id="wall-file-upload-div"><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div>
35         </div>
36
37         <div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);">
38                 <a id="profile-link" class="icon link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="{{$weblink}}"></a>
39         </div>
40         <div id="profile-video-wrapper" style="display: {{$visitor}};">
41                 <a id="profile-video" class="icon video" onclick="jotVideoURL();return false;" title="{{$video}}"></a>
42         </div>
43         <div id="profile-audio-wrapper" style="display: {{$visitor}};">
44                 <a id="profile-audio" class="icon audio" onclick="jotAudioURL();return false;" title="{{$audio}}"></a>
45         </div>
46         <div id="profile-location-wrapper" style="display: {{$visitor}};">
47                 <a id="profile-location" class="icon globe" onclick="jotGetLocation();return false;" title="{{$setloc}}"></a>
48         </div>
49         <div id="profile-nolocation-wrapper" style="display: none;">
50                 <a id="profile-nolocation" class="icon noglobe" onclick="jotClearLocation();return false;" title="{{$noloc}}"></a>
51         </div>
52
53         <div id="profile-jot-plugin-wrapper">
54         {{$jotplugins}}
55         </div>
56
57         <a class="icon-text-preview pointer"></a><a id="jot-preview-link" class="pointer" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a>
58         <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
59         <div id="profile-jot-perms" class="profile-jot-perms">
60                 <a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon {{$lockstate}} {{$bang}}" title="{{$permset}}"></a>
61         </div>
62         <span id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" /></span>
63         </div>
64
65         </div> <!-- /#profile-jot-submit-wrapper -->
66 </div> <!-- /#jot-tools -->
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}}
73                         <hr style="clear:both" />
74                         <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
75                         <div id="profile-jot-email-end"></div>
76                         {{$jotnets}}
77                 </div>
78         </div>
79 </div>
80
81 <div id="profile-jot-end"></div>
82 </form>
83 </div>
84                 {{if $content}}<script>initEditor();</script>{{/if}}