]> git.mxchange.org Git - friendica.git/blob - view/theme/decaf-mobile/jot.tpl
697a7c8094bc8dfb1b9c8c5af9d13f962d9c3a91
[friendica.git] / view / theme / decaf-mobile / 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"></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="source" value="$sourceapp" />
17                 <input type="hidden" name="preview" id="jot-preview" value="0" />
18                 <input type="hidden" name="post_id_random" value="$rand_num" />
19                 <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" ></div>
20                 {{ if $placeholdercategory }}
21                 <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" /></div>
22                 {{ endif }}
23                 <div id="jot-text-wrap">
24                 {#<!--<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />-->#}
25                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder=$share >{{ if $content }}$content{{ endif }}</textarea>
26                 </div>
27
28 <div id="profile-jot-submit-wrapper" class="jothidden">
29         <input type="submit" id="profile-jot-submit" name="submit" value="$share" />
30
31         <div id="profile-rotator-wrapper" style="display: $visitor;" >
32                 <img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
33         </div> 
34         
35         <div id="profile-upload-wrapper" style="display: $visitor;" >
36                 <div id="wall-image-upload-div" style="display: none;" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="$upload"></a></div>
37         </div> 
38         <div id="profile-attach-wrapper" style="display: $visitor;" >
39                 <div id="wall-file-upload-div" style="display: none;" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="$attach"></a></div>
40         </div> 
41
42         {#<!--<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
43                 <a id="profile-link" class="icon link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>-->#}
44         {#<!--<div id="profile-link-wrapper" style="display: $visitor;" >
45                 <a id="profile-link" class="icon link" title="$weblink" onclick="jotGetLink(); return false;"></a>
46         </div> 
47         <div id="profile-video-wrapper" style="display: $visitor;" >
48                 <a id="profile-video" class="icon video" title="$video" onclick="jotVideoURL();return false;"></a>
49         </div> 
50         <div id="profile-audio-wrapper" style="display: $visitor;" >
51                 <a id="profile-audio" class="icon audio" title="$audio" onclick="jotAudioURL();return false;"></a>
52         </div> 
53         <div id="profile-location-wrapper" style="display: $visitor;" >
54                 <a id="profile-location" class="icon globe" title="$setloc" onclick="jotGetLocation();return false;"></a>
55         </div> 
56         <div id="profile-nolocation-wrapper" style="display: none;" >
57                 <a id="profile-nolocation" class="icon noglobe" title="$noloc" onclick="jotClearLocation();return false;"></a>
58         </div> -->#}
59
60         {#<!--<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
61                 <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate"  title="$permset" ></a>$bang
62         </div>
63
64         <span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>-->#}
65
66         <div id="profile-jot-perms-end"></div>
67
68
69         <div id="profile-jot-plugin-wrapper">
70         $jotplugins
71         </div>
72
73         <div id="jot-preview-content" style="display:none;"></div>
74
75         {#<!--<div style="display: none;">-->#}
76                 <div id="profile-jot-acl-wrapper">
77                         {#<!--$acl
78                         <hr style="clear:both"/>
79                         <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
80                         $jotnets
81                         <div id="profile-jot-networks-end"></div>-->#}
82                         {{ if $acl_data }}
83                         {{ inc acl_html_selector.tpl }}{{ endinc }}
84                         {{ endif }}
85                         $jotnets
86                 </div>
87         {#<!--</div>-->#}
88
89
90 </div>
91
92 <div id="profile-jot-end"></div>
93 </form>
94 </div>
95                 {#<!--{{ if $content }}<script>window.jotInit = true;</script>{{ endif }}-->#}
96 <script>
97 document.getElementById('wall-image-upload-div').style.display = "inherit";
98 document.getElementById('wall-file-upload-div').style.display = "inherit";
99 </script>