Issue Details (XML | Word | Printable)

Key: MDL-6774
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Pierre Pichet
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Adding a summary of questions state(graded or not) in quiz attemps

Created: 02/Oct/06 06:50 AM   Updated: 27/Nov/06 11:18 PM
Return to search
Component/s: Quiz
Affects Version/s: 1.7
Fix Version/s: None

Issue Links:
Duplicate
 

Participants: Pierre Pichet and Tim Hunt
Security Level: None
Resolved date: 02/Oct/06
Affected Branches: MOODLE_17_STABLE


 Description  « Hide
Following comment of Tim in http://moodle.org/mod/forum/discuss.php?d=54574#251590 about the webct interface related to the status of questions (graded or not).
joseph Rézeau :Agreed, the WebCT interface for quizzes was just what we need.
Joseph
Tim: So would I.
Are you interested in developping this idea following my suggestion (or in another way) in the same discussion?
http://www.chimie.uqam.ca/images/2809/statusexample.jpg.
adding after line 516 of attemp.php
with the simple following code (line 516 )

    echo "<table><tr><td>Questions submitted and graded:";
    $nn= 0;
            foreach ($questions as $i => $question) {
                $nn++;
         if ( $states[$i]->grade > 0 || $states[$i]->sumpenalty > 0 )
        echo $nn .' <input type="checkbox" name="qgradestate" value="" CHECKED ></td><td>' ;
        else echo $nn .' <input type="checkbox" name="qgradestate" value="" UNCHECKED ></td><td>' ;
        }
    echo "</td></tr></table>";




 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Pierre Pichet added a comment - 02/Oct/06 04:55 PM
This was first suggested as a new feature in MDL-3643 .
I just selected the wrong option when creating it.