From: horse69 Date: Wed, 5 Sep 2012 20:56:31 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@665 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=3fd4b3fd858cb4c4f8a2758ec652a133a2718f55;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@665 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/fdmdv2/build/Debug/.gitignore b/fdmdv2/build/Debug/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/fdmdv2/build/Release/.gitignore b/fdmdv2/build/Release/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/mini-asterisk-gui2/minicommon.js b/mini-asterisk-gui2/minicommon.js index fef0d5da..e89c843e 100644 --- a/mini-asterisk-gui2/minicommon.js +++ b/mini-asterisk-gui2/minicommon.js @@ -31,8 +31,10 @@ var recept_num = []; var ext_code =[]; var recept_code =[]; var recept_count = 0; +var outgoing_num=0; +var outgoing_code=[]; var ext_count = 0; -var iancount = 0; + var items = [[1,2],[3,4],[5,6]]; @@ -239,7 +241,7 @@ function GenericReturn(doc,status) { } ); - initialisePage(); + } function OnUpgradeReturn(doc,status) { diff --git a/mini-asterisk-gui2/phones.html b/mini-asterisk-gui2/phones.html index 03347709..a0c64893 100644 --- a/mini-asterisk-gui2/phones.html +++ b/mini-asterisk-gui2/phones.html @@ -22,7 +22,12 @@
- + + + + + + diff --git a/mini-asterisk-gui2/phones.js b/mini-asterisk-gui2/phones.js index f78cb01d..628faf5d 100644 --- a/mini-asterisk-gui2/phones.js +++ b/mini-asterisk-gui2/phones.js @@ -26,7 +26,7 @@ function initialisePage() { var icon = 'Analog Phone OK'; var html = ''; - + var itemcount = 0; html += ''; @@ -51,7 +51,7 @@ function initialisePage() { html += ""; // the reception checkbox code - html += ""; html += ""; @@ -134,8 +132,27 @@ function initialisePage() { html += "" + ""; html += ""; html += ""; - html += ""; + + // the outgoing radiobox code +/* html += "
" + '' + "" + '"; // the reception checkbox code - html += "" + '' + "
" + "0" + "" + "Analog Phone" + "Port" + i + "" + '' + "
" + '1) + // arg = arg+"&"; + + // got to make up new codes + arg = arg + recept_code[i] + "=on"; + } - var ret = downloadUrl("/cgi-bin/setring.cgi?Zap_3=on", GenericReturn); - if (ret == false) { - throw new Error("XMLHttpRequest not supported"); } -*/ + var arg2 = "/cgi-bin/setoutgoing.cgi?" + arg; +// downloadUrl(arg2,GenericReturn); + + }