forked from hummypkg/webif
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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user