summaryrefslogtreecommitdiff
path: root/detail.php
blob: 3b70c8744d6247c9175b2525ca39f6a4af59df8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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");