summaryrefslogtreecommitdiff
path: root/lib/tpl
diff options
context:
space:
mode:
authorhakan.sandell <hakan.sandell@mydata.se>2008-05-18 17:29:28 +0200
committerhakan.sandell <hakan.sandell@mydata.se>2008-05-18 17:29:28 +0200
commit49ac3837eb784dcadaadeae1fdce0820974b0f12 (patch)
tree1bebbcc5e066b975a7b14a91d0b0d3ef728a9923 /lib/tpl
parent431c7fc8f28b67627da6367eb8c1e532b596d69a (diff)
downloadrpg-49ac3837eb784dcadaadeae1fdce0820974b0f12.tar.gz
rpg-49ac3837eb784dcadaadeae1fdce0820974b0f12.tar.bz2
show xmp metadata in default template
darcs-hash:20080518152928-9a5f4-a1594ec08a2006ee2b94f68e766abbf6ad32701c.gz
Diffstat (limited to 'lib/tpl')
-rw-r--r--lib/tpl/default/detail.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/tpl/default/detail.php b/lib/tpl/default/detail.php
index d0e07ce1a..0e8ddc743 100644
--- a/lib/tpl/default/detail.php
+++ b/lib/tpl/default/detail.php
@@ -45,10 +45,7 @@ if (!defined('DOKU_INC')) die();
<div class="img_detail">
<p class="img_caption">
- <?php print nl2br(hsc(tpl_img_getTag(array('IPTC.Caption',
- 'EXIF.UserComment',
- 'EXIF.TIFFImageDescription',
- 'EXIF.TIFFUserComment')))); ?>
+ <?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?>
</p>
<p>&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
@@ -76,7 +73,7 @@ if (!defined('DOKU_INC')) die();
$t = tpl_img_getTag('Simple.Camera');
if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>';
- $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category'));
+ $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject'));
if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
?>