mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 11:16:10 +01:00
[TASK] Switch to method POST
This commit is contained in:
parent
424279282d
commit
9a10874963
4 changed files with 15 additions and 5 deletions
9
Classes/ViewHelpers/FormViewHelper.php
Normal file
9
Classes/ViewHelpers/FormViewHelper.php
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Wrm\Events\ViewHelpers;
|
||||||
|
|
||||||
|
class FormViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\FormViewHelper {
|
||||||
|
protected function renderHiddenReferrerFields(){
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}
|
|
@ -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">
|
||||||
|
|
|
@ -56,4 +56,5 @@ GLOBAL EVENT ID: {date.event.globalId}
|
||||||
</f:for>
|
</f:for>
|
||||||
</f:widget.paginate>
|
</f:widget.paginate>
|
||||||
|
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -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']
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue