nettoyage de printemps
clean type test
This commit is contained in:
parent
2627dc2ae6
commit
3330d28f29
3
.php_cs
3
.php_cs
@ -38,7 +38,8 @@ return PhpCsFixer\Config::create()
|
||||
->exclude([
|
||||
'vendor',
|
||||
'var',
|
||||
'web'
|
||||
'web',
|
||||
'tpl_c',
|
||||
])
|
||||
->in(__DIR__)
|
||||
)
|
||||
|
@ -41,9 +41,7 @@ if (!isset($_SESSION['form'])) {
|
||||
}
|
||||
|
||||
// Type de sondage
|
||||
if (isset($_GET['type']) && $_GET['type'] === 'date' ||
|
||||
isset($_POST['type']) && $_POST['type'] === 'date'
|
||||
) {
|
||||
if (isset($_GET['type']) && $_GET['type'] === 'date') {
|
||||
$poll_type = 'date';
|
||||
$_SESSION['form']->choix_sondage = $poll_type;
|
||||
} else {
|
||||
|
@ -1,5 +0,0 @@
|
||||
msgfmt -o locale\fr_FR\LC_MESSAGES\Studs.mo locale\fr_FR\LC_MESSAGES\Studs.po
|
||||
msgfmt -o locale\es_ES\LC_MESSAGES\Studs.mo locale\es_ES\LC_MESSAGES\Studs.po
|
||||
msgfmt -o locale\de_DE\LC_MESSAGES\Studs.mo locale\de_DE\LC_MESSAGES\Studs.po
|
||||
msgfmt -o locale\en_GB\LC_MESSAGES\Studs.mo locale\en_GB\LC_MESSAGES\Studs.po
|
||||
pause
|
@ -329,7 +329,6 @@
|
||||
</div>
|
||||
|
||||
<p class="text-right">
|
||||
<input type="hidden" name="type" value="$poll_type"/>
|
||||
<button name="{$goToStep2}" value="{$poll_type}" type="submit"
|
||||
class="btn btn-success">{__('Step 1', 'Go to step 2')}</button>
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user