1<?php
2
3// must be run from within DokuWiki
4if (!defined('DOKU_INC')) die();
5
6require_once DOKU_TPLINC.'functions.php';
7require_once DOKU_TPLINC.'components.php';
8
9?>
10<!DOCTYPE html>
11<html lang="<?php echo $conf['lang']?>" dir="ltr">
12<head>
13  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14  <title>
15     <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
16    [<?php echo strip_tags($conf['title'])?>]
17  </title>
18
19  <?php tpl_metaheaders(); icke_tplCSS(); echo tpl_favicon(array('favicon', 'mobile')); ?>
20
21</head>
22<?php
23icke_header();
24icke_sidebar();
25?>
26  <div id="icke__page">
27                <div id="icke__drophead" class="closed">
28                </div>
29
30  <div id="detail__page" class="dokuwiki content page">
31    <?php if($ERROR){ print $ERROR; }else{ ?>
32
33    <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?></h1>
34
35    <p class="back">&larr; <?php echo $lang['img_backto']?> <?php tpl_pagelink($ID)?></p>
36
37    <div class="img_big">
38      <?php tpl_img(900,700) ?>
39    </div>
40
41    <div class="img_detail">
42      <dl class="img_tags">
43        <?php
44          $t = tpl_img_getTag('Date.EarliestTime');
45          if($t) print '<dt>'.$lang['img_date'].':</dt><dd>'.dformat($t).'</dd>';
46
47          $t = tpl_img_getTag('File.Name');
48          if($t) print '<dt>'.$lang['img_fname'].':</dt><dd>'.hsc($t).'</dd>';
49
50          $t = tpl_img_getTag(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'));
51          if($t) print '<dt>'.$lang['img_artist'].':</dt><dd>'.hsc($t).'</dd>';
52
53          $t = tpl_img_getTag(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright'));
54          if($t) print '<dt>'.$lang['img_copyr'].':</dt><dd>'.hsc($t).'</dd>';
55
56          $t = tpl_img_getTag('File.Format');
57          if($t) print '<dt>'.$lang['img_format'].':</dt><dd>'.hsc($t).'</dd>';
58
59          $t = tpl_img_getTag('File.NiceSize');
60          if($t) print '<dt>'.$lang['img_fsize'].':</dt><dd>'.hsc($t).'</dd>';
61
62          $t = tpl_img_getTag('Simple.Camera');
63          if($t) print '<dt>'.$lang['img_camera'].':</dt><dd>'.hsc($t).'</dd>';
64
65          $t = tpl_img_getTag(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject'));
66          if($t) print '<dt>'.$lang['img_keywords'].':</dt><dd>'.hsc($t).'</dd>';
67
68        ?>
69      </dl>
70      <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw'));?>
71    </div>
72
73  <?php } ?>
74  </div>
75                <div id="icke__footer">
76                    <div class="footer_toolbar">
77                        <p>
78                        </p>
79                        <p class="copy"><a href="<?php echo wl('icke')?>">ICKE</a></p>
80                    </div>
81                </div><!-- END icke__footer -->
82
83</div>
84</div>
85</body>
86</html>
87
88