CC-2425:Tweak phone home stat

- fixed as requested. Just need to add the link
This commit is contained in:
James 2011-06-24 16:29:24 -04:00
parent e84f80a7f9
commit b83420874c
4 changed files with 6 additions and 4 deletions

View file

@ -38,8 +38,8 @@ class Application_Form_RegisterAirtime extends Zend_Form
//Email //Email
$this->addElement('text', 'Email', array( $this->addElement('text', 'Email', array(
'class' => 'input_text', 'class' => 'input_text',
'label' => 'Email:(*)', 'label' => 'Email:',
'required' => true, 'required' => false,
'filters' => array('StringTrim'), 'filters' => array('StringTrim'),
'value' => Application_Model_Preference::GetEmail(), 'value' => Application_Model_Preference::GetEmail(),
'decorators' => array( 'decorators' => array(
@ -117,7 +117,7 @@ class Application_Form_RegisterAirtime extends Zend_Form
// checkbox for publicise // checkbox for publicise
$checkboxPublicise = new Zend_Form_Element_Checkbox("Publicise"); $checkboxPublicise = new Zend_Form_Element_Checkbox("Publicise");
$checkboxPublicise->setLabel('Publicise my station on Sourcefabric.org') $checkboxPublicise->setLabel('Promote my station on Sourcefabric.org')
->setRequired(false) ->setRequired(false)
->setDecorators(array('ViewHelper')) ->setDecorators(array('ViewHelper'))
->setValue(Application_Model_Preference::GetPublicise()); ->setValue(Application_Model_Preference::GetPublicise());

View file

@ -106,7 +106,7 @@ class Application_Form_SupportPreferences extends Zend_Form_SubForm
// checkbox for publicise // checkbox for publicise
$checkboxPublicise = new Zend_Form_Element_Checkbox("Publicise"); $checkboxPublicise = new Zend_Form_Element_Checkbox("Publicise");
$checkboxPublicise->setLabel('Publicise my station on Sourcefabric.org') $checkboxPublicise->setLabel('Promote my station on Sourcefabric.org')
->setRequired(false) ->setRequired(false)
->setDecorators(array('ViewHelper')) ->setDecorators(array('ViewHelper'))
->setValue(Application_Model_Preference::GetPublicise()); ->setValue(Application_Model_Preference::GetPublicise());

View file

@ -15,6 +15,7 @@
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
<?php endif; ?> <?php endif; ?>
<div class="info-text">By checking this box, I agree to Sourcefabric's privacy policy.</div>
</dd> </dd>
<dd id="publicize-element"> <dd id="publicize-element">
<label class="optional" for="Publicise"> <label class="optional" for="Publicise">

View file

@ -18,6 +18,7 @@
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
<?php endif; ?> <?php endif; ?>
<div class="info-text">By checking this box, I agree to Sourcefabric's privacy policy.</div>
</dd> </dd>
<dt class="block-display info-text"> <dt class="block-display info-text">
Click the box below to advertise your station on <a id="link_to_whos_using" href="">Sourcefabric.org</a>. In order to publicise your station, "Send support feedback" must be enabled Click the box below to advertise your station on <a id="link_to_whos_using" href="">Sourcefabric.org</a>. In order to publicise your station, "Send support feedback" must be enabled