Commit eaccade0 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Do not show the ChangeLog outside of Utah (when TBMAINSITE==0). The

ChangeLog does not exist outside of utah, so the link is dangling.
parent 185014d4
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -211,12 +211,14 @@ else {
?>
<table align=center class=stealth border=0>
<tr><td class=stealth align=center><h1>News</h1></td></tr>
<tr><td class=stealth align=center>
<a href = 'doc/docwrapper.php3?docname=ChangeLog.txt'>
(Changelog/Technical Details)</a></td></tr>
</table>
<br />
<?php
if ($TBMAINSITE) {
echo "<tr><td class=stealth align=center>
<a href = 'doc/docwrapper.php3?docname=ChangeLog.txt'>
(Changelog/Technical Details)</a></td></tr>\n";
}
echo "</table>
<br />\n";
# Allow admin caller to flip the archive bit.
$show_archive_clause = "where archived=0";
......
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