From 57c769a4e8be41fb60e5b398004d288d9b82b058 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 22 Apr 2012 23:34:30 +0000 Subject: [PATCH] add menuplugins git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@943 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 ++-- var/mongoose/html/index.shtml | 4 ++++ var/mongoose/include/menuplugins.jim | 24 ++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100755 var/mongoose/include/menuplugins.jim diff --git a/CONTROL/control b/CONTROL/control index adee78d..d5ad9aa 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -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. diff --git a/var/mongoose/html/index.shtml b/var/mongoose/html/index.shtml index 4fe355f..68aa362 100644 --- a/var/mongoose/html/index.shtml +++ b/var/mongoose/html/index.shtml @@ -119,6 +119,10 @@ $(document).ready(function() { +
+ +
+
diff --git a/var/mongoose/include/menuplugins.jim b/var/mongoose/include/menuplugins.jim new file mode 100755 index 0000000..3ff2496 --- /dev/null +++ b/var/mongoose/include/menuplugins.jim @@ -0,0 +1,24 @@ +#!/mod/bin/jimsh + +source /mod/var/mongoose/lib/setup +require plugin + +proc menuitem {title icon link {width 217}} { + puts " +
+
+ + + +
+ + $title + +
+
+
+" +} + +eval_plugins menu +