GIT.Harvie.CZ
/
mirrors
/
JukeBox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e21eaf
)
Maked directory names nicer. TODO: unify rendering of file and directory lines...
author
Harvie
<tomas@mudrunka.cz>
Sun, 7 Nov 2010 04:10:48 +0000
(
05:10
+0100)
committer
Harvie
<tomas@mudrunka.cz>
Sun, 7 Nov 2010 04:10:48 +0000
(
05:10
+0100)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index 40b7db3eca2de8a7b8ed76df73cd6ab8e6db03c6..a17d7a30a1565b8d6eaa57e28137d8adc5d03fec 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-204,8
+204,8
@@
function render_file_line($dir, $item, $dir_url, $index, $filesize, $parent = fa
'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>/'.
'<a href="?blank" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifstop">S</a>');
}
'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>/'.
'<a href="?blank" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifstop">S</a>');
}
- echo(' </td><td class="maximize-width"><a href="'.$temp.'">'.unxss(str_replace('-',' - ',str_replace('_', ' ',
-$item))).'</a></td><td>'.$filesize." MiB </td></tr>\n");
+ echo(' </td><td class="maximize-width"><a href="'.$temp.'">'.unxss(str_replace('-',' - ',str_replace('_', ' ',
$item))).
+ '</a></td><td>'.$filesize." MiB </td></tr>\n");
}
function render_dir_line($current_dir, $item, $i) {
}
function render_dir_line($current_dir, $item, $i) {
@@
-215,7
+215,7
@@
function render_dir_line($current_dir, $item, $i) {
'<td><a href="#up">'.$i.'</a></td><td class="btntd"><a href="?download&playlist&dir='.$temp.'" class="icon iplay">P</a>/'.
'<a href="?download&recursive&playlist&dir='.$temp.'" class="icon irplay">R</a>');
if($GLOBALS['useflash']) echo('/<a href="?f&playlist&dir='.$temp.'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>');
'<td><a href="#up">'.$i.'</a></td><td class="btntd"><a href="?download&playlist&dir='.$temp.'" class="icon iplay">P</a>/'.
'<a href="?download&recursive&playlist&dir='.$temp.'" class="icon irplay">R</a>');
if($GLOBALS['useflash']) echo('/<a href="?f&playlist&dir='.$temp.'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>');
- echo('</td><td colspan="100%" class="maximize-width"><span class="icon ifolder">[DIR] </span><a href="?dir='.$temp.'">'.unxss(str_replace('
_', ' ', $item
)).
+ echo('</td><td colspan="100%" class="maximize-width"><span class="icon ifolder">[DIR] </span><a href="?dir='.$temp.'">'.unxss(str_replace('
-',' - ',str_replace('_', ' ', $item)
)).
"</a></td></tr>\n");
}
"</a></td></tr>\n");
}
This page took
0.122534 seconds
and
4
git commands to generate.