detail.php 694 B

12345678910111213141516171819202122232425262728293031
  1. <?php require_once("header.php"); ?>
  2. <div id="content">
  3. <?php
  4. html_msgarea();
  5. if ($ERROR)
  6. echo "<h1>".htmlspecialchars($ERROR)."</h1>";
  7. else {
  8. if ($REV)
  9. echo p_locale_xhtml('showrev');
  10. echo "<h1>".nl2br(hsc(tpl_img_getTag('simple.title')))."</h1>";
  11. tpl_img(900, 700);
  12. }?>
  13. <?php tpl_img_meta();?>
  14. <dl>
  15. <dt><?php echo $lang["reference"];?></dt>
  16. <?php
  17. $media_usage = ft_mediause($IMG, true);
  18. if (count($media_usage) > 0) {
  19. foreach($media_usage as $path)
  20. echo "<dd>" . html_wikilink($path) . "</dd>";
  21. } else
  22. echo "<dd>" . $lang['nothingfound'] . "</dd>";
  23. ?>
  24. </dl>
  25. <p><?php echo $lang['media_acl_warning'];?></p>
  26. </div>
  27. <?php require_once("footer.php");