radio icon rather than SD/HD for radio programmes.

git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2580 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2016-01-31 19:58:12 +00:00
parent 95bc11d2f1
commit 21de0e6d5a
5 changed files with 20 additions and 12 deletions

View File

@ -4,7 +4,7 @@ Section: web
Version: 1.2.6-2
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.8),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
Depends: webif-channelicons(>=1.1.18),lighttpd(>=1.4.37-2),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7)
Suggests:
Description: An evolving web interface for the Humax.
Tags: http://hummy.tv/forum/threads/6484/

View File

@ -4,7 +4,7 @@ package require cgi
source /mod/webif/lib/setup
require ts.class
heepheader
httpheader
set file [cgi_get file]
set part [cgi_get part]

View File

@ -116,10 +116,14 @@ if {$type eq "ts"} {
<th>Definition</th>
<td>
"
if {[$ts get definition] eq "HD"} {
puts "<img class=va src=/images/172_1_00_HD.png height=21>"
if {[$ts flag Radio]} {
puts "<img class=va src=/img/radio.png height=21>"
} else {
puts "<img class=va src=/images/172_1_26_SD.png height=21>"
if {[$ts get definition] eq "HD"} {
puts "<img class=va src=/images/172_1_00_HD.png height=21>"
} else {
puts "<img class=va src=/images/172_1_26_SD.png height=21>"
}
}
puts "</td>
</tr><tr>

BIN
webif/html/img/radio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

View File

@ -110,15 +110,19 @@ proc {ts iconset} {ts} {
set attrs {}
# HD / SD
if {[$ts get definition] eq "HD"} {
set def HD
set img "172_1_00_HD"
if {[$ts flag Radio]} {
lappend icons [_addicon "/img/radio.png" "Radio Programme"]
} else {
set def SD
set img "172_1_26_SD"
if {[$ts get definition] eq "HD"} {
set def HD
set img "172_1_00_HD"
} else {
set def SD
set img "172_1_26_SD"
}
lappend icons [_addicon "/images/$img.png"]
lappend attrs "def=$def"
}
lappend icons [_addicon "/images/$img.png"]
lappend attrs "def=$def"
# Locked
set locked 0