Location: PHPKode > projects > Druid Defect Control > defectcontrol_0.9.4/tts/enclosure.php
<?php require_once 'usercheck.php' ?>
<?php require_once 'genform.php' ?>

<html>
<head>
<title>Enclosure</title>
<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'; ?>
<h1>Enclosure</h1>
<p>Modify the fields of the enclosure.</p>

<?php ttdb_connect($db); ?>

<form method="post" action="enclosurepost.php">
  <p>
    <input type="hidden" name="iddefect" value="<?php print($iddefect); ?>">
    <input type="hidden" name="idenclosure" value="<?php print($idenclosure); ?>">
  </p>
  <table width="100%" border="0" cellpadding="2" class="tableStyle">
    <tr> 
      <td class="tableFieldName" width="30%" valign="top">Enclosure title</td>
      <td class="tableFieldContent" width="70%"> 
        <input type="text" name="fTitle" size="50" maxlength="50" value="<?php print($fTitle); ?>">
      </td>
  </tr>
  <tr> 
      <td class="tableFieldName" width="30%" valign="top">Description</td>
      <td class="tableFieldContent" width="70%"> 
        <textarea name="fText" cols="80" rows="10"><?php print(stripslashes($fText)); ?></textarea>
      </td>
  </tr>
</table>

  <div align="center">
    <p><input type="submit" name="Submit" value="Accept">
    <input type="button" name="cancel" value="Cancel">
  </p></div>
</form>
<?php ttdb_close($db); ?>
</body>
<?php include 'footer.php'; ?>
</html>
Return current item: Druid Defect Control