Commit 530bdc82 authored by Leigh Stoller's avatar Leigh Stoller

Minor cleanup of docwrapped pages. Remove the embedded stylesheet

since that screws up opera (and is incorrect anyway). Add wrapper code
to the docwrappers to include the html header/trailer code when
doing a printable version, and include the proper style sheet.
parent 31bf08b9
<html>
<head>
<title>Emulab.Net - How to Get Started</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>
Overview of the Authorization Scheme, Policy, <br> and "How To Get Started"
......
......@@ -26,7 +26,17 @@ if (strstr($docname, "../")) {
USERERROR("Invalid document name: $docname!", 1);
}
if (!$printable) {
if ($printable) {
#
# Need to spit out some header stuff.
#
echo "<html>
<head>
<link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
</head>
<body>\n";
}
else {
echo "<b><a href=$REQUEST_URI&printable=1>
Printable version of this document</a></b><br>";
}
......@@ -36,7 +46,11 @@ readfile("$docname");
#
# Standard Testbed Footer
#
if (!$printable) {
if ($printable) {
echo "</body>
</html>\n";
}
else {
PAGEFOOTER();
}
?>
......
<html>
<head>
<title>Emulab.Net - Hardware Recommendations</title>
<link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>Hardware Recommendations</h1>
</center>
......
<html>
<head>
<title>Emulab.Net - TMCD Reference</title>
<link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>Testbed Master Control Daemon/Client Reference</h1>
</center>
......
......@@ -24,7 +24,17 @@ if (strstr($docname, "../")) {
USERERROR("Invalid document name: $docname!", 1);
}
if (!$printable) {
if ($printable) {
#
# Need to spit out some header stuff.
#
echo "<html>
<head>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>\n";
}
else {
echo "<b><a href=$REQUEST_URI&printable=1>
Printable version of this document</a></b><br>";
}
......@@ -34,7 +44,11 @@ readfile("$docname");
#
# Standard Testbed Footer
#
if (!$printable) {
if ($printable) {
echo "</body>
</html>\n";
}
else {
PAGEFOOTER();
}
?>
......
<html>
<head>
<title>Emulab.Net - Frequently Asked Questions</title>
</head>
<body>
<center>
<h2>Frequently Asked Questions</h2>
</center>
......
<html>
<head>
<title>Emulab.Net - Information on Project Groups</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h2>Project Groups</h2>
</center>
......
<html>
<head>
<title>Emulab.Net - Hardware Overview</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>
Hardware Overview
......
<html>
<head>
<title>Emulab.Net - Late Breaking News</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>
News
......
<html>
<head>
<title>emulab.net - Administrative Policies</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>Administrative Policies</h1>
</center>
......
<html>
<head>
<title>Emulab.Net - Security Issues</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>
Security Issues
......
<html>
<head>
<title>Emulab.Net - Software Overview</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>
Software Overview
......
<html>
<head>
<title>Emulab.Net - Sponsors</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>
Emulab Sponsors
......
<html>
<head>
<title>Utah Network Testbed - Behind the Scenes</title>
<!-- Changed by: Mac G Newbold, 14-Mar-2001 -->
<link rel='stylesheet' href='../tbstyle-doc.css' type='text/css'>
</head>
<body>
<center>
<h1>Emulab - Behind the Scenes</h1>
</center>
......@@ -217,7 +209,3 @@ directly connected, even for automatically generated IP addresses.
Last modified on Mar 14, 2001
</font>
</p>
</body>
</html>
......@@ -26,7 +26,17 @@ if (strstr($docname, "../")) {
USERERROR("Invalid document name: $docname!", 1);
}
if (!$printable) {
if ($printable) {
#
# Need to spit out some header stuff.
#
echo "<html>
<head>
<link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
</head>
<body>\n";
}
else {
echo "<b><a href=$REQUEST_URI&printable=1>
Printable version of this document</a></b><br>";
}
......@@ -36,7 +46,11 @@ readfile("$docname");
#
# Standard Testbed Footer
#
if (!$printable) {
if ($printable) {
echo "</body>
</html>\n";
}
else {
PAGEFOOTER();
}
?>
......
<html>
<head>
<title>Emulab.Net - Testbed NS Command Extensions</title>
<link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>Emulab - Testbed NS Command Extensions</h1>
</center>
......
<html>
<head>
<title>Utah Network Testbed - Sharks - HOWTO</title>
<link rel='stylesheet' href='../tbstyle-doc.css' type='text/css'>
</head>
<body>
<center>
<h1>Emulab - Sharks - HOWTO</h1>
</center>
......@@ -66,7 +59,3 @@ $ns run
Last modified on Mar 14, 2001
</font>
</p>
</body>
</html>
<html>
<head>
<title>Emulab.Net - Tutorial</title>
<link rel='stylesheet' href='../tbstyle-plain.css' type='text/css'>
</head>
<body>
<center>
<h1>Emulab Tutorial</h1>
</center>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment