Merge branch 'master' of dev.sourcefabric.org:airtime

This commit is contained in:
martin 2011-04-04 13:55:49 -04:00
commit f067e54a37
9 changed files with 21 additions and 21 deletions

View File

@ -7,13 +7,13 @@ class Application_Form_AddShowRR extends Zend_Form_SubForm
{ {
// Add record element // Add record element
$this->addElement('checkbox', 'add_show_record', array( $this->addElement('checkbox', 'add_show_record', array(
'label' => 'Record', 'label' => 'Record?',
'required' => false, 'required' => false,
)); ));
// Add record element // Add record element
$this->addElement('checkbox', 'add_show_rebroadcast', array( $this->addElement('checkbox', 'add_show_rebroadcast', array(
'label' => 'Rebroadcast', 'label' => 'Rebroadcast?',
'required' => false, 'required' => false,
)); ));
} }

View File

@ -50,7 +50,7 @@ class Application_Form_AddShowRepeats extends Zend_Form_SubForm
// Add no end element // Add no end element
$this->addElement('checkbox', 'add_show_no_end', array( $this->addElement('checkbox', 'add_show_no_end', array(
'label' => 'no end', 'label' => 'No End?',
'required' => false, 'required' => false,
)); ));
} }

View File

@ -21,7 +21,7 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
// Add show color input // Add show color input
$this->addElement('text', 'add_show_color', array( $this->addElement('text', 'add_show_color', array(
'label' => 'Text Colour', 'label' => 'Text Colour:',
'class' => 'input_text', 'class' => 'input_text',
'filters' => array('StringTrim') 'filters' => array('StringTrim')
)); ));

View File

@ -16,7 +16,7 @@ class Application_Form_AddShowWhat extends Zend_Form_SubForm
// Add URL element // Add URL element
$this->addElement('text', 'add_show_url', array( $this->addElement('text', 'add_show_url', array(
'label' => 'Website:', 'label' => 'URL:',
'class' => 'input_text', 'class' => 'input_text',
'required' => false, 'required' => false,
'filters' => array('StringTrim'), 'filters' => array('StringTrim'),

View File

@ -53,7 +53,7 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
// Add repeats element // Add repeats element
$this->addElement('checkbox', 'add_show_repeats', array( $this->addElement('checkbox', 'add_show_repeats', array(
'label' => 'repeats', 'label' => 'Repeats?',
'required' => false, 'required' => false,
)); ));

View File

@ -7,7 +7,7 @@ class Application_Form_AddShowWho extends Zend_Form_SubForm
{ {
// Add hosts autocomplete // Add hosts autocomplete
$this->addElement('text', 'add_show_hosts_autocomplete', array( $this->addElement('text', 'add_show_hosts_autocomplete', array(
'label' => 'Type a Host:', 'label' => 'Search Users:',
'class' => 'input_text ui-autocomplete-input', 'class' => 'input_text ui-autocomplete-input',
'required' => false 'required' => false
)); ));

View File

@ -52,7 +52,7 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
$this->addElement($stream_format); $this->addElement($stream_format);
$third_party_api = new Zend_Form_Element_Radio('thirdPartyApi'); $third_party_api = new Zend_Form_Element_Radio('thirdPartyApi');
$third_party_api->setLabel('Allow Remote Websites To Access Show Schedule Info'); $third_party_api->setLabel('Allow Remote Websites To Access "Schedule" Info?<br> (Enable this on to make frontend widgets work.)');
$third_party_api->setMultiOptions(array("Disabled", $third_party_api->setMultiOptions(array("Disabled",
"Enabled")); "Enabled"));
$third_party_api->setValue(Application_Model_Preference::GetAllow3rdPartyApi()); $third_party_api->setValue(Application_Model_Preference::GetAllow3rdPartyApi());

View File

@ -45,7 +45,7 @@ class Application_Form_SoundcloudPreferences extends Zend_Form_SubForm
// Add the description element // Add the description element
$this->addElement('textarea', 'SoundCloudTags', array( $this->addElement('textarea', 'SoundCloudTags', array(
'label' => 'space separated SoundCloud Tags', 'label' => 'SoundCloud Tags: (separate tags with spaces)',
'required' => false, 'required' => false,
'class' => 'input_text_area', 'class' => 'input_text_area',
'value' => Application_Model_Preference::GetSoundCloudTags(), 'value' => Application_Model_Preference::GetSoundCloudTags(),

View File

@ -2,7 +2,7 @@
<?php echo $this->element->getSubform('preferences_general') ?> <?php echo $this->element->getSubform('preferences_general') ?>
<h3 class="collapsible-header"><span class="arrow-icon"></span>SoundCloud settings</h3> <h3 class="collapsible-header"><span class="arrow-icon"></span>SoundCloud Settings</h3>
<div class="collapsible-content" id="soundcloud-settings" style="display: none;"> <div class="collapsible-content" id="soundcloud-settings" style="display: none;">
<?php echo $this->element->getSubform('preferences_soundcloud') ?> <?php echo $this->element->getSubform('preferences_soundcloud') ?>
</div> </div>