diff options
author | Dzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl> | 2019-12-10 11:34:53 +0100 |
---|---|---|
committer | Dzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl> | 2019-12-10 11:34:53 +0100 |
commit | b8fa0246803dab40cf57d40b45984c53046f2d55 (patch) | |
tree | dc92b167c7542137c385614a1d558e57669a4339 /plugins/Calendar/Template/config/calendar.php | |
parent | 2a43146236fd8fb16f84398d85720ad84aa0a0b1 (diff) |
Plugins directory and local modifications
Diffstat (limited to 'plugins/Calendar/Template/config/calendar.php')
-rw-r--r-- | plugins/Calendar/Template/config/calendar.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/Calendar/Template/config/calendar.php b/plugins/Calendar/Template/config/calendar.php new file mode 100644 index 00000000..2221294b --- /dev/null +++ b/plugins/Calendar/Template/config/calendar.php @@ -0,0 +1,31 @@ +<div class="page-header"> + <h2><?= t('Calendar settings') ?></h2> +</div> +<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('plugin' => 'Calendar')) ?>" autocomplete="off"> + + <?= $this->form->csrf() ?> + + <fieldset> + <legend><?= t('Project calendar view') ?></legend> + <?= $this->form->radios('calendar_project_tasks', array( + 'date_creation' => t('Show tasks based on the creation date'), + 'date_started' => t('Show tasks based on the start date'), + ), + $values + ) ?> + </fieldset> + + <fieldset> + <legend><?= t('User calendar view') ?></legend> + <?= $this->form->radios('calendar_user_tasks', array( + 'date_creation' => t('Show tasks based on the creation date'), + 'date_started' => t('Show tasks based on the start date'), + ), + $values + ) ?> + </fieldset> + + <div class="form-actions"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> + </div> +</form> |