1<?php 2 3if (!defined('DOKU_INC')) die(); 4 5?> 6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 7 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 8<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 9 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 10<head> 11 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 12 <title><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG)) ?> - <?php echo strip_tags($conf['title']) ?></title> 13 <link rel="icon" href="/images/favicon.ico" type="image/ico"/> 14 <?php tpl_metaheaders()?> 15 16 <style type="text/css"> 17 .h6e-main-content { 18 width:<?php echo tpl_getConf('width') ?>; 19 padding-left:2.5em; 20 padding-right:2.5em; 21 } 22 .h6e-post-content { 23 font-size:<?php echo tpl_getConf('font-size') ?>; 24 } 25 .h6e-entry-title, .h6e-entry-title a, .h6e-entry-title a:visited, .do-page h1, .content-page h2 { 26 color:<?php echo tpl_getConf('title-color') ?>; 27 } 28 </style> 29 30</head> 31 32<body class="h6e-layout"> 33 34<div class="dokuwiki"> 35 36 <?php include dirname(__FILE__) . '/top.php' ?> 37 38 <div class="content-page h6e-main-content"> 39 40 <?php if($ERROR){ print $ERROR; } else { ?> 41 42 <h2 class="h6e-entry-title"><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h2> 43 44 <div class="img_big"> 45 <?php tpl_img(900,700) ?> 46 </div> 47 48 <div class="img_detail"> 49 <p class="img_caption"> 50 <?php print nl2br(hsc(tpl_img_getTag(array('IPTC.Caption', 51 'EXIF.UserComment', 52 'EXIF.TIFFImageDescription', 53 'EXIF.TIFFUserComment')))); ?> 54 </p> 55 56 <p>← <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p> 57 58 <dl class="img_tags"> 59 <?php 60 $t = tpl_img_getTag('Date.EarliestTime'); 61 if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.strftime($conf['dformat'],$t).'</dd>'; 62 63 $t = tpl_img_getTag('File.Name'); 64 if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>'; 65 66 $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit')); 67 if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>'; 68 69 $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright')); 70 if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>'; 71 72 $t = tpl_img_getTag('File.Format'); 73 if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>'; 74 75 $t = tpl_img_getTag('File.NiceSize'); 76 if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>'; 77 78 $t = tpl_img_getTag('Simple.Camera'); 79 if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>'; 80 81 $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category')); 82 if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>'; 83 84 ?> 85 </dl> 86 <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?> 87 </div> 88 89 <?php } ?> 90 </div> 91</div> 92</body> 93</html> 94 95