MINOR Moved timezone coupling in SS_Report labels into timezoneawareness module (from r99178)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111611 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-04 05:33:42 +00:00
parent 405a9c4563
commit f60941648b
1 changed files with 4 additions and 3 deletions

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>"));