aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-11 23:55:05 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-11 23:55:05 +0100
commite26b558e531a08321369fc5a2ec4646e9a2d410c (patch)
tree95d06c12be13f0c67c4a24a8294ece8fb2bfe5a0
parent85e5cd7f98b05f5a5722d2abe0485454184a54f9 (diff)
downloadvolse-hubzilla-e26b558e531a08321369fc5a2ec4646e9a2d410c.tar.gz
volse-hubzilla-e26b558e531a08321369fc5a2ec4646e9a2d410c.tar.bz2
volse-hubzilla-e26b558e531a08321369fc5a2ec4646e9a2d410c.zip
Promoted upload of images and encryption
-rw-r--r--[-rwxr-xr-x]view/tpl/jot.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 75f6b0027..15b45568a 100755..100644
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -48,6 +48,16 @@
<div id="profile-jot-submit-wrapper" class="jothidden">
<div id="profile-jot-submit-left" class="btn-toolbar pull-left">
<div class="btn-group">
+ {{if $writefiles}}
+ <button id="wall-file-upload" class="btn btn-default btn-sm" title="{{$attach}}" >
+ <i id="wall-file-upload-icon" class="icon-paper-clip jot-icons"></i>
+ </button>
+ {{/if}}
+ {{if $feature_encrypt}}
+ <button id="profile-encrypt-wrapper" class="btn btn-default btn-sm" title="{{$encrypt}}" onclick="red_encrypt('{{$cipher}}','#profile-jot-text',$('#profile-jot-text').val());return false;">
+ <i id="profile-encrypt" class="icon-key jot-icons"></i>
+ </button>
+ {{/if}}
<button id="main-editor-bold" class="btn btn-default btn-sm" title="{{$bold}}" onclick="inserteditortag('b', 'profile-jot-text'); return false;">
<i class="icon-bold jot-icons"></i>
</button>