2014-11-23 20:13:38 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Application settings') ?></h2>
|
|
|
|
</div>
|
|
|
|
<section>
|
2015-01-16 14:23:05 +01:00
|
|
|
<form method="post" action="<?= $this->u('config', 'application') ?>" autocomplete="off">
|
2014-11-23 20:13:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formCsrf() ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formLabel(t('Application URL'), 'application_url') ?>
|
|
|
|
<?= $this->formText('application_url', $values, $errors, array('placeholder="http://example.kanboard.net/"')) ?><br/>
|
2014-11-23 20:13:38 +01:00
|
|
|
<p class="form-help"><?= t('Example: http://example.kanboard.net/ (used by email notifications)') ?></p>
|
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formLabel(t('Language'), 'application_language') ?>
|
|
|
|
<?= $this->formSelect('application_language', $languages, $values, $errors) ?><br/>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formLabel(t('Timezone'), 'application_timezone') ?>
|
|
|
|
<?= $this->formSelect('application_timezone', $timezones, $values, $errors) ?><br/>
|
2014-11-23 20:13:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formLabel(t('Date format'), 'application_date_format') ?>
|
|
|
|
<?= $this->formSelect('application_date_format', $date_formats, $values, $errors) ?><br/>
|
2014-11-23 20:13:38 +01:00
|
|
|
<p class="form-help"><?= t('ISO format is always accepted, example: "%s" and "%s"', date('Y-m-d'), date('Y_m_d')) ?></p>
|
|
|
|
|
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</section>
|