From 9a108749638041670fd87d43fc8335e64f4fd7d8 Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 27 Sep 2019 07:42:45 +0200 Subject: [PATCH] [TASK] Switch to method POST --- Classes/ViewHelpers/FormViewHelper.php | 9 +++++++++ Resources/Private/Partials/Date/SearchForm.html | 4 ++-- Resources/Private/Templates/Date/Search.html | 1 + ext_localconf.php | 6 +++--- 4 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 Classes/ViewHelpers/FormViewHelper.php diff --git a/Classes/ViewHelpers/FormViewHelper.php b/Classes/ViewHelpers/FormViewHelper.php new file mode 100644 index 0000000..9231214 --- /dev/null +++ b/Classes/ViewHelpers/FormViewHelper.php @@ -0,0 +1,9 @@ +
- - +
diff --git a/Resources/Private/Templates/Date/Search.html b/Resources/Private/Templates/Date/Search.html index 1f04ddf..c2360a0 100644 --- a/Resources/Private/Templates/Date/Search.html +++ b/Resources/Private/Templates/Date/Search.html @@ -56,4 +56,5 @@ GLOBAL EVENT ID: {date.event.globalId} + \ No newline at end of file diff --git a/ext_localconf.php b/ext_localconf.php index 59912b5..35e873e 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -38,13 +38,13 @@ call_user_func( }' ); - $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class); - + $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class); + $iconRegistry->registerIcon( 'events-plugin', \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, ['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg'] ); - + } );