bug 500: Added button to request certificate in learnprogress page if there are passed tests.

bug-1140
Bernhard Fröhlich 11 years ago
parent a53d97b7cb
commit e19037d598

@ -87,11 +87,17 @@ class Progress
echo $this->progress[$i]['lp_id']."&amp;t_id=$this->topic'><img src='images/details.png' class='linkimage' alt='' /></a></td>";
echo "</tr>";
}
$this->totalresult['count']=$i;
$this->totalresult['count']=$i-1;
echo "<tr>";
echo "<td class='td' colspan='6' align='center'>".Statistic_04.' '.$this->totalresult['passed'].'/'.$this->totalresult['count']."</td>";
echo "</tr>";
echo "</tr>\n";
echo"</table>";
if ($this->totalresult['passed'] > 0) {
echo "<form class='info' action='index.php?site=start_test&amp;action=requestCert' method='post'>";
echo "<input type='hidden' name='t_id' value='$this->topic' />";
echo "<input name='submit' class='Button_middle' type='submit' value='".Class_Quiz_11_RequestCert."' />";
echo "</form>";
}
}
}

Loading…
Cancel
Save