[TASK] Switch to method POST

This commit is contained in:
Dirk 2019-09-27 07:42:45 +02:00
parent 424279282d
commit 9a10874963
4 changed files with 15 additions and 5 deletions

View file

@ -0,0 +1,9 @@
<?php
namespace Wrm\Events\ViewHelpers;
class FormViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\FormViewHelper {
protected function renderHiddenReferrerFields(){
return '';
}
}

View file

@ -1,9 +1,9 @@
{namespace wrm=Wrm\Events\ViewHelpers}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<div class="row"> <div class="row">
<div class="col-8 mb-5"> <div class="col-8 mb-5">
<!-- TODO bg color classes not loaded in scss --> <!-- TODO bg color classes not loaded in scss -->
<f:form action="search" controller="Dates" method="post" id="events_search" name="events_search">
<f:form action="search" controller="Date" additionalAttributes="{role: 'form'}" method="get">
<div class="row"> <div class="row">
<div class="col"> <div class="col">

View file

@ -56,4 +56,5 @@ GLOBAL EVENT ID: {date.event.globalId}
</f:for> </f:for>
</f:widget.paginate> </f:widget.paginate>
</html> </html>

View file

@ -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( $iconRegistry->registerIcon(
'events-plugin', 'events-plugin',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class, \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg'] ['source' => 'EXT:events/Resources/Public/Icons/user_plugin_events.svg']
); );
} }
); );