science-ation/doc/dictionary.php
james 63178e596b Add dictionary documentation
Update Test API page to link to apidocs and dictionary
2010-11-18 17:24:18 +00:00

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>