Ticket #3633: 0001-Proper-names-to-index-search-inputs-SL-3633.patch

File 0001-Proper-names-to-index-search-inputs-SL-3633.patch, 1.8 KB (added by humitos, 12 years ago)
  • library_homepage.tmpl

    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 
    3232<tr>
    3333<td width="130px" align="center"><img src="/usr/share/library-common/img/google-logo.gif" width="100px"/></td>
    3434<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>
    3636<td align="left" nowrap><input name=btnG type=submit value="Search the Web" height=40></td>
    3737</tr>
    3838</form>
    document.onclick=function(event){var elems=document.getElementsByName('more');if 
    5050<tr>
    5151<td width="130px" align="center"><img src="/usr/share/library-common/img/olpc-logo.png" width="111px"/></td>
    5252<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>
    5454<td align="left" nowrap><input type="submit" name="sa" value=" &nbsp;&nbsp;Search &nbsp;OLPC&nbsp;&nbsp; " height="40"/></td>
    5555</tr>
    5656</form>