--- a/themes/funkymonkey/playlist.tpl Sun Mar 23 14:59:33 2008 -0400
+++ b/themes/funkymonkey/playlist.tpl Sun Mar 23 15:24:06 2008 -0400
@@ -12,8 +12,20 @@
<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" />
+ {foreach from=$scripts item=script}
+ <script type="text/javascript" src="/scripts/{$script}"></script>
+ {/foreach}
</head>
<body>
+ <div id="playbar">
+ <div class="playbar-inner">
+ <a href="#action:prev" onclick="return false;"><img alt="« PrevTrk" src="/themes/{$theme|escape}/images/prev.png" /></a>
+ <a href="#action:play" onclick="return false;"><img alt="Play" src="/themes/{$theme|escape}/images/play.png" /></a>
+ <a href="#action:pause" onclick="return false;"><img alt="Pause" src="/themes/{$theme|escape}/images/pause.png" /></a>
+ <a href="#action:stop" onclick="return false;"><img alt="Stop" src="/themes/{$theme|escape}/images/stop.png" /></a>
+ <a href="#action:next" onclick="return false;"><img alt="NextTrk »" src="/themes/{$theme|escape}/images/next.png" /></a>
+ </div>
+ </div>
<div class="tblholder" id="playlist">
<table border="0" cellspacing="1" cellpadding="4">
<tr>
@@ -24,13 +36,19 @@
<th>Length</th>
</tr>
{foreach key=tid item=track from=$playlist}
+ {strip}
<tr class="{cycle values="row1,row2"}{if $active == $tid} current{/if}">
<td style="text-align: center;">{$tid+1}</td>
- <td>{$track.title|escape}</td>
+ <td>
+ {if $active != $tid}<a class="tracklink" href="#action:jump;tid:{$tid}" onclick="return false;">{/if}
+ {$track.title|escape}
+ {if $active != $tid}</a>{/if}
+ </td>
<td>{$track.artist|escape}</td>
<td>{$track.album|escape}</td>
<td style="text-align: center;">{$track.length|escape}</td>
</tr>
+ {/strip}
{/foreach}
</table>
</div>