[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 14:09:56
Message-ID: 1223129396.111651.21876.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 867796 by uwolfer:
The JS file needs to be included after the search form; otherwise the search text \
will not be displayed in the search word input field.
M +4 -0 media/includes/newlayout/template-bottom2.inc
M +0 -1 sites/www/search/index.php
--- trunk/www/media/includes/newlayout/template-bottom2.inc #867795:867796
@@ -26,6 +26,10 @@
</p>
</form>
<?php
+if ($page_title == "KDE.org Search") // we just need this file if we display search \
results + echo "<script type=\"text/javascript\" \
src=\"http://www.google.com/afsonline/show_afs_search.js\"></script>"; +?>
+<?php
} else {
?>
<form method="get" name="Searchform" action="/media/search.php"><p \
style="text-align:center">
--- trunk/www/sites/www/search/index.php #867795:867796
@@ -14,7 +14,6 @@
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
-<script type="text/javascript" \
src="http://www.google.com/afsonline/show_afs_search.js"></script> </div>
<?php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic