r665: Renaming product from "BugStrike" to "Bugdar"
[bugdar.git] / includes / settings.php
1 <?php
2 /*=====================================================================*\
3 || ################################################################### ||
4 || # Bugdar [#]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, NAME, DESCRIPTION); <-- sets up a setting
25 */
26
27 $settingconfig = array();
28
29 // ###################################################################
30
31 $define['general'] = $lang->string('General Options');
32
33 $config['allownewreg'] = array('general', 'allownewreg', 'yesno', 1, false, $lang->string('Allow New Registrations'), $lang->string('If this is set to <em>no</em>, no new users will be allowed to register.'));
34 $config['verifyemail'] = array('general', 'verifyemail', 'yesno', 0, false, $lang->string('Require Activation Email'), $lang->string('Setting this to yes will force all new users to verify their account with an email activation link.'));
35 $config['moderatenewusers'] = array('general', 'moderatenewusers', 'yesno', 0, false, $lang->string('Moderate New Users'), $lang->string('All new users will have to be approved by the administration before being able to have normal user rights.'));
36 $config['sendwelcomemail'] = array('general', 'sendwelcomemail', 'yesno', 1, false, $lang->string('Send New Use Welcome Email'), $lang->string('Setting this option to <em>yes</em> will send all new users, after they\'ve been verified, a welcoming email.'));
37 $config['webmasteremail'] = array('general', 'webmasteremail', 'textbox', '', false, $lang->string('Webmaster Email Address'), $lang->string('The email address from which emails will be sent out.'));
38 $config['trackertitle'] = array('general', 'trackertitle', 'textbox', '', false, $lang->string('Tracker Title'), $lang->string('The global name of the bug tracker. Example: Iris Studios Bug Tracker'));
39 $config['trackerurl'] = array('general', 'trackerurl', 'textbox', '', false, $lang->string('Tracker Base URL'), $lang->string('The base URL of the tracker. This is used when creating external links to the tracker. <strong>Be sure that this does not end in a trailing slash (&quot;/&quot;).</strong><br />Example: http://www.iris-studios.com/bugs'));
40 $config['dateformat'] = array('general', 'dateformat', 'textbox', 'F j, Y h:i:s A', false, $lang->string('Date Format'), $lang->string('Set the date format used for bug report and comment information. This is based on PHP\'s date() function.'));
41
42 // ###################################################################
43
44 $define['reporting'] = $lang->string('Bug Reporting Options');
45
46 $config['allowhtml'] = array('reporting', 'allowhtml', 'yesno', 0, false, $lang->string('Allow HTML in Bug Reports'), $lang->string('Set this to <em>yes</em> if you want to allow users to post raw HTML in their bug reports. This is <strong>very</strong> dangerous and it is not recommended.'));
47 $config['defaultseverity'] = array('reporting', 'defaultseverity', '" . construct_option_select(\'setting[defaultseverity]\', $bugsys->datastore[\'severity\'], $bugsys->options[\'defaultseverity\'], \'severityid\', \'severity\') . "', 1, false, $lang->string('Default Severity'), $lang->string('The default severity that is selected when creating a new bug report.'));
48 $config['defaultpriority'] = array('reporting', 'defaultpriority', '" . construct_option_select(\'setting[defaultpriority]\', $bugsys->datastore[\'priority\'], $bugsys->options[\'defaultpriority\'], \'priorityid\', \'priority\') . "', 1, false, $lang->string('Default Priority'), $lang->string('The default priority that will be selected when creating a new bug report. Depending on your permission setup, the user may not be able to set this in a new report so this will act as the value.'));
49 $config['defaultstatus'] = array('reporting', 'defaultstatus', '" . construct_option_select(\'setting[defaultstatus]\', $bugsys->datastore[\'status\'], $bugsys->options[\'defaultstatus\'], \'statusid\', \'status\') . "', 1, false, $lang->string('Default Status'), $lang->string('The default default that is selected when creating a new bug report. If a user can not assign a status, this will be the one inserted into the database.'));
50 $config['defaultresolve'] = array('reporting', 'defaultresolve', '" . construct_option_select(\'setting[defaultresolve]\', $bugsys->datastore[\'resolution\'], $bugsys->options[\'defaultresolve\'], \'resolutionid\', \'resolution\') . "', 1, false, $lang->string('Default Resolution'), $lang->string('This is the default bug resolution. If a user is not able to change this field, setting this will act as the default value.'));
51 $config['defaultassign'] = array('reporting', 'defaultassign', '" . construct_option_select(\'setting[defaultassign]\', $bugsys->datastore[\'assignto\'], $bugsys->options[\'defaultassign\'], \'userid\', \'displayname\', 0) . "', 0, false, $lang->string('Default Bug Assignment'), $lang->string('This is the default developer new bugs will be assigned to. If a user does not have permisssion to assign bugs, this will be the default. If you don\'t want any default assignment, leave this as <em>Not Selected</em>.'));
52 $config['defaultcomment'] = array('reporting', 'defaultcomment', 'textarea', '', false, $lang->string('Default Comment Text'), $lang->string('If you wish to set a template for entering the initial comment of a bug report, then you may specify this here. However, the template will only take effect on the initial report/comment. Note: the template cannot be forced on the user as there is no way to validate it.'));
53
54 // ###################################################################
55
56 $define['pagination'] = $lang->string('Pagination Options');
57
58 $config['defaultpp'] = array('pagination', 'defaultpp', 'textbox', 20, false, $lang->string('Default Per-Page Amount'), $lang->string('The number of items (e.g. bugs) to be displayed on a page by default. The user will have the option of over-riding these values.'));
59 $config['maxpp'] = array('pagination', 'maxpp', 'textbox', 100, false, $lang->string('Maximum Per-Page Value'), $lang->string('To prevent your server from experiencing load problems, set the maximum per page limit. Specifying a value here will make sure any user-entered value will not be higher than this, preventing server load problems.'));
60 $config['pagelinks'] = array('pagination', 'pagelinks', 'textbox', 3, false, $lang->string('Number of Page Links'), $lang->string('The number of pages that will appear in the page navigation system on either side of the current page. Set this to 0 to display all pages.'));
61
62 // ###################################################################
63
64 $define['untouchables'] = $lang->string('Untouchables');
65
66 $config['trackerversion'] = array('untouchables', 'trackerversion', 'textbox', '[#]version[#]', true, $lang->string('Tracker Version Number'), $lang->string('Do not touch this!'));
67
68
69 /*=====================================================================*\
70 || ###################################################################
71 || # $HeadURL$
72 || # $Id$
73 || ###################################################################
74 \*=====================================================================*/
75 ?>