Tweaked labels on the Stream Settings page.
This commit is contained in:
parent
ea305bd793
commit
1f84cd8b84
|
@ -51,7 +51,7 @@ class Application_Form_StreamSettingSubForm extends Zend_Form_SubForm{
|
||||||
$this->addElement($enable);
|
$this->addElement($enable);
|
||||||
|
|
||||||
$type = new Zend_Form_Element_Select('type');
|
$type = new Zend_Form_Element_Select('type');
|
||||||
$type->setLabel("Type:")
|
$type->setLabel("Stream Type:")
|
||||||
->setMultiOptions($stream_types)
|
->setMultiOptions($stream_types)
|
||||||
->setValue(isset($setting[$prefix.'_type'])?$setting[$prefix.'_type']:0)
|
->setValue(isset($setting[$prefix.'_type'])?$setting[$prefix.'_type']:0)
|
||||||
->setDecorators(array('ViewHelper'));
|
->setDecorators(array('ViewHelper'));
|
||||||
|
@ -61,7 +61,7 @@ class Application_Form_StreamSettingSubForm extends Zend_Form_SubForm{
|
||||||
$this->addElement($type);
|
$this->addElement($type);
|
||||||
|
|
||||||
$bitrate = new Zend_Form_Element_Select('bitrate');
|
$bitrate = new Zend_Form_Element_Select('bitrate');
|
||||||
$bitrate->setLabel("Bitrate:")
|
$bitrate->setLabel("Bit Rate:")
|
||||||
->setMultiOptions($stream_bitrates)
|
->setMultiOptions($stream_bitrates)
|
||||||
->setValue(isset($setting[$prefix.'_bitrate'])?$setting[$prefix.'_bitrate']:0)
|
->setValue(isset($setting[$prefix.'_bitrate'])?$setting[$prefix.'_bitrate']:0)
|
||||||
->setDecorators(array('ViewHelper'));
|
->setDecorators(array('ViewHelper'));
|
||||||
|
@ -72,7 +72,7 @@ class Application_Form_StreamSettingSubForm extends Zend_Form_SubForm{
|
||||||
$this->addElement($bitrate);
|
$this->addElement($bitrate);
|
||||||
|
|
||||||
$output = new Zend_Form_Element_Select('output');
|
$output = new Zend_Form_Element_Select('output');
|
||||||
$output->setLabel("Output to:")
|
$output->setLabel("Service Type:")
|
||||||
->setMultiOptions(array("icecast"=>"Icecast", "shoutcast"=>"Shoutcast"))
|
->setMultiOptions(array("icecast"=>"Icecast", "shoutcast"=>"Shoutcast"))
|
||||||
->setValue(isset($setting[$prefix.'_output'])?$setting[$prefix.'_output']:"icecast")
|
->setValue(isset($setting[$prefix.'_output'])?$setting[$prefix.'_output']:"icecast")
|
||||||
->setDecorators(array('ViewHelper'));
|
->setDecorators(array('ViewHelper'));
|
||||||
|
@ -181,4 +181,4 @@ class Application_Form_StreamSettingSubForm extends Zend_Form_SubForm{
|
||||||
}
|
}
|
||||||
return $isValid;
|
return $isValid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue