blob: b1e5f8461cd21934e29dce61750431c205755922 [file]
<?php
#*****************************************************************************
#
# en_cq_part1.inc
#
# Author: Denis Roy & others
# Date: 2006-08-24
#
# Description: UI for contribution questionnaire
#
# HISTORY:
#
#****************************************************************************
include("../html/header.php");
$Menu = new Menu("en");
include("../modules/menu.php");
$strRequired = "<font class=\"red\">*</font>";
?>
<br />
<td width="100%" valign="top" class="normal">
<form name="form1" method="post" action="cq_post.php">
<font class="large_title">Contribution Questionnaire - <?= $TypeString ?></font><br />
<table width="100%" border="0">
<tr>
<td colspan="2">September 27, 2006</td></tr>
<tr><td width="22%">&#160;</td><td></td></tr>
<tr><td colspan="2"><strong>Committer</strong><br></td></tr>
<tr>
<td colspan="2">Please choose the committer who will be incorporating this contribution into the code base. This is most likely yourself.</td>
</tr>
<tr>
<td>Committer <?= $strRequired ?></td>
<td>
<select name="committer_id">
<option value="" />
<?php
while($myrow = mysql_fetch_assoc($rs_profiles)) {
$strSelected = "";
if($LDAPPerson->getUid() == $myrow['extern_id']) {
$strSelected = "selected=\"selected\"";
}
?>
<option value="<?= $myrow['userid'] ?>" <?= $strSelected ?>><?= $myrow['realname'] ?></option>
<?php
}
?>
</select>
</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr><td colspan="2"><strong>PMC Approval</strong><br></td></tr>
<tr><td colspan="2">PMC Approval is required for all significant contributions; please choose the PMC member who will give approval for this contribution:</td></tr>
<tr>
<td>PMC <?= $strRequired ?></td>
<td>
<select name="projectlead_id">
<option value="" />
<?php
while($myrow = mysql_fetch_assoc($rs_projectleads)) {
?>
<option value="<?= $myrow['userid'] ?>"><?= $myrow['realname'] ?></option>
<?php
}
?>
</select>
</td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr><td colspan="2"><strong>Contribution</strong><br></td></tr>
<tr>
<td colspan="2">Please provide details about the contribution</td>
</tr>
<tr>
<td>Project <?= $strRequired ?></td>
<td>
<select name="component_id">
<option value="" />
<?php
while($myrow = mysql_fetch_assoc($rs_components)) {
?>
<option value="<?= $myrow['product_id'] ?>|<?= $myrow['id'] ?>"><?= $myrow['name'] ?></option>
<?php
}
?>
</select>
</td>
</tr>
<td>Component (if known) </td>
<td><input type="text" size="60" name="component"></td>
</tr>
<tr><td>Contribution Name <?= $strRequired ?></td><td><input type="text" size="60" name="contributionName"></td></tr>
<tr><td>Contribution Version <?= $strRequired ?></td><td><input type="text" size="60" name="contributionVersion"></td></tr>
<tr><td>Contribution Size <?= $strRequired ?> <br>(in lines of code) </td><td><input type="text" size="60" name="contributionSize"></td></tr><tr>
<td valign="top">Contribution Description <?= $strRequired ?> </td>
<td><textarea cols="60" rows="10" name="contributionDescription"></textarea></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td colspan="2"><strong>Supporting Information</strong><br></td></tr>
<tr>
<td valign="top"><p>Provide any additional information you may have regarding intellectual property rights (patents, trademarks, etc.) related to the Contribution.</td>
<td><textarea cols="60" rows="10" name="contributionSupportInfo"></textarea></td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td colspan="2"><strong>Cryptography</strong><br></td></tr><br>
<tr>
<td>Does this contribution deal in any way with cryptography?<?= $strRequired ?></td>
<td><input type="radio" name="crypto" value="yes" /> Yes </td>
</tr>
<tr><td></td><td><input type="radio" name="crypto" value="no" /> No </td>
</tr>
<tr>
<td valign="top">If yes, please provide details</td>
<td><textarea cols="60" rows="10" name="cryptography"></textarea></td>
</tr>
<tr>
<td>Identify the Cryptography algorithm used </td>
<td><input type="text" size="60" name="cryptographyAlgorithm"></td>
</tr>
<tr><td>&nbsp;</td></tr>