CC-84: Smart Playlists
- changed playlist controller to also handle Blocks - created new view for smart blocks
This commit is contained in:
parent
c79110644d
commit
722e470f6f
11 changed files with 349 additions and 184 deletions
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
class Application_Form_SmartPlaylistCriteria extends Zend_Form_SubForm
|
||||
class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
|
||||
{
|
||||
|
||||
public function init(){
|
||||
|
@ -241,7 +241,7 @@ class Application_Form_SmartPlaylistCriteria extends Zend_Form_SubForm
|
|||
$this->addElement($shuffle);
|
||||
|
||||
$this->setDecorators(array(
|
||||
array('ViewScript', array('viewScript' => 'form/smart-playlist-criteria.phtml', "openOption"=> $openSmartPlaylistOption,
|
||||
array('ViewScript', array('viewScript' => 'form/smart-block-criteria.phtml', "openOption"=> $openSmartPlaylistOption,
|
||||
'criteriasLength' => count($criteriaOptions), 'poolCount' => $files['count']))
|
||||
));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue