slitaz-pizza rev 94

lib/functions.js: @ and . are valid email characters...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 14 08:58:59 2013 +0100 (2013-03-14)
parents eac3b3cbb737
children 2a458690df4b
files web/lib/footer.html web/lib/functions.js
line diff
     1.1 --- a/web/lib/footer.html	Mon Jan 28 11:46:36 2013 +0100
     1.2 +++ b/web/lib/footer.html	Thu Mar 14 08:58:59 2013 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  </div>
     1.5  
     1.6  <div id="footer">
     1.7 -	Copyright (C) 2012 <a href="http://www.slitaz.org">SliTaz GNU/Linux</a>
     1.8 +	Copyright (C) 2013 <a href="http://www.slitaz.org">SliTaz GNU/Linux</a>
     1.9  </div>
    1.10  
    1.11  </body>
     2.1 --- a/web/lib/functions.js	Mon Jan 28 11:46:36 2013 +0100
     2.2 +++ b/web/lib/functions.js	Thu Mar 14 08:58:59 2013 +0100
     2.3 @@ -2,7 +2,7 @@
     2.4  //
     2.5  
     2.6  function charactersOK(field, name) {
     2.7 -	var str = "`!@#$%^&*()+=[]\\\';,./{}|\":<>?";
     2.8 +	var str = "`!#$%^&*()+=[]\\\';,/{}|\":<>?";
     2.9  	if(document.forms["pizza"][field].value == "") {
    2.10          	alert("Please enter"+name);
    2.11  		document.forms["pizza"][field].focus();