diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-20 20:26:21 -0500 |
commit | 11b6381cc0f0583a11287202463d20a0ac1ebf00 (patch) | |
tree | c973b6686467272ae56914f5e143d09de476d084 /app/Template/config/application.php | |
parent | b84edaaf13ba854290099b0df452f61e9b595a17 (diff) |
Move and clean some templates to a subfolder
Diffstat (limited to 'app/Template/config/application.php')
-rw-r--r-- | app/Template/config/application.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/Template/config/application.php b/app/Template/config/application.php new file mode 100644 index 00000000..c92975bc --- /dev/null +++ b/app/Template/config/application.php @@ -0,0 +1,27 @@ +<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.kanboard.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/> + + <?= Helper\form_label(t('Date format'), 'application_date_format') ?> + <?= Helper\form_select('application_date_format', $date_formats, $values, $errors) ?><br/> + <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>
\ No newline at end of file |