playlist.php
changeset 3 e7447a6044ec
parent 2 860ba7141641
child 4 cde92f6ec29f
--- a/playlist.php	Sun Mar 23 20:24:33 2008 -0400
+++ b/playlist.php	Sun Mar 23 20:58:51 2008 -0400
@@ -11,7 +11,7 @@
 
 function amarok_playlist($server)
 {
-  global $smarty, $theme, $playlist;
+  global $smarty, $theme, $playlist, $allowcontrol;
   
   $active = dcop_action('playlist', 'getActiveIndex');
   $smarty->assign('theme', $theme);
@@ -22,6 +22,7 @@
       'domutils.js',
       'volume.js'
     ));
+  $smarty->assign('allow_control', $allowcontrol);
   $smarty->display('playlist.tpl');
 }