#!/mod/bin/jimsh source /mod/webif/lib/setup require system.class puts "Humax [system model] Fox T2 ([system hostname])" puts " Humax [system model] Fox T2 ([system hostname]) " puts { } noheader jqplugin enadis puts { } if [dict exists $env SCRIPT_NAME] { set pageid [string range $env(SCRIPT_NAME) 3 end-4] } else { set pageid test } set _dialog 0 if {[string range $pageid end-1 end] eq "_d"} { set _dialog 1 } set _bare 0 if {[string range $pageid end-1 end] eq "_b"} { set _bare 1 } puts "" proc _header {{title ""}} { if {$title eq ""} { set title "[system model] ([system hostname])" } return "

$title

" } if {$_bare} { puts "" } elseif {$_dialog} { puts "
\n" } else { puts "
[_header]
} set renderstart [clock milliseconds]