Commit 5f5e74bb authored by Kevin Atkinson's avatar Kevin Atkinson

Convert links to point to WIKI page, added file MOVED-TO-WIKI.

parent aa6c3769
# The following documentation files are now available on the WIKI at
# at http://users.emulab.net/trac/emulab/wiki/<PAGE> and will eventually
# be removed from CVS.
FILE WIKI PAGE
event/linktest/linktest.html linktest
www/auth.html Auth
www/doc.php3 .
www/doc/emotes.html emotes
www/doc/exclasses.html Classes
www/doc/hw-recommend.html HWRecommend
www/doc/linkdelays.html linkdelays
www/doc/netbuilddoc.html netbuilddoc
www/doc/pc2000.html pc2000
www/doc/pc3000.html pc3000
www/doc/plab.html plab
www/doc/windows.html Windows
www/groups.html Groups
www/hardware-emulab.net.html UtahHardware
www/otheremulabs.html OtherEmulabs
www/policies.html AdminPolicies
www/rdp-mime.html rdp_mime
www/security.html SecReqs
www/software.html software
www/ssh-mime.html ssh_mine
www/swapping.html Swapping
www/tutorial/advanced.html AdvancedExample
www/tutorial/behindthescenes.html behindthescenes
www/tutorial/elabinelab.php3 elabinelab
www/tutorial/eventsystem.html eventsystem
www/tutorial/firewall.html firewall
www/tutorial/gnuradio.html gnuradio
www/tutorial/ixp.html ixp
www/tutorial/netfpga.html netfpga
www/tutorial/nscommands.html nscommands
www/tutorial/nse.html nse
www/tutorial/routing.html routing
www/tutorial/secure.html secure
www/tutorial/tutorial.html Tutorial
www/tutorial/tutorial.php3 Tutorial
www/tutorial/vnodes.html vnodes
www/tutorial/widearea.html widearea
www/tutorial/wireless.html wireless
www/widearea.html widearea
......@@ -88,9 +88,9 @@ echo "
</table>
<br />
<b>Important group
<a href='docwrapper.php3?docname=groups.html#SECURITY'>
<a href='$WIKIDOCURL/Groups#SECURITY'>
security issues</a> are discussed in the
<a href='docwrapper.php3?docname=groups.html'>Groups Tutorial</a>.
<a href='$WIKIDOCURL/Groups'>Groups Tutorial</a>.
</b>
</center><br />
......
......@@ -159,6 +159,7 @@ function SPITFORM($formfields, $errors)
global $EXPOSELINKTEST, $EXPOSEARCHIVE;
global $EXPOSESTATESAVE;
global $TBVALIDDIRS_HTML;
global $WIKIDOCURL;
PAGEHEADER("Begin a Testbed Experiment");
......@@ -483,8 +484,7 @@ function SPITFORM($formfields, $errors)
else {
echo "<tr>
<td class='pad4'>
<a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#swapping'>
<a href='$WIKIDOCURL/Swapping#swapping'>
Swapping:</td>
<td>
<table cellpadding=0 cellspacing=0 border=0><tr>
......@@ -496,8 +496,7 @@ function SPITFORM($formfields, $errors)
echo " checked='1'";
}
echo "></td>
<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#idleswap'>
<td><a href='$WIKIDOCURL/Swapping#idleswap'>
<b>Idle-Swap:</b></a> Swap out this experiment
after
<input type='text' name='formfields[exp_idleswap_timeout]'
......@@ -520,8 +519,7 @@ function SPITFORM($formfields, $errors)
echo " checked='1'";
}
echo "></td>
<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#autoswap'>
<td><a href='$WIKIDOCURL/Swapping#autoswap'>
<b>Max. Duration:</b></a> Swap out after
<input type='text' name='formfields[exp_autoswap_timeout]'
value='";
......@@ -540,8 +538,7 @@ function SPITFORM($formfields, $errors)
}
echo "></td>\n";
echo "<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#swapstatesave'>
echo "<td><a href='$WIKIDOCURL/Swapping#swapstatesave'>
<b>State Saving:</b></a> Save disk state on swapout</td>
</tr>";
}
......@@ -559,8 +556,7 @@ function SPITFORM($formfields, $errors)
}
} else {
echo "<tr>
<td><a href='$TBDOCBASE/doc/docwrapper.php3?".
"docname=linktest.html'>Linktest</a> Option:</td>
<td><a href='$WIKIDOCURL/linktest'>Linktest</a> Option:</td>
<td><select name=\"formfields[exp_linktest]\">
<option value=0>Skip Linktest </option>\n";
......@@ -574,8 +570,7 @@ function SPITFORM($formfields, $errors)
$linktest_levels[$i] . "</option>\n";
}
echo " </select>";
echo " (<a href='$TBDOCBASE/doc/docwrapper.php3?".
"docname=linktest.html'><b>What is this?</b></a>)";
echo " (<a href='$WIKIDOCURL/linktest'><b>What is this?</b></a>)";
echo " </td>
</tr>\n";
}
......@@ -603,7 +598,7 @@ function SPITFORM($formfields, $errors)
echo ">\n";
echo "Batch Mode Experiment &nbsp;
<font size='-1'>(See
<a href='$TBDOCBASE/tutorial/tutorial.php3#BatchMode'>Tutorial</a>
<a href='$WIKIDOCURL/Tutorial'>Tutorial</a>
for more information)</font>
</td>
</tr>\n";
......
......@@ -84,7 +84,7 @@ We'll still be here waiting for you.
</li>
</ul>
<p>
<a href="../doc/docwrapper.php3?docname=netbuilddoc.html">Netbuild Full Reference</a>
<a href="<? echo $WIKIDOCURL ?>/netbuilddoc">Netbuild Full Reference</a>
</p>
<?php
......
......@@ -37,7 +37,7 @@ if ((isset($keyB) && $keyB != "") && (!isset($keyA) || $keyA == "")) {
USERERROR("Oops, not able to proceed!<br>".
"Please read this ".
"<a href='kb-show.php3?xref_tag=forgotpassword'>".
"<a href='$WIKIDOCURL/kb69'>".
"Knowledge Base Entry</a> to see what the likely cause is.", 1);
}
......
......@@ -44,6 +44,7 @@ $TRACCOOKIENAME = "TracCookie";
$MAILMANURL = "http://${USERNODE}/mailman";
$OPSCVSURL = "http://${USERNODE}/cvsweb/cvsweb.cgi";
$OPSJETIURL = "http://${USERNODE}/jabber/jeti.php";
$WIKIDOCURL = "http://${WIKINODE}/wikidocs/wiki";
$MIN_UNIX_UID = @MIN_UNIX_UID@;
$MIN_UNIX_GID = @MIN_UNIX_GID@;
$EXPOSELINKTEST = 1;
......
......@@ -26,7 +26,7 @@
<br>
<li>
<font size="+1">
<a href="docwrapper.php3?docname=exclasses.html"
<a href="https://users.emulab.net/trac/emulab/wiki/Classes"
>Classes that have used Emulab</a>
</font>
</li>
......
......@@ -42,6 +42,7 @@ if (! $experiment->AccessCheck($this_user, $TB_EXPT_MODIFY)) {
function SPITFORM($experiment, $formfields, $errors)
{
global $isadmin, $TBDOCBASE, $linktest_levels, $EXPOSELINKTEST;
global $WIKIDOCURL;
#
# Standard Testbed Header
......@@ -91,7 +92,7 @@ function SPITFORM($experiment, $formfields, $errors)
#
# Swapping goo.
#
$swaplink = "$TBDOCBASE/docwrapper.php3?docname=swapping.html";
$swaplink = "$WIKIDOCURL/Swapping";
echo "<tr>
<td class='pad4'>
......@@ -268,7 +269,7 @@ function SPITFORM($experiment, $formfields, $errors)
echo ">\n";
echo "Batch Mode Experiment &nbsp;
<font size='-1'>(See
<a href='$TBDOCBASE/tutorial/tutorial.php3#BatchMode'>Tutorial</a>
<a href='$WIKIDOCURL/Tutorial#BatchMode'>Tutorial</a>
for more information)</font>
</td>
</tr>\n";
......@@ -278,8 +279,7 @@ function SPITFORM($experiment, $formfields, $errors)
#
if (STUDLY() || $EXPOSELINKTEST) {
echo "<tr>
<td><a href='$TBDOCBASE/doc/docwrapper.php3?".
"docname=linktest.html'>Linktest</a> Option:</td>
<td><a href='$WIKIDOCURL/linktest'>Linktest</a> Option:</td>
<td><select name=\"formfields[linktest_level]\">
<option value=0>Skip Linktest </option>\n";
......@@ -293,8 +293,7 @@ function SPITFORM($experiment, $formfields, $errors)
$linktest_levels[$i] . "</option>\n";
}
echo " </select>";
echo " (<a href='$TBDOCBASE/doc/docwrapper.php3?".
"docname=linktest.html'><b>What is this?</b></a>)";
echo " (<a href='$WIKIDOCURL/linktest'><b>What is this?</b></a>)";
echo " </td>
</tr>\n";
}
......
......@@ -82,6 +82,7 @@ function SPITFORM($formfields, $errors)
{
global $group, $defaultgroup;
global $grabusers, $bestowgrouproot, $curmembers, $nonmembers;
global $WIKIDOCURL;
if ($errors) {
echo "<table class=nogrid
......@@ -111,9 +112,9 @@ function SPITFORM($formfields, $errors)
$group->Show();
echo "<br><center>
Important <a href='docwrapper.php3?docname=groups.html#SECURITY'>
Important <a href='$WIKIDOCURL/Groups#SECURITY'>
security issues</a> are discussed in the
<a href='docwrapper.php3?docname=groups.html'>Groups Tutorial</a>.
<a href='$WIKIDOCURL/Groups'>Groups Tutorial</a>.
</center>\n";
if (count($curmembers) ||
......
......@@ -618,7 +618,7 @@ class Experiment
# Show an experiment.
#
function Show($short = 0, $sortby = "") {
global $TBDBNAME, $TBDOCBASE;
global $TBDBNAME, $TBDOCBASE, $WIKIDOCURL;
$pid = $this->pid();
$eid = $this->eid();
$nodecounts = array();
......@@ -840,27 +840,23 @@ class Experiment
if (ISADMIN()) {
echo "<tr>
<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#swapping'>Swappable:</a></td>
<td><a href='$WIKIDOCURL/Swapping#swapping'>Swappable:</a></td>
<td class=\"left\">$swappable</td>
</tr>\n";
}
echo "<tr>
<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#idleswap'>Idle-Swap:</a></td>
<td><a href='$WIKIDOCURL/Swapping#idleswap'>Idle-Swap:</a></td>
<td class=\"left\">$idleswap</td>
</tr>\n";
echo "<tr>
<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#autoswap'>Max. Duration:</a></td>
<td><a href='$WIKIDOCURL/Swapping#autoswap'>Max. Duration:</a></td>
<td class=\"left\">$autoswap</td>
</tr>\n";
echo "<tr>
<td><a href='$TBDOCBASE/docwrapper.php3?".
"docname=swapping.html#swapstatesave'>Save State:</a></td>
<td><a href='$WIKIDOCURL/Swapping#swapstatesave'>Save State:</a></td>
<td class=\"left\">$savedisk</td>
</tr>\n";
......@@ -896,7 +892,7 @@ class Experiment
}
echo "<tr>
<td><a href='doc/docwrapper.php3?docname=linktest.html'>".
<td><a href='$WIKIDOCURL/linktest'>".
"Linktest Level</a>: </td>
<td class=\"left\">$linktest_level $linktest_running</td>
</tr>\n";
......
......@@ -361,9 +361,9 @@ if (! readfile("${prefix}.map")) {
}
echo "<font size=+1>For more info on using wireless nodes, see the
<a href='tutorial/docwrapper.php3?docname=wireless.html'>
<a href='$WIKIDOCURL/wireless'>
wireless tutorial</a> and the
<a href='tutorial/docwrapper.php3?docname=gnuradio.html'>GNU software
<a href='$WIKIDOCURL/gnuradio'>GNU software
defined radio tutorial</a>.</font>\n";
echo "<center>\n";
......
......@@ -71,13 +71,13 @@ if ($message != "") {
<a href="http://www.cs.utah.edu">School of Computing</a> at the
<a href="http://www.utah.edu">University of Utah</a>.
There are also installations of the Emulab software at more than
<a href="http://www.emulab.net/docwrapper.php3?docname=otheremulabs.html">two
<a href="http://users.emulab.net/trac/emulab/wiki/OtherEmulabs">two
dozen sites</a> around the world, ranging from testbeds with a handful
of nodes up to testbeds with hundreds of nodes.
Emulab is <a href="http://www.emulab.net/expubs.php">widely used</a>
by computer science researchers in the fields of networking and
distributed systems.
It is also used to <a href="http://www.emulab.net/doc/docwrapper.php3?docname=exclasses.html">teach
It is also used to <a href="http://users.emulab.net/trac/emulab/wiki/Classes">teach
classes</a> in those fields.
</p>
......
......@@ -80,6 +80,7 @@ function SPITFORM($formfields, $returning, $errors)
global $TBDB_UIDLEN, $TBDB_PIDLEN, $TBDB_GIDLEN;
global $ACCOUNTWARNING, $EMAILWARNING;
global $WIKISUPPORT, $forwikionly, $WIKIHOME, $USERSELECTUIDS;
global $WIKIDOCURL;
if ($forwikionly)
PAGEHEADER("Wiki Registration");
......@@ -176,7 +177,7 @@ function SPITFORM($formfields, $returning, $errors)
#
echo "<tr>
<td colspan=2>*<a
href='docwrapper.php3?docname=security.html'
href='$WIKIDOCURL/Security'
target=_blank>Username</a>
(alphanumeric, lowercase):</td>
<td class=left>
......@@ -421,7 +422,7 @@ function SPITFORM($formfields, $returning, $errors)
echo "<h4><blockquote><blockquote>
<ol>
<li> Please consult our
<a href = 'docwrapper.php3?docname=security.html' target='_blank'>
<a href = '$WIKIDOCURL/Security' target='_blank'>
security policies</a> for information
regarding passwords and email addresses.\n";
if (!$returning && !$forwikionly) {
......
......@@ -158,7 +158,7 @@ for ($i = 0; $i < $num; $i++) {
}
echo "</table>\n";
echo "<center><font size=-1>".
"The <a href='tutorial/docwrapper.php3?docname=advanced.html#Tracing'>".
"The <a href='$WIKIDOCURL/AdvancedExample#Tracing'>".
"Advanced Tutorial</a> has more info on link Tracing/Monitoring\n".
"</font></center>\n";
......
......@@ -335,8 +335,7 @@ echo "<input type=hidden name=eid value=$eid>\n";
echo "<table align=center border=1>\n";
echo "<tr>
<td><a href='$TBDOCBASE/doc/docwrapper.php3?".
"docname=linktest.html'>Linktest</a> Option:</td>
<td><a href='$WIKIDOCURL/linktest'>Linktest</a> Option:</td>
<td><select name=level>
<option value=0>Skip Linktest </option>\n";
......
......@@ -262,6 +262,7 @@ function WRITEPLABBOTTOMBAR() {
global $login_status, $login_user;
global $TBBASE, $TBDOCBASE, $BASEPATH;
global $THISHOMEBASE;
global $WIKIDOCURL;
if ($login_user) {
$newsBase = $TBBASE;
......@@ -274,7 +275,7 @@ function WRITEPLABBOTTOMBAR() {
<br>
<font size=-1>
<form method=get action=$TBDOCBASE/search.php3>
[ <a href='$TBDOCBASE/doc.php3'>
[ <a href='$WIKIDOCURL'>
Documentation</a> : <input name=query size = 15/>
<input type=submit style='font-size:10px;' value='Search' /> ]
[ <a href='$newsBase/news.php3'>
......@@ -298,6 +299,7 @@ function WRITESIDEBAR() {
global $THISHOMEBASE;
global $EXPOSETEMPLATES;
global $currentusage, $FANCYBANNER, $ELABINELAB, $PLABSUPPORT;
global $WIKIDOCURL;
$firstinitstate = TBGetFirstInitState();
#
......@@ -419,7 +421,7 @@ function WRITESIDEBAR() {
}
if ($rootEmulab) {
NavMenuButton("Other Emulabs",
"$TBDOCBASE/docwrapper.php3?docname=otheremulabs.html");
"$WIKIDOCURL/OtherEmulabs");
} else {
NavMenuButton("Utah Emulab", "http://www.emulab.net/");
}
......@@ -430,7 +432,7 @@ function WRITESIDEBAR() {
NavMenuButton("News $newsDate", "$newsBase/news.php3");
}
NavMenuButton("Documentation", "$TBDOCBASE/doc.php3");
NavMenuButton("Documentation", "$WIKIDOCURL");
if ($rootEmulab) {
# Leave New here about 2 weeks
......
......@@ -40,6 +40,7 @@ function SPITFORM($formfields, $errors)
global $TBDB_UIDLEN, $TBDB_PIDLEN, $TBDB_GIDLEN, $isadmin;
global $target_user, $wikionly;
global $shelllist, $defaultshell;
global $WIKIDOCURL;
$username = $target_user->uid();
$uid_idx = $target_user->uid_idx();
......@@ -351,7 +352,7 @@ function SPITFORM($formfields, $errors)
echo "<h4><blockquote><blockquote>
<ol>
<li> Please consult our
<a href = 'docwrapper.php3?docname=security.html'>
<a href = '$WIKIDOCURL/Security'>
security policies</a> for information
regarding passwords and email addresses.\n";
if (!$wikionly) {
......
......@@ -144,7 +144,7 @@ The current list of features are:
<li>Build and interact with the topology from a single interface.
<li>Interact with existing topologies.
<li>Support for Emulab-specific <a
href="<? echo $TBBASE ?>/tutorial/docwrapper.php3?docname=nscommands.html"
href="<? echo $WIKIDOCURL ?>/nscommands"
>extensions</a> to the NS syntax.
<li>Uses the Emulab <a href="<? echo $TBBASE ?>/xmlrpcapi.php3">XML-RPC</a>
interface.
......@@ -543,8 +543,7 @@ PING node1 (10.1.1.2): 56(84) data bytes
</blockquote>
You can read more about the intricacies of the experimental and control
networks <a href="<?php echo $TBBASE
?>/tutorial/docwrapper.php3?docname=tutorial.html#ControlNet">here</a>.
networks <a href="<?php echo $WIKIDOCURL ?>Tutorial#ControlNet">here</a>.
<?php NLCBODYEND() ?>
......
......@@ -54,6 +54,7 @@ function SPITFORM($formfields, $errors)
{
global $project, $pid, $projlist;
global $TBDB_GIDLEN, $TBDB_UIDLEN;
global $WIKIDOCURL;
if ($errors) {
echo "<table class=nogrid
......@@ -151,9 +152,9 @@ function SPITFORM($formfields, $errors)
</table>\n";
echo "<br><center>
Important <a href=docwrapper.php3?docname=groups.html#SECURITY'>
Important <a href='$WIKIDOCURL/Groups#SECURITY'>
security issues</a> are discussed in the
<a href='docwrapper.php3?docname=groups.html'>Groups Tutorial</a>.
<a href='$WIKIDOCURL/Groups'>Groups Tutorial</a>.
</center>\n";
}
......
......@@ -48,7 +48,7 @@ if (isset($nodetype) && $nodetype == "mote") {
$title = "Mote Form";
$help_message =
"See the
<a href=doc/docwrapper.php3?docname=emotes.html#PROGRAMMING>
<a href=\"$WIKIDOCURL/emotes#PROGRAMMING\">
mote documentation</a> for more info on creating/using custom
mote images.";
# Default to 'srec' files for use with uisp
......@@ -63,7 +63,7 @@ if (isset($nodetype) && $nodetype == "mote") {
$title = "EZ Form";
$help_message =
"See the
<a href=tutorial/docwrapper.php3?docname=tutorial.html#CustomOS>
<a href=$WIKIDOCURL/Tutorial#CustomOS>
tutorial</a> for more info on creating/using custom Images.";
# Default to imagezip ndz files
$filename_extension = "ndz";
......
......@@ -66,6 +66,7 @@ function SPITFORM($formfields, $returning, $errors)
global $usr_keyfile, $FirstInitState;
global $ACCOUNTWARNING, $EMAILWARNING;
global $WIKISUPPORT, $WIKIHOME, $USERSELECTUIDS;
global $WIKIDOCURL;
PAGEHEADER("Start a New Testbed Project");
......@@ -84,7 +85,7 @@ function SPITFORM($formfields, $returning, $errors)
If you are a <font color=red>student
(undergrad or graduate)</font>, please
do not try to start a project! <br>Your advisor must do it.
<a href=docwrapper.php3?docname=auth.html target='_blank'>
<a href='$WIKIDOCURL/Auth' target='_blank'>
Read this for more info.</a>
</font></center><br>\n";
......@@ -166,7 +167,7 @@ function SPITFORM($formfields, $returning, $errors)
Project Head Information:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
<font size=-2>
(Prospective project leaders please read our
<a href='docwrapper.php3?docname=policies.html' target='_blank'>
<a href='$WIKIDOCURL/AdminPolicies' target='_blank'>
Administrative Policies</a>)</font>
</th>
</tr>\n";
......@@ -177,7 +178,7 @@ function SPITFORM($formfields, $returning, $errors)
if ($USERSELECTUIDS || $FirstInitState == "createproject") {
echo "<tr>
<td colspan=2>*<a
href='docwrapper.php3?docname=security.html'
href='$WIKIDOCURL/Security'
target=_blank>Username</a>
(alphanumeric, lowercase):</td>
<td class=left>
......@@ -506,7 +507,7 @@ function SPITFORM($formfields, $returning, $errors)
echo "<tr>
<td colspan=2>Request Access to
<a href=\"$TBDOCBASE/docwrapper.php3?docname=widearea.html\"
<a href=\"$WIKIDOCURL/widearea\"
target='_blank'>Planetlab PCs</a>:</td>
<td class=left>
<input type=checkbox value=checked
......@@ -518,7 +519,7 @@ function SPITFORM($formfields, $returning, $errors)
echo "<tr>
<td colspan=2>Request Access to
<a href=\"$TBDOCBASE/docwrapper.php3?docname=widearea.html\"
<a href=\"$WIKIDOCURL/widearea\"
target='_blank'>wide-area PCs</a>:</td>
<td class=left>
<input type=checkbox value=checked
......@@ -557,7 +558,7 @@ function SPITFORM($formfields, $returning, $errors)
echo "<h4><blockquote><blockquote>
<ol>
<li> Please consult our
<a href = 'docwrapper.php3?docname=security.html' target='_blank'>
<a href = '$WIKIDOCURL/Security' target='_blank'>
security policies</a> for information
regarding passwords and email addresses.\n";
if (! $returning) {
......
......@@ -384,7 +384,7 @@ $num_total = ($num_free + $num_up + $num_down + $num_pd + $num_unk);
mysql_data_seek($query_result, 0);
if (! strcmp($showtype, "widearea")) {
echo "<a href=tutorial/docwrapper.php3?docname=widearea.html>
echo "<a href='$WIKIDOCURL/widearea'>
Widearea Usage Notes</a>\n";
}
......
......@@ -55,6 +55,7 @@ if (CheckLogin($check_status)) {
function SPITFORM($email, $phone, $failed, $simple, $view)
{
global $TBBASE;
global $WIKIDOCURL;
PAGEHEADER("Forgot Your Password?", $view);
......@@ -112,7 +113,7 @@ function SPITFORM($email, $phone, $failed, $simple, $view)
your password.
<br><br>
<b>Please read this <a href='kb-show.php3?xref_tag=forgotpassword'>
<b>Please read this <a href='$WIKIDOCURL/kb69'>
Knowledge Base Entry</a> if you get an error
when trying to use the link we email to you!</b>
</blockquote>\n";
......
......@@ -69,6 +69,7 @@ function SPITFORM($advanced,$formfields, $errors = array()) {
global $TBBASE;
global $plab_types, $plab_type_descr;
global $nodeversions;
global $WIKIDOCURL;
#
# Default autoswap time - very long...
......@@ -280,7 +281,7 @@ function SPITFORM($advanced,$formfields, $errors = array()) {
# Node version
#
echo "<tr>
<td><a href=\"$TBBASE/kb-show.php3?xref_tag=plab-node-versions\">Node version</a>:
<td><a href=\"$WIKIDOCURL/kb272\">Node version</a>:
</td>
<td>
<select name='formfields[nodeversion]'>\n";
......@@ -486,13 +487,13 @@ function SPITFORM($advanced,$formfields, $errors = array()) {
#
echo "<h4>Need a machine to build binaries for PlanetLab? " .
"<a href=nsgen.php3?template=plabdevbox>Make a DevBox</a> inside " .
" Emulab. (<a href=kb-show.php3?xref_tag=PLAB-DEVBOX>More information</a>)</h4>\n";
" Emulab. (<a href=\"$WIKIDOCURL/kb98\">More information</a>)</h4>\n";
#
# Let them know about the devbox support
#
echo "<h4>Want to try your PlanetLab application on Emulab? " .
"<a href=kb-show.php3?xref_tag=plab-on-elab>This page</a> will " .
"<a href=\"$WIKIDOCURL/kb100\">This page</a> will " .
"show you how.</h4>\n";
PAGEFOOTER();
......
......@@ -362,7 +362,7 @@ echo "<td align=\"left\" valign=\"top\" class=\"stealth\">
name=show_cameras
value=Yep
$cam_checked>Show <a
href=\"doc/docwrapper.php3?docname=mobilewireless.html#VISION\">Tracking
href=\"$WIKIDOCURL/wireless#VISION\">Tracking
Camera</a> Bounds</input></td>
</tr>
<tr>
......@@ -370,7 +370,7 @@ echo "<td align=\"left\" valign=\"top\" class=\"stealth\">
name=show_exclusion
value=Yep
$excl_checked>Show <a
href=\"doc/docwrapper.php3?docname=mobilewireless.html#VISION\">Exclusion
href=\"$WIKIDOCURL/wireless#VISION\">Exclusion
Zones</a></input></td>
</tr>
<tr><td colspan=2 align=center><input type=submit value=Update></td></tr>
......
......@@ -80,7 +80,7 @@ WRITESUBMENUBUTTON("OS Descriptor list",
SUBMENUEND();
echo "Listed below are the Images that you can load on your nodes with the
<a href='tutorial/docwrapper.php3?docname=nscommands.html#OS'>
<a href='$WIKIDOCURL/nscommands#OS'>
<tt>tb-set-node-os</tt></a> directive. If the OS you have selected for
a node is not loaded on that node when the experiment is swapped in,
the Testbed system will automatically reload that node's disk with the
......@@ -89,8 +89,8 @@ echo "Listed below are the Images that you can load on your nodes with the
already resident. Please be patient.
<br>
More information on how to create your own Images is in the
<a href='tutorial/tutorial.php3#CustomOS'>Custom OS</a> section of
the <a href='tutorial/tutorial.php3'>Emulab Tutorial.</a>
<a href='$WIKIDOCURL/Tutorial#CustomOS'>Custom OS</a> section of
the <a href='$WIKIDOCURL/Tutorial'>Emulab Tutorial.</a>
<br>\n";
SUBPAGEEND();
......
......@@ -84,7 +84,7 @@ if ($node->HasSerialConsole()) {
#
if ($experiment) {
WRITESUBMENUBUTTON("SSH to node</a> ".
"<a href='docwrapper.php3?docname=ssh-mime.html'>".
"<a href='$WIKIDOCURL/ssh_mine'>".
"(howto)", "nodessh.php3?node_id=$node_id");
}
......
......@@ -71,7 +71,7 @@ WRITESUBMENUBUTTON("Image Descriptor list",
SUBMENUEND();
echo "Listed below are the OS Descriptors that you may use in your NS file
with the <a href='tutorial/docwrapper.php3?docname=nscommands.html#OS'>
with the <a href='$WIKIDOCURL/nscommands#OS'>
<tt>tb-set-node-os</tt></a> directive. If the OS you have selected for
a node is not loaded on that node when the experiment is swapped in,
the Testbed system will automatically reload that node's disk with the
......@@ -80,8 +80,8 @@ echo "Listed below are the OS Descriptors that you may use in your NS file
already resident. Please be patient.
<br>
More information on how to create your own Images is in the
<a href='tutorial/tutorial.php3#CustomOS'>Custom OS</a> section of
the <a href='tutorial/tutorial.php3'>Emulab Tutorial.</a>
<a href='$WIKIDOCURL/Tutorial#CustomOS'>Custom OS</a> section of
the <a href='$WIKIDOCURL/Tutorial'>Emulab Tutorial.</a>
<br>\n";
SUBPAGEEND();
......
......@@ -41,6 +41,7 @@ if (!$isadmin &&
function SPITFORM($formfields, $errors)
{
global $isadmin, $target_user, $BOSSNODE;
global $WIKIDOCURL;
$target_uid = $target_user->uid();
$uid_idx = $target_user->uid_idx();
......@@ -184,7 +185,7 @@ function SPITFORM($formfields, $errors)
echo "<blockquote><blockquote><blockquote>
<ol>
<li> Please consult our
<a href = 'docwrapper.php3?docname=security.html#SSH'>
<a href = '$WIKIDOCURL/SecReqs#SSH'>
security policies</a> for information
regarding ssh public keys.
<li> You should not hand edit your your authorized_keys file on
......
......@@ -39,6 +39,7 @@ if (!$isadmin &&
function SPITFORM($formfields, $errors)
{
global $isadmin, $target_user, $BOSSNODE, $OURDOMAIN;
global $WIKIDOCURL;
$target_uid = $target_user->uid();
$uid_idx = $target_user->uid_idx();
......@@ -173,7 +174,7 @@ function SPITFORM($formfields, $errors)
echo "<blockquote><blockquote><blockquote>
<ol>
<li> Please consult our
<a href = 'docwrapper.php3?docname=security.html#SSH'>
<a href = '$WIKIDOCURL/SecReqs#SSH'>
security policies</a> for information
regarding ssh/sfs public keys.
<li> Note to <a href=http://www.opera.com><b>Opera 5</b></a> users:
......
......@@ -15,6 +15,7 @@ include_once("node_defs.php");
function SHOWNODES($pid, $eid, $sortby, $showclass) {
global $SCRIPT_NAME;
global $TBOPSPID;
global $WIKIDOCURL;
#
# If this is an expt in emulab-ops, we also want to see the reserved
......@@ -205,14 +206,14 @@ function SHOWNODES($pid, $eid, $sortby, $showclass) {
<th class='sorttable_nosort'>Last Log Message</th>\n";
}
echo " <th class='sorttable_nosort'><a href=\"docwrapper.php3?docname=ssh-mime.html\">SSH</a></th>
<th class='sorttable_nosort'><a href=\"kb-show.php3?xref_tag=tiptunnel\">Console</a></th> .
echo " <th class='sorttable_nosort'><a href=\"$WIKIDOCURL/ssh_mine\">SSH</a></th>
<th class='sorttable_nosort'><a href=\"$WIKIDOCURL/kb25\">Console</a></th> .
<th class='sorttable_nosort'>Log</th>";
# Only put out a RDP column header if there are any Windows nodes.
if ($anywindows) {
echo " <th class='sorttable_nosort'>
<a href=\"docwrapper.php3?docname=rdp-mime.html\">RDP</a>
<a href=\"$WIKIDOCURL/rdp_mine\">RDP</a>
</th>\n";
}
echo " </tr></thead>\n";
......
......@@ -240,7 +240,7 @@ $fields['project'] =
$fields['cite_osdi02'] =
array('#type' => 'vlist',
'#label' => "Did you cite our OSDI'02 paper?",
'#link' => "docwrapper.php3?docname=policies.html#reporting",
'#link' => "$WIKIDOCURL/AdminPolicies#reporting",
'#required' => true,
'#elements' => array(
'cite_osdi02' =>
......
......@@ -35,6 +35,7 @@ function SPITFORM($formfields, $errors)
global $TBDB_PIDLEN, $TBDB_GIDLEN, $TBDB_EIDLEN, $TBDOCBASE;
global $projlist;
global $TBVALIDDIRS_HTML;
global $WIKIDOCURL;
PAGEHEADER("Create an Experiment Template");
......@@ -225,7 +226,7 @@ function SPITFORM($formfields, $errors)
echo "<blockquote><blockquote>
<ol>
<li> Please read this
<a href=kb-show.php3?xref_tag=template_parameters>KB entry</a>
<a href='$WIKIDOCURL/kb112'>KB entry</a>
to see what NS extensions are available for templates.
</ol>
</blockquote></blockquote>\n";
......