@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } else { |
87 | 87 | sort($files); |
88 | 88 | start_table(); |
89 | - table_header("Name<br><p class=\"text-muted\">(click to view text files)</p>", "Modified", "Size (bytes)", "MD5", "Delete","Download"); |
|
89 | + table_header("Name<br><p class=\"text-muted\">(click to view text files)</p>", "Modified", "Size (bytes)", "MD5", "Delete", "Download"); |
|
90 | 90 | foreach ($files as $f) { |
91 | 91 | [$md5, $size] = sandbox_parse_info_file($user, $f); |
92 | 92 | $path = "$dir/$f"; |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | $notice = ""; |
118 | 118 | $dir = sandbox_dir($user); |
119 | 119 | $count = count($_FILES['new_file']['tmp_name']); |
120 | - for ($i=0; $i<$count; $i++) { |
|
120 | + for ($i = 0; $i < $count; $i++) { |
|
121 | 121 | $tmp_name = $_FILES['new_file']['tmp_name'][$i]; |
122 | 122 | if (!is_uploaded_file($tmp_name)) { |
123 | 123 | error_page("$tmp_name is not uploaded file"); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | if (!$action) $action = post_str('action', true); |
209 | 209 | |
210 | 210 | switch ($action) { |
211 | -case '': list_files($user,""); break; |
|
211 | +case '': list_files($user, ""); break; |
|
212 | 212 | case 'upload_file': upload_file($user); break; |
213 | 213 | case 'add_file': add_file($user); break; |
214 | 214 | case 'get_file': get_file($user); break; |