only show nominated special awards instead of eligible special awards when assign projects to teams timeslots

This commit is contained in:
james 2005-05-12 19:47:08 +00:00
parent 32e36648b4
commit c93a18ea4e

View File

@ -177,7 +177,7 @@ if( ($action=="edit" || $action=="assign" ) && $edit)
else
$ch="";
echo "<input $ch onclick=\"eligibleclick()\" type=\"checkbox\" name=\"showeligible\"> ".i18n("Only show projects eligible for awards assigned to this team");
echo "<input $ch onclick=\"eligibleclick()\" type=\"checkbox\" name=\"showeligible\"> ".i18n("Only show projects eligible/nominated for awards assigned to this team");
echo "<table>";
echo "</tr>";
@ -237,7 +237,8 @@ if( ($action=="edit" || $action=="assign" ) && $edit)
$pq=mysql_query($querystr);
echo mysql_error();
$eligibleprojects=getProjectsEligibleForAwards($award_ids);
$eligibleprojects=getProjectsEligibleOrNominatedForAwards($award_ids);
// echo nl2br(print_r($eligibleprojects,true));
//the keys are the project numbers, so lets get an array of those too so we can use in_array below
$eligibleprojectsnumbers=array_keys($eligibleprojects);
// echo nl2br(print_r($eligibleprojects,true));