X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=7ef93890dbfe0a3ca884311073ca70c736776220;hb=de30f73122c2806154388a5ead6bcd9d39e80eb8;hp=b87fedcd70277732728001a79f51aed9e4c25ce1;hpb=53d2c31cae8909b925e5f3ec8981876c4bcf9883;p=mirrors%2FJukeBox.git diff --git a/index.php b/index.php index b87fedc..7ef9389 100755 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ Version info: * 0.3 - Migrated to standalone WPAudioPlayer (better, nicer, with more functions) * 0.2 - Few new functions (search playlist, random,...) * 0.1.1 - Few little fixups, written help.html in Czech language ;o) - * 0.1 - All functions works - TODO: bugfix & replace ugly code + * 0.1 - All functions are working - TODO: bugfix & replace ugly code ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */ @@ -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) { @@ -219,14 +220,14 @@ function render_dir_line($current_dir, $item, $i) { function render_tr_playframe_show() { if($GLOBALS['flash_player_frame'] == 'playframe-show' && $GLOBALS['useflash']) { ?> -S +S '.$GLOBALS['title'].' on GIThub :-)Fork me on GitHub' ); echo(''.$quotes[rand(0,sizeof($quotes)-1)]."\n"); @@ -346,7 +348,7 @@ if(isset($_GET['blank'])) { < BACK - | HOME () + | HOME () | ABOUT/HELP | LOGOUT @@ -423,8 +425,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']).'