]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/jot.tpl
Merge pull request #479 from fermionic/album-image-inserted-too-large
[friendica.git] / view / theme / smoothly / 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>
7         <div id="profile-jot-banner-end"></div>
8
9         <form id="profile-jot-form" action="$action" method="post" >
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                 <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"></div>
18                 <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
19                 <div id="jot-text-wrap">
20                 <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
21                 <textarea rows="5" cols="88" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
22                 </div>
23
24         <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
25                 <div id="wall-image-upload-div" ><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="$upload"></a></div>
26         </div>
27         <div id="profile-attach-wrapper" class="jot-tool" style="display: none;" >
28                 <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon border attach" title="$attach"></a></div>
29         </div>  
30         <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
31                 <a href="#" 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>
32         </div> 
33         <div id="profile-video-wrapper" class="jot-tool" style="display: none;" >
34                 <a href="#" id="profile-video" class="icon border  video" title="$video" onclick="jotVideoURL(); return false;"></a>
35         </div> 
36         <div id="profile-audio-wrapper" class="jot-tool" style="display: none;" >
37                 <a href="#" id="profile-audio" class="icon border  audio" title="$audio" onclick="jotAudioURL(); return false;"></a>
38         </div> 
39         <div id="profile-location-wrapper" class="jot-tool" style="display: none;" >
40                 <a href="#" id="profile-location" class="icon border  globe" title="$setloc" onclick="jotGetLocation(); return false;"></a>
41         </div> 
42         <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
43                 <a href="#" id="profile-nolocation" class="icon border  noglobe" title="$noloc" onclick="jotClearLocation(); return false;"></a>
44         </div> 
45
46         <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >$preview</span>
47
48         <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
49                 <input type="submit" id="profile-jot-submit" name="submit" value="$share" />
50                 <div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
51             <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate sharePerms" title="$permset"></a>$bang</div>
52         </div>
53
54         <div id="profile-jot-plugin-wrapper" style="display: none;">
55         $jotplugins
56         </div>
57         <div id="profile-jot-tools-end"></div>
58         
59         <div id="jot-preview-content" style="display:none;"></div>
60
61         <div style="display: none;">
62             <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
63                 $acl
64                 <hr style="clear:both"/>
65                 <div id="profile-jot-email-label">$emailcc</div><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 <div id="profile-jot-end"></div>
72 </form>
73 </div>
74                 {{ if $content }}<script>initEditor();</script>{{ endif }}