[svn r7273] minor edits

This commit is contained in:
dave 2005-11-07 15:58:38 +01:00
parent 797c9ca2ed
commit c69c7fccce

View File

@ -77,7 +77,8 @@ my %areanames =
"rhino.html", "Rhino",
"swings.html", "Swings",
"treeumphant.html", "Tree",
"uworld.html", "Underworld");
"uworld.html", "Gaffered / Underworld",
"subsoil.html", "Subsoil");
# While loop which reads in each line of csv file
while (<CSV>) {
@ -96,7 +97,10 @@ while (<CSV>) {
}
# Construct XHTML line
$templine = "<dt><a href=\"$file#$fragment\">$name</a></dt>";
if($fragment)
{ $templine = "<dt><a href=\"$file#$fragment\">$name</a></dt>" }
else
{ $templine = "<dt><a href=\"$file\">$name</a></dt>" };
$templine = "$templine\n<dd>[$areanames{$file}] $desc";