MDL-14424 approve icon now bigger + css class added

This commit is contained in:
skodak
2008-04-22 13:34:40 +00:00
parent 0d4542e24b
commit a2067bf38d
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -984,7 +984,7 @@ function data_print_template($template, $records, $data, $search='',$page=0, $re
$patterns[]='##approve##';
if (has_capability('mod/data:approve', $context) && ($data->approval) && (!$record->approved)){
$replacement[] = '<a href="'.$CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&amp;approve='.$record->id.'&amp;sesskey='.sesskey().'"><img src="'.$CFG->pixpath.'/i/approve.gif" class="icon" alt="'.get_string('approve').'" /></a>';
$replacement[] = '<span class="approve"><a href="'.$CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&amp;approve='.$record->id.'&amp;sesskey='.sesskey().'"><img src="'.$CFG->pixpath.'/i/approve.gif" class="icon" alt="'.get_string('approve').'" /></a></span>';
} else {
$replacement[] = '';
}
+5
View File
@@ -2,6 +2,11 @@
text-align: right;
}
#mod-data-view .approve img.icon {
width:34px;
height:34px;
}
#mod-data-preset .presetmapping {
text-align: center;
}