[Lxr-commits] CVS: lxr/templates valid-html401.png, NONE, 1.1 html-head.html, 1.8, 1.9 html-ident.h
Brought to you by:
ajlittoz
From: Malcolm B. <mb...@us...> - 2009-03-27 11:47:07
|
Update of /cvsroot/lxr/lxr/templates In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28110 Modified Files: html-head.html html-ident.html html-search-glimpse.html html-search-swish.html html-tail.html Added Files: valid-html401.png Log Message: Implemented focus in fields on load. Added local copy of the valid-html logo to speed page loads. --- NEW FILE: valid-html401.png --- PNG $,#1'5*###(((432;;;B4G8M=NK?WE"[H$cO'lV+oX,uG9r[-~d1NNNROKVRMUUU\\\j]Jeeekkkrkappp{{{ 8óÜ¢èÁ=èÇÐä³p®¾¬àÌn l*< @DܵJ jjK`Fz\ä9 O3ëCc¶âëKÁàýØ7o=tmw{½b×k JgSWhõ5ùØÅúa8,ºÃ¾Öx*£©¢Ì,JMØ>A' ¥ÈÏ-n.g^xX£ª©âdò4÷ÔÓW)îéÒãAûÿ©©ö¿bîX}yr½¾W@N®«WJMðoqb½j¨ Index: html-head.html =================================================================== RCS file: /cvsroot/lxr/lxr/templates/html-head.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- html-head.html 30 Jun 2004 19:49:50 -0000 1.8 +++ html-head.html 27 Mar 2009 11:46:58 -0000 1.9 @@ -4,9 +4,20 @@ <title>$title</title> <base href="$baseurl"> <link href="$stylesheet" rel="STYLESHEET" type="text/css"> +<script type="text/javascript"> +function ensureFocus() +{ + if (document.getElementById("focus")) + { + document.getElementById("focus").focus(); + } +} +</script> </head> -<body> + +<body onload="ensureFocus()"> + <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td valign='top'> Index: html-ident.html =================================================================== RCS file: /cvsroot/lxr/lxr/templates/html-ident.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- html-ident.html 15 Jul 2004 14:41:04 -0000 1.5 +++ html-ident.html 27 Mar 2009 11:46:59 -0000 1.6 @@ -8,7 +8,7 @@ $variables <b>Identifier: </b> -<input type="text" name="i" value="$identifier_escaped" size="15"> +<input id="focus" type="text" name="i" value="$identifier_escaped" size="15"> <input type="submit" value="Find"> </form> Index: html-search-glimpse.html =================================================================== RCS file: /cvsroot/lxr/lxr/templates/html-search-glimpse.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- html-search-glimpse.html 26 Jul 2004 20:47:44 -0000 1.3 +++ html-search-glimpse.html 27 Mar 2009 11:46:59 -0000 1.4 @@ -31,7 +31,7 @@ <b>Containing:</b> </td> <td> - <input type="text" name="string" value="$searchtext_escaped" size="50"> + <input id="focus" type="text" name="string" value="$searchtext_escaped" size="50"> </td> </tr> <tr> Index: html-search-swish.html =================================================================== RCS file: /cvsroot/lxr/lxr/templates/html-search-swish.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- html-search-swish.html 26 Jul 2004 20:47:44 -0000 1.3 +++ html-search-swish.html 27 Mar 2009 11:46:59 -0000 1.4 @@ -31,7 +31,7 @@ <b>Containing:</b> </td> <td> - <input type="text" name="string" value="$searchtext_escaped" size="50"> + <input id="focus" type="text" name="string" value="$searchtext_escaped" size="50"> </td> </tr> <tr> Index: html-tail.html =================================================================== RCS file: /cvsroot/lxr/lxr/templates/html-tail.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- html-tail.html 28 Jun 2004 13:54:21 -0000 1.5 +++ html-tail.html 27 Mar 2009 11:46:59 -0000 1.6 @@ -18,7 +18,7 @@ </td> <td align="right"> <a href="http://validator.w3.org/check/referer"><img border="0" - src="http://www.w3.org/Icons/valid-html401" + src="templates/valid-html401.png" alt="Valid HTML 4.01!" height="31" width="88"></a> </td> </tr> |