/** * The standarized way to print out redcords. This should * RETURN the string to print out. */ public function print_record(MsRecord $record) { global $msConfiguration; $tmpl = $this->record_template; if ($record->get_type()) { $tmpl .= '-' . $record->get_type(); } return wfMsgData($tmpl, $record->data); /* $tmpl = wfMsg($this->record_template); if($tmpl == '<'.$this->record_template.'>') { # the output when there's no such page print $this->record_template." does not exist.<p>"; $tmpl = wgMsg($msConfiguration['default-record-message']); } $ret = strtr($tmpl, $record->data); return $ret; */ }