Skip to content

Commit 480ce3a

Browse files
committed
[TASK] Rework icon set for the backend module
Change-Id: If56c3d22a8d36dd982cf606c99690c3525ff1e92 Reviewed-on: http://review.typo3.org/38332 Reviewed-by: Xavier Perseguers <[email protected]> Tested-by: Xavier Perseguers <[email protected]>
1 parent f80322c commit 480ce3a

File tree

6 files changed

+7
-1
lines changed

6 files changed

+7
-1
lines changed
694 Bytes
Loading
910 Bytes
Loading

ext_icon.gif

-170 Bytes
Binary file not shown.

ext_icon.png

473 Bytes
Loading

[email protected]

-735 Bytes
Binary file not shown.

ext_tables.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
$GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames']['is_ldap_record'] = 'extensions-' . $_EXTKEY . '-overlay-ldap-record';
1111

1212
if (TYPO3_MODE === 'BE') {
13+
if (version_compare(TYPO3_version, '7.0', '<')) {
14+
$icon = 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-ldap-62.png';
15+
} else {
16+
$icon = 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/module-ldap.png';
17+
}
18+
1319
// Add BE module on top of system main module
1420
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
1521
'Causal.' . $_EXTKEY,
@@ -26,7 +32,7 @@
2632
)),
2733
), array(
2834
'access' => 'admin',
29-
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/icon_tx_igldapssoauth_config.png',
35+
'icon' => $icon,
3036
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf'
3137
)
3238
);

0 commit comments

Comments
 (0)