--- a/playlist.php Mon Mar 24 00:12:21 2008 -0400
+++ b/playlist.php Mon Mar 24 02:53:42 2008 -0400
@@ -17,10 +17,11 @@
{
global $theme, $playlist, $allowcontrol;
- $iphone = ( strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone') ||
+ $iphone = ( ( strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone') ||
strpos($_SERVER['HTTP_USER_AGENT'], 'iPod') ||
strpos($_SERVER['HTTP_USER_AGENT'], 'BlackBerry') ||
- isset($_GET['m'])
+ isset($_GET['m']) )
+ && !isset($_GET['f'])
);
$theme_id = ( $iphone ) ? 'iphone' : $theme;
$smarty = load_theme($theme_id);
@@ -32,7 +33,9 @@
$smarty->assign('scripts', array(
'ajax.js',
'domutils.js',
- 'volume.js'
+ 'volume.js',
+ 'dom-drag.js',
+ 'position.js'
));
$smarty->assign('allow_control', $allowcontrol);
$smarty->display('playlist.tpl');