From d8494248fc3df1ac9b688fd5b250de60a50361b2 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Wed, 25 Aug 2004 21:09:09 +0000 Subject: "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 --- template/default/admin/configuration.tpl | 20 ++++++++++++++++++++ template/default/picture.tpl | 24 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+) (limited to 'template') diff --git a/template/default/admin/configuration.tpl b/template/default/admin/configuration.tpl index b2eb8f22b..d1a528b6d 100644 --- a/template/default/admin/configuration.tpl +++ b/template/default/admin/configuration.tpl @@ -196,6 +196,26 @@ {L_YES}   {L_NO} + + + + {L_SHOW_EXIF} : +
{L_SHOW_EXIF_INFO} + + + {L_YES}   + {L_NO} + + + + + {L_SHOW_IPTC} : +
{L_SHOW_IPTC_INFO} + + + {L_YES}   + {L_NO} + 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 @@ + + + [ {L_PICTURE_SHOW_METADATA} ] + + + + [ {L_PICTURE_HIDE_METADATA} ] + + + + + + + + + + + + + + + +
{metadata.headline.TITLE}
{metadata.line.KEY}{metadata.line.VALUE}
+