From 567a830fb2ff44a8e7d0179e2c039d3d1fff9828 Mon Sep 17 00:00:00 2001
From: Manuel Kaufmann <humitos@gmail.com>
Date: Mon, 10 Sep 2012 10:19:30 -0300
Subject: [PATCH olpc-library] Proper names to index search inputs SL #3633
Use different names for every search input into the home page.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
---
library_homepage.tmpl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/library_homepage.tmpl b/library_homepage.tmpl
index 8cbbcb2..1c5aa6f 100644
a
|
b
|
document.onclick=function(event){var elems=document.getElementsByName('more');if |
32 | 32 | <tr> |
33 | 33 | <td width="130px" align="center"><img src="/usr/share/library-common/img/google-logo.gif" width="100px"/></td> |
34 | 34 | <td width="300px" align="center" nowrap> |
35 | | <input maxlength=2048 name=q size=40 title="Search the Internet" value="" height=40 style="background:#ffffdd;"></td> |
| 35 | <input maxlength=2048 name="internet-query" size=40 title="Search the Internet" value="" height=40 style="background:#ffffdd;"></td> |
36 | 36 | <td align="left" nowrap><input name=btnG type=submit value="Search the Web" height=40></td> |
37 | 37 | </tr> |
38 | 38 | </form> |
… |
… |
document.onclick=function(event){var elems=document.getElementsByName('more');if |
50 | 50 | <tr> |
51 | 51 | <td width="130px" align="center"><img src="/usr/share/library-common/img/olpc-logo.png" width="111px"/></td> |
52 | 52 | <td width="300px" align="center" nowrap> |
53 | | <input type="text" name="q" maxlength="1024" size="40" title="Search OLPC" value="" height="40" style="background:#ffffdd;"/></td> |
| 53 | <input type="text" name="olpc-query" maxlength="1024" size="40" title="Search OLPC" value="" height="40" style="background:#ffffdd;"/></td> |
54 | 54 | <td align="left" nowrap><input type="submit" name="sa" value=" Search OLPC " height="40"/></td> |
55 | 55 | </tr> |
56 | 56 | </form> |