aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/loozah/jot.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-10 17:47:11 -0800
committerfriendica <info@friendica.com>2012-01-10 17:47:11 -0800
commitcf7008e57509b271dccd6971f3bef46ace8a9687 (patch)
treed048c9416af3f7394d99f2fa4bcf280506ed226f /view/theme/loozah/jot.tpl
parent375cb82124aae2faac9f44b93b63b2f056871a0b (diff)
downloadvolse-hubzilla-cf7008e57509b271dccd6971f3bef46ace8a9687.tar.gz
volse-hubzilla-cf7008e57509b271dccd6971f3bef46ace8a9687.tar.bz2
volse-hubzilla-cf7008e57509b271dccd6971f3bef46ace8a9687.zip
post preview to loozah
Diffstat (limited to 'view/theme/loozah/jot.tpl')
-rw-r--r--view/theme/loozah/jot.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/theme/loozah/jot.tpl b/view/theme/loozah/jot.tpl
index 78cbecea8..9bda1868e 100644
--- a/view/theme/loozah/jot.tpl
+++ b/view/theme/loozah/jot.tpl
@@ -13,6 +13,7 @@
<input type="hidden" name="location" id="jot-location" value="$defloc" />
<input type="hidden" name="coord" id="jot-coord" value="" />
<input type="hidden" name="title" id="jot-title" value="" />
+ <input type="hidden" name="preview" id="jot-preview" value="0" />
<input type="hidden" name="post_id" value="$post_id" />
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
@@ -58,7 +59,13 @@
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang
</div>
+
+ <span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>
+
+
<div id="profile-jot-perms-end"></div>
+
+ <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;">