blob: 2d0ccdb5e1c46be46b7b415babe3fc2bb3fef4df (
plain) (
tree)
|
|
<?php
require("tpl/general/top.php");
$minurl = $baseurl . $id . "-min." . $type;
$imgurl = $baseurl . $id . "." . $type;
?>
<p>
<?php if (has_mini($type)) { ?>Preview : <a href="<?php echo $minurl; ?>"><?php echo $minurl; ?></a><br /><?php } ?>
File : <a href="<?php echo $imgurl; ?>"><?php echo $imgurl; ?></a><br />
Markdown code : <code><?php echo (has_mini($type) ? '!' : '') . '[' . $name; ?>](<?php echo $imgurl; ?>)</code></p>
<p>
<p>
<a href="upload-file">back to upload form</a>
<?php
if ($user['priv'] >= $apps['file']['index']) {
echo ' | <a href="index-file">back to list of uploaded files</a>';
if ($folder != 0) {
echo ' | <a href="folder-file-' . $folder . '">go to folder</a>';
}
echo ' | <a href="editinfo-file-' . $id . '">edit file info</a>';
}
?>
</p>
<?php
require("tpl/general/bottom.php");
|