1<?php
2/**
3 * DokuWiki Roundbox Template
4 *
5 * This is the template for displaying image details
6 *
7 * You should leave the doctype at the very top - It should
8 * always be the very first line of a document.
9 *
10 * @link   http://wiki.splitbrain.org/wiki:tpl:templates
11 * @author Andreas Gohr <andi@splitbrain.org>
12 * @author Christopher Arndt <chris@chrisarndt.de>
13 * @author Don Bowman  <don@lynsoft.co.uk>
14 */
15?>
16<?php
17/**
18<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
19 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
20 */
21?>
22<!DOCTYPE html>
23<?php
24/* include language settings */
25include_once(dirname(__FILE__).'/lang/en/lang.php');
26@include_once(dirname(__FILE__).'/lang/'.$conf['lang'].'/lang.php');
27
28/* include template helper functions */
29include_once(dirname(__FILE__).'/roundbox.php');
30
31?>
32<?php
33/**
34<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
35 */
36?>
37<html lang="<?php echo $conf['lang']?>" dir="ltr">
38<head>
39  <title>
40     <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
41    [<?php echo hsc($conf['title'])?>]
42  </title>
43  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
44
45  <?php tpl_metaheaders()?>
46
47  <link rel="shortcut icon" href="<?php echo tpl_basedir()?>images/favicon.ico" />
48
49  <!--[if gte IE 5]>
50  <style type="text/css">
51    /* that IE 5+ conditional comment makes this only visible in IE 5+ */
52    /* IE bugfix for transparent PNGs */
53    //DISABLED img { behavior: url("<?php echo DOKU_BASE?>lib/scripts/pngbehavior.htc"); }
54  </style>
55  <![endif]-->
56
57<script type="text/javascript"><!--
58function metaedit(id) {
59    window.open('mediamanager.php?edit=' + id, 'mediaselect',
60      'width=750,height=500,left=20,top=20,scrollbars=yes,resizable=yes'
61    )
62    return false;
63}
64// -->
65</script>
66
67</head>
68
69<body>
70<!-- start dokuwiki block -->
71<div class="dokuwiki">
72
73  <!-- start content block -->
74  <div id="content">
75
76    <?php if($conf['breadcrumbs']) { ?>
77      <div class="breadcrumbs">
78      <?php tpl_breadcrumbs(); ?>
79      </div>
80      <?php }?>
81
82    <?php if($conf['youarehere']) { ?>
83      <div class="breadcrumbs">
84      <?php tpl_youarehere(); ?>
85      </div>
86      <?php }?>
87
88    <?php if(tpl_getConf('rb_youarehere')) { ?>
89      <div class="breadcrumbs">
90      <?php rb_youarehere(); ?>
91      </div>
92      <?php }?>
93
94    <!-- start wikipage block -->
95    <div id="page" class="page">
96
97      <?php html_msgarea()?>
98
99    <?php if ($ERROR) {
100        print $ERROR;
101    } else { ?>
102
103      <h1 class="img_title">
104        <?php ptln(hsc(tpl_img_getTag('IPTC.Headline', $IMG))); ?>
105      </h1>
106
107      <p class="img_backto">&larr; <?php echo $lang['img_backto'] ?>
108      <?php tpl_pagelink($ID); ?></p>
109
110      <!-- start image -->
111      <div class="img_big">
112        <?php tpl_img(900, 700); echo "\n"; ?>
113      </div>
114      <!-- end image -->
115
116      <!-- start image details -->
117      <div class="img_detail">
118        <?php rb_img_meta(); ?>
119      </div>
120      <!-- end image details -->
121      <?php } ?>
122
123    </div>
124    <!-- end wikipage block -->
125
126  </div>
127  <!-- end content block -->
128
129</div>
130<!-- end dokuwiki block -->
131
132</body>
133</html>
134
135