blob: 1d6559f882950ea1648ef0f0ba6416cc37e37cf9 (
plain) (
tree)
|
|
<?php
require("tpl/general/top.php");
$minurl = $baseurl . $id . "-min." . $type;
$imgurl = $baseurl . $id . "." . $type;
?>
<p>Preview : <a href="<?php echo $minurl; ?>"><?php echo $minurl; ?></a><br />
Image : <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");
|