From df57c90d2d93fef1d021bee4b91a50b1b34ee938 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 26 Feb 2016 14:25:18 +0100 Subject: several photo item template fixes --- mod/update_display.php | 2 +- view/tpl/photo_drop.tpl | 3 +-- view/tpl/photo_item.tpl | 39 +++++++++++++++++++++++---------------- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/mod/update_display.php b/mod/update_display.php index b448c76ee..52903bb8c 100644 --- a/mod/update_display.php +++ b/mod/update_display.php @@ -39,4 +39,4 @@ function update_display_content(&$a) { // logger('update_display: ' . $text); killme(); -} \ No newline at end of file +} diff --git a/view/tpl/photo_drop.tpl b/view/tpl/photo_drop.tpl index 31b654374..24aff0209 100755 --- a/view/tpl/photo_drop.tpl +++ b/view/tpl/photo_drop.tpl @@ -1,4 +1,3 @@
- +
-
diff --git a/view/tpl/photo_item.tpl b/view/tpl/photo_item.tpl index 2ea7aa9f3..ec643c4a9 100755 --- a/view/tpl/photo_item.tpl +++ b/view/tpl/photo_item.tpl @@ -1,27 +1,34 @@ -
-
-
-
- - {{$name}} +
+
+
+
+
+ + {{$name}} +
-
-
-
- {{$name}} +
+
+ {{$name}} +
+
{{$ago}}
-
{{$ago}}
{{$title}}
{{$body}}
-
- {{$drop}} -
+
+ {{if $drop}} +
+
+ {{$drop}} +
+
+
+ {{/if}} +
{{$comment}} - -
-- cgit v1.2.3