X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=03017676ba35fb31803e19b6fea11038e0f11022;hb=c76d3a738cdeb2d894dabfce4728e08abfbc8caa;hp=40b7db3eca2de8a7b8ed76df73cd6ab8e6db03c6;hpb=0e21eaf873df1518bded5cebea58410215933960;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index 40b7db3..0301767 100755 --- a/index.php +++ b/index.php @@ -58,7 +58,7 @@ $search_engines = array( $flash_player_swf = $bonus_dir.'/player.swf'; //path to musicplayer $flash_player_frame = 'playframe-show'; //FlashPlayer Target (playframe-show|playframe-hide) - usefull for compatibility with old music player $flash_player_options = '?bg=000099&loader=000000&tracker=AAAAFF&skip=FFFFFF' //.'&leftbg=000077&rightbg=000077&righticon=999999' - .'&autostart=yes&initialvolume=100&soundFile='; //& arguments (urlencoded song url will be added) + .'&autostart=yes&initialvolume=100&buffer=30&animation=no&soundFile='; //& arguments (urlencoded song url will be added) //Security error_reporting(0); //This will disable error reporting, wich can pass sensitive data to users @@ -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"); } @@ -223,10 +223,11 @@ function render_tr_playframe_show() { if($GLOBALS['flash_player_frame'] == 'playframe-show' && $GLOBALS['useflash']) { ?> S - +