Changeset 404 for trunk/app/views/elements
- Timestamp:
- 04/16/08 03:39:00 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/elements/search.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/elements/search.ctp
r241 r404 24 24 </script> 25 25 <?php 26 echo $form->create('Entry', array( "action"=>"return chkSearch();"));27 echo $form->input('Entry /terms', array("size" => 12, "value"=> "Search...", "maxlength" => 40,26 echo $form->create('Entry', array('action'=>'search', 'onsubmit'=>"return chkSearch()")); 27 echo $form->input('Entry.terms', array('label'=>'', 'size' =>12, 'value' => "Search...", "maxlength" => 40, 28 28 "onblur" => "if(this.value=='') this.value='Search...';", 29 29 "onfocus"=>"if(this.value=='Search...') this.value='';"));
