sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 884be9147ae81f585e713f63cd6b12e87a4d13ff
parent a380af27f17f0491d4bbb954e7d2188c6083c408
Author: arg@localhost.localdomain <unknown>
Date:   Fri,  7 Aug 2009 22:39:04 +0000

added search bar
Diffstat:
Mdefault.suckless.org/_werc/lib/footer.inc | 19++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/default.suckless.org/_werc/lib/footer.inc b/default.suckless.org/_werc/lib/footer.inc @@ -1,9 +1,19 @@ +<br class="doNotDisplay doNotPrint" /> + <div class="left"><a href="http://werc.cat-v.org/">Powered by werc</a></div> -<!-- TODO Maybe should add a programatically generated google search box --> -<!-- <div class="right"><a href="/_users/login">User Login</div> --> -<br /> -<br class="doNotDisplay doNotPrint" /> +<div class="right"> +<form action="http://www.google.com/cse" id="cse-search-box" style="display: in +line"> + <div style="display: inline"> + <input type="hidden" name="cx" value="001621472792195143094:yaf_hfror00"/> + <input type="hidden" name="ie" value="UTF-8" /> + <input type="text" name="q" size="32" /> + <input type="submit" name="sa" value="Search" /> + </div> +</form> +<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script> +</div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); @@ -14,4 +24,3 @@ var pageTracker = _gat._getTracker("UA-4071820-1"); pageTracker._initData(); pageTracker._trackPageview(); </script> -