From 80e0f88b56ca7e306d415604c608d8bc09496e21 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 21 Jun 2012 17:12:06 +0200 Subject: Changes. But minor. Mostly usability changes. --- tpl/file/folder.php | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'tpl/file/folder.php') diff --git a/tpl/file/folder.php b/tpl/file/folder.php index d7ebd73..61b4ed3 100644 --- a/tpl/file/folder.php +++ b/tpl/file/folder.php @@ -12,7 +12,7 @@ if (count($files) == 0) { echo '
This folder has no files.
'; } else { echo ''; - echo ''; + echo '
InfoDate
'; foreach ($files as $fl) { $min = $baseurl . $fl['id'] . "-min." . $fl['extension']; $flf = $baseurl . $fl['id'] . "." . $fl['extension']; @@ -24,17 +24,32 @@ if (count($files) == 0) { } echo ''; echo ''; - echo ''; } echo '
InfoDate
' . $fl['name'] . ''; + echo '
MD: ' . (has_mini($fl['extension']) ? '!' : '') . '['.$fl['name'].']('.$flf.')'; echo '
' . $fl['comment_html'] . '
'; echo '
' . $fl['upl_date'] . '
'; + echo '
' . $fl['upl_date']; if ($can_edit) echo '
delete'; - if ($can_edit) echo '
edit info'; + if ($can_edit) echo ' | edit'; echo '
'; } echo '
'; + +if ($is_owner) { + ?> +

Upload a file

+
+If you upload an image, a px preview will be created.

+Title :
+
+ +
+

+ Your folders'; } else { @@ -49,6 +64,7 @@ foreach ($folders as $f) { } } if ($is_owner) { + echo '
  • [files in no folder]
  • '; echo '
  • [+] New folder
  • '; } echo ''; -- cgit v1.2.3