mirror of
https://github.com/danbee/neompc
synced 2025-03-04 08:39:10 +00:00
33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
<?php /* Smarty version 2.6.26, created on 2010-01-24 18:50:30
|
|
compiled from default/playlist.html */ ?>
|
|
<div id="list_header">
|
|
<div id="buttons">
|
|
<a id="removeall" href="<?php echo $this->_tpl_vars['playlist_clear_link']; ?>
|
|
"><img src="templates/<?php echo $this->_tpl_vars['template']; ?>
|
|
/images/delall.png" /></a>
|
|
</div>
|
|
<div id="buttons_left">
|
|
<a id="shuffle" href="<?php echo $this->_tpl_vars['playlist_shuffle_link']; ?>
|
|
"><img src="templates/<?php echo $this->_tpl_vars['template']; ?>
|
|
/images/shuffle.png" /></a>
|
|
</div>
|
|
</div>
|
|
|
|
<?php if ($this->_tpl_vars['playlist']): ?>
|
|
<div id="list">
|
|
|
|
<ul class="list">
|
|
<?php $_from = $this->_tpl_vars['playlist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
foreach ($_from as $this->_tpl_vars['playlist_item']):
|
|
?>
|
|
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
|
$this->_smarty_include(array('smarty_include_tpl_file' => "default/playlist_item.html", 'smarty_include_vars' => array()));
|
|
$this->_tpl_vars = $_smarty_tpl_vars;
|
|
unset($_smarty_tpl_vars);
|
|
?>
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
</ul>
|
|
</div>
|
|
<?php else: ?>
|
|
<p>(Empty playlist)</p>
|
|
<?php endif; ?>
|