minor updates

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1212 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2012-11-09 21:56:36 +00:00
parent d05632e8d3
commit 3c327ff80d
5 changed files with 21 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Package: webif
Priority: optional
Section: web
Version: 0.10.0-1
Version: 0.10.0-2
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.0.3),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools

View File

@ -80,8 +80,9 @@ proc but {label time {active 1}} {
puts "<div id=buttons style=\"width: $eventpx; margin-left: ${chanpx}px;\">"
but "&lt&lt; -1 Week" $($stt - 3600 * 24 * 7) $($stt - $now >= 3600 * 24 * 7)
but "&lt&lt; -1 Day" $($stt - 3600 * 24) $($stt - $now >= 3600 * 24)
but "&lt&lt; -1 Week" $($stt - 3600 * 24 * 7) \
$($stt - $now + 1 >= 3600 * 24 * 7)
but "&lt&lt; -1 Day" $($stt - 3600 * 24) $($stt - $now >= 3600 * 23)
but "&lt;&lt; Earlier", $($stt - 3600 * 4) $($stt > $now)
but "&lt; Now &gt;" $now $($current == 0)
but "&gt;&gt; Later" $ett;

View File

@ -48,7 +48,11 @@ puts {
<tr>
<td colspan=2 align=center>
<button id=diskdiag style="width: 48%">Hard Disc</button>
}
if {[system model] eq "HDR"} {
puts { <button id=diskdiag style="width: 48%">Hard Disc</button> }
}
puts {
<button id=channelinfo style="width: 48%">Channel Information</button>
</td>
</tr>

View File

@ -2,6 +2,7 @@
package require cgi
source /mod/webif/lib/setup
require plugin
puts "Content-Type: text/html"
puts ""
@ -49,6 +50,15 @@ Use the <i>Open</i> button below to begin.
<ul>
<li><a href=# class=qfile>/mod/etc/anacrontab</a></li>
<li><a href=# class=qfile>/mod/var/spool/cron/crontabs/root</a></li>
}
proc quickedit {file} {
puts "<li><a href=# class=qfile>$file</a></li>"
}
eval_plugins quickedit
puts {
</ul>
</fieldset>
</div>

View File

@ -23,7 +23,8 @@ if {![$ts flag "ODEncrypted"]} {
} else {
lassign [$ts dlnaloc] url
if {$url eq ""} {
alert("Media is encrypted and not indexed by the DLNA Server.");
puts "Media is encrypted and not indexed by the DLNA Server."
exit
}
}