|
From: mdw c. <myd...@li...> - 2001-10-04 20:24:14
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
gui.inc.php
Log Message:
Now when clicking on the username and password boxes, values are cleared.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- gui.inc.php 2001/10/01 09:26:07 1.32
+++ gui.inc.php 2001/10/04 20:24:13 1.33
@@ -280,12 +280,10 @@
<table align='center'>
<tr><td valign=\"top\" align='center'>
<font size='-1'>
- <input type=\"text\" name=\"user\" size=\"13\" value=\"".
- translate("USERNAME",$DBH).
- "\"></font></td></tr>
+ <input type=\"text\" name=\"user\" onFocus=\"if (this.value=='".translate("USERNAME", $DBH)."') this.value='';\" size=\"13\" value=\"".translate("USERNAME",$DBH)."\"></font></td></tr>
<tr><td valign=\"top\" align='center'>
<font size='-1'>
- <input type=\"password\" name=\"pass\" size=\"13\" value=\"password\">
+ <input onFocus=\"if (this.value='password') this.value='';\" type=\"password\" name=\"pass\" size=\"13\" value=\"password\">
</font>
</td></tr>
<tr><td valign='top' align=\"center\"><font size='-1'>
|