We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $this->init($conf); |
| 37 | 37 | |
| 38 | 38 | // Turn cache on. |
| 39 | - $this->setCache(TRUE); |
|
| 39 | + $this->setCache(true); |
|
| 40 | 40 | |
| 41 | 41 | // Quit without doing anything if required configuration variables are not set. |
| 42 | 42 | if (empty($this->conf['pages'])) { |
@@ -114,8 +114,8 @@ discard block |
||
| 114 | 114 | '###VOLUMES###' |
| 115 | 115 | ), |
| 116 | 116 | 'value' => array ( |
| 117 | - $countTitles.($countTitles > 1 ? $this->pi_getLL('titles', '', TRUE) : $this->pi_getLL('title', '', TRUE)), |
|
| 118 | - $countVolumes.($countVolumes > 1 ? $this->pi_getLL('volumes', '', TRUE) : $this->pi_getLL('volume', '', TRUE)) |
|
| 117 | + $countTitles.($countTitles > 1 ? $this->pi_getLL('titles', '', true) : $this->pi_getLL('title', '', true)), |
|
| 118 | + $countVolumes.($countVolumes > 1 ? $this->pi_getLL('volumes', '', true) : $this->pi_getLL('volume', '', true)) |
|
| 119 | 119 | ) |
| 120 | 120 | ); |
| 121 | 121 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $linkConf = array ( |
| 81 | 81 | 'useCacheHash' => 1, |
| 82 | 82 | 'parameter' => $this->conf['targetPid'], |
| 83 | - 'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $piVars, '', TRUE, FALSE), |
|
| 83 | + 'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $piVars, '', true, false), |
|
| 84 | 84 | 'title' => $markerArray['###PAGINATION###'] |
| 85 | 85 | ); |
| 86 | 86 | |
@@ -110,16 +110,16 @@ discard block |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | // Get separator. |
| 113 | - $separator = $this->pi_getLL('separator', ' - ', TRUE); |
|
| 113 | + $separator = $this->pi_getLL('separator', ' - ', true); |
|
| 114 | 114 | |
| 115 | 115 | // Add link to previous page. |
| 116 | 116 | if ($this->piVars['pointer'] > 0) { |
| 117 | 117 | |
| 118 | - $output = $this->pi_linkTP_keepPIvars($this->pi_getLL('prevPage', '<', TRUE), array ('pointer' => $this->piVars['pointer'] - 1, 'page' => (($this->piVars['pointer'] - 1) * $this->conf['limit']) + 1), TRUE).$separator; |
|
| 118 | + $output = $this->pi_linkTP_keepPIvars($this->pi_getLL('prevPage', '<', true), array ('pointer' => $this->piVars['pointer'] - 1, 'page' => (($this->piVars['pointer'] - 1) * $this->conf['limit']) + 1), true).$separator; |
|
| 119 | 119 | |
| 120 | 120 | } else { |
| 121 | 121 | |
| 122 | - $output = $this->pi_getLL('prevPage', '<', TRUE).$separator; |
|
| 122 | + $output = $this->pi_getLL('prevPage', '<', true).$separator; |
|
| 123 | 123 | |
| 124 | 124 | } |
| 125 | 125 | |
@@ -132,21 +132,21 @@ discard block |
||
| 132 | 132 | |
| 133 | 133 | if ($this->piVars['pointer'] != $i) { |
| 134 | 134 | |
| 135 | - $output .= $this->pi_linkTP_keepPIvars(sprintf($this->pi_getLL('page', '%d', TRUE), $i + 1), array ('pointer' => $i, 'page' => ($i * $this->conf['limit']) + 1), TRUE).$separator; |
|
| 135 | + $output .= $this->pi_linkTP_keepPIvars(sprintf($this->pi_getLL('page', '%d', true), $i + 1), array ('pointer' => $i, 'page' => ($i * $this->conf['limit']) + 1), true).$separator; |
|
| 136 | 136 | |
| 137 | 137 | } else { |
| 138 | 138 | |
| 139 | - $output .= sprintf($this->pi_getLL('page', '%d', TRUE), $i + 1).$separator; |
|
| 139 | + $output .= sprintf($this->pi_getLL('page', '%d', true), $i + 1).$separator; |
|
| 140 | 140 | |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | - $skip = TRUE; |
|
| 143 | + $skip = true; |
|
| 144 | 144 | |
| 145 | - } elseif ($skip == TRUE) { |
|
| 145 | + } elseif ($skip == true) { |
|
| 146 | 146 | |
| 147 | - $output .= $this->pi_getLL('skip', '...', TRUE).$separator; |
|
| 147 | + $output .= $this->pi_getLL('skip', '...', true).$separator; |
|
| 148 | 148 | |
| 149 | - $skip = FALSE; |
|
| 149 | + $skip = false; |
|
| 150 | 150 | |
| 151 | 151 | } |
| 152 | 152 | |
@@ -157,11 +157,11 @@ discard block |
||
| 157 | 157 | // Add link to next page. |
| 158 | 158 | if ($this->piVars['pointer'] < $maxPages - 1) { |
| 159 | 159 | |
| 160 | - $output .= $this->pi_linkTP_keepPIvars($this->pi_getLL('nextPage', '>', TRUE), array ('pointer' => $this->piVars['pointer'] + 1, 'page' => ($this->piVars['pointer'] + 1) * $this->conf['limit'] + 1), TRUE); |
|
| 160 | + $output .= $this->pi_linkTP_keepPIvars($this->pi_getLL('nextPage', '>', true), array ('pointer' => $this->piVars['pointer'] + 1, 'page' => ($this->piVars['pointer'] + 1) * $this->conf['limit'] + 1), true); |
|
| 161 | 161 | |
| 162 | 162 | } else { |
| 163 | 163 | |
| 164 | - $output .= $this->pi_getLL('nextPage', '>', TRUE); |
|
| 164 | + $output .= $this->pi_getLL('nextPage', '>', true); |
|
| 165 | 165 | |
| 166 | 166 | } |
| 167 | 167 | |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | |
| 186 | 186 | $this->loadDocument(); |
| 187 | 187 | |
| 188 | - if ($this->doc === NULL || $this->doc->numPages < 1 || empty($this->conf['fileGrpThumbs'])) { |
|
| 188 | + if ($this->doc === null || $this->doc->numPages < 1 || empty($this->conf['fileGrpThumbs'])) { |
|
| 189 | 189 | |
| 190 | 190 | // Quit without doing anything if required variables are not set. |
| 191 | 191 | return $content; |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | $markerArray['###PAGEBROWSER###'] = $this->getPageBrowser(); |
| 282 | 282 | |
| 283 | 283 | // Merge everything with template. |
| 284 | - $content = $this->cObj->substituteMarkerArray($this->cObj->substituteSubpart($this->template, '###ENTRY###', $content, TRUE), $markerArray); |
|
| 284 | + $content = $this->cObj->substituteMarkerArray($this->cObj->substituteSubpart($this->template, '###ENTRY###', $content, true), $markerArray); |
|
| 285 | 285 | |
| 286 | 286 | return $this->pi_wrapInBaseClass($content); |
| 287 | 287 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * @var boolean |
| 28 | 28 | * @access protected |
| 29 | 29 | */ |
| 30 | - protected $error = FALSE; |
|
| 30 | + protected $error = false; |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * This holds the OAI DOM object |
@@ -92,9 +92,9 @@ discard block |
||
| 92 | 92 | * @return DOMElement XML node to add to the OAI response |
| 93 | 93 | */ |
| 94 | 94 | protected function error($type) { |
| 95 | - $this->error = TRUE; |
|
| 95 | + $this->error = true; |
|
| 96 | 96 | |
| 97 | - $error = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'error', htmlspecialchars($this->pi_getLL($type, $type, FALSE), ENT_NOQUOTES, 'UTF-8')); |
|
| 97 | + $error = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'error', htmlspecialchars($this->pi_getLL($type, $type, false), ENT_NOQUOTES, 'UTF-8')); |
|
| 98 | 98 | $error->setAttribute('code', $type); |
| 99 | 99 | |
| 100 | 100 | return $error; |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | */ |
| 309 | 309 | protected function getMetsData(array $metadata) { |
| 310 | 310 | |
| 311 | - $mets = NULL; |
|
| 311 | + $mets = null; |
|
| 312 | 312 | |
| 313 | 313 | // Load METS file. |
| 314 | 314 | $xml = new DOMDocument(); |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | |
| 320 | 320 | if ($root->item(0) instanceof DOMNode) { |
| 321 | 321 | // Import node into DOMDocument. |
| 322 | - $mets = $this->oai->importNode($root->item(0), TRUE); |
|
| 322 | + $mets = $this->oai->importNode($root->item(0), true); |
|
| 323 | 323 | } else { |
| 324 | 324 | $this->devLog('[tx_dlf_oai->getMetsData([data])] No METS part found in document with location "'.$metadata['location'].'"', SYSLOG_SEVERITY_ERROR, $metadata); |
| 325 | 325 | } |
@@ -327,8 +327,8 @@ discard block |
||
| 327 | 327 | $this->devLog('[tx_dlf_oai->getMetsData([data])] Could not load XML file from "'.$metadata['location'].'"', SYSLOG_SEVERITY_ERROR, $metadata); |
| 328 | 328 | } |
| 329 | 329 | |
| 330 | - if ($mets === NULL) { |
|
| 331 | - $mets = $this->oai->createElementNS('http://kitodo.org/', 'kitodo:error', htmlspecialchars($this->pi_getLL('error', 'Error!', FALSE), ENT_NOQUOTES, 'UTF-8')); |
|
| 330 | + if ($mets === null) { |
|
| 331 | + $mets = $this->oai->createElementNS('http://kitodo.org/', 'kitodo:error', htmlspecialchars($this->pi_getLL('error', 'Error!', false), ENT_NOQUOTES, 'UTF-8')); |
|
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | return $mets; |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | $this->init($conf); |
| 351 | 351 | |
| 352 | 352 | // Turn cache off. |
| 353 | - $this->setCache(FALSE); |
|
| 353 | + $this->setCache(false); |
|
| 354 | 354 | |
| 355 | 355 | // Get GET and POST variables. |
| 356 | 356 | $this->getUrlParams(); |
@@ -1137,7 +1137,7 @@ discard block |
||
| 1137 | 1137 | return $resumptionToken; |
| 1138 | 1138 | } |
| 1139 | 1139 | |
| 1140 | - private function devLog($message, $severity, $data = NULL) { |
|
| 1140 | + private function devLog($message, $severity, $data = null) { |
|
| 1141 | 1141 | if (TYPO3_DLOG) { |
| 1142 | 1142 | \TYPO3\CMS\Core\Utility\GeneralUtility::devLog($message, $this->extKey, $severity, $data); |
| 1143 | 1143 | } |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $this->init($conf); |
| 37 | 37 | |
| 38 | 38 | // Disable caching for this plugin. |
| 39 | - $this->setCache(FALSE); |
|
| 39 | + $this->setCache(false); |
|
| 40 | 40 | |
| 41 | 41 | // Load template file. |
| 42 | 42 | if (!empty($this->conf['templateFile'])) { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | // Load current document. |
| 53 | 53 | $this->loadDocument(); |
| 54 | 54 | |
| 55 | - if ($this->doc === NULL) { |
|
| 55 | + if ($this->doc === null) { |
|
| 56 | 56 | |
| 57 | 57 | // Document could not be loaded. |
| 58 | 58 | // Check: |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $this->init($conf); |
| 37 | 37 | |
| 38 | 38 | // Don't cache the output. |
| 39 | - $this->setCache(FALSE); |
|
| 39 | + $this->setCache(false); |
|
| 40 | 40 | |
| 41 | 41 | // Create XML document. |
| 42 | 42 | $rss = new DOMDocument('1.0', 'utf-8'); |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | // Get title of superior document. |
| 120 | 120 | if ((empty($resArray['title']) || !empty($this->conf['prependSuperiorTitle'])) && !empty($resArray['partof'])) { |
| 121 | 121 | |
| 122 | - $superiorTitle = tx_dlf_document::getTitle($resArray['partof'], TRUE); |
|
| 122 | + $superiorTitle = tx_dlf_document::getTitle($resArray['partof'], true); |
|
| 123 | 123 | |
| 124 | 124 | if (!empty($superiorTitle)) { |
| 125 | 125 | |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | $linkConf = array ( |
| 168 | 168 | 'parameter' => $this->conf['targetPid'], |
| 169 | 169 | 'forceAbsoluteUrl' => 1, |
| 170 | - 'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, array ('id' => $resArray['uid']), '', TRUE, FALSE) |
|
| 170 | + 'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, array ('id' => $resArray['uid']), '', true, false) |
|
| 171 | 171 | ); |
| 172 | 172 | |
| 173 | 173 | $item->appendChild($rss->createElement('link', htmlspecialchars($this->cObj->typoLink_URL($linkConf), ENT_NOQUOTES, 'UTF-8'))); |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * |
| 40 | 40 | * @return array HMENU array for menu entry |
| 41 | 41 | */ |
| 42 | - protected function getMenuEntry(array $entry, $recursive = FALSE) { |
|
| 42 | + protected function getMenuEntry(array $entry, $recursive = false) { |
|
| 43 | 43 | |
| 44 | 44 | $entryArray = array (); |
| 45 | 45 | |
@@ -63,37 +63,37 @@ discard block |
||
| 63 | 63 | // Build menu links based on the $entry['points'] array. |
| 64 | 64 | if (!empty($entry['points']) && \TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($entry['points'])) { |
| 65 | 65 | |
| 66 | - $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('page' => $entry['points']), TRUE, FALSE, $this->conf['targetPid']); |
|
| 66 | + $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('page' => $entry['points']), true, false, $this->conf['targetPid']); |
|
| 67 | 67 | |
| 68 | 68 | $entryArray['doNotLinkIt'] = 0; |
| 69 | 69 | |
| 70 | 70 | if ($this->conf['basketButton']) { |
| 71 | 71 | |
| 72 | - $entryArray['basketButtonHref'] = '<a href="'.$this->pi_linkTP_keepPIvars_url(array ('addToBasket' => 'toc', 'logId' => $entry['id'], 'startpage' => $entry['points']), TRUE, FALSE, $this->conf['targetBasket']).'">'.$this->pi_getLL('basketButton', '', TRUE).'</a>'; |
|
| 72 | + $entryArray['basketButtonHref'] = '<a href="'.$this->pi_linkTP_keepPIvars_url(array ('addToBasket' => 'toc', 'logId' => $entry['id'], 'startpage' => $entry['points']), true, false, $this->conf['targetBasket']).'">'.$this->pi_getLL('basketButton', '', true).'</a>'; |
|
| 73 | 73 | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | } elseif (!empty($entry['points']) && is_string($entry['points'])) { |
| 77 | 77 | |
| 78 | - $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('id' => $entry['points'], 'page' => 1), TRUE, FALSE, $this->conf['targetPid']); |
|
| 78 | + $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('id' => $entry['points'], 'page' => 1), true, false, $this->conf['targetPid']); |
|
| 79 | 79 | |
| 80 | 80 | $entryArray['doNotLinkIt'] = 0; |
| 81 | 81 | |
| 82 | 82 | if ($this->conf['basketButton']) { |
| 83 | 83 | |
| 84 | - $entryArray['basketButtonHref'] = '<a href="'.$this->pi_linkTP_keepPIvars_url(array ('addToBasket' => 'toc', 'logId' => $entry['id'], 'startpage' => $entry['points']), TRUE, FALSE, $this->conf['targetBasket']).'">'.$this->pi_getLL('basketButton', '', TRUE).'</a>'; |
|
| 84 | + $entryArray['basketButtonHref'] = '<a href="'.$this->pi_linkTP_keepPIvars_url(array ('addToBasket' => 'toc', 'logId' => $entry['id'], 'startpage' => $entry['points']), true, false, $this->conf['targetBasket']).'">'.$this->pi_getLL('basketButton', '', true).'</a>'; |
|
| 85 | 85 | |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | } elseif (!empty($entry['targetUid'])) { |
| 89 | 89 | |
| 90 | - $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('id' => $entry['targetUid'], 'page' => 1), TRUE, FALSE, $this->conf['targetPid']); |
|
| 90 | + $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('id' => $entry['targetUid'], 'page' => 1), true, false, $this->conf['targetPid']); |
|
| 91 | 91 | |
| 92 | 92 | $entryArray['doNotLinkIt'] = 0; |
| 93 | 93 | |
| 94 | 94 | if ($this->conf['basketButton']) { |
| 95 | 95 | |
| 96 | - $entryArray['basketButtonHref'] = '<a href="'.$this->pi_linkTP_keepPIvars_url(array ('addToBasket' => 'toc', 'logId' => $entry['id'], 'startpage' => $entry['targetUid']), TRUE, FALSE, $this->conf['targetBasket']).'">'.$this->pi_getLL('basketButton', '', TRUE).'</a>'; |
|
| 96 | + $entryArray['basketButtonHref'] = '<a href="'.$this->pi_linkTP_keepPIvars_url(array ('addToBasket' => 'toc', 'logId' => $entry['id'], 'startpage' => $entry['targetUid']), true, false, $this->conf['targetBasket']).'">'.$this->pi_getLL('basketButton', '', true).'</a>'; |
|
| 97 | 97 | |
| 98 | 98 | } |
| 99 | 99 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | // Build sub-menu if available and called recursively. |
| 110 | - if ($recursive == TRUE && !empty($entry['children'])) { |
|
| 110 | + if ($recursive == true && !empty($entry['children'])) { |
|
| 111 | 111 | |
| 112 | 112 | // Build sub-menu only if one of the following conditions apply: |
| 113 | 113 | // 1. "expAll" is set for menu |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - $entryArray['_SUB_MENU'][] = $this->getMenuEntry($child, TRUE); |
|
| 130 | + $entryArray['_SUB_MENU'][] = $this->getMenuEntry($child, true); |
|
| 131 | 131 | |
| 132 | 132 | } |
| 133 | 133 | |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | // Load current document. |
| 214 | 214 | $this->loadDocument(); |
| 215 | 215 | |
| 216 | - if ($this->doc === NULL) { |
|
| 216 | + if ($this->doc === null) { |
|
| 217 | 217 | |
| 218 | 218 | // Quit without doing anything if required variables are not set. |
| 219 | 219 | return array (); |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | // Go through table of contents and create all menu entries. |
| 266 | 266 | foreach ($this->doc->tableOfContents as $entry) { |
| 267 | 267 | |
| 268 | - $menuArray[] = $this->getMenuEntry($entry, TRUE); |
|
| 268 | + $menuArray[] = $this->getMenuEntry($entry, true); |
|
| 269 | 269 | |
| 270 | 270 | } |
| 271 | 271 | |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | // Go through table of contents and create top-level menu entries. |
| 275 | 275 | foreach ($this->doc->tableOfContents as $entry) { |
| 276 | 276 | |
| 277 | - $menuArray[] = $this->getMenuEntry($entry, FALSE); |
|
| 277 | + $menuArray[] = $this->getMenuEntry($entry, false); |
|
| 278 | 278 | |
| 279 | 279 | } |
| 280 | 280 | |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | 'targetUid' => $resArray['uid'] |
| 314 | 314 | ); |
| 315 | 315 | |
| 316 | - $menuArray[0]['_SUB_MENU'][] = $this->getMenuEntry($entry, FALSE); |
|
| 316 | + $menuArray[0]['_SUB_MENU'][] = $this->getMenuEntry($entry, false); |
|
| 317 | 317 | |
| 318 | 318 | } |
| 319 | 319 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | $fetchedHeader = explode("\n", GeneralUtility::getUrl($url, 2)); |
| 75 | 75 | |
| 76 | 76 | foreach ($fetchedHeader as $headerline) { |
| 77 | - if (stripos($headerline, 'Last-Modified:') !== FALSE) { |
|
| 77 | + if (stripos($headerline, 'Last-Modified:') !== false) { |
|
| 78 | 78 | header($headerline); |
| 79 | 79 | } |
| 80 | 80 | } |
@@ -121,9 +121,9 @@ discard block |
||
| 121 | 121 | |
| 122 | 122 | if ($this->conf['crop']) { |
| 123 | 123 | |
| 124 | - $markerArray['###EDITBUTTON###'] = '<a href="javascript: tx_dlf_viewer.activateSelection();">'.$this->pi_getLL('editMode', '', TRUE).'</a>'; |
|
| 124 | + $markerArray['###EDITBUTTON###'] = '<a href="javascript: tx_dlf_viewer.activateSelection();">'.$this->pi_getLL('editMode', '', true).'</a>'; |
|
| 125 | 125 | |
| 126 | - $markerArray['###EDITREMOVE###'] = '<a href="javascript: tx_dlf_viewer.resetCropSelection();">'.$this->pi_getLL('editRemove', '', TRUE).'</a>'; |
|
| 126 | + $markerArray['###EDITREMOVE###'] = '<a href="javascript: tx_dlf_viewer.resetCropSelection();">'.$this->pi_getLL('editRemove', '', true).'</a>'; |
|
| 127 | 127 | |
| 128 | 128 | } else { |
| 129 | 129 | |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | |
| 136 | 136 | if ($this->conf['magnifier']) { |
| 137 | 137 | |
| 138 | - $markerArray['###MAGNIFIER###'] = '<a href="javascript: tx_dlf_viewer.activateMagnifier();">'.$this->pi_getLL('magnifier', '', TRUE).'</a>'; |
|
| 138 | + $markerArray['###MAGNIFIER###'] = '<a href="javascript: tx_dlf_viewer.activateMagnifier();">'.$this->pi_getLL('magnifier', '', true).'</a>'; |
|
| 139 | 139 | |
| 140 | 140 | } else { |
| 141 | 141 | |
@@ -162,11 +162,11 @@ discard block |
||
| 162 | 162 | // Add basket button |
| 163 | 163 | if ($this->conf['basketButton'] && $this->conf['targetBasket'] && $this->piVars['id']) { |
| 164 | 164 | |
| 165 | - $label = $this->pi_getLL('addBasket', '', TRUE); |
|
| 165 | + $label = $this->pi_getLL('addBasket', '', true); |
|
| 166 | 166 | |
| 167 | 167 | $params = array ( |
| 168 | 168 | 'id' => $this->piVars['id'], |
| 169 | - 'addToBasket' => TRUE |
|
| 169 | + 'addToBasket' => true |
|
| 170 | 170 | ); |
| 171 | 171 | |
| 172 | 172 | if (empty($this->piVars['page'])) { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | |
| 178 | 178 | $basketConf = array ( |
| 179 | 179 | 'parameter' => $this->conf['targetBasket'], |
| 180 | - 'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $params, '', TRUE, FALSE), |
|
| 180 | + 'additionalParams' => \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $params, '', true, false), |
|
| 181 | 181 | 'title' => $label |
| 182 | 182 | ); |
| 183 | 183 | |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | // Load current document. |
| 336 | 336 | $this->loadDocument(); |
| 337 | 337 | |
| 338 | - if ($this->doc === NULL || $this->doc->numPages < 1) { |
|
| 338 | + if ($this->doc === null || $this->doc->numPages < 1) { |
|
| 339 | 339 | |
| 340 | 340 | // Quit without doing anything if required variables are not set. |
| 341 | 341 | return $content; |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | // Load current document. |
| 61 | 61 | $this->loadDocument(); |
| 62 | 62 | |
| 63 | - if ($this->doc === NULL) { |
|
| 63 | + if ($this->doc === null) { |
|
| 64 | 64 | |
| 65 | 65 | // Quit without doing anything if required variables are not set. |
| 66 | 66 | return $content; |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | $title = $resArray['title']; |
| 96 | 96 | } else { |
| 97 | 97 | $title = !empty($resArray['label']) ? $resArray['label'] : $resArray['orderlabel']; |
| 98 | - if (strtotime($title) !== FALSE) { |
|
| 98 | + if (strtotime($title) !== false) { |
|
| 99 | 99 | $title = strftime('%x', strtotime($title)); |
| 100 | 100 | } |
| 101 | 101 | } |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | 'additionalParams' => '&'.$this->prefixId.'[id]='.urlencode($this->doc->parentId), |
| 146 | 146 | ); |
| 147 | 147 | |
| 148 | - $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE).' '.$this->doc->getTitle($this->doc->parentId), $linkConf); |
|
| 148 | + $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', true).' '.$this->doc->getTitle($this->doc->parentId), $linkConf); |
|
| 149 | 149 | |
| 150 | 150 | // Link to current year. |
| 151 | 151 | $linkConf = array ( |
@@ -184,11 +184,11 @@ discard block |
||
| 184 | 184 | |
| 185 | 185 | if (count($this->allIssues) < 6) { |
| 186 | 186 | |
| 187 | - $listViewActive = TRUE; |
|
| 187 | + $listViewActive = true; |
|
| 188 | 188 | |
| 189 | 189 | } else { |
| 190 | 190 | |
| 191 | - $listViewActive = FALSE; |
|
| 191 | + $listViewActive = false; |
|
| 192 | 192 | |
| 193 | 193 | } |
| 194 | 194 | |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | // Load current document. |
| 385 | 385 | $this->loadDocument(); |
| 386 | 386 | |
| 387 | - if ($this->doc === NULL) { |
|
| 387 | + if ($this->doc === null) { |
|
| 388 | 388 | |
| 389 | 389 | // Quit without doing anything if required variables are not set. |
| 390 | 390 | return $content; |
@@ -454,7 +454,7 @@ discard block |
||
| 454 | 454 | 'parameter' => $this->conf['targetPid'], |
| 455 | 455 | 'additionalParams' => '&'.$this->prefixId.'[id]='.$this->doc->uid, |
| 456 | 456 | ); |
| 457 | - $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE).' '.$this->doc->getTitle($this->doc->uid), $linkConf); |
|
| 457 | + $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', true).' '.$this->doc->getTitle($this->doc->uid), $linkConf); |
|
| 458 | 458 | |
| 459 | 459 | // Fill markers. |
| 460 | 460 | $markerArray = array ( |