1 <script type="text/javascript">//<![CDATA[
2 XHR.poll(5, '<%=luci.dispatcher.build_url("admin/services/minidlna_status")%>', null,
5 var tb = document.getElementById('minidlna_status');
10 tb.innerHTML = String.format(
11 '<%:The miniDLNA service is active, serving %d audio, %d video and %d image files.%>',
12 st.audio, st.video, st.image
17 tb.innerHTML = '<em><%:The miniDLNA service is not running.%></em>';
24 <fieldset class="cbi-section">
25 <legend><%:miniDLNA Status%></legend>
26 <p id="minidlna_status">
27 <em><%:Collecting data...%></em>