summaryrefslogtreecommitdiff
path: root/tpl/file/upload-ok.php
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-06-21 17:12:06 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-06-21 17:12:06 +0200
commit80e0f88b56ca7e306d415604c608d8bc09496e21 (patch)
tree913d120f4e245a7b95bc948d12fa913eed01d840 /tpl/file/upload-ok.php
parent889e8eaf7c40817663dd602a21ac771062ccac3b (diff)
downloadBits-80e0f88b56ca7e306d415604c608d8bc09496e21.tar.gz
Bits-80e0f88b56ca7e306d415604c608d8bc09496e21.zip
Changes. But minor. Mostly usability changes.
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