# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: moodle/lib/outputrenderers.php --- moodle/lib/outputrenderers.php Base (1.240) +++ moodle/lib/outputrenderers.php Locally Modified (Based On 1.240) @@ -1400,10 +1400,11 @@ $popuplink = new moodle_url("$url&popup=1"); $action = new popup_action('click', $popuplink, 'ratings', array('height' => 400, 'width' => 600)); - $ratinghtml .= $aggregatelabel.get_string('labelsep', 'langconfig').$this->action_link($nonpopuplink, $aggregatehtml, $action); - } else { - $ratinghtml .= $aggregatelabel.get_string('labelsep', 'langconfig').$aggregatehtml; + $aggregatehtml = $this->action_link($nonpopuplink, $aggregatehtml, $action); } + $ratinghtml .= html_writer::tag('div', + $aggregatelabel . get_string('labelsep', 'langconfig') . $aggregatehtml, + array('class' => 'ratingaggregate')); } $formstart = null;