aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-06-15 23:07:39 +0200
committerMario <mario@mariovavti.com>2019-06-15 23:07:39 +0200
commit3bc214e5449c7ce190a35ae6e70a1fb7ebe84962 (patch)
tree2687f7ec477ab98c2488d430ffcf79731a85e198 /view
parenta26774b99e1cf3e69df4f527e2c4c4443dce63ad (diff)
parent43cec4398d0d035dd9446988134b814513a73080 (diff)
downloadvolse-hubzilla-3bc214e5449c7ce190a35ae6e70a1fb7ebe84962.tar.gz
volse-hubzilla-3bc214e5449c7ce190a35ae6e70a1fb7ebe84962.tar.bz2
volse-hubzilla-3bc214e5449c7ce190a35ae6e70a1fb7ebe84962.zip
Merge branch 'dev' into 'dev'
Add signatures processing for private messages See merge request hubzilla/core!1670
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/mail_conv.tpl2
-rwxr-xr-xview/tpl/prv_message.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl
index cd810e999..b0497fe99 100755
--- a/view/tpl/mail_conv.tpl
+++ b/view/tpl/mail_conv.tpl
@@ -1,4 +1,4 @@
-<div id="mail-{{$mail.id}}" class="mb-2 clearfix mail-conv-outside-wrapper">
+<div id="mail-{{$mail.id}}" class="mb-2 clearfix mail-conv-outside-wrapper"{{if $mail.sig}} data-sig="{{$mail.sig}}"{{/if}}>
<div class="mb-2 clearfix wall-item-head">
<div class="wall-item-info" >
<a href="{{$mail.from_url}}"><img class="wall-item-photo" src="{{$mail.from_photo}}" alt="{{$mail.from_name}}" /></a>
diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl
index 59472f7d4..b8c81539d 100755
--- a/view/tpl/prv_message.tpl
+++ b/view/tpl/prv_message.tpl
@@ -11,6 +11,7 @@
<input type="hidden" id="inp-prvmail-expires" name="expires" value="{{$defexpire}}" />
<input type="hidden" name="media_str" id="jot-media" value="" />
<input type="hidden" name="preview" id="mail-preview" value="0" />
+ <input type="hidden" name="signature" id="mail-sig" value="" />
{{if $new}}
<div class="form-group">
<label for="recip">{{$to}}</label>