Skip to content

Commit 811804c

Browse files
committed
Merge pull request TYPO3-extensions#4 from frans-beech-it/master
[BUGFIX] Always load sprite icons
2 parents e6c39e2 + b3cc834 commit 811804c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ext_tables.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,18 @@
7979

8080
# ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
8181

82+
$iconPath = $GLOBALS['PATHrel_solr'] . 'Resources/Public/Images/Icons/';
83+
\TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
84+
array(
85+
'ModuleOverview' => $iconPath . 'Search.png',
86+
'ModuleIndexQueue' => $iconPath . 'IndexQueue.png',
87+
'ModuleIndexMaintenance' => $iconPath . 'IndexMaintenance.png',
88+
'ModuleIndexFields' => $iconPath . 'IndexFields.png',
89+
'ModuleSynonyms' => $iconPath . 'Synonyms.png'
90+
),
91+
$_EXTKEY
92+
);
93+
8294
if (TYPO3_MODE == 'BE') {
8395
if (version_compare(TYPO3_version, '6.0.0', '>=')) {
8496
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
@@ -97,18 +109,6 @@
97109
)
98110
);
99111

100-
$iconPath = $GLOBALS['PATHrel_solr'] . 'Resources/Public/Images/Icons/';
101-
\TYPO3\CMS\Backend\Sprite\SpriteManager::addSingleIcons(
102-
array(
103-
'ModuleOverview' => $iconPath . 'Search.png',
104-
'ModuleIndexQueue' => $iconPath . 'IndexQueue.png',
105-
'ModuleIndexMaintenance' => $iconPath . 'IndexMaintenance.png',
106-
'ModuleIndexFields' => $iconPath . 'IndexFields.png',
107-
'ModuleSynonyms' => $iconPath . 'Synonyms.png'
108-
),
109-
$_EXTKEY
110-
);
111-
112112
ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule(
113113
'ApacheSolrForTypo3.' . $_EXTKEY,
114114
'Overview',

0 commit comments

Comments
 (0)