getNextUrl example

<?php $app->render('_header.php'); ?> <h2><?= $t->t('language-selection_header'); ?></h2> <?= $t->t('language-selection_welcome_message'); ?> <form action="<?= $menuHelper->getNextUrl(); ?>" method="get"> <input type="hidden" class="hidden-action" value="<?= $menuHelper->getCurrentUrl(); ?>" /> <p> <label for="language"><?= $t->t('language-selection_select_language'); ?></label> <?= $t->t('language-selection_info_message'); ?> </p> <select id="language" name="language" class="language-selection"> <?php foreach ($languages as $language): ?> <option value="<?= $language; ?>" <?= ($selectedLanguage == $language) ? 'selected' : ''; ?>> <?= $t->t('select_language_' . $language); ?>
$app->view()->set('languages', $container->offsetGet('config')['languages']);

    $app->render('/language-selection.php');
})->via('GET', 'POST')->name('language-selection');

$app->map('/license', function D) use ($app$menuHelper$container) {
    $menuHelper->setCurrent('license');

    if ($app->request()->isPost()) {
        if ($app->request->post('tos')) {
            $app->redirect($menuHelper->getNextUrl());

            return;
        }

        $app->view()->set('error', true);
    }

    $tosUrls = $container->offsetGet('config')['tos.urls'];
    $tosUrl = $tosUrls['en'];

    if (\array_key_exists($container->offsetGet('install.language')$tosUrls)) {
        
<?= $menuHelper->getNextUrl(); ?>"> <div class="actions clearfix"> <a href="<?= $menuHelper->getPreviousUrl(); ?>" id="back" class="btn btn-default btn-arrow-left"><?= $t->t('back'); ?></a> <?php if ($hasSchema): ?> <a href="<?= $menuHelper->getNextUrl(); ?>" id="skip-import" class="btn btn-default btn-arrow-right"><?= $t->t('database-import_skip_import'); ?></a> <?php endif; ?> <a href="<?= $menuHelper->getNextUrl(); ?>" class="btn btn-primary btn-arrow-right is--right is--hidden"><?= $t->t('forward'); ?></a> </div> </form> </div> <div class="progress-actions actions clearfix install-buttons is--right"> <button id="start-ajax" class="btn btn-primary is--right">
Home | Imprint | This part of the site doesn't use cookies.