X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=288d031764fcb262cbc1fcd376d6301e9b375872;hb=ace351a9dabc0f4671f592ea7d63240302407063;hp=233513ed74bc2c985a623d6e96fdd596e85dae1a;hpb=a9beee066bf541d34df27021d4a1730e91238c75;p=mirrors%2FJukeBox.git
diff --git a/index.php b/index.php
index 233513e..288d031 100755
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
F/'.
'S');
}
- echo('
'.unxss(str_replace('_', ' ', $item)).' | '.$filesize." MiB | \n");
+ echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))).
+ ' | '.$filesize." MiB | \n");
}
-function render_dir_line($item, $i) {
- $parclass=($i%2?'even':'odd'); $parcolor=($index%2?'lightblue':'white');
+function render_dir_line($current_dir, $item, $i) {
+ $parclass=($i%2?'even':'odd'); $parcolor=($i%2?'lightblue':'white');
$temp=str_replace('%2F', '/', rawurlencode($current_dir)).rawurlencode($item);
echo("".
''.$i.' | P/'.
'R');
if($GLOBALS['useflash']) echo('/F');
- echo(' | [DIR] '.unxss(str_replace('_', ' ', $item)).
+ echo(' | [DIR] '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))).
" |
\n");
}
function render_tr_playframe_show() {
if($GLOBALS['flash_player_frame'] == 'playframe-show' && $GLOBALS['useflash']) { ?>
-S |
-
+ | S |
+
|
'.$GLOBALS['title'].' on GIThub :-)'
);
echo(''.$quotes[rand(0,sizeof($quotes)-1)]."\n");
@@ -277,7 +282,7 @@ function flash_mp3_player() {