Merge branch 'cc-2425-tweak-phone-home' into devel
This commit is contained in:
commit
a936212355
3 changed files with 52 additions and 19 deletions
|
@ -136,6 +136,13 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
|||
'ViewHelper'
|
||||
)
|
||||
));
|
||||
|
||||
// checkbox for privacy policy
|
||||
$checkboxPrivacy = new Zend_Form_Element_Checkbox("Privacy");
|
||||
$checkboxPrivacy->setLabel("By checking this box, I agree to Sourcefabric's <a id=\"link_to_privacy\" href=\"\">privacy policy</a>.")
|
||||
->setDecorators(array('ViewHelper'))
|
||||
->setValue(1);
|
||||
$this->addElement($checkboxPrivacy);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -161,5 +161,12 @@
|
|||
</dl>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div>
|
||||
<br>
|
||||
<label class="optional" for="Privacy">
|
||||
<?php echo $this->element->getElement('Privacy') ?>
|
||||
<?php echo $this->element->getElement('Privacy')->getLabel() ?>
|
||||
</label>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue