Permalink
Browse files

MDL-19391 Database : fixed icon size

  • Loading branch information...
1 parent d76ac3b commit 839e233f1739016108921034bf56acd6c220933f @nebgor nebgor committed with Sam Hemelryk Sep 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/data/lib.php
View
@@ -1315,7 +1315,7 @@ function data_print_template($template, $records, $data, $search='', $page=0, $r
$patterns[]='##approve##';
if (has_capability('mod/data:approve', $context) && ($data->approval) && (!$record->approved)){
- $replacement[] = '<span class="approve"><a href="'.$CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&amp;approve='.$record->id.'&amp;sesskey='.sesskey().'"><img src="'.$OUTPUT->pix_url('i/approve') . '" class="icon" alt="'.get_string('approve').'" /></a></span>';
+ $replacement[] = '<span class="approve"><a href="'.$CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&amp;approve='.$record->id.'&amp;sesskey='.sesskey().'"><img src="'.$OUTPUT->pix_url('i/approve') . '" class="iconsmall" alt="'.get_string('approve').'" /></a></span>';
} else {
$replacement[] = '';
}

0 comments on commit 839e233

Please sign in to comment.