first commit
This commit is contained in:
commit
e81864e683
2984 files changed
+267797
No files matched your search
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
defined('TYPO3_MODE') or die();
|
||||
|
||||
\Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredName('protected');
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'HermannTelser.zuladungsliste',
|
||||
'Pi1',
|
||||
[\HermannTelser\Zuladungsliste\Controller\ArchitektenController::class => 'list,detail'],
|
||||
[\HermannTelser\Zuladungsliste\Controller\ArchitektenController::class => 'detail']
|
||||
);
|
||||
|
||||
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\HermannTelser\Zuladungsliste\Scheduler\CronTask::class] = array(
|
||||
'extension' => 'zuladungsliste',
|
||||
'title' => 'Zuladungsliste erstellen',
|
||||
'description' => 'Mit diesem Aufruf kann mit Hilfe eines Cron Jobs eine neue Version der Zuladungsliste erstellt werden.'
|
||||
);
|
||||
|
||||
|
||||
$extbaseObjectContainer = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\Container\Container::class);
|
||||
$extbaseObjectContainer->registerImplementation(
|
||||
\In2code\Femanager\Controller\NewController::class,
|
||||
\HermannTelser\Zuladungsliste\Controller\NewController::class
|
||||
);
|
||||
$extbaseObjectContainer->registerImplementation(
|
||||
\In2code\Femanager\Controller\EditController::class,
|
||||
\HermannTelser\Zuladungsliste\Controller\EditController::class
|
||||
);
|
||||
|
||||
if (TYPO3_MODE === 'BE') {
|
||||
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
|
||||
|
||||
$iconRegistry->registerIcon(
|
||||
'web_list',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
|
||||
['source' => 'EXT:zuladungsliste/Resources/Public/Icons/ExtensionBgWhite.png']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kammern-1',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'university']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kammern-2',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'university']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-sperrung',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'lock']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kriterium',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'trophy']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kriterium-1',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'trophy']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kriterium-2',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'trophy']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kriterium-3',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'trophy']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kriterium-4',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'trophy']
|
||||
);
|
||||
$iconRegistry->registerIcon(
|
||||
'zuladungsliste-kontoclosed',
|
||||
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
|
||||
['name' => 'share']
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user