Commit 5d959392 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fixes.

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