CC-84: Smart Playlists
- subforms now open and close on the click event - fixed add and remove criteria to work with new subforms
This commit is contained in:
parent
952a584f10
commit
64185dac95
7 changed files with 73 additions and 37 deletions
|
@ -1,5 +1,7 @@
|
|||
<h2 class="collapsible-header close"><span class="arrow-icon"></span>Set <?php echo $this->setNumber?></h2>
|
||||
<fieldset class='toggle <?php echo $this->openOption ? "" : "closed"?>' id='sp_set_<?php echo $this->setNumber?>'>
|
||||
<h2 class="collapsible-header close" id='sp_set_<?php echo $this->setNumber?>' <?php echo $this->openOption || $this->setNumber == 0 ? "" : "style='display:none'"?>>
|
||||
<span class="arrow-icon"></span>Set <?php echo $this->setNumber?>
|
||||
</h2>
|
||||
<fieldset class='toggle <?php echo $this->openOption ? "" : "closed sp-closed"?>' id='sp_set_<?php echo $this->setNumber?>'>
|
||||
<dl class='zend_form'>
|
||||
|
||||
<dd id='sp_criteria-element'>
|
||||
|
|
|
@ -23,10 +23,9 @@
|
|||
</dd>
|
||||
</dl>
|
||||
<?php
|
||||
for($i=0;$i<$this->numOfSubForm;$i++){
|
||||
for($i=0; $i<$this->numOfSubForm; $i++){
|
||||
echo $this->parent_form->getSubform('sp_set_'.$i);
|
||||
}
|
||||
?>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue