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.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/tpl/file/upload-ok.php b/tpl/file/upload-ok.php
index a0edee1..1d6559f 100644
--- a/tpl/file/upload-ok.php
+++ b/tpl/file/upload-ok.php
@@ -10,10 +10,15 @@ $imgurl = $baseurl . $id . "." . $type;
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>
+ <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 ($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