aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/mail_display.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/mail_display.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/mail_display.tpl17
1 files changed, 8 insertions, 9 deletions
diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl
index 8fbc12929..26e02529a 100644..100755
--- a/view/tpl/mail_display.tpl
+++ b/view/tpl/mail_display.tpl
@@ -1,10 +1,9 @@
+{{foreach $mails as $mail}}
+ {{include file="mail_conv.tpl"}}
+{{/foreach}}
-{{ for $mails as $mail }}
- {{ inc mail_conv.tpl }}{{endinc}}
-{{ endfor }}
-
-{{ if $canreply }}
-{{ inc prv_message.tpl }}{{ endinc }}
-{{ else }}
-$unknown_text
-{{endif }} \ No newline at end of file
+{{if $canreply}}
+{{include file="prv_message.tpl"}}
+{{else}}
+{{$unknown_text}}
+{{/if}}