From: Andreas Ă–man Date: Thu, 22 Nov 2007 09:26:57 +0000 (+0000) Subject: style fixup X-Git-Tag: 2.12~1364 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b4c30db5efbb4b4ecb851d1370b215f8a2e8ee6;p=thirdparty%2Ftvheadend.git style fixup --- diff --git a/htmlui.c b/htmlui.c index 895174500..3ae7e9cad 100644 --- a/htmlui.c +++ b/htmlui.c @@ -761,7 +761,7 @@ html_iptv_status(tcp_queue_t *tq, th_transport_t *t, const char *status) { tcp_qprintf(tq, "" + "float:left; font-weight:bold\">" "%s (%s)" "", inet_ntoa(t->tht_iptv_group_addr), @@ -886,7 +886,7 @@ page_status(http_connection_t *hc, const char *remain, void *opaque) box_top(&tq, "box"); tcp_qprintf(&tq, "
"); - tcp_qprintf(&tq, "
IPTV sources

"); + tcp_qprintf(&tq, "
IPTV sources
"); LIST_FOREACH(t, &all_transports, tht_global_link) { if(t->tht_type != TRANSPORT_IPTV) @@ -909,15 +909,27 @@ page_status(http_connection_t *hc, const char *remain, void *opaque) tcp_qprintf(&tq, "
Video4Linux adapters
"); LIST_FOREACH(tva, &v4l_adapters, tva_link) { - tcp_qprintf(&tq, "
%s
", + + tcp_qprintf(&tq, + "" + "%s" + "", tva->tva_path); + if(tva->tva_dispatch_handle == NULL) { - tcp_qprintf(&tq, "Not currently active
"); + snprintf(tmptxt, sizeof(tmptxt), "Idle"); } else { - tcp_qprintf(&tq, "Tuned to %.3f MHz
", - (float)tva->tva_frequency/1000000.0); + snprintf(tmptxt, sizeof(tmptxt), "Tuned to %.3f MHz", + (float)tva->tva_frequency/1000000.0); } + tcp_qprintf(&tq, + "" + "%s" + "
", + tmptxt); } tcp_qprintf(&tq, "
");