Merge branch 'MDL-42521_master' of git://github.com/grabs/moodle

This commit is contained in:
Damyon Wiese 2013-11-04 10:56:12 +08:00
commit f859f6b4e6
3 changed files with 6 additions and 2 deletions

View File

@ -251,7 +251,7 @@ class feedback_item_multichoice extends feedback_item_base {
-  '.trim($val->answertext).':
</td>
<td align="left" style="width:'.FEEDBACK_MAX_PIX_LENGTH.';">
<img alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />
<img class="feedback_bar_image" alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />
&nbsp;'.$val->answercount.$str_quotient.'
</td>';
echo '</tr>';

View File

@ -223,7 +223,7 @@ class feedback_item_multichoicerated extends feedback_item_base {
echo '<td align="left" valign="top">';
echo '-&nbsp;&nbsp;'.trim($val->answertext).' ('.$val->value.'):</td>';
echo '<td align="left" style="width: '.FEEDBACK_MAX_PIX_LENGTH.'">';
echo '<img alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />';
echo '<img class="feedback_bar_image" alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />';
echo $val->answercount;
if ($val->quotient > 0) {
echo '&nbsp;('.$quotient.'&nbsp;%)';

View File

@ -104,3 +104,7 @@ ul#feedback_draglist {
div#feedback_dragarea {
width:95%;
}
div img.feedback_bar_image {
height: 10px;
}