2012-10-23 22:51:54 +00:00
|
|
|
#!/mod/bin/jimsh
|
|
|
|
|
|
|
|
source /mod/webif/lib/setup
|
|
|
|
require settings.class plugin
|
|
|
|
|
|
|
|
mheader
|
|
|
|
|
2012-10-30 18:58:54 +00:00
|
|
|
source include/searchstyle.jim
|
|
|
|
|
2012-10-23 22:51:54 +00:00
|
|
|
puts "<ul data-role=listview data-inset=true>"
|
|
|
|
|
|
|
|
proc tb {icon txt link {height 80} {width 0}} {
|
|
|
|
if {$width > 0} {
|
|
|
|
set width " width=$width"
|
|
|
|
} else {
|
|
|
|
set width ""
|
|
|
|
}
|
|
|
|
puts -nonewline "<li><a href=\"$link\">
|
|
|
|
<img src=\"$icon\" height=${height}${width} border=0>
|
|
|
|
<h3>$txt</h3>
|
|
|
|
</a></li>"
|
|
|
|
}
|
|
|
|
|
|
|
|
if {[file exists "/mod/bin/ir"]} {
|
|
|
|
tb "/img/remote.png" "Remote" "/plugin/ir/m/index.jim\" rel=\"external"
|
|
|
|
}
|
2012-10-25 23:31:09 +00:00
|
|
|
tb "/images/328_1_26_Menu_TV_Guide.png" "Now/Next" "nownext.jim"
|
2012-10-30 18:58:54 +00:00
|
|
|
|
|
|
|
puts "<li><a id=epgsearch href=#>
|
|
|
|
<img src=/images/328_1_26_Menu_TV_Guide.png height=80 border=0>
|
|
|
|
<h3>Search EPG</h3>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li id=xepgsearch class=ui-screen-hidden>
|
|
|
|
"
|
|
|
|
set term ""
|
|
|
|
set full 0
|
|
|
|
source include/searchform.jim
|
|
|
|
puts "</li>"
|
|
|
|
|
|
|
|
tb "/images/323_1_10_Menu_Video.png" "Browse" "browse.jim"
|
|
|
|
tb "/images/321_1_00_Menu_CHList.png" "Schedule" "schedule.jim"
|
2012-10-23 22:51:54 +00:00
|
|
|
tb "/img/spanner.png" "Services" "#"
|
|
|
|
tb "/img/packages.png" "Packages" "#"
|
|
|
|
tb "/images/326_1_00_Menu_Settings.png" "Settings" \
|
|
|
|
"/cgi-bin/settings.jim\" rel=\"external"
|
|
|
|
tb "/img/diagnostics.png" "Diag" "#"
|
2012-10-30 18:58:54 +00:00
|
|
|
tb "/img/desktop.png" "Desktop Version" "/\" rel=\"external"
|
2012-10-23 22:51:54 +00:00
|
|
|
#eval_plugins toolbar
|
|
|
|
|
|
|
|
puts "</ul>"
|
|
|
|
|
|
|
|
mfooter
|
|
|
|
|