Commit 5d959392 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fixes.

parent a0b80914
......@@ -189,7 +189,7 @@ function ConsoleAuthObject($uid, $nodeid, $console)
}
$console_auth = ConsoleAuthObject($uid, $node_id, $console);
PAGEHEADER("$nodeid Console");
PAGEHEADER("$node_id Console");
$referrer = $_SERVER['HTTP_REFERER'];
......@@ -261,11 +261,11 @@ function StartConsole(id, authobject)
</script>
<?php
echo "<div id='${nodeid}_console' style='width: 100%;'></div>";
echo "<center><button type=button id='${nodeid}_console_kill'>Close</button>" .
echo "<div id='${node_id}_console' style='width: 100%;'></div>";
echo "<center><button type=button id='${node_id}_console_kill'>Close</button>" .
"</center>\n";
echo "<script language=JavaScript>
StartConsole('${nodeid}_console', '$console_auth');
StartConsole('${node_id}_console', '$console_auth');
</script>\n";
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