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