From 1a5344eb6306ca6230cd7084f77a629334b25ffc Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 1 Aug 2015 18:24:00 +0100 Subject: [PATCH] updated detail.php and made call to tpl_img_meta backwards compatible --- detail.php | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/detail.php b/detail.php index bc01332..b055cb9 100644 --- a/detail.php +++ b/detail.php @@ -36,6 +36,7 @@ header('X-UA-Compatible: IE=edge,chrome=1'); +

@@ -44,7 +45,40 @@ header('X-UA-Compatible: IE=edge,chrome=1');

- + + + +
+ $tag){ + $t = array(); + if (!empty($tag[0])) { + $t = array($tag[0]); + } + if(is_array($tag[3])) { + $t = array_merge($t,$tag[3]); + } + $value = tpl_img_getTag($t); + if ($value) { + echo '
'.$lang[$tag[1]].':
'; + if ($tag[2] == 'date') { + echo dformat($value); + } else { + echo hsc($value); + } + echo '
'; + } + } + ?> +
+