install.php
changeset 211 596945fa6e56
parent 207 808281bfd200
child 214 43add2be1371
equal deleted inserted replaced
210:c7c2fde4f98d 211:596945fa6e56
  1123         else
  1123         else
  1124         {
  1124         {
  1125           document.getElementById('s_db_host').src='images/bad.gif';
  1125           document.getElementById('s_db_host').src='images/bad.gif';
  1126           ret = false;
  1126           ret = false;
  1127         }
  1127         }
  1128         if(frm.db_name.value.match(/^([a-z0-9_]+)$/g))
  1128         if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g))
  1129         {
  1129         {
  1130           document.getElementById('s_db_name').src='images/unknown.gif';
  1130           document.getElementById('s_db_name').src='images/unknown.gif';
  1131         }
  1131         }
  1132         else
  1132         else
  1133         {
  1133         {