From 18cafc8c3972c4e724c170cad33b5e4ff1228d46 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Mon, 19 Dec 2011 22:52:17 +0000 Subject: [PATCH] handle ar/pad icons git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@576 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- var/mongoose/include/sched.jim | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index 9763c34..a36cfc4 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 0.8.8 +Version: 0.8.8-1 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: mongoose(>=3.0-2),jim(>=0.71-1),jim-sqlite3(>=0.71-1),jim-cgi(>=0.4-1),jim-oo,jim-pack,service-control,busybox(>=1.19.3-1),lsof,epg(>=1.0.8),hmt(>=1.1.2),ssmtp,anacron diff --git a/var/mongoose/include/sched.jim b/var/mongoose/include/sched.jim index 8d85685..e4ab2f4 100755 --- a/var/mongoose/include/sched.jim +++ b/var/mongoose/include/sched.jim @@ -153,10 +153,11 @@ proc eventrow {event {table TBL_RESERVATION}} { } if {$table eq "pending"} { - if {[$event get action] == 0} { - set icon "add" - } else { - set icon "close" + switch [$event get action] { + 0 { set icon "add" } + 1 { set icon "close" } + 2 { set icon "ar" } + 3 { set icon "pad" } } puts " "