MINOR Moved timezone coupling in SS_Report labels into timezoneawareness module

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99178 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-02-16 20:11:57 +00:00 committed by Sam Minnee
parent e65429d6a6
commit d61a370972

View File

@ -169,11 +169,12 @@ class SS_Report extends ViewableData {
*/
function getCMSFields() {
$fields = new FieldSet(
new LiteralField('ReportTitle', "<h3>{$this->title()}</h3><p>All times are in the server timezone, unless otherwise specified</p>")
new LiteralField(
'ReportTitle',
"<h3>{$this->title()}</h3>"
)
);
// $fields->push();
if($this->description) $fields->push(
new LiteralField('ReportDescription', "<p>{$this->description}</p>"));