summaryrefslogtreecommitdiff
path: root/tpl/file/upload-ok.php
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/file/upload-ok.php')
-rw-r--r--tpl/file/upload-ok.php21
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");