5 <TITLE>TelefonNotrufnummern</TITLE>
\r
7 <SCRIPT language="JavaScript" src="js_fade.txt" type="text/JavaScript"></SCRIPT>
\r
8 <SCRIPT language="JavaScript" src="js_menu.txt" type="text/JavaScript"></SCRIPT>
\r
10 <SCRIPT language="JavaScript">
\r
17 document.F1.T1[i].style.backgroundColor = "#D4D0C8";
\r
18 document.F1.T2[i].style.backgroundColor = "#D4D0C8";
\r
19 document.F1.T1[i].disabled = true;
\r
20 document.F1.T2[i].disabled = true;
\r
23 document.F1.T1[0].value = '<%ejGetvoipEmg(ECAL_0)%>';
\r
24 document.F1.T1[1].value = '<%ejGetvoipEmg(ECAL_1)%>';
\r
25 document.F1.T1[2].value = '<%ejGetvoipEmg(ECAL_2)%>';
\r
26 document.F1.T1[3].value = '<%ejGetvoipEmg(ECAL_3)%>';
\r
27 document.F1.T1[4].value = '<%ejGetvoipEmg(ECAL_4)%>';
\r
28 document.F1.T1[5].value = '<%ejGetvoipEmg(ECAL_5)%>';
\r
29 document.F1.T1[6].value = '<%ejGetvoipEmg(ECAL_6)%>';
\r
30 document.F1.T1[7].value = '<%ejGetvoipEmg(ECAL_7)%>';
\r
31 document.F1.T1[8].value = '<%ejGetvoipEmg(ECAL_8)%>';
\r
32 document.F1.T1[9].value = '<%ejGetvoipEmg(ECAL_9)%>';
\r
34 document.F1.T2[0].value = '<%ejGetvoipEmg(EDES_0)%>';
\r
35 document.F1.T2[1].value = '<%ejGetvoipEmg(EDES_1)%>';
\r
36 document.F1.T2[2].value = '<%ejGetvoipEmg(EDES_2)%>';
\r
37 document.F1.T2[3].value = '<%ejGetvoipEmg(EDES_3)%>';
\r
38 document.F1.T2[4].value = '<%ejGetvoipEmg(EDES_4)%>';
\r
39 document.F1.T2[5].value = '<%ejGetvoipEmg(EDES_5)%>';
\r
40 document.F1.T2[6].value = '<%ejGetvoipEmg(EDES_6)%>';
\r
41 document.F1.T2[7].value = '<%ejGetvoipEmg(EDES_7)%>';
\r
42 document.F1.T2[8].value = '<%ejGetvoipEmg(EDES_8)%>';
\r
43 document.F1.T2[9].value = '<%ejGetvoipEmg(EDES_9)%>';
\r
46 function txtHinw(feldname){
\r
47 return "Im Feld '" + feldname + "' wurde eine falsche Eingabe bzw. keine Eingabe vorgenommen." +
\r
48 "\nDie korrekte Eingabe ist notwendig, um die Telefonie über das Internet verwenden zu können.";
\r
51 // note: return true means input includes illegal char.
\r
52 function chkNumber(input)
\r
56 for (i=0;i<input.length;i++)
\r
58 if (input.charAt(i) < '0' || input.charAt(i) > '9')
\r
67 function chkSpecChar(input)
\r
71 for (i=0;i<input.length;i++)
\r
73 if (input.charAt(i) == '\'' || input.charAt(i) == '\"' || input.charAt(i) == '\\')
\r
88 if(document.F1.T1[i].value != "") {
\r
89 if (chkNumber (document.F1.T1[i].value) == true) {
\r
95 if(document.F1.T2[i].value != "") {
\r
96 if (document.F1.T1[i].value == ""
\r
97 || isNaN(document.F1.T1[i].value)) {
\r
103 if (document.F1.T2[i].value != "") {
\r
104 if ( chkSpecChar(document.F1.T2[i].value)) {
\r
113 alert("In Zeile '" + (idxErr + 1) + "' wurde keine korrekte Rufnummer eingetragen. " +
\r
114 "\nDie korrekte Eingabe ist notwendig, um die Notrufnummer verwenden zu können.");
\r
115 document.F1.T1[idxErr].focus();
\r
118 if (prf1 == false){
\r
119 alert (txtHinw("Bezeichnung"));
\r
120 document.F1.T2[idxErr].focus();
\r
127 document.getElementById('t_but1').style.visibility='hidden';
\r
128 document.getElementById('t_but3').style.visibility='hidden';
\r
129 document.getElementById('t_but4').style.visibility='hidden';
\r
131 document.getElementById("c_verzoeg1").style.visibility='visible';
\r
132 document.getElementById("c_verzoeg2").style.visibility='visible';
\r
133 var loc = 'voipcfg.cmd?action=emgset&s';
\r
136 for (i = 0; i < 10; i++) {
\r
137 loc = loc + "ECAL_" + i + "=" + encodeUrl(document.forms[0].T1[i].value) + "&";
\r
140 for (i = 0; i < 9; i++) {
\r
141 loc = loc + "EDES_" + i + "=" + encodeUrl(document.forms[0].T2[i].value) + "&";
\r
144 loc = loc + "EDES_9=" + encodeUrl(document.forms[0].T2[9].value);
\r
147 var code = 'this.location.assign("' + loc + '")';
\r
151 function btn_delall()
\r
153 if (confirm("Wenn Sie alle Einträge in der Liste löschen möchten, dann klicken Sie auf 'OK'." +
\r
154 "\nKlicken Sie auf 'Abbrechen', um das Löschen zu verhindern.")==true){
\r
155 document.forms[0].reset();
\r
161 top.frames[2].location.href = "hcti_telefon.htm";
\r
167 <LINK rel="stylesheet" href="style.css" type="text/css">
\r
171 <BODY onload=chk()>
\r
176 <DIV id=c_pfad>Telefonie / Notrufnummern</DIV>
\r
177 <DIV id=c_titel>Notrufnummern</DIV>
\r
179 <table border="0" cellpadding="0" cellspacing="2">
\r
182 <td width="45">Eintrag</td>
\r
183 <td width="10"></td>
\r
184 <td width="140">Notrufnummer</td>
\r
185 <td>Bezeichnung</td>
\r
190 <SCRIPT language="JavaScript">
\r
193 var divart = 'c_std';
\r
195 for (i=0;i<10;i++){
\r
201 '<DIV id=' + divart + '>' +
\r
202 '<table border="0" cellpadding="0" cellspacing="2">' +
\r
203 '<tr onmouseover=i_showElem(1) onmouseout=i_showElem(0)>' +
\r
204 '<td width="45" align="center">' + (i+1) + '</td>' +
\r
205 '<td width="10"></td>' +
\r
206 '<td width="140"><input type="text" name="T1" size="15" maxlength="16"></td>' +
\r
207 '<td><input type="text" name="T2" size="20" maxlength="27"></td>' +
\r
217 <DIV id=c_leer></DIV>
\r
218 <DIV id=c_foot></DIV>
\r
221 <DIV id=c_verzoeg1></DIV>
\r
222 <DIV id=c_verzoeg2></DIV>
\r
228 <DIV id=t_but1 onclick=startseite() onmouseover=rahmen(1,1) onmouseout=rahmen(0,1)><< <<</DIV>
\r
229 <DIV id=t_but3 onclick=stZrk() onmouseover=rahmen(1,3) onmouseout=rahmen(0,3)>Zurück <<</DIV>
\r
230 <DIV id=t_but4 onclick=stOk() onmouseover=rahmen(1,4) onmouseout=rahmen(0,4)>Speichern <<</DIV>
\r
237 <h2>Notrufnummern</h2>
\r
238 <p>Hier können Sie Notrufnummern eingeben. Die Notrufnummern können Sie von jedem Anschluss aus wählen.
\r
239 Die Notrufnummern durchbrechen jede eventuell eingestellte Sperre.</p>
\r
240 <p>Die Notrufnummern 110, 112 und 19222 können weder gelöscht noch geändert werden.</p>
\r
243 <DIV id=i_content1>
\r
244 <h2>Notrufnummern</h2>
\r
245 <p><b>Notrufnummer</b><br>
\r
246 Tragen Sie hier die Notrufnummer ein</p>
\r
247 <p><b>Bezeichnung</b><br>
\r
248 Hier können Sie der Notrufnummer eine erklärende Bezeichnung geben.</p>
\r