Index: web/html/account.php
===================================================================
--- web/html/account.php	(revision 151)
+++ web/html/account.php	(working copy)
@@ -59,7 +59,24 @@
 			}
 		}
 
-	} elseif ($_REQUEST["Action"] == "UpdateAccount") {
+	} elseif ($_REQUEST["Action"] == "AccountInfo") {
+		# no editing, just looking up user info
+		#
+		$q = "SELECT Users.*, AccountTypes.AccountType ";
+		$q.= "FROM Users, AccountTypes ";
+		$q.= "WHERE AccountTypes.ID = Users.AccountTypeID ";
+		$q.= "AND Users.ID = ".intval($_REQUEST["ID"]);
+		$result = db_query($q, $dbh);
+		if (!result) {
+			print __("Could not retrieve information for the specified user.");
+		} else {
+			$row = mysql_fetch_assoc($result);
+			display_account_info($row["Username"],
+						$row["AccountType"], $row["Email"], $row["RealName"],
+						$row["IRCNick"]);
+		}
+		
+	}	elseif ($_REQUEST["Action"] == "UpdateAccount") {
 		# user is submitting their modifications to an existing account
 		#
 		process_account_form($atype, "edit", "UpdateAccount",
Index: web/lib/acctfuncs.inc
===================================================================
--- web/lib/acctfuncs.inc	(revision 151)
+++ web/lib/acctfuncs.inc	(working copy)
@@ -586,5 +586,58 @@
 	return;
 }
 
+# Display non-editable account info
+#
+function display_account_info($U="",$T="",
+			$E="",$R="",$I="") {
+	# U: value to display for username
+	# T: value to display for account type
+	# E: value to display for email address
+	# R: value to display for RealName
+	# I: value to display for IRC nick
+
+	global $SUPPORTED_LANGS;
+
+	print "<center>\n";
+	print "<table border='0' cellpadding='0' cellspacing='0' width='33%'>\n";
+	print "<tr><td colspan='2'>&nbsp;</td></tr>\n";
+
+	print "<tr>";
+	print "<td align='left'>".__("Username").":</td>";
+	print "<td align='left'>".$U."</td>";
+	print "</tr>\n";
+	
+	print "<tr>";
+	print "<td align='left'>".__("Account Type").":</td>";
+	print "<td align='left'>";
+	if ($T == "User") {
+		print __("User");
+	} elseif ($T == "Trusted User") {
+		print __("Trusted User");
+	}	elseif ($T == "Developer") {
+		print __("Developer");
+	}
+	print "</td>\n";
+	
+	print "<tr>";
+	print "<td align='left'>".__("Email Address").":</td>";
+	print "<td align='left'>".$E."</td>";
+	print "</tr>\n";
+
+	print "<tr>";
+	print "<td align='left'>".__("Real Name").":</td>";
+	print "<td align='left'>".$R."</td>";
+	print "</tr>\n";
+
+	print "<tr>";
+	print "<td align='left'>".__("IRC Nick").":</td>";
+	print "<td align='left'>".$I."</td>";
+	print "</tr>\n";
+
+	print "</table>\n";
+	print "</center>\n";
+	return;
+}
+
 # vim: ts=2 sw=2 noet ft=php
 ?>
Index: web/lib/pkgfuncs.inc
===================================================================
--- web/lib/pkgfuncs.inc	(revision 151)
+++ web/lib/pkgfuncs.inc	(working copy)
@@ -311,12 +311,18 @@
 			print "  <td colspan='2'><span class='f3'>".__("Maintainer").": ";
 			if ($row["AURMaintainerUID"]) {
 				$maintainer = username_from_id($row["AURMaintainerUID"]);
+				print "<a href='/account.php?Action=AccountInfo&ID=";
+				print $row["MaintainerUID"] . "'>";
+				print $maintainer . "</a></span></td>";
 			} elseif ($row["MaintainerUID"]) {
 				$maintainer = username_from_id($row["MaintainerUID"]);
+				print "<a href='/account.php?Action=AccountInfo&ID=";
+				print $row["MaintainerUID"] . "'>";
+				print $maintainer . "</a></span></td>";
 			} else {
 				$maintainer = "None";
+				print $maintainer . "</span></td>";
 			}
-			print $maintainer . "</span></td>";
 			print "</tr>\n";
 			print "<tr>\n";
 			print "  <td colspan='2'><img src='/images/pad.gif' height='15'></td>";
