diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-04-11 13:32:04 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-04-11 13:32:04 +0200 |
commit | e0b593c90599009a903d1856555eacf33245005d (patch) | |
tree | 4e45d604030b68b7048d5a3a419ec91f03594ebb /detail.php |
Initial commit
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 |