Form->create('Event');?>
Form->input('rule', array( 'options' => $rules, //'empty' => '(Select a filter)', 'class' => 'input', //'label' => 'Add Filtering Rule', 'onchange' => "indexRuleChange();", 'style' => 'margin-right:3px;width:130px;', 'div' => false )); echo $this->Form->input('searchbool', array( 'options' => array(__("OR"), __("NOT")), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:62px;margin-right:3px', 'div' => false )); echo $this->Form->input('searchpublished', array( 'options' => array('0' => __('No'), '1' => __('Yes'), '2' => __('Any')), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:503px;', 'div' => false )); echo $this->Form->input('searchthreatlevel', array( 'options' => array('1' => __('High'), '2' => __('Medium'), '3' => __('Low'), '4' => __('Undefined')), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); echo $this->Form->input('searchanalysis', array( 'options' => array('0' => __('Initial'), '1' => __('Ongoing'), '2' => __('Completed')), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); echo $this->Form->input('searchdistribution', array( 'options' => array('0' => __('Your organisation only'), '1' => __('This community only'), '2' => __('Connected communities'), '3' => __('All communities')), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:438px;', 'div' => false )); echo $this->Form->input('searchsharinggroup', array( 'options' => $sharingGroups, 'class' => 'input', 'label' => false, 'style' => 'width:438px;', 'div' => false )); if ($showorg) { echo $this->Form->input('searchorg', array( 'options' => $orgs, 'class' => 'input', 'label' => false, 'style' => 'width:438px;', 'div' => false )); } echo $this->Form->input('searchtag', array( 'options' => $tags, 'class' => 'input', 'label' => false, 'style' => 'width:438px', 'div' => false )); echo $this->Form->input('searchdatefrom', array( 'class' => 'datepicker', 'data-date-format' => 'yyyy-mm-dd', 'label' => false, 'style' => 'display:none;width:236px;margin-right:3px;', 'div' => false )); echo $this->Form->input('searchdateuntil', array( 'class' => 'datepicker', 'label' => false, 'data-date-format' => 'yyyy-mm-dd', 'style' => 'display:none;width:236px;', 'div' => false )); echo $this->Form->input('searchtimestampfrom', array( 'class' => 'input', 'label' => false, 'style' => 'display:none;width:236px;margin-right:3px;', 'div' => false, 'placeholder' => __("YYYY-MM-DD HH:mm:ss") )); echo $this->Form->input('searchtimestampuntil', array( 'class' => 'input', 'label' => false, 'style' => 'display:none;width:236px;margin-right:3px;', 'div' => false, 'placeholder' => __("YYYY-MM-DD HH:mm:ss") )); echo $this->Form->input('searchpublishtimestampfrom', array( 'class' => 'input', 'label' => false, 'style' => 'display:none;width:236px;margin-right:3px;', 'div' => false, 'placeholder' => __("YYYY:MM:DD HH:MM:SS") )); echo $this->Form->input('searchpublishtimestampuntil', array( 'class' => 'input', 'label' => false, 'style' => 'display:none;width:236px;margin-right:3px;', 'div' => false, 'placeholder' => __("YYYY:MM:DD HH:MM:SS") )); echo $this->Form->input('searcheventinfo', array( 'label' => false, 'class' => 'input-large', 'style' => 'display:none;width:424px;', 'div' => false )); if ($isSiteAdmin) { echo $this->Form->input('searchemail', array( 'label' => false, 'class' => 'input-large', 'style' => 'display:none;width:424px;', 'div' => false )); } echo $this->Form->input('searcheventid', array( 'label' => false, 'class' => 'input-large', 'style' => 'display:none;width:424px;', 'div' => false )); echo $this->Form->input('searchhasproposal', array( 'options' => array('0' => __('No'), '1' => __('Yes'), '2' => __('Any')), 'class' => 'input', 'label' => false, 'style' => 'display:none;width:503px;', 'div' => false )); echo $this->Form->input('searchattribute', array( 'label' => false, 'class' => 'input-large', 'style' => 'display:none;width:424px;', 'div' => false )); echo $this->Form->input('searchall', array( 'label' => false, 'class' => 'input-large', 'style' => 'display:none;width:424px;', 'div' => false )); ?>
Form->end();?>
$field): ?>
Form->create('Event', array('id' => 'test', 'url' => $baseurl . '/events/index'));?>
Form->input('generatedURL', array( 'label' => false, 'class' => 'input', 'style' => 'width:620px;display:none;', 'div' => false )); ?>



Js->writeBuffer();