if (isset($record)) {
$row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&rid='.$record->id, get_string('single','data'), '', true);
} else {
- $row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&mode=single', get_string('single','data'), '', true);
+ $row[] = new tabobject('single', $CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&mode=single', get_string('single','data'), '', true);
}
if (isloggedin() and !isguest()) {
/// Add the HTML editor(s).
- echo '<td>';
$usehtmleditor = can_use_html_editor() && ($mode != 'csstemplate');
if ($mode == 'listtemplate'){
// Print the list template header.