equal
deleted
inserted
replaced
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 { |