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

@@ -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
}
}