[Update the results page to match the new front page
Neil Mitchell **20060621104131] {
hunk ./src/Web/res/front.inc 6
-
hunk ./src/Web/res/front.inc 78
- © Neil Mitchell 2004-2005
+ © Neil Mitchell 2004-2006
hunk ./src/Web/res/prefix.inc 9
- function on_load()
- {
- document.getElementById('txt').focus();
- }
+function addHoogle()
+{
+ addEngine('hoogle','png','Programming','4691');
+}
+
+function addEngine(name,ext,cat,pid)
+{
+ if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) {
+ window.sidebar.addSearchEngine(
+ "http://mycroft.mozdev.org/install.php/" + pid + "/" + name + ".src",
+ "http://mycroft.mozdev.org/install.php/" + pid + "/" + name + "."+ ext, name, cat );
+ } else {
+ alert("You will need a browser which supports Sherlock to install this plugin.");
+ }
+}
+
+function on_load()
+{
+ document.getElementById('txt').focus();
+}
hunk ./src/Web/res/prefix.inc 33
+
+
hunk ./src/Web/res/suffix.inc 3
- - wiki
- - email me
}