2013-04-23 13:47:57 +02:00
|
|
|
<form id="profile-jot-form" action="{{$action}}" method="post">
|
|
|
|
<div id="jot">
|
|
|
|
<div id="profile-jot-desc" class="jothidden"> </div>
|
|
|
|
<input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" title="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" />
|
|
|
|
{{if $placeholdercategory}}
|
|
|
|
<input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" title="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
|
|
|
|
{{/if}}
|
|
|
|
<div id="character-counter" class="grey jothidden"></div>
|
2015-12-04 19:29:13 +01:00
|
|
|
|
2013-04-23 13:47:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="type" value="{{$ptyp}}" />
|
|
|
|
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
|
|
|
|
<input type="hidden" name="return" value="{{$return_path}}" />
|
|
|
|
<input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
|
|
|
|
<input type="hidden" name="coord" id="jot-coord" value="" />
|
|
|
|
<input type="hidden" name="post_id" value="{{$post_id}}" />
|
|
|
|
<input type="hidden" name="preview" id="jot-preview" value="0" />
|
|
|
|
<input type="hidden" name="post_id_random" value="{{$rand_num}}" />
|
2015-06-26 15:44:32 +02:00
|
|
|
{{if $notes_cid}}
|
|
|
|
<input type="hidden" name="contact_allow[]" value="<{{$notes_cid}}>" />
|
|
|
|
{{/if}}
|
2013-04-23 13:47:57 +02:00
|
|
|
|
2017-01-07 16:06:03 +01:00
|
|
|
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder="{{$share}}">{{if $content}}{{$content}}{{/if}}</textarea>
|
2013-04-23 13:47:57 +02:00
|
|
|
|
|
|
|
<ul id="jot-tools" class="jothidden" style="display:none">
|
|
|
|
<li><a href="#" onclick="return false;" id="wall-image-upload" title="{{$upload}}">{{$shortupload}}</a></a></li>
|
|
|
|
<li><a href="#" onclick="return false;" id="wall-file-upload" title="{{$attach}}">{{$shortattach}}</a></li>
|
|
|
|
<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>
|
|
|
|
<li><a id="profile-video" onclick="jotVideoURL();return false;" title="{{$video}}">{{$shortvideo}}</a></li>
|
|
|
|
<li><a id="profile-audio" onclick="jotAudioURL();return false;" title="{{$audio}}">{{$shortaudio}}</a></li>
|
2015-12-04 19:29:13 +01:00
|
|
|
<!-- TODO: waiting for a better placement
|
2013-04-23 13:47:57 +02:00
|
|
|
<li><a id="profile-location" onclick="jotGetLocation();return false;" title="{{$setloc}}">{{$shortsetloc}}</a></li>
|
|
|
|
<li><a id="profile-nolocation" onclick="jotClearLocation();return false;" title="{{$noloc}}">{{$shortnoloc}}</a></li>
|
|
|
|
-->
|
|
|
|
<li><a id="jot-preview-link" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a></li>
|
|
|
|
{{$jotplugins}}
|
|
|
|
|
2015-12-04 19:29:13 +01:00
|
|
|
{{if !$is_edit}}
|
2013-04-23 13:47:57 +02:00
|
|
|
<li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 {{$lockstate}} {{$bang}}" title="{{$permset}}" ></a></li>
|
2015-12-04 19:29:13 +01:00
|
|
|
{{/if}}
|
2013-04-23 13:47:57 +02:00
|
|
|
<li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /></li>
|
|
|
|
<li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" /></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2015-12-04 19:29:13 +01:00
|
|
|
|
2013-04-23 13:47:57 +02:00
|
|
|
<div id="jot-preview-content" style="display:none;"></div>
|
|
|
|
|
|
|
|
<div style="display: none;">
|
|
|
|
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
|
|
|
{{$acl}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{{if $content}}<script>initEditor();</script>{{/if}}
|