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

This commit is contained in:
Bernhard Fröhlich 2013-04-10 23:56:15 +02:00
parent a53d97b7cb
commit e19037d598

View file

@ -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 $this->progress[$i]['lp_id']."&amp;t_id=$this->topic'><img src='images/details.png' class='linkimage' alt='' /></a></td>";
echo "</tr>"; echo "</tr>";
} }
$this->totalresult['count']=$i; $this->totalresult['count']=$i-1;
echo "<tr>"; echo "<tr>";
echo "<td class='td' colspan='6' align='center'>".Statistic_04.' '.$this->totalresult['passed'].'/'.$this->totalresult['count']."</td>"; echo "<td class='td' colspan='6' align='center'>".Statistic_04.' '.$this->totalresult['passed'].'/'.$this->totalresult['count']."</td>";
echo "</tr>"; echo "</tr>\n";
echo"</table>"; 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>";
}
} }
} }