From 4caf7c9548fa385d2731e71ce4fc8f85778a3668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Wed, 13 Feb 2008 19:02:14 +0000 Subject: [PATCH] use a table for recording log per-entry extra info --- htmlui.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/htmlui.c b/htmlui.c index 62a4904d..c57261db 100644 --- a/htmlui.c +++ b/htmlui.c @@ -971,20 +971,28 @@ page_pvr(http_connection_t *hc, const char *remain, void *opaque) "border-bottom-width:thin; border-bottom-style:solid\">", divid, pvrr_tgt == pvrr ? "block" : "none"); - tcp_qprintf(&tq, - "
" - "" - "Filename:" - "%s
", + tcp_qprintf(&tq, + ""); + + tcp_qprintf(&tq, + "" + "" + "", pvrr->pvrr_filename ?: "not set"); - tcp_qprintf(&tq, - "
" - "" - "Recorder status:" - "%s
", + tcp_qprintf(&tq, + "" + "" + "", val2str(pvrr->pvrr_rec_status, recintstatustxt) ?: "invalid"); + tcp_qprintf(&tq, + "
" + "Filename:" + "%s
" + "Recorder status:" + "%s
"); switch(pvrr->pvrr_status) { case HTSTV_PVR_STATUS_SCHEDULED: