Show
Ignore:
Timestamp:
02/19/08 17:24:43 (9 months ago)
Author:
aarkerio
Message:

News update

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/elements/search.ctp

    r240 r241  
    2424</script> 
    2525<?php  
    26     echo $html->formTag('/entries/search/', 'post', array("onsubmit"=>"return chkSearch();")); 
    27     echo $html->input('Entry/terms', array("size" => 12, "value" => "Search...", "maxlength" => 40,  
     26    echo $form->create('Entry', array("action"=>"return chkSearch();")); 
     27    echo $form->input('Entry/terms', array("size" => 12, "value" => "Search...", "maxlength" => 40,  
    2828         "onblur" => "if(this.value=='') this.value='Search...';",  
    2929         "onfocus"=>"if(this.value=='Search...') this.value='';")); 
    30    echo $html->input('Send/button', array("src"=>"/img/search_go.gif", "type"=>"image", "value"=>"Search", "alt"=>"Search", "title"=>"Search")); 
     30   echo $form->end('Search'); 
    3131 ?> 
    32 </form>