From b8fa0246803dab40cf57d40b45984c53046f2d55 Mon Sep 17 00:00:00 2001 From: "Dzial Techniczny WMW Projekt s.c" Date: Tue, 10 Dec 2019 11:34:53 +0100 Subject: Plugins directory and local modifications --- .../Template/config/advanced-search-filter.php | 30 ++++++++++++++++++++++ .../Template/config/sidebar.php | 4 +++ 2 files changed, 34 insertions(+) create mode 100644 plugins/KanboardSearchPlugin/Template/config/advanced-search-filter.php create mode 100644 plugins/KanboardSearchPlugin/Template/config/sidebar.php (limited to 'plugins/KanboardSearchPlugin/Template') diff --git a/plugins/KanboardSearchPlugin/Template/config/advanced-search-filter.php b/plugins/KanboardSearchPlugin/Template/config/advanced-search-filter.php new file mode 100644 index 00000000..c8dddb8b --- /dev/null +++ b/plugins/KanboardSearchPlugin/Template/config/advanced-search-filter.php @@ -0,0 +1,30 @@ + +
+ form->csrf() ?> + +
+ form->checkbox('comment_search', t('Enable "Search in Comment"'), 1, $values['comment_search'] == 1) ?> +
+
+ form->checkbox('title_search', t('Enable "Search in Title"'), 1, $values['title_search'] == 1) ?> +
+ +
+ form->checkbox('description_search', t('Enable "Search in Description"'), 1, $values['description_search'] == 1) ?> +
+ +
+ form->checkbox('subtask_search', t('Enable "Search in Subtask Title"'), 1, $values['subtask_search'] == 1) ?> +
+
+ form->checkbox('attachment_search', t('Enable "Search in Attachments"'), 1, $values['attachment_search'] == 1) ?> +
+ + hook->render('template:config:advanced-search-filter', array('values' => $values, 'errors' => $errors)) ?> + +
+ +
+
\ No newline at end of file diff --git a/plugins/KanboardSearchPlugin/Template/config/sidebar.php b/plugins/KanboardSearchPlugin/Template/config/sidebar.php new file mode 100644 index 00000000..6c2c9b5e --- /dev/null +++ b/plugins/KanboardSearchPlugin/Template/config/sidebar.php @@ -0,0 +1,4 @@ +
  • app->checkMenuSelection('AdvancedSearchController', 'index') ?>> + url->link(t('Advanced Search Filter settings'), 'AdvancedSearchController', 'index', + ['plugin' => 'KanboardSearchPlugin']) ?> +
  • -- cgit v1.2.3