|
79 | 79 |
|
80 | 80 | # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- # ----- #
|
81 | 81 |
|
| 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 | + |
82 | 94 | if (TYPO3_MODE == 'BE') {
|
83 | 95 | if (version_compare(TYPO3_version, '6.0.0', '>=')) {
|
84 | 96 | \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
|
|
97 | 109 | )
|
98 | 110 | );
|
99 | 111 |
|
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 |
| - |
112 | 112 | ApacheSolrForTypo3\Solr\Backend\SolrModule\AdministrationModuleManager::registerModule(
|
113 | 113 | 'ApacheSolrForTypo3.' . $_EXTKEY,
|
114 | 114 | 'Overview',
|
|
0 commit comments