From 6999fb586ba90e9f1c79e9f09f4035f63fb925fd Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Sat, 24 Aug 2013 17:01:39 +0100 Subject: Generic wrapper classes makes themeing loads easier --- view/tpl/direntry.tpl | 23 +++++++++++++---------- view/tpl/mail_display.tpl | 2 ++ view/tpl/mail_list.tpl | 2 +- view/tpl/page_display.tpl | 2 +- view/tpl/profile_advanced.tpl | 3 ++- view/tpl/webpagelist.tpl | 2 +- 6 files changed, 20 insertions(+), 14 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index c6c0ab028..35bbbe0fd 100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,13 +1,16 @@
-
-
- {{$entry.alttext}} -
-
+
-
{{$entry.name}}
- {{if $entry.connect}} - - {{/if}} -
{{$entry.details}}
+
+
+{{$entry.alttext}} +
+
+ +
{{$entry.name}}
+{{if $entry.connect}} + +{{/if}} +
{{$entry.details}}
+
diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl index 26e02529a..7280f1e84 100755 --- a/view/tpl/mail_display.tpl +++ b/view/tpl/mail_display.tpl @@ -1,3 +1,4 @@ +
{{foreach $mails as $mail}} {{include file="mail_conv.tpl"}} {{/foreach}} @@ -7,3 +8,4 @@ {{else}} {{$unknown_text}} {{/if}} +
diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl index fc4af8ddd..8a6eeed56 100755 --- a/view/tpl/mail_list.tpl +++ b/view/tpl/mail_list.tpl @@ -1,4 +1,4 @@ -
+
{{$from_name}} {{$from_name}} diff --git a/view/tpl/page_display.tpl b/view/tpl/page_display.tpl index 7b4fdb96e..d8175bdd2 100755 --- a/view/tpl/page_display.tpl +++ b/view/tpl/page_display.tpl @@ -1,6 +1,6 @@
-
+

{{$title}}

{{$date}}
diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index db48a8509..9f17a0ffa 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -1,3 +1,4 @@ +

{{$title}}

@@ -179,4 +180,4 @@ {{/foreach}} {{/if}} - +
diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index b09dc9f38..9a189230b 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -2,7 +2,7 @@ {{if $pages}} -
+
{{foreach $pages as $key => $items}} {{foreach $items as $item}}
-- cgit v1.2.3