projects
/
consearch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1c69b03
)
add keyword as title to buttons
author
Felix Kästner
<git@fpunktk.de>
Tue, 30 Jun 2015 16:49:06 +0000
(18:49 +0200)
committer
Felix Kästner
<git@fpunktk.de>
Tue, 30 Jun 2015 16:49:06 +0000
(18:49 +0200)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 772a68a269cce7055ade19f301527940617d528a..a4e8442df299f0ef6c7905e60a58fe44893f2127 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-167,7
+167,7
@@
se["gsm"] = ["gsm", "http://www.gsmarena.com/results.php3?sQuickSearch=yes&sName
function display_searchbuttons() {
document.getElementById("searchbuttons").innerHTML = "";
for ( kw in se ) {
function display_searchbuttons() {
document.getElementById("searchbuttons").innerHTML = "";
for ( kw in se ) {
- document.getElementById("searchbuttons").innerHTML += '<button type="button" value="' + se[kw][0] + '" onclick=\'location.href="' + se[kw][1] + '" + document.getElementById("querystring").value\'><img src="data:image/png;base64,' + b64images[se[kw][2]] + '" alt=""> ' + se[kw][0] + "</button> \n";
+ document.getElementById("searchbuttons").innerHTML += '<button type="button"
title="' + kw + '"
value="' + se[kw][0] + '" onclick=\'location.href="' + se[kw][1] + '" + document.getElementById("querystring").value\'><img src="data:image/png;base64,' + b64images[se[kw][2]] + '" alt=""> ' + se[kw][0] + "</button> \n";
}
}
}
}