if ($message->source) {
$this->elementStart('span', 'source');
+ // FIXME: bad i18n. Device should be a parameter (from %s).
$this->text(_('from'));
$this->element('span', 'device', $this->showSource($message->source));
$this->elementEnd('span');
$ns->name);
$this->elementEnd('span');
} else {
- $this->out->element('span', 'device', $source_name);
+ $this->element('span', 'device', $source_name);
}
break;
}