update to Jim 0.75
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1811 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
c948926cc2
commit
ceccfd9c1d
@ -1,10 +1,10 @@
|
|||||||
Package: webif
|
Package: webif
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: web
|
Section: web
|
||||||
Version: 1.0.9-5
|
Version: 1.0.9-6
|
||||||
Architecture: mipsel
|
Architecture: mipsel
|
||||||
Maintainer: af123@hummypkg.org.uk
|
Maintainer: af123@hummypkg.org.uk
|
||||||
Depends: webif-channelicons(>=1.1.9),mongoose(>=3.0.11),jim(>=0.74-4),jim-oo,jim-sqlite3(>=0.74-1),jim-cgi(>=0.7),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6)
|
Depends: webif-channelicons(>=1.1.9),mongoose(>=3.0.11),jim(>=0.75),jim-oo,jim-sqlite3(>=0.75),jim-cgi(>=0.7),jim-binary(>=0.75),service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6)
|
||||||
Suggests:
|
Suggests:
|
||||||
Description: An evolving web interface for the Humax.
|
Description: An evolving web interface for the Humax.
|
||||||
Tags: http://hummy.tv/forum/threads/4659/
|
Tags: http://hummy.tv/forum/threads/4659/
|
||||||
|
@ -88,8 +88,10 @@ proc rsort {v1 v2} {
|
|||||||
set seen {}
|
set seen {}
|
||||||
set i 0
|
set i 0
|
||||||
foreach record [lsort -command rsort $records] {
|
foreach record [lsort -command rsort $records] {
|
||||||
|
set ename [$record get name]
|
||||||
|
if {$ename eq ""} continue
|
||||||
|
|
||||||
if {$dedup} {
|
if {$dedup} {
|
||||||
set ename [$record get name]
|
|
||||||
if {$ename in $seen} continue
|
if {$ename in $seen} continue
|
||||||
lappend seen $ename
|
lappend seen $ename
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ set runmode cli
|
|||||||
if {[string match {*jim} $argv0]} { set runmode cgi }
|
if {[string match {*jim} $argv0]} { set runmode cgi }
|
||||||
|
|
||||||
set schedtime 1200
|
set schedtime 1200
|
||||||
case $runmode {
|
switch $runmode {
|
||||||
cgi {
|
cgi {
|
||||||
set type [cgi_get type "full"]
|
set type [cgi_get type "full"]
|
||||||
httpheader
|
httpheader
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@ if {![exists -proc altrow]} {
|
|||||||
}
|
}
|
||||||
puts -nonewline "<tr"
|
puts -nonewline "<tr"
|
||||||
if {[string first "class=" $attrs] == -1} {
|
if {[string first "class=" $attrs] == -1} {
|
||||||
case $i {
|
switch $i {
|
||||||
0 { puts -nonewline " class=odd" }
|
0 { puts -nonewline " class=odd" }
|
||||||
1 { puts -nonewline " class=even" }
|
1 { puts -nonewline " class=even" }
|
||||||
}
|
}
|
||||||
|
@ -97,5 +97,8 @@ if {![exists -proc require]} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require fileops overrides
|
require fileops overrides
|
||||||
|
|
||||||
|
# Jim 0.75 removes legacy 'case'
|
||||||
|
alias case switch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user