object->drawHead(); ?>

createSearchForm(); $form->draw(); } public function createSearchForm() { $form = new Form(); $form->layout = new OneLineLayout(); $form->action = $this->object->getUrl('main.search'); $form->add('TextField', 'query', array( 'title' => '', 'size' => '30', 'required' => true )); $form->addSubmit('Search'); return $form; } protected function drawSideBar() { ?>
drawSideBar();?>