1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']; ?>" lang="<?php echo $conf['lang']; ?>">
3	<head>
4		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5		<meta http-equiv="Content-Style-Type" content="text/css" />
6		<title>
7			<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
8			[<?php echo hsc($conf['title'])?>]
9		</title>
10		<?php tpl_metaheaders(); ?>
11		<link rel="shortcut icon" href="<?php echo DOKU_TPL?>favicon.ico" />
12	</head>
13	<body id="detail">
14<!-- =============================== CONTENT =============================== -->
15		<div id="content">
16			<div id="contenttop">
17				<div class="prepend"></div>
18			</div>
19			<div id="contentbody">
20				<?php html_msgarea(); ?>
21				<?php if($ERROR){ print $ERROR; }else{ ?>
22				<h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1>
23				<div class="img_big">
24					<?php tpl_img(900,700) ?>
25				</div>
26				<div class="img_detail">
27					<p class="img_caption">
28						<?php print nl2br(hsc(tpl_img_getTag(array('IPTC.Caption',
29                                               'EXIF.UserComment',
30                                               'EXIF.TIFFImageDescription',
31                                               'EXIF.TIFFUserComment')))); ?>
32					</p>
33					<p>&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
34					<dl class="img_tags">
35						<?php
36							$t = tpl_img_getTag('Date.EarliestTime');
37							if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.date($conf['dformat'],$t).'</dd>';
38
39							$t = tpl_img_getTag('File.Name');
40							if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>';
41
42							$t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'));
43							if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>';
44
45							$t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright'));
46							if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>';
47
48							$t = tpl_img_getTag('File.Format');
49							if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>';
50
51							$t = tpl_img_getTag('File.NiceSize');
52							if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>';
53
54							$t = tpl_img_getTag('Simple.Camera');
55							if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>';
56
57							$t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category'));
58							if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
59						?>
60					</dl>
61				</div>
62				<?php } ?>
63			</div>
64			<div id="contentbottom">
65				<div class="prepend"></div>
66			</div>
67		</div>
68	</body>
69</html>
70
71