CC-84: Smart Playlists

- introducing smart-block
This commit is contained in:
James 2012-07-25 12:44:37 -04:00
parent 722e470f6f
commit 1f3cbd8aba
56 changed files with 12502 additions and 734 deletions

View file

@ -3,5 +3,9 @@
</div>
<div id="side_playlist" class="pl-content ui-widget ui-widget-content block-shadow omega-block padded">
<?php echo $this->render('playlist/playlist.phtml') ?>
<?php if ($this->type == 'block') {
echo $this->render('playlist/smart-block.phtml');
} else {
echo $this->render('playlist/playlist.phtml');
} ?>
</div>

View file

@ -7,8 +7,8 @@
<?php endif; ?>
<?php if (isset($this->obj)) : ?>
<input id="pl_id" type="hidden" value="<?php echo $this->obj->getId(); ?>"></input>
<input id="pl_lastMod" type="hidden" value="<?php echo $this->obj->getLastModified('U'); ?>"></input>
<input id="obj_id" type="hidden" value="<?php echo $this->obj->getId(); ?>"></input>
<input id="obj_lastMod" type="hidden" value="<?php echo $this->obj->getLastModified('U'); ?>"></input>
<input id='obj_type' type='hidden' value='playlist'></input>
<div class="playlist_title">
<h3 id="spl_name">

View file

@ -7,8 +7,8 @@
<?php endif; ?>
<?php if (isset($this->obj)) : ?>
<input id="bl_id" type="hidden" value="<?php echo $this->obj->getId(); ?>"></input>
<input id="bl_lastMod" type="hidden" value="<?php echo $this->obj->getLastModified('U'); ?>"></input>
<input id="obj_id" type="hidden" value="<?php echo $this->obj->getId(); ?>"></input>
<input id="obj_lastMod" type="hidden" value="<?php echo $this->obj->getLastModified('U'); ?>"></input>
<input id='obj_type' type='hidden' value='block'></input>
<div class="playlist_title">
<h3 id="bl_name">
@ -49,7 +49,7 @@
<div class="clear"></div>
<div class="" style="clear:both; float:none; width:100%;">
<ul id="spl_sortable">
<?php //echo $this->render('playlist/update.phtml') ?>
<?php echo $this->render('playlist/update.phtml') ?>
</ul>
</div>