]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/smarty3/jot.tpl
add warning message about automatically generated templates
[friendica.git] / view / theme / quattro / smarty3 / jot.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}<form id="profile-jot-form" action="{{$action}}" method="post">
6         <div id="jot">
7                 <div id="profile-jot-desc" class="jothidden">&nbsp;</div>
8                 <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" title="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" />
9                 {{if $placeholdercategory}}
10                 <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" title="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
11                 {{/if}}
12                 <div id="character-counter" class="grey jothidden"></div>
13                 
14
15
16                 <input type="hidden" name="type" value="{{$ptyp}}" />
17                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
18                 <input type="hidden" name="return" value="{{$return_path}}" />
19                 <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
20                 <input type="hidden" name="coord" id="jot-coord" value="" />
21                 <input type="hidden" name="post_id" value="{{$post_id}}" />
22                 <input type="hidden" name="preview" id="jot-preview" value="0" />
23                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
24
25                 <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}</textarea>
26
27                 <ul id="jot-tools" class="jothidden" style="display:none">
28                         <li><a href="#" onclick="return false;" id="wall-image-upload" title="{{$upload}}">{{$shortupload}}</a></a></li>
29                         <li><a href="#" onclick="return false;" id="wall-file-upload"  title="{{$attach}}">{{$shortattach}}</a></li>
30                         <li><a id="profile-link"  ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="{{$weblink}}">{{$shortweblink}}</a></li>
31                         <li><a id="profile-video" onclick="jotVideoURL();return false;" title="{{$video}}">{{$shortvideo}}</a></li>
32                         <li><a id="profile-audio" onclick="jotAudioURL();return false;" title="{{$audio}}">{{$shortaudio}}</a></li>
33                         <!-- TODO: waiting for a better placement 
34                         <li><a id="profile-location" onclick="jotGetLocation();return false;" title="{{$setloc}}">{{$shortsetloc}}</a></li>
35                         <li><a id="profile-nolocation" onclick="jotClearLocation();return false;" title="{{$noloc}}">{{$shortnoloc}}</a></li>
36                         -->
37                         <li><a id="jot-preview-link" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a></li>
38                         {{$jotplugins}}
39
40                         <li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 {{$lockstate}} {{$bang}}"  title="{{$permset}}" ></a></li>
41                         <li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /></li>
42                         <li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}"  /></li>
43                 </ul>
44         </div>
45         
46         <div id="jot-preview-content" style="display:none;"></div>
47
48         <div style="display: none;">
49                 <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
50                         {{$acl}}
51                         <hr style="clear:both"/>
52                         <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
53                         <div id="profile-jot-email-end"></div>
54                         {{$jotnets}}
55                 </div>
56         </div>
57
58 </form>
59
60 {{if $content}}<script>initEditor();</script>{{/if}}