X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=bb5708e9a6f0205f04da0f88e772f8a6d2264a19;hb=37c84adff611afaf4de0c64491ea77c6b3fc3fe6;hp=a815230649c532846e17b844f77633d45ecf2b4a;hpb=4e7a2682c1c29070260c170ee558bb1ed2216ac5;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index a815230..bb5708e 100755 --- a/index.php +++ b/index.php @@ -202,7 +202,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('_', ' ', $item)).''.$filesize." MiB \n"); + echo(' '.unxss(str_replace('-',' - ',str_replace('_', ' ', +$item))).''.$filesize." MiB \n"); } function render_dir_line($current_dir, $item, $i) { @@ -212,7 +213,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('_', ' ', $item)). "\n"); } @@ -375,11 +376,13 @@ if(!isset($_GET['search'])) {
- +
- @@ -394,7 +397,7 @@ if(!isset($_GET['search'])) { ?> - +   @@ -421,8 +424,8 @@ if(!($searchfp = fopen($search_cache, 'r'))) $i = 0; echo(''); render_tr_playframe_show(); -echo(''); while(!feof($searchfp)) {
SP'); -if($GLOBALS['useflash']) echo('/F'); +echo('
SP'); +if($GLOBALS['useflash']) echo('/F'); echo('Search: '.unxss($_GET['search']).'