forked from science-ation/science-ation
63178e596b
Update Test API page to link to apidocs and dictionary
35 lines
545 B
PHP
35 lines
545 B
PHP
<?
|
|
include "../user.inc.php";
|
|
?>
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Registration Group/Field Dictionary</title>
|
|
<link rel="stylesheet" href="../apidoc.css" type="text/css" media="all" />
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<h1>Registration Group/Fields Dictionary</h1>
|
|
<table>
|
|
<tr>
|
|
<th>Field</th>
|
|
<th>Label</th>
|
|
<th>Group</th>
|
|
</th>
|
|
<?
|
|
$f=user_get_field_info();
|
|
|
|
foreach($f AS $field=>$data) {
|
|
echo "<tr>\n";
|
|
echo "<td>$field</td>\n";
|
|
echo "<td>{$data['label']}</td>\n";
|
|
echo "<td>{$data['group']}</td>\n";
|
|
echo "</tr>\n";
|
|
}
|
|
?>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|