From dd7279795c97aa356727d366a2149c9bc838b496 Mon Sep 17 00:00:00 2001 From: Bill Allombert Date: Wed, 16 Nov 2011 12:33:27 +0100 Subject: Imported Debian version 2.1.46 --- examples/dwww | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 examples/dwww (limited to 'examples/dwww') 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 = "
  • " + ifelse($longtitle,$longtitle,$title) "" + ifnempty($description,"
    "$description "") + "\n"; +endsupported; +startmenu= "

    " + $title + "

    \n\n"; +submenutitle="
  • " + ifelse($longtitle,$longtitle,$title) "" + ifnempty($description,"
    "$description "") + "\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="\n\n"; -- cgit v1.2.3