|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
define('DEFAULT_TITLE', 'Mon panier bio'); |
|
|
|
|
|
|
|
define('REQUEST_REGEX', '/^\/(?<supplier>[^\/]+)\/?(?<event>[^\/]+)?\/?$/'); |
|
|
|
define('REQUEST_REGEX', '/\/(?<supplier>[^\/]+)\/?(?<event>[^\/]+)?\/?$/'); |
|
|
|
define('SUPPLIER_REGEX', '/^[A-Za-z]\w{0,31}$/'); |
|
|
|
define('EVENT_REGEX', '/^\d{4}\-[01]\d\-[0123]\d$/'); |
|
|
|
define('ACTION_REGEX', '/^[a-z]{1,16}$/i'); |
|
|
@ -344,7 +344,7 @@ if (!$isConfig and $hasSupplier) { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-12"> |
|
|
|
<form action="<?php echo generateUrl(); ?>" method="get"> |
|
|
|
<form action="<?php echo generateUrl(); ?>" method="post"> |
|
|
|
<datalist id="supplierList"> |
|
|
|
<?php foreach ($suppliers as $supplier) : ?>
|
|
|
|
<option value="<?php echo $supplier; ?>" /> |
|
|
|