friendica-github/view/jot.tpl

48 lines
2.2 KiB
Smarty
Raw Normal View History

2011-12-19 17:02:43 +00:00
<form action="$action" method="post">
<div id="jot">
<div id="profile-jot-desc" >&nbsp;</div>
2011-12-19 17:02:43 +00:00
<input name="title" id="jot-title" type="text" placeholder="$titleplaceholder" value="$title" class="jothidden" style="display:none">
2010-09-17 10:10:19 +00:00
<div id="character-counter" class="grey"></div>
2011-12-19 17:02:43 +00:00
2011-05-20 08:15:02 +00:00
<input type="hidden" name="type" value="$ptyp" />
2010-09-17 10:10:19 +00: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 03:52:05 +00:00
<input type="hidden" name="coord" id="jot-coord" value="" />
<input type="hidden" name="post_id" value="$post_id" />
2011-12-19 17:02:43 +00:00
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
{{ if $content }}<script>initEditor();</script>{{ endif }}
2011-12-19 17:02:43 +00:00
<ul id="jot-tools" class="jothidden" style="display:none">
<li><a href="#" onclick="return false;" id="wall-image-upload">$upload</a></li>
<li><a href="#" onclick="return false;" id="wall-file-upload" >$attach</a></li>
<li><a id="profile-link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;">$weblink</a></li>
<li><a id="profile-video" onclick="jotVideoURL();return false;">$video</a></li>
<li><a id="profile-audio" onclick="jotAudioURL();return false;">$audio</a></li>
<li><a id="profile-location" onclick="jotGetLocation();return false;">$setloc</a></li>
<li><a id="profile-nolocation" onclick="jotClearLocation();return false;">$noloc</a></li>
$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>
</ul>
</div>
2011-05-19 00:29:12 +00:00
2011-12-19 17:02:43 +00:00
</form>
<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>
2011-12-19 17:02:43 +00:00
</div>
2010-09-17 10:10:19 +00:00