/mvc/elements/wikisearch
[return to app]1
<?php
2 echo '<div id="wikisearch">';
3 if (!isset($withinExistingForm) || !$withinExistingForm) {
4 echo $form->open();
5 }
6 echo $form->input(array('name' => 'wsearch', 'label' => ''))
7 . ' ' . $form->submit(array('value' => 'Search'));
8 if (!isset($withinExistingForm) || !$withinExistingForm) {
9 echo $form->close();
10 }
11 echo '</div>';