summaryrefslogtreecommitdiff
path: root/app/Templates/config_application.php
blob: 251a45dc15fb7cee13c231de66a053806d6e2a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="page-header">
    <h2><?= t('Application settings') ?></h2>
</div>
<section>
<form method="post" action="<?= Helper\u('config', 'application') ?>" autocomplete="off">

    <?= Helper\form_csrf() ?>

    <?= Helper\form_label(t('Application URL'), 'application_url') ?>
    <?= Helper\form_text('application_url', $values, $errors, array('placeholder="http://example.kanboar.net/"')) ?><br/>
    <p class="form-help"><?= t('Example: http://example.kanboard.net/ (used by email notifications)') ?></p>

    <?= Helper\form_label(t('Language'), 'application_language') ?>
    <?= Helper\form_select('application_language', $languages, $values, $errors) ?><br/>

    <?= Helper\form_label(t('Timezone'), 'application_timezone') ?>
    <?= Helper\form_select('application_timezone', $timezones, $values, $errors) ?><br/>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
    </div>
</form>
</section>