Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b591f87e
Commit
b591f87e
authored
May 26, 2010
by
Leigh B Stoller
Browse files
Reorg the copyright stuff a bit to make it easier to install a site
specific copyright.
parent
ed8ccef6
Changes
4
Hide whitespace changes
Inline
Side-by-side
www/copyright-
contrib.html
→
www/copyright-
local.txt
View file @
b591f87e
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-200
4, 2006
University of Utah and the Flux Group.
Copyright (c) 2000-20
1
0 University of Utah and the Flux Group.
All rights reserved.
-->
<p>
<center><b>
Copyright Notice
</b></center>
<br>
Copyright © @SITEDATES@, @SITECOPYRIGHT@
Copyright
©
2000-200
6
, the University of Utah and the Flux Research
<br>
Copyright © 2000-20
1
0, 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
...
...
www/copyright.html
View file @
b591f87e
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-200
4, 2006
University of Utah and the Flux Group.
Copyright (c) 2000-20
1
0 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
©
2000-2006, ALL RIGHTS RESERVED.
All software used on the site is the sole property of
University of Utah and the Flux Research Group.
www/copyright.php
0 → 100644
View file @
b591f87e
<?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
();
}
?>
www/menu.php3
View file @
b591f87e
...
...
@@ -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 © 2000-
$year
The University of Utah</a>
</span>
\n
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment