Skip to content

Commit

Permalink
Use standard Moodle icons
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-unikent committed Aug 13, 2015
1 parent 76345bc commit 2b27a02
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@
'action' => 'restore',
'sesskey' => sesskey()
));
$restore = \html_writer::link($restore, '<i class="fa fa-history"></i>', array(
'alt' => $restorestr
));
$restore = $OUTPUT->action_icon($restore, new pix_icon('t/restore', get_string('restore'), '', array('class' => 'iconsmall')));
}

$row[] = $restore;
Expand All @@ -159,9 +157,7 @@
'action' => 'delete',
'sesskey' => sesskey()
));
$delete = \html_writer::link($delete, '<i class="fa fa-trash"></i>', array(
'alt' => $deletestr
));
$delete = $OUTPUT->action_icon($delete, new pix_icon('t/delete', get_string('delete'), '', array('class' => 'iconsmall')));

$row[] = $delete;
}
Expand Down

0 comments on commit 2b27a02

Please sign in to comment.