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