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