aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/picture.tpl
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-08-25 21:09:09 +0000
committerz0rglub <z0rglub@piwigo.org>2004-08-25 21:09:09 +0000
commitd8494248fc3df1ac9b688fd5b250de60a50361b2 (patch)
tree209664043b3f2014be7acd492ba5a3b690c11883 /template/default/picture.tpl
parent593574214c8dcbd9fa5bb79060d9bbbc81ffd1fc (diff)
"show metadata" feature added : you can ask to show metadata (EXIF and IPTC)
on picture.php page. Metadata read functions were moved from admin/include/functions_metadata.php to include/functions_metadata.inc.php git-svn-id: http://piwigo.org/svn/trunk@493 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/picture.tpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/template/default/picture.tpl b/template/default/picture.tpl
index ea301a24e..58d445ced 100644
--- a/template/default/picture.tpl
+++ b/template/default/picture.tpl
@@ -69,6 +69,30 @@
</a>
</div>
<!-- END favorite -->
+
+ <!-- BEGIN show_metadata -->
+ [ <a href="{show_metadata.URL}">{L_PICTURE_SHOW_METADATA}</a> ]
+ <!-- END show_metadata -->
+
+ <!-- BEGIN hide_metadata -->
+ [ <a href="{hide_metadata.URL}">{L_PICTURE_HIDE_METADATA}</a> ]
+ <!-- END hide_metadata -->
+
+ <!-- BEGIN metadata -->
+ <table class="metadata">
+ <!-- BEGIN headline -->
+ <tr>
+ <th colspan="2">{metadata.headline.TITLE}</th>
+ </tr>
+ <!-- END headline -->
+ <!-- BEGIN line -->
+ <tr>
+ <td>{metadata.line.KEY}</td>
+ <td>{metadata.line.VALUE}</td>
+ </tr>
+ <!-- END line -->
+ </table>
+ <!-- END metadata -->
<!-- BEGIN modification -->
<div class="menu" style="text-align:center;margin:5px;">
[ <a href="{U_ADMIN}">{L_ADMIN}</a> ]