Allow HTML in site notice (Bug#1002)
This commit is contained in:
parent
2d063650ef
commit
e8d3615b3f
|
@ -73,7 +73,6 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
parent::__construct($output, $indent);
|
parent::__construct($output, $indent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For initializing members of the class.
|
* For initializing members of the class.
|
||||||
*
|
*
|
||||||
|
@ -246,7 +245,6 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
// does nothing by default
|
// does nothing by default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show body.
|
* Show body.
|
||||||
*
|
*
|
||||||
|
@ -368,7 +366,9 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
$this->elementStart('dl', array('id' => 'site_notice',
|
$this->elementStart('dl', array('id' => 'site_notice',
|
||||||
'class' => 'system_notice'));
|
'class' => 'system_notice'));
|
||||||
$this->element('dt', null, _('Site notice'));
|
$this->element('dt', null, _('Site notice'));
|
||||||
$this->element('dd', null, $text);
|
$this->elementStart('dd', null);
|
||||||
|
$this->raw($text);
|
||||||
|
$this->elementEnd('dd');
|
||||||
$this->elementEnd('dl');
|
$this->elementEnd('dl');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user