1<?php
2/**
3 * DokuWiki Twenty Fifteen Template
4 *
5 * @link     https://github.com/lainme/dokuwiki-theme-twentyfifteen
6 * @author   Anika Henke <anika@selfthinker.org> (upstream)
7 * @author   Andreas Gohr <andi@splitbrain.org> (upstream)
8 * @author   lainme <lainme993@gmail.com>
9 * @license  GPLv2 (http://www.gnu.org/licenses/gpl.html)
10 */
11
12if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
13header('X-UA-Compatible: IE=edge,chrome=1');
14?>
15<!DOCTYPE html>
16<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
17<head>
18    <meta charset="UTF-8"/>
19    <meta name="viewport" content="width=device-width,initial-scale=1" />
20    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
21    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
22    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata:n,b|Noto+Sans:n,b,i,bi|Noto+Serif:n,b,i,bi" type="text/css" media="all"/>
23    <?php tpl_metaheaders() ?>
24    <?php tpl_includeFile('meta.html') ?>
25    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
26</head>
27<body class="<?php echo tpl_classes(); ?> detail-page">
28    <div id="dokuwiki__detail">
29        <?php html_msgarea() ?>
30
31        <?php if($ERROR): print $ERROR; ?>
32        <?php else: ?>
33
34            <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG))?></h1>
35
36            <div class="content">
37                <?php tpl_img(900, 700); ?>
38
39                <div class="img_detail">
40                    <h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>
41
42                    <?php tpl_img_meta(); ?>
43                    <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw')); ?>
44                </div>
45                <div class="clearer"></div>
46            </div><!-- /.content -->
47
48            <p class="back">
49                <?php tpl_action('mediaManager', 1) ?><br />
50                <?php tpl_action('img_backto', 1, 0, 0, '<span class="genericon genericon-leftarrow"></span>') ?>
51            </p>
52
53        <?php endif; ?>
54    </div>
55</body>
56</html>
57