X-Git-Url: http://git.harvie.cz/?p=mirrors%2FJukeBox.git;a=blobdiff_plain;f=index.php;fp=index.php;h=a17d7a30a1565b8d6eaa57e28137d8adc5d03fec;hp=40b7db3eca2de8a7b8ed76df73cd6ab8e6db03c6;hb=e6edcf4245cbb38ffcaac57e33c5532155567428;hpb=0e21eaf873df1518bded5cebea58410215933960 diff --git a/index.php b/index.php index 40b7db3..a17d7a3 100755 --- 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/'. 'S'); } - echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', -$item))).''.$filesize." MiB \n"); + echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))). + ''.$filesize." MiB \n"); } function render_dir_line($current_dir, $item, $i) { @@ -215,7 +215,7 @@ function render_dir_line($current_dir, $item, $i) { ''.$i.'P/'. 'R'); if($GLOBALS['useflash']) echo('/F'); - echo('[DIR] '.unxss(str_replace('_', ' ', $item)). + echo('[DIR] '.unxss(str_replace('-',' - ',str_replace('_', ' ', $item))). "\n"); }