<?php require_once 'usercheck.php' ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css">
</head>
<body bgcolor="#FFFFFF">
<?php include 'header.php'; ?>
<?php include 'errors.php'; ?>
<?php
ttdb_connect($db);
// this functionality is only available as administrator.
if (ttus_userIsAdmin($db) != "t") {
tter_errorWithBackButton("You are not an administrator, and thus, ".
"are not allowed to perform this operation.", "Access level error");
exit;
}
ttdb_close($db);
?>
<h1>Administration module</h1>
<p>Here you can customize the different values the system will use, as well as
access some extra tools. </p>
<p>Administer tables: </p>
<table border="0" cellspacing="2" cellpadding="0" width="461">
<tr valign="top">
<td>
<ul>
<li><b><font size="2"><a href="admintable.php?table=users">Users</a></font></b><font size="2"></font><font size="2"><br>
<br>
</font></li>
<li><font size="2"><a href="admintable.php?table=project">Projects</a><br>
<br>
</font></li>
<li><font size="2"><a href="admintable.php?table=software">Software</a><br>
<br>
</font></li>
<li><font size="2"><a href="admintable.php?table=releases">Releases</a><br>
<br>
</font></li>
<li><font size="2"><a href="admintable.php?table=resolution">Resolution
types</a> </font></li>
</ul>
</td>
<td>
<ul>
<li><font size="2"><a href="admintable.php?table=defecttype">Defect types</a><br>
<br>
</font></li>
<li><font size="2"><a href="admintable.php?table=repeat">Repeatability</a><br>
<br>
</font></li>
<li> <font size="2"><a href="admintable.php?table=priority">Priorities</a><br>
<br>
</font></li>
<li><font size="2"><a href="admintable.php?table=detectionmethod">Detection
methods</a> <br>
</font></li>
</ul>
</td>
</tr>
</table>
<p> <br>
</p>
<p>Other utilities:<br>
<br>
</p>
<ul>
<li><a href="admininserts.php">Lookup table SQL generator. </a><br>
<br>
This utility allows you to generate SQL 'insert' commands for the lookup tables,
so that they can be used in a later instalation, to avoid the need of customizing
again these tables. This is a development utility, and an automated process
for doing this is previewed in future releases. <br>
<br>
</li>
<li><font size="2"><a href="log.txt">Application access log</a>.
<?php
if (ENABLE_LOG_ACCESS != "YES")
echo "<b>Log is currently deactivated.</b>";
?>
</font>
<br>
</li>
</ul>
<p> </p>
</body>
<?php include 'footer.php'; ?>
</html>