Commit 664be064 authored by Robert Ricci's avatar Robert Ricci

Added a 'printable' link

parent 1a41e873
......@@ -5,9 +5,14 @@ require("defs.php3");
#
# Standard Testbed Header
#
PAGEHEADER("Emulab Tutorial");
if (!$printable) {
PAGEHEADER("Emulab Tutorial");
}
if (!$printable) {
echo("<b><a href=$REQUEST_URI?printable=1>Printable version of this document</a></b><br>");
}
echo("<b><a href=$TBDOCBASE/docwrapper.php3?docname=tutorial/tutorial.html&printable=1>Printable version of this document</a></b><br>");
chdir("tutorial");
readfile("tutorial.html");
......@@ -15,6 +20,8 @@ readfile("tutorial.html");
#
# Standard Testbed Footer
#
PAGEFOOTER();
if (!$printable) {
PAGEFOOTER();
}
?>
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