diff options
author | Bill Allombert <ballombe@debian.org> | 2011-11-16 12:33:27 +0100 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-03-05 16:39:28 +0000 |
commit | dd7279795c97aa356727d366a2149c9bc838b496 (patch) | |
tree | a87d19d2e5220f5b38aec3b5b036235a59f971c9 /examples/dwww | |
download | menu-debian/2.1.46.tar.gz |
Imported Debian version 2.1.46debian/2.1.46
Diffstat (limited to 'examples/dwww')
-rwxr-xr-x | examples/dwww | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/examples/dwww b/examples/dwww new file mode 100755 index 0000000..788ae5b --- /dev/null +++ b/examples/dwww @@ -0,0 +1,46 @@ +#!/usr/bin/install-menu +#I need menu-1! +# +#NOTE: the first line of this script _must_ be +# equal to "#!/usr/bin/install-menu", otherwise update-menus +# will feed this script old-compat-mode data. +# +#More info: /usr/share/doc/menu/html. +# +#The output of this script still isn't quite right, but it starts +#to be acceptable. +# +compat="menu-1" + +!include menu.h + +compat="menu-2" + +supported; + dwww = "<li><a href=\"/cgi-bin/dwww?type=" + ifelse($dwwwtype,$dwwwtype,"file") + "&location=" + $command "\">" + ifelse($longtitle,$longtitle,$title) "</a>" + ifnempty($description,"<br><font size=-1>"$description "</font>") + "\n"; +endsupported; +startmenu= "<P><font size=+2><b><a name=\"" $section "\">" + $title + "</a></b></font><p><ul type=disc>" + ifnempty($description,"<br><font size=-1>" $description "</font>") + "\n"; +endmenu= "</ul>\n\n"; +submenutitle="<li><font size=2><a href=\"#" $section "\">" + ifelse($longtitle,$longtitle,$title) "</font></a>" + ifnempty($description,"<br><font size=-1>"$description "</font>") + "\n"; +genmenu= "/var/lib/dwww/html/menudefs.hook"; +#the rc copy stuff doesn't work yet, sorry. +rcfile= "/var/lib/dwww/html/menu.html"; +examplercfile="/usr/lib/dwww/menu.html-menu"; +rootprefix= "/"; +userprefix= ".dwww/"; +treewalk="(mc)"; +mainmenutitle="Debian information"; +preoutput="<! automatically generated file. Do not edit (see /usr/share/doc/menu/html)>\n\n"; |