Admin can login to access private pages (such as add courses)

This commit is contained in:
Némunaire 2012-06-19 01:36:58 +02:00
commit ec1ed49996
12 changed files with 221 additions and 24 deletions

View file

@ -29,6 +29,8 @@ else
foreach($question->getAnswer() as $a)
echo "<li>".$a."</li>";
echo "</ul>";
if ($question->isValidation())
{
?>
<form method="post"
class="invalidation"
@ -43,7 +45,7 @@ else
<input type="submit" value="Valider la question">
</form>
<span style="clear: both; display: block;"></span>
<?php } ?>
<?php } else echo "<strong>La question n'est pas ou plus dans une phase de validation.</strong>"; } ?>
</article>
</section>
<?php include('footer.html') ?>