Various cleanups

This commit is contained in:
moodler 2006-03-22 14:31:32 +00:00
parent 6c74c1da70
commit f0497d6ff0
3 changed files with 55 additions and 65 deletions

View file

@ -212,6 +212,7 @@ class data_field_base { /// Base class for Database Field Types (see field/*
/// Display the content of the field in browse mode
function display_browse_field($recordid, $template) {
if ($content = get_record('data_content','fieldid', $this->field->id, 'recordid', $recordid)) {
print_object($content);
if (isset($content->content)) {
$options->para = false;
$str = format_text($content->content, $content->content1, $options);