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