-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
48 lines (47 loc) · 1.8 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_batchmailer_domain_model_mail',
'EXT:batchmailer/Resources/Private/Language/locallang_csh_tx_batchmailer_domain_model_mail.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_batchmailer_domain_model_mail');
// Register sprite icon for batchmailer table
/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'tx_batchmailer-default',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
[
'source' => 'EXT:batchmailer/Resources/Public/Icons/MailDefault.png'
]
);
$iconRegistry->registerIcon(
'tx_batchmailer-status-not-sent',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
[
'source' => 'EXT:batchmailer/Resources/Public/Icons/MailNotSent.png'
]
);
$iconRegistry->registerIcon(
'tx_batchmailer-status-error',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
[
'source' => 'EXT:batchmailer/Resources/Public/Icons/MailError.png'
]
);
$iconRegistry->registerIcon(
'tx_batchmailer-status-warning',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
[
'source' => 'EXT:batchmailer/Resources/Public/Icons/MailWarning.png'
]
);
$iconRegistry->registerIcon(
'tx_batchmailer-status-ok',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
[
'source' => 'EXT:batchmailer/Resources/Public/Icons/MailOk.png'
]
);