We only need to limit the Project registration link because it relies on students

the rest dont have dependencies so display them all the time
This commit is contained in:
james 2004-12-10 22:33:15 +00:00
parent e8167a2fd6
commit c5d1e10c18

View File

@ -57,7 +57,7 @@ $status=studentStatus();
echo outputStatus($status);
echo "</td></tr>";
//project information
//project information - project requires students, so only show the link if the students is complete
echo "<tr><td>";
if($status=="complete")
echo "<a href=\"register_participants_project.php\">";
@ -72,8 +72,7 @@ echo "</td></tr>";
//mentor information
echo "<tr><td>";
if($status=="complete")
echo "<a href=\"register_participants_mentor.php\">";
echo "<a href=\"register_participants_mentor.php\">";
echo i18n("Mentor Information");
if($status=="complete")
echo "</a>";
@ -85,8 +84,7 @@ echo "</td></tr>";
//safety information
echo "<tr><td>";
if($status=="complete")
echo "<a href=\"register_participants_safety.php\">";
echo "<a href=\"register_participants_safety.php\">";
echo i18n("Safety Information");
if($status=="complete")
echo "</a>";