--- a/themes/funkymonkey/playlist.tpl Sun Mar 23 20:24:33 2008 -0400
+++ b/themes/funkymonkey/playlist.tpl Sun Mar 23 20:58:51 2008 -0400
@@ -12,11 +12,13 @@
<title>AmaroK playlist</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/themes/{$theme|escape}/style.css" />
+ <link rel="favorite icon" type="image/ico" href="/favicon.ico" />
<script type="text/javascript">
var img_play = '/themes/{$theme|escape}/images/play.png';
var img_pause = '/themes/{$theme|escape}/images/pause.png';
var img_ajax = '/themes/{$theme|escape}/images/ajax.gif';
var class_current = 'current';
+ var allow_control = {if $allow_control}true{else}false{/if};
</script>
{foreach from=$scripts item=script}
<script type="text/javascript" src="/scripts/{$script}"></script>
@@ -25,14 +27,17 @@
<body>
<div id="playbar">
<div class="playbar-inner">
- <img alt=" " id="ajax_status" style="display: block; float: right; margin: 3px 0;" src="about:blank" />
+ <img alt=" " id="ajax_status" style="display: none; float: right; margin: 3px 0;" src="about:blank" />
<img alt="AmaroK web control" src="/themes/{$theme|escape}/images/amarok.gif" style="margin-right: 20px;" />
+ {if $allow_control}
<a href="#action:prev" onclick="player_action('prev'); return false;"><img alt="« PrevTrk" src="/themes/{$theme|escape}/images/prev.png" /></a>
<a href="#action:play" onclick="player_action('play'); return false;" id="btn_playpause"><img alt="Play" src="/themes/{$theme|escape}/images/play.png" /></a>
<a href="#action:stop" onclick="player_action('stop'); return false;"><img alt="Stop" src="/themes/{$theme|escape}/images/stop.png" /></a>
<a href="#action:next" onclick="player_action('next'); return false;"><img alt="NextTrk »" src="/themes/{$theme|escape}/images/next.png" /></a>
+ {/if}
<span style="margin-right: 50px;"> </span>
<span id="playmeter">--:--/--:--</span>
+ {if $allow_control}
<span style="margin-right: 50px;"> </span>
<img hspace="4" alt="Volume: " src="/themes/{$theme|escape}/images/volume.png" />
<span id="volume_wrap"><a
@@ -48,6 +53,7 @@
class="volume_button" href="#volume:90" onmouseover="volume_over(90);" onmouseout="volume_out();" id="volbtn_90" onclick="set_volume(90); return false;"> </a><a
class="volume_button" href="#volume:100" onmouseover="volume_over(100);" onmouseout="volume_out();" id="volbtn_100" onclick="set_volume(100); return false;"> </a>
</span>
+ {/if}
</div>
</div>
<div class="tblholder" id="playlist">