CC-4229: Smart Playlist: refactor code

- bug fixes
This commit is contained in:
James 2012-08-15 16:22:56 -04:00
parent d366220b85
commit 2d80131351
3 changed files with 207 additions and 103 deletions

View file

@ -57,6 +57,13 @@
<span class='sp_text_font'><?php echo $this->element->getElement('sp_limit_value')->getLabel() ?></span>
<?php echo $this->element->getElement('sp_limit_value')?>
<?php echo $this->element->getElement('sp_limit_options') ?>
<?php if($this->element->getElement("sp_limit_value")->hasErrors()) : ?>
<?php foreach($this->element->getElement("sp_limit_value")->getMessages() as $error): ?>
<span class='errors sp-errors'>
<?php echo $error; ?>
</span>
<?php endforeach; ?>
<?php endif; ?>
<br />
</dd>
<div class='sp_text_font sp_text_font_bold'>