[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www
From: Urs Wolfer <uwolfer () kde ! org>
Date: 2008-10-04 12:20:36
Message-ID: 1223122836.619387.17625.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 867750 by uwolfer:
First try of using Google custom search (which looks well integrated into KDE \
website) instead of leaving KDE websites (and go to google.com).
Note: Nothing visible and enabled yet. Needs more work / testing.
M +19 -1 media/includes/newlayout/template-bottom2.inc
A sites/www/search (directory)
A sites/www/search/index.php
A sites/www/search/menu.inc
--- trunk/www/media/includes/newlayout/template-bottom2.inc #867749:867750
@@ -12,12 +12,30 @@
</div></div>
<div></div>
+<?php
+if (isset($_GET["newsearch"])) {
+?>
+ <form action="http://www.kde.org/search/" id="cse-search-box">
+ <p style="text-align:center">
+ <input type="hidden" name="cx" \
value="009530675943227777520:cmvt6dt_jkm" /> + <input type="hidden" \
name="cof" value="FORID:9" /> + <input type="hidden" name="ie" \
value="UTF-8" /> + <span class="cp-doNotDisplay"><label for="Search" \
accesskey="4"><?php i18n("Search:")?></label></span> + <input \
style="width:80%" type="text" name="q" size="31" id="Search" /> + \
<input style="width:80%" type="submit" name="sa" value=" <?php i18n("Search")?> " \
id="searchButton" /> + </p>
+ </form>
+<?php
+} else {
+?>
<form method="get" name="Searchform" action="/media/search.php"><p \
style="text-align:center">
<span class="cp-doNotDisplay"><label for="Search" accesskey="4"><?php \
i18n("Search:")?></label></span>
<input style="width:80%" type="text" size="10" name="q" id="Search" \
value="" /><br />
<input style="width:80%" type="submit" value=" <?php i18n("Search")?> \
" name="Button" id="searchButton" /> </p></form>
-
+<?php
+}
+?>
</div>
</div>
<div class="clearer"></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic