Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: pažymetas laukelis paieškoje

Parašė And2s· 2010 Sau. 17 19:01:56
#5

Eini į: includes/search/, atsidarai search_downloads_include_button.php failą.

Keiti:
$radio_button['downloads'] = "<label><input type='radio' name='stype' value='downloads'".($_GET['stype'] == "downloads" ? " checked='checked'" : "")." onclick=\"display(this.value)\" /> ".$locale['d400']."</label>";




į

$radio_button['downloads'] = "<label><input type='radio' name='stype' value='downloads'".($_GET['stype'] == "downloads" ? " checked='checked'" : "")."".(!isset($_GET['search'])?" checked='checked'":"")." onclick=\"display(this.value)\" /> ".$locale['d400']."</label>";