diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-09 22:01:43 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-09 22:01:43 +0000 |
commit | 23556c841724aa8152537d3675ff68b9a3b6261b (patch) | |
tree | ffc57e85a0e768050fc14460b9c3ea5291a232f2 /log_files.php | |
parent | 2031ed8d939122a16cfc5f9e92fd66458db7ab6b (diff) | |
download | pkgsubmit-23556c841724aa8152537d3675ff68b9a3b6261b.tar pkgsubmit-23556c841724aa8152537d3675ff68b9a3b6261b.tar.gz pkgsubmit-23556c841724aa8152537d3675ff68b9a3b6261b.tar.bz2 pkgsubmit-23556c841724aa8152537d3675ff68b9a3b6261b.tar.xz pkgsubmit-23556c841724aa8152537d3675ff68b9a3b6261b.zip |
read log files directly in page
Diffstat (limited to 'log_files.php')
-rw-r--r-- | log_files.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/log_files.php b/log_files.php index a2203d3..7c365b9 100644 --- a/log_files.php +++ b/log_files.php @@ -44,7 +44,7 @@ foreach (glob_recursive($glob) as $f) { $link = 'uploads' . str_replace($upload_dir, '', $f); $show = str_replace(array($path . '/', '/'), array('', ' / '), $f); - $s .= sprintf('<li><a href="%s" rel="nofollow">%s</a> (%s)</li>', + $s .= sprintf('<li><a href="%s" rel="nofollow" class="view-inline">%s</a> (%s)</li>', $link, $show, _format_bytes(filesize($f)) ); @@ -61,7 +61,7 @@ foreach ($others as $suffix) { $link = 'uploads' . str_replace($upload_dir, '', $f); $show = explode($path, $f); $show = $job . $suffix; - $s .= sprintf('<li><a href="%s" rel="nofollow">%s</a> (%s)</li>', + $s .= sprintf('<li><a href="%s" rel="nofollow" class="view-inline">%s</a> (%s)</li>', $link, $show, _format_bytes(filesize($f)) ); |