1 <%- $templates['doctype'] %
>
2 <html xmlns=
"http://www.w3.org/1999/xhtml" lang=
"<%- $stylevar['lang'] %>" xml:
lang=
"<%- $stylevar['lang'] %>" dir=
"<%- $stylevar['lang_dir'] %>">
4 <%- $templates['headinclude'] %
>
5 <title><%- $templates['title'] %
> - <%- T('Settings') %
></title>
10 <%- $templates['nav'] %
>
12 <div id=
"title"><%- T('Administration') %
></div>
18 <form action=
"settings.php" method=
"post">
19 <input type=
"hidden" name=
"do" value=
"update" />
22 <legend><%- T('General Options') %
></legend>
27 <label for=
"settings[authmethod]">
28 <%- T('Authentication Method') %
>
29 <dfn><%- T('The authentication class to use to validate cookie data and longins. You may need to edit the actual file for certain authentication systems.') %
></dfn>
32 <dd><select name=
"settings[authmethod]" id=
"settings[authmethod]"><%- $authmethods %
></select></dd>
37 <label for=
"settings[allownewreg]">
38 <%- T('Allow New Registrations') %
>
39 <dfn><%- T('If this is set to
<em>yes
</em>, then new users will be allowed to register.') %
></dfn>
42 <dd><%- BSDecorator::yesno('settings[allownewreg]', bugdar::$options['allownewreg']) %
></dd>
43 <!-- / allownewreg -->
47 <label for=
"settings[verifyemail]">
48 <%- T('Require Activation Email') %
>
49 <dfn><%- T('Setting this to yes will force all new users to verify their account with an email activation link.') %
></dfn>
52 <dd><%- BSDecorator::yesno('settings[verifyemail]', bugdar::$options['verifyemail']) %
></dd>
53 <!-- / verifyemail -->
55 <!-- moderatenewusers -->
57 <label for=
"settings[moderatenewusers]">
58 <%- T('Moderate New Users') %
>
59 <dfn><%- T('All new users will have to be approved by the administration before being able to have normal user rights.') %
></dfn>
62 <dd><%- BSDecorator::yesno('settings[moderatenewusers]', bugdar::$options['moderatenewusers']) %
></dd>
63 <!-- / moderatenewusers -->
65 <!-- sendwelcomemail -->
67 <label for=
"settings[sendwelcomemail]">
68 <%- T('Send New Use Welcome Email') %
>
69 <dfn><%- T('Setting this option to
<em>yes
</em> will send each new verified user a welcome email.') %
></dfn>
72 <dd><%- BSDecorator::yesno('settings[sendwelcomemail]', bugdar::$options['sendwelcomemail']) %
></dd>
73 <!-- / sendwelcomemail -->
75 <!-- webmasteremail -->
77 <label for=
"settings[webmasteremail]">
78 <%- T('Webmaster Email Address') %
>
79 <dfn><%- T('The email address from which emails will be sent out.') %
></dfn>
82 <dd><input type=
"text" name=
"settings[webmasteremail]" value=
"<%- bugdar::$options['webmasteremail'] %>" id=
"settings[webmasteremail]" /></dd>
83 <!-- / webmasteremail -->
87 <label for=
"settings[trackertitle]">
88 <%- T('Tracker Title') %
>
89 <dfn><%- T('The global name of the bug tracker. Example: Blue Static Bug Tracker') %
></dfn>
92 <dd><input type=
"text" name=
"settings[trackertitle]" value=
"<%- bugdar::$options['trackertitle'] %>" id=
"settings[trackertitle]" /></dd>
93 <!-- / trackertitle -->
97 <label for=
"settings[trackerurl]">
98 <%- T('Tracker Base URL') %
>
99 <dfn><%- T('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 (
"/
").
</strong><br />Example: http://www.bluestatic.org/bugs') %
></dfn>
102 <dd><input type=
"text" name=
"settings[trackerurl]" value=
"<%- bugdar::$options['trackerurl'] %>" id=
"settings[trackerurl]" /></dd>
103 <!-- / trackerurl -->
107 <label for=
"settings[dateformat]">
108 <%- T('Date Format') %
>
109 <dfn><%- T('Set the date format used for bug report and comment information. This is based on PHP\'s date() function.') %
></dfn>
112 <dd><input type=
"text" name=
"settings[dateformat]" value=
"<%- bugdar::$options['dateformat'] %>" id=
"settings[dateformat]" /></dd>
113 <!-- / dateformat -->
115 <!-- defaulttimezone -->
117 <label for=
"settings[defaulttimezone]">
118 <%- T('Default Time Zone') %
>
119 <dfn><%- T('This controls the time zone that all unregistered users view the tracker with.') %
></dfn>
122 <dd><%- construct_option_select('settings[defaulttimezone]', BSDate::fetch_timezone_list(), bugdar::$options['defaulttimezone']) %
></dd>
123 <!-- / defaulttimezone -->
125 <!-- defaultlanguage -->
127 <label for=
"settings[defaultlanguage]">
128 <%- T('Default Language') %
>
129 <dfn><%- T('You can set the default language that all new users (and guests) will use.') %
></dfn>
132 <dd><%- construct_option_select('settings[defaultlanguage]', bugdar::$datastore['language'], bugdar::$options['defaultlanguage'], 'languageid', 'title') %
></dd>
133 <!-- / defaultlanguage -->
135 <!-- syndicateditems -->
137 <label for=
"settings[syndicateditems]">
138 <%- T('Number of Syndicated Items') %
>
139 <dfn><%- T('The number of bugs to be syndicated at any one time by the Atom XML feed.') %
></dfn>
142 <dd><input type=
"text" name=
"settings[syndicateditems]" value=
"<%- bugdar::$options['syndicateditems'] %>" id=
"settings[syndicateditems]" /></dd>
143 <!-- / syndicateditems -->
145 <!-- redirectheaders -->
147 <label for=
"settings[redirectheaders]">
148 <%- T('Use Header Redirects') %
>
149 <dfn><%- T('Instead of displaying an intermediate page informing the user that their action was a success and a redirect is occurring, just send the user to the next screen using HTTP headers. This can save bandwidth.') %
></dfn>
152 <dd><%- BSDecorator::yesno('settings[redirectheaders]', bugdar::$options['redirectheaders']) %
></dd>
153 <!-- / redirectheaders -->
159 <input type=
"submit" name=
"save" value=
"<%- T('Save All Settings') %>" />
163 <legend><%- T('Bug Reporting Options') %
></legend>
168 <label for=
"settings[allowhtml]">
169 <%- T('Allow HTML in Bug Reports') %
>
170 <dfn><%- T('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.') %
></dfn>
173 <dd><%- BSDecorator::yesno('settings[allowhtml]', bugdar::$options['allowhtml']) %
></dd>
176 <!-- defaultseverity -->
178 <label for=
"settings[defaultseverity]">
179 <%- T('Default Severity') %
>
180 <dfn><%- T('The default severity that is selected when creating a new bug report.') %
></dfn>
183 <dd><%- construct_option_select('setting[defaultseverity]', bugdar::$datastore['severity'], bugdar::$options['defaultseverity'], 'severityid', 'severity') %
></dd>
184 <!-- / defaultseverity -->
186 <!-- defaultpriority -->
188 <label for=
"settings[defaultpriority]">
189 <%- T('Default Priority') %
>
190 <dfn><%- T('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.') %
></dfn>
193 <dd><%- construct_option_select('settings[defaultpriority]', bugdar::$datastore['priority'], bugdar::$options['defaultpriority'], 'priorityid', 'priority') %
></dd>
194 <!-- / defaultpriority -->
196 <!-- defaultstatus -->
198 <label for=
"settings[defaultstatus]">
199 <%- T('Default Status') %
>
200 <dfn><%- T('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.') %
></dfn>
203 <dd><%- construct_option_select('settings[defaultstatus]', bugdar::$datastore['status'], bugdar::$options['defaultstatus'], 'statusid', 'status') %
></dd>
204 <!-- / defaultstatus -->
206 <!-- defaultresolve -->
208 <label for=
"settings[defaultresolve]">
209 <%- T('Default Resolution') %
>
210 <dfn><%- T('This is the default bug resolution. If a user is not able to change this field, setting this will act as the default value.') %
></dfn>
213 <dd><%- construct_option_select('settings[defaultresolve]', bugdar::$datastore['resolution'], bugdar::$options['defaultresolve'], 'resolutionid', 'resolution') %
></dd>
214 <!-- / defaultresolve -->
216 <!-- defaultassign -->
218 <label for=
"settings[defaultassign]">
219 <%- T('Default Bug Assignment') %
>
220 <dfn><%- T('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>.') %
></dfn>
223 <dd><%- construct_option_select('settings[defaultassign]', bugdar::$datastore['assignto'], bugdar::$options['defaultassign'], 'userid', 'displayname',
0) %
></dd>
224 <!-- / defaultassign -->
226 <!-- defaultcomment -->
228 <label for=
"settings[defaultcomment]">
229 <%- T('Default Comment Text') %
>
230 <dfn><%- T('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.') %
></dfn>
233 <dd><textarea name=
"settings[defaultcomment]" id=
"settings[defaultcomment]"><%- bugdar::$options['defaultcomment'] %
></textarea></dd>
234 <!-- / defaultcomment -->
239 <input type=
"submit" name=
"save" value=
"<%- T('Save All Settings') %>" />
243 <legend><%- T('Bug Listing Display Options') %
></legend>
246 <!-- hidestatuses -->
248 <label for=
"settings[hidestatuses]">
249 <%- T('Hide Statuses on Bug Listings') %
>
250 <dfn><%- T('Here you can specify which statuses to hide on the bug list displays. Users have options in their controls to change this from these values, and this does not affect searches or the favorites list.') %
></dfn>
253 <dd><%- construct_option_select('settings[hidestatuses]', bugdar::$datastore['status'], bugdar::$options['hidestatuses'], 'statusid', 'status',
0, true) %
></dd>
254 <!-- / hidestatuses -->
256 <!-- defaultsortkey -->
258 <label for=
"settings[defaultsortkey]">
259 <%- T('Default Sort Column') %
>
260 <dfn><%- T('Select the column to sort bugs by on listings. This is only a default setting which users can override in their preferences.') %
></dfn>
263 <dd><%- construct_option_select('settings[defaultsortkey]', ListSorter::fetch_by_text(false, false), bugdar::$options['defaultsortkey']) %
></dd>
264 <!-- / defaultsortkey -->
266 <!-- defaultsortas -->
268 <label for=
"settings[defaultsortas]">
269 <%- T('Default Sort Direction') %
>
270 <dfn><%- T('Specify the default direction to sort bugs in the selected column. This works with and follows the same rules as the Sort Column.') %
></dfn>
273 <dd><%- construct_option_select('settings[defaultsortas]', ListSorter::fetch_as_text(false), bugdar::$options['defaultsortas']) %
></dd>
274 <!-- / defaultsortas -->
276 <!-- columnoptions -->
278 <label for=
"settings[columnoptions]">
279 <%- T('Default Column Ordering Options') %
>
280 <dfn><%- T('Specify the order of the columns for bug listings. The value
0 disables the display of a column and if two or more columns have the same position number, they will be displayed in the same column.') %
></dfn>
283 <dd><%- ConstructColumnOptionsSetting() %
></dd>
284 <!-- / columnoptions -->
290 <input type=
"submit" name=
"save" value=
"<%- T('Save All Settings') %>" />
294 <legend><%- T('Pagination Options') %
></legend>
299 <label for=
"settings[defaultpp]">
300 <%- T('Default Per-Page Amount') %
>
301 <dfn><%- T('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.') %
></dfn>
304 <dd><input type=
"text" name=
"settings[defaultpp]" value=
"<%- bugdar::$options['defaultpp'] %>" id=
"settings[defaultpp]" /></dd>
309 <label for=
"settings[maxpp]">
310 <%- T('Maximum Per-Page Value') %
>
311 <dfn><%- T('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.') %
></dfn>
314 <dd><input type=
"text" name=
"settings[maxpp]" value=
"<%- bugdar::$options['maxpp'] %>" id=
"settings[maxpp]" /></dd>
319 <label for=
"settings[pagelinks]">
320 <%- T('Number of Page Links') %
>
321 <dfn><%- T('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.') %
></dfn>
324 <dd><input type=
"text" name=
"settings[pagelinks]" value=
"<%- bugdar::$options['pagelinks'] %>" id=
"settings[pagelinks]" /></dd>
331 <input type=
"submit" name=
"save" value=
"<%- T('Save All Settings') %>" />
336 <legend>Untouchables
</legend>
339 <!-- trackerversion -->
341 <label for=
"settings[trackerversion]">Version Number
</label>
343 <dd><input type=
"text" name=
"settings[trackerversion]" value=
"<%- bugdar::$options['trackerversion'] %>" id=
"settings[trackerversion]" /></dd>
344 <!-- / trackerversion -->
348 <label for=
"settings[devgettext]">Custom Gettext Localizer
</label>
349 <dfn>Use the custom MOReader implementation rather than the built-in Gettext extension.
</dfn>
351 <dd><%- BSDecorator::yesno('settings[devgettext]', bugdar::$options['devgettext']) %
></dd>
352 <!-- / devgettext -->
358 <input type=
"submit" name=
"save" value=
"<%- T('Save All Settings') %>" />
365 <%- admin_footer() %
>
369 <script type=
"text/javascript"> nav_init(
"system",
"system_settings");
</script>