You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.2 KiB

14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
12 years ago
14 years ago
14 years ago
12 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
14 years ago
  1. <?php
  2. /**
  3. * DokuWiki Image Detail Page
  4. *
  5. * @author Andreas Gohr <andi@splitbrain.org>
  6. * @author Anika Henke <anika@selfthinker.org>
  7. * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
  8. */
  9. // must be run from within DokuWiki
  10. if (!defined('DOKU_INC')) die();
  11. @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
  12. header('X-UA-Compatible: IE=edge,chrome=1');
  13. ?><!DOCTYPE html>
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
  15. lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
  16. <head>
  17. <meta charset="UTF-8" />
  18. <title>
  19. <?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
  20. [<?php echo strip_tags($conf['title'])?>]
  21. </title>
  22. <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
  23. <?php tpl_metaheaders()?>
  24. <meta name="viewport" content="width=device-width,initial-scale=1" />
  25. <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
  26. <?php tpl_includeFile('meta.html') ?>
  27. </head>
  28. <body>
  29. <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
  30. <div id="dokuwiki__detail" class="<?php echo tpl_classes(); ?>">
  31. <?php html_msgarea() ?>
  32. <?php if($ERROR): print $ERROR; ?>
  33. <?php else: ?>
  34. <h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG))?></h1>
  35. <div class="content">
  36. <?php tpl_img(900, 700); /* the image; parameters: maximum width, maximum height (and more) */ ?>
  37. <div class="img_detail">
  38. <h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>
  39. <?php tpl_img_meta(); ?>
  40. <?php //Comment in for Debug// dbg(tpl_img_getTag('Simple.Raw')); ?>
  41. </div>
  42. <div class="clearer"></div>
  43. </div><!-- /.content -->
  44. <p class="back">
  45. <?php tpl_action('mediaManager', 1) ?><br />
  46. &larr; <?php tpl_action('img_backto', 1) ?>
  47. </p>
  48. <?php endif; ?>
  49. </div>
  50. <!--[if ( lte IE 7 | IE 8 ) ]></div><![endif]-->
  51. </body>
  52. </html>