Fix small typos
This commit is contained in:
parent
7e23280a1d
commit
52d6d2cef1
|
@ -800,9 +800,9 @@ final class IiifManifest extends Document
|
|||
$this->_getPhysicalStructure();
|
||||
// ... and extension configuration.
|
||||
$extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][self::$extKey]);
|
||||
$fileGrpFulltexts = GeneralUtility::trimExplode(',', $extConf['fileGrpDownload']);
|
||||
$fileGrpsFulltext = GeneralUtility::trimExplode(',', $extConf['fileGrpFulltext']);
|
||||
if (!empty($this->physicalStructureInfo[$id])) {
|
||||
while ($fileGrpFulltext = array_shift($fileGrpFulltexts)) {
|
||||
while ($fileGrpFulltext = array_shift($fileGrpsFulltext)) {
|
||||
if (!empty($this->physicalStructureInfo[$id]['files'][$fileGrpFulltext])) {
|
||||
$rawText = parent::getRawTextFromXml($id);
|
||||
break;
|
||||
|
|
|
@ -54,9 +54,9 @@ class PageGrid extends \Kitodo\Dlf\Common\AbstractPlugin
|
|||
// Set pagination.
|
||||
$markerArray['###PAGINATION###'] = htmlspecialchars($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['orderlabel']);
|
||||
// Get thumbnail or placeholder.
|
||||
$fileGrpThumbs = GeneralUtility::trimExplode(',', $this->onf['fileGrpThumbs']);
|
||||
if (array_intersect($fileGrpThumbs, array_keys($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'])) !== [] ) {
|
||||
while ($fileGrpThumb = array_shift($fileGrpThumbs)) {
|
||||
$fileGrpsThumb = GeneralUtility::trimExplode(',', $this->conf['fileGrpThumbs']);
|
||||
if (array_intersect($fileGrpsThumb, array_keys($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'])) !== [] ) {
|
||||
while ($fileGrpThumb = array_shift($fileGrpsThumb)) {
|
||||
if (!empty($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'][$fileGrpThumb])) {
|
||||
$thumbnailFile = $this->doc->getFileLocation($this->doc->physicalStructureInfo[$this->doc->physicalStructure[$number]]['files'][$fileGrpThumb]);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue