add menuplugins
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@943 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
020e1b707c
commit
57c769a4e8
@ -1,9 +1,9 @@
|
||||
Package: webif
|
||||
Priority: optional
|
||||
Section: web
|
||||
Version: 0.9.6-2
|
||||
Version: 0.9.6-4
|
||||
Architecture: mipsel
|
||||
Maintainer: af123@hummypkg.org.uk
|
||||
Depends: webif-channelicons,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.1)
|
||||
Depends: webif-channelicons,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.1),webif-charts
|
||||
Suggests: ffmpeg,webif-iphone
|
||||
Description: An evolving web interface for the Humax.
|
||||
|
@ -119,6 +119,10 @@ $(document).ready(function() {
|
||||
|
||||
</div>
|
||||
|
||||
<div style="clear: both; padding-top: 1em">
|
||||
<!--#exec cmd="/mod/var/mongoose/include/menuplugins.jim" -->
|
||||
</div>
|
||||
|
||||
<div style="clear: both">
|
||||
<!--#exec cmd="/mod/var/mongoose/include/mediatomb.jim" -->
|
||||
<!--#exec cmd="/mod/var/mongoose/include/transmission.jim" -->
|
||||
|
24
var/mongoose/include/menuplugins.jim
Executable file
24
var/mongoose/include/menuplugins.jim
Executable file
@ -0,0 +1,24 @@
|
||||
#!/mod/bin/jimsh
|
||||
|
||||
source /mod/var/mongoose/lib/setup
|
||||
require plugin
|
||||
|
||||
proc menuitem {title icon link {width 217}} {
|
||||
puts "
|
||||
<div class=left>
|
||||
<center>
|
||||
<a href=$link>
|
||||
<img src=$icon border=0 width=$width>
|
||||
</a>
|
||||
<br>
|
||||
<a href=$link>
|
||||
<b>$title</b>
|
||||
</a>
|
||||
<br>
|
||||
</center>
|
||||
</div>
|
||||
"
|
||||
}
|
||||
|
||||
eval_plugins menu
|
||||
|
Loading…
x
Reference in New Issue
Block a user