Mercurial > dirlist-php
comparison index.php @ 19:c5b8d2592585
Easier to click target for going up directory.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 22 Oct 2014 11:55:10 +0900 |
parents | 9a4ac2d53a36 |
children | caf498a0c602 |
comparison
equal
deleted
inserted
replaced
18:9a4ac2d53a36 | 19:c5b8d2592585 |
---|---|
89 | 89 |
90 if ($is_dir) { | 90 if ($is_dir) { |
91 $file_suffix = "/"; | 91 $file_suffix = "/"; |
92 | 92 |
93 if ($path !== "/") { | 93 if ($path !== "/") { |
94 $file_rows .= "<tr><td colspan=3>" . link_to(dirname($prefix . $path) . "/", "..") . "</td></tr>"; | 94 $file_rows .= "<tr><td colspan=3>" . link_to(dirname($prefix . $path) . "/", "[up]") . "</td></tr>"; |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 foreach($files as $file) { | 98 foreach($files as $file) { |
99 $file_stat = stat($root . $path . "/". $file); | 99 $file_stat = stat($root . $path . "/". $file); |