@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function title() |
| 27 | 27 | { |
| 28 | - return _t(__CLASS__ . '.EXTERNALBROKENLINKS', "External broken links report"); |
|
| 28 | + return _t(__CLASS__.'.EXTERNALBROKENLINKS', "External broken links report"); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | public function columns() |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | "Created" => "Checked", |
| 35 | 35 | 'Link' => array( |
| 36 | 36 | 'title' => 'External Link', |
| 37 | - 'formatting' => function ($value, $item) { |
|
| 37 | + 'formatting' => function($value, $item) { |
|
| 38 | 38 | return sprintf( |
| 39 | 39 | '<a target="_blank" href="%s">%s</a>', |
| 40 | 40 | Convert::raw2att($item->Link), |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | 'HTTPCodeDescription' => 'HTTP Error Code', |
| 46 | 46 | "Title" => array( |
| 47 | 47 | "title" => 'Page link is on', |
| 48 | - 'formatting' => function ($value, $item) { |
|
| 48 | + 'formatting' => function($value, $item) { |
|
| 49 | 49 | $page = $item->Page(); |
| 50 | 50 | return sprintf( |
| 51 | 51 | '<a href="%s">%s</a>', |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | $fields = parent::getCMSFields(); |
| 85 | 85 | |
| 86 | - $runReportButton = FormAction::create('createReport', _t(__CLASS__ . '.RUNREPORT', 'Create new report')) |
|
| 86 | + $runReportButton = FormAction::create('createReport', _t(__CLASS__.'.RUNREPORT', 'Create new report')) |
|
| 87 | 87 | ->addExtraClass('btn-primary external-links-report__create-report') |
| 88 | 88 | ->setUseButtonTag(true); |
| 89 | 89 | $fields->push($runReportButton); |