Commit 9c4b544e authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add a status line telling the user how many total PCs he/she is

currently using on the testbed.
parent 2ea7a758
......@@ -50,6 +50,22 @@ if (!$isadmin &&
# Tell the user how many PCs he is using.
$yourpcs = TBUserPCs($target_uid);
if ($yourpcs) {
echo "<center><h2><font color=Red>\n";
if (strcmp($uid, $target_uid))
echo "$uid is using $yourpcs PCs!\n";
echo "You are using $yourpcs PCs!\n";
echo "</font></h2></center>\n";
# Lets show projects.
......@@ -133,7 +149,7 @@ if ($isadmin ||
echo "<br><br><center>
<A href='modusr_form.php3?target_uid=$target_uid'>
Edit User Info?</a>
Edit Profile?</a>
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