From c93a18ea4e97a4077998d150359c83c8612f77d9 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 12 May 2005 19:47:08 +0000 Subject: [PATCH] only show nominated special awards instead of eligible special awards when assign projects to teams timeslots --- admin/judges_teams_projects.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/judges_teams_projects.php b/admin/judges_teams_projects.php index 8815211..9e4d0ff 100644 --- a/admin/judges_teams_projects.php +++ b/admin/judges_teams_projects.php @@ -177,7 +177,7 @@ if( ($action=="edit" || $action=="assign" ) && $edit) else $ch=""; - echo " ".i18n("Only show projects eligible for awards assigned to this team"); + echo " ".i18n("Only show projects eligible/nominated for awards assigned to this team"); echo ""; echo ""; @@ -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));