install.php
changeset 278 53ba55d33abb
parent 271 f088805540ae
child 279 8acd77a6c19d
equal deleted inserted replaced
271:f088805540ae 278:53ba55d33abb
  1205         else
  1205         else
  1206         {
  1206         {
  1207           document.getElementById('s_db_host').src='images/bad.gif';
  1207           document.getElementById('s_db_host').src='images/bad.gif';
  1208           ret = false;
  1208           ret = false;
  1209         }
  1209         }
  1210         if(frm.db_name.value.match(/^([a-z0-9_]+)$/g))
  1210         if(frm.db_name.value.match(/^([a-z0-9_-]+)$/g))
  1211         {
  1211         {
  1212           document.getElementById('s_db_name').src='images/unknown.gif';
  1212           document.getElementById('s_db_name').src='images/unknown.gif';
  1213         }
  1213         }
  1214         else
  1214         else
  1215         {
  1215         {