… | |
… | |
79 | |
79 | |
80 | print "<?xml version='1.0' encoding='utf-8'?>", |
80 | print "<?xml version='1.0' encoding='utf-8'?>", |
81 | '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', |
81 | '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">', |
82 | "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>", |
82 | "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>", |
83 | "<head>", |
83 | "<head>", |
84 | "<title>Crossfire Map \"$path\"</title>", |
84 | "<title>Deliantra Map \"$path\"</title>", |
85 | "<link rel='stylesheet' type='text/css' media='all' href='/common.css'/>\n", |
85 | "<link rel='stylesheet' type='text/css' media='all' href='/common.css'/>\n", |
86 | "<link rel='stylesheet' type='text/css' media='all' href='/overlay.css' title='Show Overlays'/>\n", |
86 | "<link rel='stylesheet' type='text/css' media='all' href='/overlay.css' title='Show Overlays'/>\n", |
87 | "<link rel='alternate stylesheet' type='text/css' media='all' href='/plain.css' title='Hide Overlays'/>\n", |
87 | "<link rel='alternate stylesheet' type='text/css' media='all' href='/plain.css' title='Hide Overlays'/>\n", |
88 | "<style type='text/css'>\n", |
88 | "<style type='text/css'>\n", |
89 | ".map { width: ${W}px; height: ${H}px; background-image: url($path[-1].png); }\n", |
89 | ".map { width: ${W}px; height: ${H}px; background-image: url($path[-1].png); }\n", |
… | |
… | |
92 | "</head>", |
92 | "</head>", |
93 | "<body>"; |
93 | "<body>"; |
94 | |
94 | |
95 | print "<table class='nav'>", |
95 | print "<table class='nav'>", |
96 | "<tr class='center'><td class='title' rowspan='3'>", |
96 | "<tr class='center'><td class='title' rowspan='3'>", |
97 | "Crossfire Map<br/>", |
97 | "Deliantra Map<br/>", |
98 | "<span class='big'>"; |
98 | "<span class='big'>"; |
99 | print "<a href='/'>/</a> "; |
99 | print "<a href='/'>/</a> "; |
100 | for (0 .. $#path - 1) { |
100 | for (0 .. $#path - 1) { |
101 | print "<a href='/", (join "/", @path[0..$_]), "/'>$path[$_]</a> / "; |
101 | print "<a href='/", (join "/", @path[0..$_]), "/'>$path[$_]</a> / "; |
102 | } |
102 | } |