mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fixing javascript, see bug 4418
This commit is contained in:
parent
a593aeee92
commit
6d08ff4f01
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ $window = (!empty($quiz->popup)) ? 'quizpopup' : '_self';
|
|||
$windowoptions = ($window == '_self') ? '' : "left=0, top=0, height='+window.screen.height+', width='+window.screen.width+', channelmode=yes, fullscreen=yes, scrollbars=yes, resizeable=no, directories=no, toolbar=no, titlebar=no, location=no, status=no, menubar=no";
|
||||
$buttontext = ($numattempts) ? get_string('reattemptquiz', 'quiz') : get_string('attemptquiznow', 'quiz');
|
||||
$buttontext = ($unfinished) ? get_string('continueattemptquiz', 'quiz') : $buttontext;
|
||||
$buttontext = htmlspecialchars($buttontext,ENT_QUOTES);
|
||||
if (!empty($CFG->usesid) && !isset($_COOKIE[session_name()])) {
|
||||
$attempturl=sid_process_url("attempt.php?id=$cm->id");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue