aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/picture_content.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/picture_content.tpl')
-rw-r--r--themes/default/template/picture_content.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl
new file mode 100644
index 000000000..384a9ce1a
--- /dev/null
+++ b/themes/default/template/picture_content.tpl
@@ -0,0 +1,11 @@
+{if isset($high) }
+<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
+{/if}
+ <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
+ {if isset($COMMENT_IMG)}
+ title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
+ {/if}>
+{if isset($high) }
+</a>
+ <p>{'Click on the picture to see it in high definition'|@translate}</p>
+{/if}