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