CC-84: Smart Playlists

- created function that returns an array of block criteria
- fixed form so it displays modifier rows properly
This commit is contained in:
denise 2012-07-29 15:47:42 -04:00
parent c2aea7490f
commit e04273c335
3 changed files with 152 additions and 96 deletions

View file

@ -40,7 +40,8 @@
</a>
<br />
</div>
<?php if (isset($modRows[$i])) { for ($j = 0; $j < $this->modRows[$i]; $j++) {?>
<?php for ($j = 0; $j < $this->modRowMap[$i]; $j++) {?>
<div>
<?php echo $this->element->getElement("sp_criteria_field_".$i."_".$j) ?>
<a class='ui-button sp-ui-button-icon-only' id='modifier_add_<?php echo $i ?>'>
@ -54,7 +55,8 @@
</a>
<br />
</div>
<?php } }?>
<?php } ?>
<?php } ?>
<br />
</dd>