);
public function init() {
- $id = array('Hidden', 'geom_id');
$data = array('Hidden', 'geom_data', array('required' => true));
$title = array('Text', 'geom_title', array(
));
$translator = $this->getTranslator();
- $anchor = $this->getView()->Anchor("termsofuse", $translator->translate("terms of use"), array('id' => 'geom_termsofuse_anchor'));
+ $anchor = $this->getView()->Anchor("termsofuse?format=raw",
+ $translator->translate("terms of use"),
+ array('id' => 'geom_termsofuse_anchor'));
$text = $translator->translate("I've read and accepted %s");
$text = vsprintf($text, $anchor);
$touaccept = array('Checkbox', 'geom_accept', array("label" => $text,
'decorators' => array(
'ViewHelper',
'label',
- array('HtmlTag', array('tag' => 'div', 'id' => 'geom_accept_container')))));
+ array('HtmlTag', array('tag' => 'div', 'id' => 'geom_accept_container', 'class' => 'logged-hide')))));
$submit = array('Submit', 'geom_submit', array('label' => __("save")));
- $this->addElements(array($id, $data, $title, $touaccept, $submit));
+ $this->addElements(array($data, $title, $touaccept, $submit));
$decorator = $this->geom_accept->getDecorator('Zend_Form_Decorator_Label');
$decorator->setOption('escape', false);