Commit b591f87e authored by Leigh Stoller's avatar Leigh Stoller

Reorg the copyright stuff a bit to make it easier to install a site

specific copyright.
parent ed8ccef6
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-2004, 2006 University of Utah and the Flux Group.
Copyright (c) 2000-2010 University of Utah and the Flux Group.
All rights reserved.
-->
<p>
<center><b>Copyright Notice</b></center>
<br>
Copyright &copy; @SITEDATES@, @SITECOPYRIGHT@
Copyright &copy; 2000-2006, the University of Utah and the Flux Research
<br>
Copyright &copy; 2000-2010, the University of Utah and the Flux Research
Group. ALL RIGHTS RESERVED.
<br>
<br>
This site is operated by @SITENAME@ and is based on software developed and
owned by the University of Utah and the Flux Research Group. Unless
otherwise specified, all materials appearing on this site, including
......
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-2004, 2006 University of Utah and the Flux Group.
Copyright (c) 2000-2010 University of Utah and the Flux Group.
All rights reserved.
-->
<p>
<center><b>Copyright Notice</b></center>
<br>
<!--- This exists to redirect to the PHP script -->
<html>
<head>
<title>Copyright Notice</title>
<META HTTP-EQUIV="Refresh" Content= "0; URL=copyright.php"
ALT="Emulab Copyright Notice">
</head>
</html>
This site is operated by the University of Utah and the Flux Research
Group. Unless otherwise specified, all materials appearing on this
site, including the text, site design, logos, graphics, icons,
images, audio and video clips,
as well as the selection, assembly and arrangement thereof,
are the sole property of the University of Utah and the Flux Research
Group, Copyright &copy; 2000-2006, ALL RIGHTS RESERVED.
All software used on the site is the sole property of
University of Utah and the Flux Research Group.
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# All rights reserved.
#
require("defs.php3");
#
# Verify page arguments.
#
$optargs = OptionalPageArguments("printable", PAGEARG_BOOLEAN);
if (!isset($printable))
$printable = 0;
#
# Standard Testbed Header
#
if (!$printable) {
PAGEHEADER("Emulab Copyright Notice");
}
if ($printable) {
#
# Need to spit out some header stuff.
#
echo "<html>
<head>
<title>Copyright Notice</title>
<link rel='stylesheet' href='tbstyle-plain.css' type='text/css'>
</head>
<body>\n";
}
else {
echo "<b><a href='copyright.php?printable=1'>
Printable version of this document</a></b><br>\n";
echo "<p><center><b>Copyright Notice</b></center><br>\n";
}
#
# Allow for a site specific copyright
#
$sitefile = "copyright-local.html";
if (!file_exists($sitefile)) {
$sitefile = "copyright-standard.html";
}
readfile("$sitefile");
#
# Standard Testbed Footer
#
if ($printable) {
echo "</body>
</html>\n";
}
else {
PAGEFOOTER();
}
?>
......@@ -1212,7 +1212,7 @@ function PAGEFOOTER($view = NULL) {
</ul>
<!-- begin copyright -->
<span class='copyright'>
<a href='$TBDOCBASE/docwrapper.php3?docname=copyright.html'>
<a href=$TBDOCBASE/copyright.php>
Copyright &copy; 2000-$year The University of Utah</a>
</span>\n";
}
......
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