CC-84: Smart Playlists
- code cleanup - adds 'Add' button to last row, always
This commit is contained in:
parent
601263b7a0
commit
2dae5f30f7
6 changed files with 81 additions and 91 deletions
|
@ -27,8 +27,6 @@
|
|||
<?php echo $this->element->getElement('sp_criteria_value_'.$i) ?><span id="extra_criteria" <?php echo $this->element->getElement('sp_criteria_extra_'.$i)->getAttrib("disabled") == "disabled"?'style="display:none;"':""?>> to <?php echo $this->element->getElement('sp_criteria_extra_'.$i) ?></span>
|
||||
<?php if ($i != 0) { ?>
|
||||
<a href='#' id='criteria_remove_<?php echo $i ?>'>Remove </a>
|
||||
<?php } else { ?>
|
||||
<a href='#' id='criteria_add' class='criteria_add'>Add</a>
|
||||
<?php } ?>
|
||||
<br />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue