diff options
Diffstat (limited to 'detail.php')
-rw-r--r-- | detail.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/detail.php b/detail.php new file mode 100644 index 0000000..3b70c87 --- /dev/null +++ b/detail.php @@ -0,0 +1,31 @@ +<?php require_once("header.php"); ?> +<div id="content"> + <?php + html_msgarea(); + if ($ERROR) + echo "<h1>".htmlspecialchars($ERROR)."</h1>"; + else { + if ($REV) + echo p_locale_xhtml('showrev'); + + echo "<h1>".nl2br(hsc(tpl_img_getTag('simple.title')))."</h1>"; + tpl_img(900, 700); + }?> + + <?php tpl_img_meta();?> + + <dl> + <dt><?php echo $lang["reference"];?></dt> + <?php + $media_usage = ft_mediause($IMG, true); + if (count($media_usage) > 0) { + foreach($media_usage as $path) + echo "<dd>" . html_wikilink($path) . "</dd>"; + } else + echo "<dd>" . $lang['nothingfound'] . "</dd>"; + ?> + </dl> + + <p><?php echo $lang['media_acl_warning'];?></p> +</div> +<?php require_once("footer.php");
\ No newline at end of file |