From 05050381d3d662fd880cd04142cf6ba399cbf104 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 5 Oct 2015 12:26:04 +0200 Subject: bring our bbcode tools to private mail --- view/tpl/jot.tpl | 10 +++---- view/tpl/msg-header.tpl | 15 +++++++++- view/tpl/prv_message.tpl | 72 +++++++++++++++++++++++++++++++++++++----------- 3 files changed, 75 insertions(+), 22 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 100dd15b9..ea68368aa 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -47,19 +47,19 @@
- - - - -
diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl index 593b3652e..3407e152c 100755 --- a/view/tpl/msg-header.tpl +++ b/view/tpl/msg-header.tpl @@ -57,10 +57,23 @@ else onComplete: function(file,response) { addmailtext(response); $('#prvmail-rotator').spin(false); - } + } + } + ); + + var file_uploader_sub = new window.AjaxUpload( + 'prvmail-attach-sub', + { action: 'wall_attach/{{$nickname}}', + name: 'userfile', + onSubmit: function(file,ext) { $('#prvmail-rotator').spin('tiny'); }, + onComplete: function(file,response) { + addmailtext(response); + $('#prvmail-rotator').spin(false); + } } ); + }); function prvmailJotGetLink() { diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl index c31c311cc..b0ea8b753 100755 --- a/view/tpl/prv_message.tpl +++ b/view/tpl/prv_message.tpl @@ -38,23 +38,63 @@
-
- - - {{if $feature_expire}} - - {{/if}} - {{if $feature_encrypt}} - +
+
+ + + + + +
+ + {{if $feature_expire || $feature_encrypt}} + {{/if}} + +
+ + +
+ +
-- cgit v1.2.3