friendica/view/jot.tpl

54 lines
2.8 KiB
Smarty
Raw Normal View History

<form id="profile-jot-form" action="$action" method="post">
2011-12-19 18:02:43 +01:00
<div id="jot">
2011-12-20 17:17:17 +01:00
<div id="profile-jot-desc" class="jothidden" >&nbsp;</div>
<input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none">
<div id="character-counter" class="grey jothidden"></div>
2011-12-19 18:02:43 +01:00
2011-05-20 10:15:02 +02:00
<input type="hidden" name="type" value="$ptyp" />
2010-09-17 12:10:19 +02:00
<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" />
2010-10-20 05:52:05 +02:00
<input type="hidden" name="coord" id="jot-coord" value="" />
<input type="hidden" name="post_id" value="$post_id" />
2012-01-06 00:02:44 +01:00
<input type="hidden" name="preview" id="jot-preview" value="0" />
2011-12-19 18:02:43 +01:00
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
2011-12-19 18:02:43 +01:00
<ul id="jot-tools" class="jothidden" style="display:none">
2011-12-22 11:24:34 +01:00
<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="$gvideo">$shortvideo</a></li>
<li><a id="profile-audio" onclick="jotAudioURL();return false;" title="$audio">$shortaudio</a></li>
<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>
2011-12-19 18:02:43 +01:00
$jotplugins
<li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 $lockstate $bang" title="$permset" ></a></li>
<li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="$share" /></li>
2011-12-21 17:36:42 +01:00
<li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="$wait" title="$wait" /></li>
2011-12-19 18:02:43 +01:00
</ul>
</div>
<div id="jot-preview-content" style="display:none;"></div>
2012-01-12 10:35:50 +01:00
<div style="display: none;">
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
$acl
<hr style="clear:both"/>
<div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
<div id="profile-jot-email-end"></div>
$jotnets
</div>
</div>
2011-05-19 02:29:12 +02:00
2011-12-19 18:02:43 +01:00
</form>
{{ if $content }}<script>initEditor();</script>{{ endif }}
2011-12-19 18:02:43 +01:00
2010-09-17 12:10:19 +02:00