r116: Removed the option about JS pcv selection
[bugdar.git] / includes / settings.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # BugStrike [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
12
13 /*--------------------------------------------------------------------*\
14 | ********************** A NOTE ABOUT THIS FILE ********************** |
15 +----------------------------------------------------------------------+
16 | Do not touch any of the values in this file. Doing so may make it |
17 | impossible for you to make adjustments to the system. This file has |
18 | all of the setting information used for installs, upgrades, and any |
19 | changes made in the admin control panel to various settinsg. |
20 \*--------------------------------------------------------------------*/
21
22 /*
23 $define[GROUPNAME] = GROUPNAME; <-- sets up an option group
24 $config[VARNAME] = array(GROUPNAME, VARNAME, CODE, DEFAULT, VOLATILE); <-- sets up a setting
25 */
26
27 $settingconfig = array();
28
29 // ###################################################################
30
31 $define['general'] = 'general';
32
33 $config['allownewreg'] = array('general', 'allownewreg', 'yesno', 1, false);
34 $config['verifyemail'] = array('general', 'verifyemail', 'yesno', 0, false);
35 $config['moderatenewusers'] = array('general', 'moderatenewusers', 'yesno', 0, false);
36 $config['sendwelcomemail'] = array('general', 'sendwelcomemail', 'yesno', 1, false);
37 $config['webmasteremail'] = array('general', 'webmasteremail', 'textbox', '', false);
38 $config['trackertitle'] = array('general', 'trackertitle', 'textbox', '', false);
39 $config['dateformat'] = array('general', 'dateformat', 'textbox', 'F j, Y h:m:s A', false);
40
41 // ###################################################################
42
43 $define['reporting'] = 'reporting';
44
45 $config['allowhtml'] = array('reporting', 'allowhtml', 'yesno', 0, false);
46 $config['defaultseverity'] = array('reporting', 'defaultseverity', '" . construct_option_select(\'setting[defaultseverity]\', $bugsys->datastore[\'severity\'], $bugsys->options[\'defaultseverity\'], \'severityid\', \'severity\') . "', 1, false);
47 $config['defaultpriority'] = array('reporting', 'defaultpriority', '" . construct_option_select(\'setting[defaultpriority]\', $bugsys->datastore[\'priority\'], $bugsys->options[\'defaultpriority\'], \'priorityid\', \'priority\') . "', 1, false);
48 $config['defaultstatus'] = array('reporting', 'defaultstatus', '" . construct_option_select(\'setting[defaultstatus]\', $bugsys->datastore[\'status\'], $bugsys->options[\'defaultstatus\'], \'statusid\', \'status\') . "', 1, false);
49 $config['defaultresolve'] = array('reporting', 'defaultresolve', '" . construct_option_select(\'setting[defaultresolve]\', $bugsys->datastore[\'resolution\'], $bugsys->options[\'defaultresolve\'], \'resolutionid\', \'resolution\') . "', 1, false);
50 $config['defaultassign'] = array('reporting', 'defaultassign', '" . construct_option_select(\'setting[defaultassign]\', $bugsys->datastore[\'assignto\'], $bugsys->options[\'defaultassign\'], \'userid\', \'displayname\', 0) . "', 0, false);
51
52 // ###################################################################
53
54 $define['untouchables'] = 'untouchables';
55
56 $config['trackerversion'] = array('untouchables', 'trackerversion', 'textbox', '', true);
57
58
59 /*=====================================================================*\
60 || ###################################################################
61 || # $HeadURL$
62 || # $Id$
63 || ###################################################################
64 \*=====================================================================*/
65 ?>