X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=index.php;h=a17d7a30a1565b8d6eaa57e28137d8adc5d03fec;hb=e6edcf4245cbb38ffcaac57e33c5532155567428;hp=aaa05bcbfa4612119116bf3e58bdfcb7c68775de;hpb=2721a24cd9fd8ed6cf6aaa2365f2dbc28571c907;p=mirrors%2FJukeBox.git
diff --git a/index.php b/index.php
index aaa05bc..a17d7a3 100755
--- a/index.php
+++ b/index.php
@@ -1,8 +1,9 @@
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) {
+ $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('-',' - ',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");
@@ -265,7 +281,7 @@ function flash_mp3_player() {