#!/usr/sbin/install-menu
#I need menu-1!
#
#NOTE: the first line of this script _must_ be
# equal to "#!/usr/sbin/install-menu", otherwise update-menus
# will feed this script old-compat-mode data.
#
#More info: /usr/doc/menu/html.
#
#The output of this script still isn't quite right, but it starts
#to be acceptable.
#
compat="menu-1"
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/doc/menu/html)>\n\n"

#  This string defines in what order to dump the $startmenu, $endmenu,
#  and $submenutitle (and it's children). Each char in the string
#  refers to :
#    c  : dump children of menu.
#    m  : dump this menu's $submenutitles
#    (  : dump $startmenu
#    )  : dump $endmenu
#    M  : dump all $sumbmenutitles of this menu and this menu's children.    
#  The default is "c(m)". For olvwm, one needs: "(M)"

