From b9723aa85bb10347ca28df0e15b16dabea11ec1d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 24 Sep 2015 14:07:44 +0200 Subject: some heavy private mail restructuring - work in progress --- view/tpl/mail_display.tpl | 2 ++ view/tpl/mail_head.tpl | 16 +++++++--------- view/tpl/mail_list.tpl | 13 +++++++------ view/tpl/message_side.tpl | 11 ++++++++--- 4 files changed, 24 insertions(+), 18 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl index 062710f1d..bb89c96ec 100755 --- a/view/tpl/mail_display.tpl +++ b/view/tpl/mail_display.tpl @@ -1,6 +1,8 @@
+ {{$delete}}

{{$prvmsg_header}}

+
{{foreach $mails as $mail}} diff --git a/view/tpl/mail_head.tpl b/view/tpl/mail_head.tpl index 7bc854fff..d52fa40e0 100755 --- a/view/tpl/mail_head.tpl +++ b/view/tpl/mail_head.tpl @@ -1,10 +1,8 @@ -
-
-

{{$header}}

-
-
- {{foreach $messages as $message}} - {{include file="mail_list.tpl"}} - {{/foreach}} -
+
+

{{$header}}

+
diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl index e3f8ef75c..ad042eb59 100755 --- a/view/tpl/mail_list.tpl +++ b/view/tpl/mail_list.tpl @@ -1,6 +1,7 @@ -{{$message.from_name}} -{{$message.from_name}} -{{$message.subject}} -{{$message.date}} - -
+
  • + + {{$message.subject}}
    + {{$message.from_name}} > {{$message.to_name}}
    + {{$message.date}} +
    +
  • diff --git a/view/tpl/message_side.tpl b/view/tpl/message_side.tpl index 3e32eae14..954ada215 100755 --- a/view/tpl/message_side.tpl +++ b/view/tpl/message_side.tpl @@ -1,13 +1,18 @@

    {{$title}}

    {{if $tabs}} {{/if}} -- cgit v1.2.3