2011-01-21 00:30:53 +01:00
|
|
|
<?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(
|
2011-01-21 00:30:53 +01:00
|
|
|
'label' => 'Background Colour:',
|
2011-01-28 23:37:31 +01:00
|
|
|
'class' => 'input_text',
|
2011-01-21 20:58:23 +01:00
|
|
|
'filters' => array('StringTrim')
|
2011-01-21 00:30:53 +01:00
|
|
|
));
|
|
|
|
|
|
|
|
// Add show color input
|
2011-01-21 19:25:12 +01:00
|
|
|
$this->addElement('text', 'add_show_color', array(
|
2011-01-21 00:30:53 +01:00
|
|
|
'label' => 'Text Colour',
|
2011-01-28 23:37:31 +01:00
|
|
|
'class' => 'input_text',
|
2011-01-21 20:58:23 +01:00
|
|
|
'filters' => array('StringTrim')
|
2011-01-21 00:30:53 +01:00
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|