[wiki] [sandbox.suckless.org] added search bar || arg

From: <hg_AT_suckless.org>
Date: Fri, 7 Aug 2009 23:39:30 +0100 (BST)

changeset: 166:17ae6f4cc375
tag: tip
user: arg_AT_localhost.localdomain
date: Fri Aug 07 22:39:04 2009 +0000
files: default.suckless.org/_werc/lib/footer.inc
description:
added search bar


diff -r 5343892cac67 -r 17ae6f4cc375 default.suckless.org/_werc/lib/footer.inc
--- a/default.suckless.org/_werc/lib/footer.inc Wed Aug 05 05:16:38 2009 +0200
+++ b/default.suckless.org/_werc/lib/footer.inc Fri Aug 07 22:39:04 2009 +0000
_AT_@ -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.");
_AT_@ -14,4 +24,3 @@
 pageTracker._initData();
 pageTracker._trackPageview();
 </script>
-
Received on Sat Aug 08 2009 - 00:39:30 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:30:43 CEST