sintonia/application/forms/AddShowStyle.php

26 lines
610 B
PHP
Raw Normal View History

<?php
class Application_Form_AddShowStyle extends Zend_Form_SubForm
{
public function init()
{
// Add show background-color input
2011-01-21 19:25:12 +01:00
$this->addElement('text', 'add_show_background_color', array(
'label' => 'Background Colour:',
'class' => 'input_text',
2011-01-21 20:58:23 +01:00
'filters' => array('StringTrim')
));
// Add show color input
2011-01-21 19:25:12 +01:00
$this->addElement('text', 'add_show_color', array(
'label' => 'Text Colour',
'class' => 'input_text',
2011-01-21 20:58:23 +01:00
'filters' => array('StringTrim')
));
}
}