From d928cd363689149e9f26b76d6671a4b40a8cc917 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 23 Sep 2011 09:46:13 +0200 Subject: files: hide non functioning code when called from a/f_s/get.php The checkboxes don't work because files.js is missing. Adding it leads to the problem that it relies on files/ajax and most of the code only works for logged in users. The actions div contains undefined variables and doesn't work either. Signed-off-by: Florian Pritz --- files/templates/index.php | 6 +++++- files/templates/part.list.php | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'files/templates') diff --git a/files/templates/index.php b/files/templates/index.php index 76531b22ed5..e2e9dc03001 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -1,5 +1,6 @@
+
@@ -19,6 +20,9 @@
+
- + t( 'Name' ); ?> Download" /> diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 5995976f73a..398094f56d0 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -7,7 +7,7 @@ if($relative_date_color>200) $relative_date_color = 200; ?> '> - + -- cgit v1.2.3