diff options
author | friendica <info@friendica.com> | 2014-04-09 21:13:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-09 21:13:40 -0700 |
commit | 8d8d73924224f1f3862bffa4822b7d62600afd62 (patch) | |
tree | eb83b0491fe69a2d712e8b3e898448ec363529a2 /view/tpl/prv_message.tpl | |
parent | 795d74171358abe23cc4be01dac0e48d04ee46b4 (diff) | |
parent | 5d5ff22b1dc551863342d2c7c7f44607bbd44777 (diff) | |
download | volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.gz volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.tar.bz2 volse-hubzilla-8d8d73924224f1f3862bffa4822b7d62600afd62.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl/prv_message.tpl')
-rwxr-xr-x | view/tpl/prv_message.tpl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl index 3330a338f..118bd846f 100755 --- a/view/tpl/prv_message.tpl +++ b/view/tpl/prv_message.tpl @@ -37,14 +37,16 @@ <div id="prvmail-link-wrapper" > <i id="prvmail-link" class="icon-link jot-icons" title="{{$insert}}" onclick="jotGetLink(); return false;"></i> </div> - - <div id="prvmail-expire-wrapper" style="display: {{$feature_expire}};" > - <i id="prvmail-expires" class="icon-eraser jot-icons" title="{{$expires}}" onclick="prvmailGetExpiry();return false;"></i> - </div> - <div id="prvmail-encrypt-wrapper" style="display: {{$feature_encrypt}};" > + {{if $feature_expire}} + <div id="prvmail-expire-wrapper" > + <i id="prvmail-expires" class="icon-eraser jot-icons" title="{{$expires}}" onclick="prvmailGetExpiry();return false;"></i> + </div> + {{/if}} + {{if $feature_encrypt}} + <div id="prvmail-encrypt-wrapper" > <i id="prvmail-encrypt" class="icon-key jot-icons" title="{{$encrypt}}" onclick="red_encrypt('{{$cipher}}','#prvmail-text',$('#prvmail-text').val());return false;"></i> </div> - + {{/if}} <div id="prvmail-rotator-wrapper" > <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> </div> |