equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /** |
|
4 * Playlist displayer |
|
5 * |
|
6 * Web control interface script for Amarok |
|
7 * Written by Dan Fuhry - 2008 |
|
8 * |
|
9 * This script is in the public domain. Use it for good, not evil. |
|
10 */ |
|
11 |
|
12 function amarok_playlist($server) |
|
13 { |
|
14 global $smarty, $theme, $playlist; |
|
15 |
|
16 $active = dcop_action('playlist', 'getActiveIndex'); |
|
17 $smarty->assign('theme', $theme); |
|
18 $smarty->assign('playlist', $playlist); |
|
19 $smarty->assign('active', $active); |
|
20 $smarty->display('playlist.tpl'); |
|
21 } |
|
22 |