install.php
changeset 288 30ef6b618795
parent 285 e72bf2c24875
child 291 fe6380ae4a1a
equal deleted inserted replaced
287:3370d63928cf 288:30ef6b618795
  1382         else
  1382         else
  1383         {
  1383         {
  1384           document.getElementById('s_db_host').src='images/bad.gif';
  1384           document.getElementById('s_db_host').src='images/bad.gif';
  1385           ret = false;
  1385           ret = false;
  1386         }
  1386         }
  1387         if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g))
  1387         if(frm.db_name.value.match(/^([A-z0-9_-]+)$/g))
  1388         {
  1388         {
  1389           document.getElementById('s_db_name').src='images/unknown.gif';
  1389           document.getElementById('s_db_name').src='images/unknown.gif';
  1390         }
  1390         }
  1391         else
  1391         else
  1392         {
  1392         {