diff options
author | Mario Vavti <mario@mariovavti.com> | 2020-08-20 22:47:33 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2020-08-20 22:47:33 +0200 |
commit | c4c47f777724937746c99c064e65f52723443e59 (patch) | |
tree | c12ed23f32e394af6aa419b5f7e77badf772d431 /view/tpl/chat.tpl | |
parent | e55a1a6aa8fe55d20b588f0223a15018053bfd48 (diff) | |
download | volse-hubzilla-c4c47f777724937746c99c064e65f52723443e59.tar.gz volse-hubzilla-c4c47f777724937746c99c064e65f52723443e59.tar.bz2 volse-hubzilla-c4c47f777724937746c99c064e65f52723443e59.zip |
first cut on implementing additional encryption with the SJCL library. aes only and no backward compatibility.
Diffstat (limited to 'view/tpl/chat.tpl')
-rw-r--r-- | view/tpl/chat.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index c189cbd15..7ef957b7e 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -70,7 +70,7 @@ </div> {{if $feature_encrypt}} <div class="btn-group mr-2 d-none d-md-flex"> - <button id="chat-encrypt-wrapper" class="btn btn-outline-secondary btn-sm" onclick="red_encrypt('{{$cipher}}', '#chatText', $('#chatText').val()); return false;"> + <button id="chat-encrypt-wrapper" class="btn btn-outline-secondary btn-sm" onclick="hz_encrypt('{{$cipher}}', '#chatText'); return false;"> <i id="chat-encrypt" class="fa fa-key jot-icons" title="{{$encrypt}}" ></i> </button> </div> @@ -83,7 +83,7 @@ <a class="dropdown-item" href="#" onclick="chatJotGetLink(); return false;" ><i class="fa fa-link"></i> {{$insert}}</a> {{if $feature_encrypt}} <div class="dropdown-divider"></div> - <a class="dropdown-item" href="#" onclick="red_encrypt('{{$cipher}}', '#chatText' ,$('#chatText').val()); return false;"><i class="fa fa-key"></i> {{$encrypt}}</a> + <a class="dropdown-item" href="#" onclick="hz_encrypt('{{$cipher}}', '#chatText'); return false;"><i class="fa fa-key"></i> {{$encrypt}}</a> {{/if}} </div> </div> |