Commit 35e129c1 authored by dongsheng's avatar dongsheng
Browse files

MDL-9758, remove html tags

parent cc232e93
......@@ -968,10 +968,10 @@ function data_print_template($template, $records, $data, $search='',$page=0, $re
'&amp;course='.$data->course.'">'.fullname($record).'</a>';
$patterns[] = '##timeadded##';
$replacement[] = '<span>'.get_string('data:added', 'data').userdate($record->timecreated).'</span>';
$replacement[] = userdate($record->timecreated);
$patterns[] = '##timemodified##';
$replacement [] = '<span>'.get_string('data:modified', 'data').userdate($record->timemodified).'</span>';
$replacement [] = userdate($record->timemodified);
$patterns[]='##approve##';
if (has_capability('mod/data:approve', $context) && ($data->approval) && (!$record->approved)){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment