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