1 <script type=
"text/javascript">//<![CDATA[
2 XHR.poll(
5, '<%=url('admin/telephony/status')%
>', null,
5 var tb = document.getElementById('telephony_status_table');
9 var tr = tb.insertRow(-
1);
10 tr.className = 'cbi-section-table-row cbi-rowstyle-
1';
12 tr.insertCell(-
1).innerHTML = st.status;
13 tr.insertCell(-
1).innerHTML = st.line1;
14 tr.insertCell(-
1).innerHTML = st.line2;
20 <fieldset class=
"cbi-section">
21 <legend><%:Current Telephony State%
></legend>
22 <table class=
"cbi-section-table" id=
"telephony_status_table">
23 <tr class=
"cbi-section-table-titles">
24 <th class=
"cbi-section-table-cell"><%:Uplink%
></th>
25 <th class=
"cbi-section-table-cell"><%:Port1%
></th>
26 <th class=
"cbi-section-table-cell"><%:Port2%
></th>
28 <tr class=
"cbi-section-table-row">
29 <td colspan=
"5"><em><br /><%:Collecting data...%
></em></td>