diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-27 12:52:18 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-27 12:55:14 +0100 |
commit | c5398ae7a2ea530653e8ac13a06e4cdda1f8d16e (patch) | |
tree | e3fa45b90641888d2f3ffa31d33611fffa721e80 /sqlbox/report.php | |
parent | 03f2cab8ffbc20e1d04b342ac8b635bf1a24c894 (diff) | |
download | sqltutor-plugin-c5398ae7a2ea530653e8ac13a06e4cdda1f8d16e.tar.gz sqltutor-plugin-c5398ae7a2ea530653e8ac13a06e4cdda1f8d16e.tar.bz2 sqltutor-plugin-c5398ae7a2ea530653e8ac13a06e4cdda1f8d16e.zip |
Add link to view all results
Diffstat (limited to 'sqlbox/report.php')
-rw-r--r-- | sqlbox/report.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sqlbox/report.php b/sqlbox/report.php index a3e0e08..d67a6a0 100644 --- a/sqlbox/report.php +++ b/sqlbox/report.php @@ -27,6 +27,11 @@ $PAGE->set_context($context); echo $OUTPUT->header(); +echo '<div class="reportlink">'; +echo "<a href=\"reportall.php?id=$cm->id\">View all results</a>"; +echo '</div>'; + + $sql = "SELECT u.id, translate(to_char(s.correct, 'FM9'), '01', '☒☑'), |