You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
1.4 KiB

{* $Id$ *}
{tikimodule error=$module_params.error title=$tpl_module_title name="google" flip=$module_params.flip decorations=$module_params.decorations nobox=$module_params.nobox notitle=$module_params.notitle}
<form method="get" action="http://www.google.com/search" target="Google" role="form">
<div class="mb-3 row mx-0">
<div class="col-sm-2">
<input type="hidden" name="hl" value="en"/>
<input type="hidden" name="oe" value="UTF-8"/>
<input type="hidden" name="ie" value="UTF-8"/>
<input type="hidden" name="btnG" value="Google Search"/>
<input name="googles" class="form-control-plaintext" type="image" src="img/googleg.gif" alt="Google" />
</div>
<div class="col-sm-10">
<input type="text" name="q" class="form-control" maxlength="100" />
</div>
</div>
{if $url_host ne ''}
<div class="col-sm-11 offset-sm-1 radio">
<input type="hidden" name="domains" value="{$url_host}" />
<label><input type="radio" name="sitesearch" value="{$url_host}" checked="checked" />{$url_host}</label>
</div>
<div class="col-sm-11 offset-sm-1 radio">
<label><input type="radio" name="sitesearch" value="" />WWW</label>
</div>
{/if}
</form>
{/tikimodule}