@@ -39,7 +39,7 @@ |
||
39 | 39 | */ |
40 | 40 | protected function filteredClassNames($classNames, $explicitClassNames) |
41 | 41 | { |
42 | - $classNames = array_filter($classNames, function ($value) use ($explicitClassNames) { |
|
42 | + $classNames = array_filter($classNames, function($value) use ($explicitClassNames) { |
|
43 | 43 | return in_array($value, $explicitClassNames); |
44 | 44 | }); |
45 | 45 | return $classNames; |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | if ($record->hasMethod('isPublished')) { |
40 | 40 | $modifiedLabel = ''; |
41 | 41 | if ($record->isModifiedOnStage) { |
42 | - $modifiedLabel = "<span class='modified'>" . _t('GridFieldSiteTreeState.Modified', 'Modified') . '</span>'; |
|
42 | + $modifiedLabel = "<span class='modified'>"._t('GridFieldSiteTreeState.Modified', 'Modified').'</span>'; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | $published = $record->isPublished(); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | array( |
61 | 61 | 'date' => $record->dbObject('LastEdited')->Nice() |
62 | 62 | ) |
63 | - ) . $modifiedLabel; |
|
63 | + ).$modifiedLabel; |
|
64 | 64 | } |
65 | 65 | } |
66 | 66 | } |
@@ -116,8 +116,8 @@ |
||
116 | 116 | $forTemplate->Fields->push($pageTypes); |
117 | 117 | $forTemplate->Fields->push($addAction); |
118 | 118 | |
119 | - Requirements::css(LUMBERJACK_DIR . '/css/lumberjack.css'); |
|
120 | - Requirements::javascript(LUMBERJACK_DIR . '/javascript/GridField.js'); |
|
119 | + Requirements::css(LUMBERJACK_DIR.'/css/lumberjack.css'); |
|
120 | + Requirements::javascript(LUMBERJACK_DIR.'/javascript/GridField.js'); |
|
121 | 121 | |
122 | 122 | return [$this->targetFragment => $forTemplate->renderWith(__CLASS__)]; |
123 | 123 | } |