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