*/
protected function remove_allocation_icon($link) {
$icon = new moodle_action_icon();
- $icon->image->src = $this->old_icon_url('i/cross_red_big');
+ $icon->image->src = $this->output->pix_url('i/cross_red_big');
$icon->image->alt = 'X';
$icon->link->url = $link;
if ($summary->example->weight == 1) {
// dirty hack to guess if the current user is example manager or not
$icon = new moodle_action_icon();
- $icon->image->src = $this->old_icon_url('i/edit');
+ $icon->image->src = $this->pix_url('i/edit');
$icon->image->alt = get_string('edit');
$icon->link->url = new moodle_url($CFG->wwwroot . '/mod/workshop/exsubmission.php',
array('cmid' => $this->page->context->instanceid, 'id' => $summary->example->id, 'edit' => 'on'));