mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated questiontype.php to make essay compatible with manual grading…
… (aka removed a lot of code). Adding display.html as a display html template for the essay question type TODO: drop the question_essay_states table and migrate comments to question_sessions
- Loading branch information
mark-nielsen
committed
Apr 8, 2006
1 parent
dbb3c4c
commit a472184
Showing
2 changed files
with
61 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
<div class="qtext"> | |||
<?php echo $questiontext; ?> | |||
</div> | |||
|
|||
<?php if ($image) { ?> | |||
<img class="qimage" src="<?php echo $image; ?>" alt="" /> | |||
<?php } ?> | |||
|
|||
<div class="ablock clearfix"> | |||
<div class="prompt"> | |||
<?php echo $stranswer; ?> | |||
</div> | |||
|
|||
<table class="answer"> | |||
<tr> | |||
<td> | |||
<?php echo $answer; ?> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="c0 feedback"> | |||
<?php echo $feedback; ?> | |||
</td> | |||
</tr> | |||
</table> | |||
<?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?> | |||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters