slitaz-forge rev 205

usbkey: xhtml validation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 23 11:56:32 2012 +0100 (2012-03-23)
parents cce1cb7393b6
children 2c4bf9c28d8d
files usbkey/main.php
line diff
     1.1 --- a/usbkey/main.php	Fri Mar 23 09:07:29 2012 +0100
     1.2 +++ b/usbkey/main.php	Fri Mar 23 11:56:32 2012 +0100
     1.3 @@ -35,7 +35,8 @@
     1.4  <a name="form"></a>
     1.5  <?php echo $form ?>
     1.6  
     1.7 -<script language="javascript">
     1.8 +<script type="text/javascript">
     1.9 +<!--
    1.10  function valid(f)
    1.11  {
    1.12  	if (f.email.value.indexOf("@",0) < 0) {
    1.13 @@ -72,6 +73,7 @@
    1.14  		f.submit()
    1.15  	}
    1.16  }
    1.17 +//-->
    1.18  </script>
    1.19  <form method="post" action="../preorder.php">
    1.20  <input type="hidden" name="lang" value="<?php echo $lang ?>" />
    1.21 @@ -105,7 +107,7 @@
    1.22  	<tr>
    1.23  		<td align="right"><?php echo $count ?></td>
    1.24  		<td><input type="text" name="count" value="1" size="5" 
    1.25 -			onFocus="if (this.value < 1) {this.value='1'}" style="width: 80px;"/>
    1.26 +			onfocus="if (this.value &lt; 1) {this.value='1'}" style="width: 80px;"/>
    1.27  		<?php echo $size ?>
    1.28  		<select name="size">
    1.29  			<option><?php echo $shell ?></option>