We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -302,13 +302,13 @@ discard block |
||
| 302 | 302 | // Check for plugin configuration. |
| 303 | 303 | if (!empty($this->conf['fulltext'])) { |
| 304 | 304 | |
| 305 | - $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-no" type="radio" name="' . $this->prefixId . '[fulltext]" value="0" ' . ($isFulltextSearch == 0 ? 'checked="checked"' : '') .' />'; |
|
| 305 | + $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-no" type="radio" name="'.$this->prefixId.'[fulltext]" value="0" '.($isFulltextSearch == 0 ? 'checked="checked"' : '').' />'; |
|
| 306 | 306 | |
| 307 | - $output .= ' <label for="tx-dlf-search-fulltext-no">' . $this->pi_getLL('label.inMetadata', '') . '</label>'; |
|
| 307 | + $output .= ' <label for="tx-dlf-search-fulltext-no">'.$this->pi_getLL('label.inMetadata', '').'</label>'; |
|
| 308 | 308 | |
| 309 | - $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-yes" type="radio" name="' . $this->prefixId . '[fulltext]" value="1" ' . ($isFulltextSearch == 1 ? 'checked="checked"' : '') .'/>'; |
|
| 309 | + $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-yes" type="radio" name="'.$this->prefixId.'[fulltext]" value="1" '.($isFulltextSearch == 1 ? 'checked="checked"' : '').'/>'; |
|
| 310 | 310 | |
| 311 | - $output .= ' <label for="tx-dlf-search-fulltext-yes">' . $this->pi_getLL('label.inFulltext', '') . '</label>'; |
|
| 311 | + $output .= ' <label for="tx-dlf-search-fulltext-yes">'.$this->pi_getLL('label.inFulltext', '').'</label>'; |
|
| 312 | 312 | |
| 313 | 313 | } |
| 314 | 314 | |
@@ -330,9 +330,9 @@ discard block |
||
| 330 | 330 | // Check for plugin configuration. |
| 331 | 331 | if (!empty($this->conf['showLogicalPageField'])) { |
| 332 | 332 | |
| 333 | - $output .= ' <label for="tx-dlf-search-logical-page">' . $this->pi_getLL('label.logicalPage', '') . ': </label>'; |
|
| 333 | + $output .= ' <label for="tx-dlf-search-logical-page">'.$this->pi_getLL('label.logicalPage', '').': </label>'; |
|
| 334 | 334 | |
| 335 | - $output .= ' <input class="tx-dlf-search-logical-page" id="tx-dlf-search-logical-page" type="text" name="' . $this->prefixId . '[logicalPage]" />'; |
|
| 335 | + $output .= ' <input class="tx-dlf-search-logical-page" id="tx-dlf-search-logical-page" type="text" name="'.$this->prefixId.'[logicalPage]" />'; |
|
| 336 | 336 | |
| 337 | 337 | } |
| 338 | 338 | |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | */ |
| 354 | 354 | protected function getFacetsMenuEntry($field, $value, $count, $search, &$state) { |
| 355 | 355 | |
| 356 | - $entryArray = array(); |
|
| 356 | + $entryArray = array (); |
|
| 357 | 357 | |
| 358 | 358 | // Translate value. |
| 359 | 359 | if ($field == 'owner_faceting') { |
@@ -553,7 +553,7 @@ discard block |
||
| 553 | 553 | if ((!empty($this->conf['fulltext']) && !empty($this->piVars['fulltext'])) || preg_match('/fulltext:\((.*)\)/', $this->piVars['query'], $matches)) { |
| 554 | 554 | |
| 555 | 555 | // If the query already is a fulltext query e.g using the facets |
| 556 | - $this->piVars['query'] = empty($matches[1])?$this->piVars['query']:$matches[1]; |
|
| 556 | + $this->piVars['query'] = empty($matches[1]) ? $this->piVars['query'] : $matches[1]; |
|
| 557 | 557 | |
| 558 | 558 | // Search in fulltext field if applicable. query must not be empty! |
| 559 | 559 | if (!empty($this->piVars['query'])) { |
@@ -576,7 +576,7 @@ discard block |
||
| 576 | 576 | // Add extended search query. |
| 577 | 577 | if (!empty($this->piVars['extQuery']) && is_array($this->piVars['extQuery'])) { |
| 578 | 578 | |
| 579 | - $allowedOperators = array('AND', 'OR', 'NOT'); |
|
| 579 | + $allowedOperators = array ('AND', 'OR', 'NOT'); |
|
| 580 | 580 | |
| 581 | 581 | $allowedFields = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['extendedFields'], TRUE); |
| 582 | 582 | |
@@ -679,22 +679,22 @@ discard block |
||
| 679 | 679 | // Clean output buffer. |
| 680 | 680 | \TYPO3\CMS\Core\Utility\GeneralUtility::cleanOutputBuffers(); |
| 681 | 681 | |
| 682 | - $additionalParams = array(); |
|
| 682 | + $additionalParams = array (); |
|
| 683 | 683 | |
| 684 | - if(!empty($this->piVars['logicalPage'])) { |
|
| 684 | + if (!empty($this->piVars['logicalPage'])) { |
|
| 685 | 685 | |
| 686 | 686 | $additionalParams['logicalPage'] = $this->piVars['logicalPage']; |
| 687 | 687 | |
| 688 | 688 | } |
| 689 | 689 | |
| 690 | 690 | // Jump directly to the page view, if there is only one result and it is configured |
| 691 | - if($results->count() == 1 && !empty($this->conf['showSingleResult'])) { |
|
| 691 | + if ($results->count() == 1 && !empty($this->conf['showSingleResult'])) { |
|
| 692 | 692 | |
| 693 | 693 | $linkConf['parameter'] = $this->conf['targetPidPageView']; |
| 694 | 694 | |
| 695 | 695 | $additionalParams['id'] = $results->current()['uid']; |
| 696 | 696 | $additionalParams['highlight_word'] = preg_replace('/\s\s+/', ';', $results->metadata['searchString']); |
| 697 | - $additionalParams['page'] = count($results[0]['subparts']) == 1?$results[0]['subparts'][0]['page']:1; |
|
| 697 | + $additionalParams['page'] = count($results[0]['subparts']) == 1 ? $results[0]['subparts'][0]['page'] : 1; |
|
| 698 | 698 | |
| 699 | 699 | } else { |
| 700 | 700 | |
@@ -63,11 +63,11 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | // add some self calculated header tags |
| 66 | - header('Last-Modified: ' . gmdate( "D, d M Y H:i:s" ) . 'GMT'); |
|
| 66 | + header('Last-Modified: '.gmdate("D, d M Y H:i:s").'GMT'); |
|
| 67 | 67 | header('Cache-Control: max-age=3600, must-revalidate'); |
| 68 | 68 | header('Content-Length: '.strlen($fetchedData)); |
| 69 | 69 | $fi = finfo_open(FILEINFO_MIME); |
| 70 | - header('Content-Type: ' . finfo_buffer($fi, $fetchedData)); |
|
| 70 | + header('Content-Type: '.finfo_buffer($fi, $fetchedData)); |
|
| 71 | 71 | |
| 72 | 72 | // take some tags from request header and overwrite in case already set |
| 73 | 73 | $fetchedHeader = explode("\n", GeneralUtility::getUrl($url, 2)); |
@@ -955,7 +955,7 @@ discard block |
||
| 955 | 955 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
| 956 | 956 | 'tx_dlf_documents.tstamp AS tstamp', |
| 957 | 957 | 'tx_dlf_documents', |
| 958 | - 'tx_dlf_documents.pid=' . intval($this->conf['pages']), |
|
| 958 | + 'tx_dlf_documents.pid='.intval($this->conf['pages']), |
|
| 959 | 959 | '', |
| 960 | 960 | 'tx_dlf_documents.tstamp ASC', |
| 961 | 961 | '1' |
@@ -970,8 +970,8 @@ discard block |
||
| 970 | 970 | |
| 971 | 971 | if (TYPO3_DLOG) { |
| 972 | 972 | |
| 973 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_oai->verbIdentify()] No records found with PID "' . |
|
| 974 | - $this->conf['pages'] . '"', $this->extKey, SYSLOG_SEVERITY_NOTICE); |
|
| 973 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_oai->verbIdentify()] No records found with PID "'. |
|
| 974 | + $this->conf['pages'].'"', $this->extKey, SYSLOG_SEVERITY_NOTICE); |
|
| 975 | 975 | |
| 976 | 976 | } |
| 977 | 977 | |
@@ -233,9 +233,9 @@ |
||
| 233 | 233 | |
| 234 | 234 | // Set some variable defaults. |
| 235 | 235 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
| 236 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 236 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 237 | 237 | |
| 238 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
| 238 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
| 239 | 239 | |
| 240 | 240 | } else { |
| 241 | 241 | |
@@ -59,9 +59,9 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | // Set default values if not set. |
| 61 | 61 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
| 62 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 62 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 63 | 63 | |
| 64 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
| 64 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
| 65 | 65 | |
| 66 | 66 | } else { |
| 67 | 67 | |
@@ -126,9 +126,9 @@ discard block |
||
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | if (TYPO3_DLOG && empty($page1Link) && empty($page2Link)) { |
| 129 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_toolsPdf->getPageLink()] ' . |
|
| 130 | - 'File not found in fileGrp "' . |
|
| 131 | - $this->conf['fileGrpDownload'] . '"', |
|
| 129 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_toolsPdf->getPageLink()] '. |
|
| 130 | + 'File not found in fileGrp "'. |
|
| 131 | + $this->conf['fileGrpDownload'].'"', |
|
| 132 | 132 | $this->extKey, |
| 133 | 133 | SYSLOG_SEVERITY_WARNING); |
| 134 | 134 | } |
@@ -137,18 +137,18 @@ discard block |
||
| 137 | 137 | if (!empty($page1Link)) { |
| 138 | 138 | if ($this->piVars['double']) { |
| 139 | 139 | $page1Link = $this->cObj->typoLink($this->pi_getLL('leftPage', ''), |
| 140 | - array('parameter' => $page1Link, 'title' => $this->pi_getLL('leftPage', ''))); |
|
| 140 | + array ('parameter' => $page1Link, 'title' => $this->pi_getLL('leftPage', ''))); |
|
| 141 | 141 | } else { |
| 142 | 142 | $page1Link = $this->cObj->typoLink($this->pi_getLL('singlePage', ''), |
| 143 | - array('parameter' => $page1Link, 'title' => $this->pi_getLL('singlePage', ''))); |
|
| 143 | + array ('parameter' => $page1Link, 'title' => $this->pi_getLL('singlePage', ''))); |
|
| 144 | 144 | } |
| 145 | 145 | } |
| 146 | 146 | if (!empty($page2Link)) { |
| 147 | 147 | $page2Link = $this->cObj->typoLink($this->pi_getLL('rightPage', ''), |
| 148 | - array('parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', ''))); |
|
| 148 | + array ('parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', ''))); |
|
| 149 | 149 | } |
| 150 | 150 | |
| 151 | - return $page1Link . $page2Link; |
|
| 151 | + return $page1Link.$page2Link; |
|
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | // Set default values if not set. |
| 61 | 61 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
| 62 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 62 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 63 | 63 | |
| 64 | 64 | $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
| 65 | 65 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | .$this->pi_getLL('fulltext-on', '', TRUE).';fulltext-off:' |
| 93 | 93 | .$this->pi_getLL('fulltext-off', '', TRUE).'"> </a>'; |
| 94 | 94 | } else { |
| 95 | - $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">' . $this->pi_getLL('fulltext-not-available', '', TRUE) . '</span>'; |
|
| 95 | + $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">'.$this->pi_getLL('fulltext-not-available', '', TRUE).'</span>'; |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | $content .= $this->cObj->substituteMarkerArray($this->template, $markerArray); |
@@ -58,9 +58,9 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | // Set default values if not set. |
| 60 | 60 | // $this->piVars['page'] may be integer or string (physical structure @ID) |
| 61 | - if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 61 | + if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) { |
|
| 62 | 62 | |
| 63 | - $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1); |
|
| 63 | + $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1); |
|
| 64 | 64 | |
| 65 | 65 | } else { |
| 66 | 66 | |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | // Get left or single page download. |
| 87 | - $markerArray['###IMAGE_LEFT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'], $this->pi_getLL('leftPage', '')) : $this->getImage($this->piVars['page'], $this->pi_getLL('singlePage', '')); |
|
| 87 | + $markerArray['###IMAGE_LEFT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'], $this->pi_getLL('leftPage', '')) : $this->getImage($this->piVars['page'], $this->pi_getLL('singlePage', '')); |
|
| 88 | 88 | |
| 89 | 89 | // Get right page download. |
| 90 | 90 | $markerArray['###IMAGE_RIGHT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'] + 1, $this->pi_getLL('rightPage', '')) : ''; |
@@ -131,11 +131,11 @@ discard block |
||
| 131 | 131 | } |
| 132 | 132 | $linkConf = array ( |
| 133 | 133 | 'parameter' => $image['url'], |
| 134 | - 'title' => $label . ' ' . $mimetypeLabel, |
|
| 134 | + 'title' => $label.' '.$mimetypeLabel, |
|
| 135 | 135 | 'additionalParams' => '', |
| 136 | 136 | ); |
| 137 | 137 | |
| 138 | - $imageLink = $this->cObj->typoLink($label . ' ' . $mimetypeLabel, $linkConf); |
|
| 138 | + $imageLink = $this->cObj->typoLink($label.' '.$mimetypeLabel, $linkConf); |
|
| 139 | 139 | |
| 140 | 140 | break; |
| 141 | 141 | |
@@ -130,22 +130,22 @@ discard block |
||
| 130 | 130 | '###DAYFRI_NAME###' => strftime('%a', strtotime('last Friday')), |
| 131 | 131 | '###DAYSAT_NAME###' => strftime('%a', strtotime('last Saturday')), |
| 132 | 132 | '###DAYSUN_NAME###' => strftime('%a', strtotime('last Sunday')), |
| 133 | - '###MONTHNAME###' => strftime('%B', strtotime($year . '-' . ($i + 1) . '-1')) |
|
| 133 | + '###MONTHNAME###' => strftime('%B', strtotime($year.'-'.($i + 1).'-1')) |
|
| 134 | 134 | ); |
| 135 | 135 | |
| 136 | 136 | // Reset week content of new month. |
| 137 | 137 | $subWeekPartContent = ''; |
| 138 | 138 | |
| 139 | - $firstOfMonth = strtotime($year . '-' . ($i + 1) . '-1'); |
|
| 139 | + $firstOfMonth = strtotime($year.'-'.($i + 1).'-1'); |
|
| 140 | 140 | $lastOfMonth = strtotime('last day of', ($firstOfMonth)); |
| 141 | 141 | $firstOfMonthStart = strtotime('last Monday', $firstOfMonth); |
| 142 | 142 | |
| 143 | 143 | // There are never more than 6 weeks in a month. |
| 144 | 144 | for ($j = 0; $j <= 5; $j++) { |
| 145 | 145 | |
| 146 | - $firstDayOfWeek = strtotime('+ ' . $j . ' Week', $firstOfMonthStart); |
|
| 146 | + $firstDayOfWeek = strtotime('+ '.$j.' Week', $firstOfMonthStart); |
|
| 147 | 147 | |
| 148 | - $weekArray = array( |
|
| 148 | + $weekArray = array ( |
|
| 149 | 149 | '###DAYMON###' => ' ', |
| 150 | 150 | '###DAYTUE###' => ' ', |
| 151 | 151 | '###DAYWED###' => ' ', |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | $linkConf = array ( |
| 186 | 186 | 'useCacheHash' => 1, |
| 187 | 187 | 'parameter' => $this->conf['targetPid'], |
| 188 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($issue['uid']), |
|
| 188 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($issue['uid']), |
|
| 189 | 189 | 'ATagParams' => ' class="title"', |
| 190 | 190 | ); |
| 191 | 191 | |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | - $dayLinkDiv = '<div class="issues"><h4>' . strftime('%d', $currentDayTime) . '</h4><div>'.$dayLinksList.'</div></div>'; |
|
| 215 | + $dayLinkDiv = '<div class="issues"><h4>'.strftime('%d', $currentDayTime).'</h4><div>'.$dayLinksList.'</div></div>'; |
|
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | switch (strftime('%w', strtotime('+ '.$k.' Day', $firstDayOfWeek))) { |
@@ -260,22 +260,22 @@ discard block |
||
| 260 | 260 | $linkConf = array ( |
| 261 | 261 | 'useCacheHash' => 1, |
| 262 | 262 | 'parameter' => $this->conf['targetPid'], |
| 263 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($this->doc->parentId), |
|
| 263 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($this->doc->parentId), |
|
| 264 | 264 | ); |
| 265 | 265 | |
| 266 | - $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' . $this->doc->getTitle($this->doc->parentId), $linkConf); |
|
| 266 | + $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE).' '.$this->doc->getTitle($this->doc->parentId), $linkConf); |
|
| 267 | 267 | |
| 268 | 268 | // Link to current year. |
| 269 | 269 | $linkConf = array ( |
| 270 | 270 | 'useCacheHash' => 1, |
| 271 | 271 | 'parameter' => $this->conf['targetPid'], |
| 272 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($this->doc->uid), |
|
| 272 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($this->doc->uid), |
|
| 273 | 273 | ); |
| 274 | 274 | |
| 275 | 275 | $yearLink = $this->cObj->typoLink($year, $linkConf); |
| 276 | 276 | |
| 277 | 277 | // Prepare list as alternative of the calendar view. |
| 278 | - foreach($allIssues as $dayTime => $issues) { |
|
| 278 | + foreach ($allIssues as $dayTime => $issues) { |
|
| 279 | 279 | |
| 280 | 280 | $markerArrayDay['###DATE_STRING###'] = strftime('%A, %x', $dayTime); |
| 281 | 281 | |
@@ -385,14 +385,14 @@ discard block |
||
| 385 | 385 | |
| 386 | 386 | foreach ($years as $id => $year) { |
| 387 | 387 | |
| 388 | - $linkConf = array( |
|
| 388 | + $linkConf = array ( |
|
| 389 | 389 | 'useCacheHash' => 1, |
| 390 | 390 | 'parameter' => $this->conf['targetPid'], |
| 391 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($year['uid']), |
|
| 392 | - 'title' => $titleAnchor . ': ' . $year['title'] |
|
| 391 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($year['uid']), |
|
| 392 | + 'title' => $titleAnchor.': '.$year['title'] |
|
| 393 | 393 | ); |
| 394 | 394 | |
| 395 | - $yearArray = array( |
|
| 395 | + $yearArray = array ( |
|
| 396 | 396 | '###YEARNAME###' => $this->cObj->typoLink($year['title'], $linkConf), |
| 397 | 397 | ); |
| 398 | 398 | |
@@ -405,9 +405,9 @@ discard block |
||
| 405 | 405 | $linkConf = array ( |
| 406 | 406 | 'useCacheHash' => 1, |
| 407 | 407 | 'parameter' => $this->conf['targetPid'], |
| 408 | - 'additionalParams' => '&' . $this->prefixId . '[id]=' . $this->doc->uid, |
|
| 408 | + 'additionalParams' => '&'.$this->prefixId.'[id]='.$this->doc->uid, |
|
| 409 | 409 | ); |
| 410 | - $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' .$this->doc->getTitle($this->doc->uid), $linkConf); |
|
| 410 | + $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE).' '.$this->doc->getTitle($this->doc->uid), $linkConf); |
|
| 411 | 411 | |
| 412 | 412 | // Fill markers. |
| 413 | 413 | $markerArray = array ( |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | // check if tx_dlf_metadata.xpath exists anyhow |
| 65 | 65 | $fieldsInDatabase = $GLOBALS['TYPO3_DB']->admin_get_fields('tx_dlf_metadata'); |
| 66 | 66 | |
| 67 | - if (! in_array('xpath', array_keys($fieldsInDatabase))) { |
|
| 67 | + if (!in_array('xpath', array_keys($fieldsInDatabase))) { |
|
| 68 | 68 | |
| 69 | 69 | return $uids; |
| 70 | 70 | |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | |
| 142 | 142 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
| 143 | 143 | |
| 144 | - if($resArray['column_name'] == 'tokenized' |
|
| 144 | + if ($resArray['column_name'] == 'tokenized' |
|
| 145 | 145 | || $resArray['column_name'] == 'stored' |
| 146 | 146 | || $resArray['column_name'] == 'indexed' |
| 147 | 147 | || $resArray['column_name'] == 'boost' |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | // Copy the content of the old tables to the new ones |
| 174 | 174 | $result = $GLOBALS['TYPO3_DB']->sql_query($sqlQuery); |
| 175 | 175 | |
| 176 | - if($result) { |
|
| 176 | + if ($result) { |
|
| 177 | 177 | |
| 178 | 178 | $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
| 179 | 179 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |