From 3fb965899102268c9471a890adcc20d8bc58d25b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 20 May 2005 06:07:33 +0000 Subject: [PATCH] r166: - Created new setting $bugsys->options['defaultcomment'] which allows setting of a comment template for the initial bug report - Removed some dupes from the to-do list --- docs/todo.txt | 3 --- includes/settings.php | 1 + templates/default/newreport.tpl | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/todo.txt b/docs/todo.txt index f69bb44..080d25e 100755 --- a/docs/todo.txt +++ b/docs/todo.txt @@ -11,14 +11,12 @@ BUGTRACK 1.0 - Admin auto-actions - Custom bug fields - Put either inline admin help or a "what this does" description on each of the widget pages -- Ability to set default templates in the description field ---------------------------------------- GENERAL USER END ---------------------------------------- - New style - Language independence -- Help page on how to report and what each field does - Make summary field longer - User-selectable column displays - User-selectable row colours (as opposed to forced admin-based ones, use default if not set) @@ -29,7 +27,6 @@ BUGTRACK 1.0 ---------------------------------------- BUG REPORTING/EDITING ---------------------------------------- -- Default templates in the description field - Help bubbles detailing each field ############################################################################### diff --git a/includes/settings.php b/includes/settings.php index 6396886..251f793 100755 --- a/includes/settings.php +++ b/includes/settings.php @@ -48,6 +48,7 @@ $config['defaultpriority'] = array('reporting', 'defaultpriority', '" . constru $config['defaultstatus'] = array('reporting', 'defaultstatus', '" . construct_option_select(\'setting[defaultstatus]\', $bugsys->datastore[\'status\'], $bugsys->options[\'defaultstatus\'], \'statusid\', \'status\') . "', 1, false); $config['defaultresolve'] = array('reporting', 'defaultresolve', '" . construct_option_select(\'setting[defaultresolve]\', $bugsys->datastore[\'resolution\'], $bugsys->options[\'defaultresolve\'], \'resolutionid\', \'resolution\') . "', 1, false); $config['defaultassign'] = array('reporting', 'defaultassign', '" . construct_option_select(\'setting[defaultassign]\', $bugsys->datastore[\'assignto\'], $bugsys->options[\'defaultassign\'], \'userid\', \'displayname\', 0) . "', 0, false); +$config['defaultcomment'] = array('reporting', 'defaultcomment', 'textarea', '', false); // ################################################################### diff --git a/templates/default/newreport.tpl b/templates/default/newreport.tpl index 4397733..2121c15 100644 --- a/templates/default/newreport.tpl +++ b/templates/default/newreport.tpl @@ -14,7 +14,7 @@
Assigned to:
-
Detailed description:
+
Detailed description:
Product/Component/Version:
$pcv_select
-- 2.43.5