From 6d2af1fac7bd066b75ebd237cc538e29fd21b729 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Wed, 24 Feb 2010 14:16:31 +0100 Subject: Now support media sources instead of only one media path (see the $mediasources config variable) Changed the way we browse dirs (with a mediapath and a subdir) --- includes/inc_media.php | 62 +++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 33 deletions(-) (limited to 'includes/inc_media.php') diff --git a/includes/inc_media.php b/includes/inc_media.php index f39272a..9da2798 100755 --- a/includes/inc_media.php +++ b/includes/inc_media.php @@ -1,45 +1,41 @@ \r\n"; print "
\r\n"; print "
\r\n"; -if ($dir == $mediapath) + +if ($subdir == '/') print "\"home\"
\r\n"; else - print "Back
\r\n"; -if ($dir != $mediapath) { + print "Back\r\n"; print "
\r\n"; print "\"home\"
\r\n"; } + print "
iStreamdev
\r\n"; print "\r\n"; print "
\r\n"; print " Media\r\n"; print "
"; print "