diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-06-21 16:34:27 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-06-21 16:34:27 +0200 |
commit | 889e8eaf7c40817663dd602a21ac771062ccac3b (patch) | |
tree | ca8ac81ee202165333e5ffe16147d09e5cdaf2ab /tpl/file/upload-ok.php | |
parent | 5c4caed8560d5fded00525844dfa8386b97e7918 (diff) | |
download | Bits-889e8eaf7c40817663dd602a21ac771062ccac3b.tar.gz Bits-889e8eaf7c40817663dd602a21ac771062ccac3b.zip |
Big change, sir. Can now upload any kind of files.
Diffstat (limited to 'tpl/file/upload-ok.php')
-rw-r--r-- | tpl/file/upload-ok.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tpl/file/upload-ok.php b/tpl/file/upload-ok.php new file mode 100644 index 0000000..a0edee1 --- /dev/null +++ b/tpl/file/upload-ok.php @@ -0,0 +1,21 @@ +<?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>'; + ?> + </p> +<?php + +require("tpl/general/bottom.php"); |