summaryrefslogtreecommitdiff
path: root/tpl/image/upload-ok.php
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/image/upload-ok.php')
-rw-r--r--tpl/image/upload-ok.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/tpl/image/upload-ok.php b/tpl/image/upload-ok.php
index 1cd588c..6242d93 100644
--- a/tpl/image/upload-ok.php
+++ b/tpl/image/upload-ok.php
@@ -5,8 +5,17 @@ $minurl = $baseurl . $id . "-min." . $type;
$imgurl = $baseurl . $id . "." . $type;
?>
- Preview : <a href="<?php echo $minurl; ?>"><?php echo $minurl; ?></a><br />
+ <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 $name; ?>](<?php echo $imgurl; ?>)</code></p>
+ <p>
+ <p>
+ <a href="upload-image">Back to upload form</a>
+ <?php
+ if ($user['priv'] >= $apps['image']['index'])
+ echo ' - <a href="index-image">back to list of uploaded images</a>';
+ ?>
+ </p>
<?php
require("tpl/general/bottom.php");