/
duedate.xml
68 lines (64 loc) · 2.38 KB
/
duedate.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Admin_Guide.ent">
]>
<section id="admin.config.duedate">
<title>Due Date</title>
<variablelist>
<varlistentry>
<term>$g_due_date_update_threshold</term>
<listitem>
<para>Threshold to update due date submitted. Default is NOBODY.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_due_date_view_threshold</term>
<listitem>
<para>Threshold to see due date. Default is NOBODY.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_due_date_default</term>
<listitem>
<para>Default due date value for newly submitted issues:
Empty string for no due date set.
Related date that is accepted by <ulink url="http://php.net/manual/en/function.strtotime.php">strtotime()</ulink>,
e.g. 'today' or '+2 days'. Default is ''.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_due_date_warning_levels</term>
<listitem>
<para>Due date warning levels. A variable number of Levels
(defined as a number of seconds going backwards
from the current timestamp, compared to an issue's due date) can be defined.
Levels must be defined in ascending order.
<itemizedlist>
<listitem>
<para>The first entry (array key 0) defines <emphasis>Overdue</emphasis>.
Normally and by default, its value is <literal>0</literal>, meaning
that issues will be marked overdue as soon as
their due date has passed. However, it is also possible to set it to a
higher value to flag overdue issues earlier, or even use a negative value
to allow a "grace period" after due date.
</para>
</listitem>
<listitem>
<para>Array keys 1 and 2 offer two levels of <emphasis>Due soon</emphasis>:
orange and green.
By default, only the first one is set, to 7 days.
</para>
</listitem>
</itemizedlist>
Out of the box, MantisBT allows for 3 warning levels. Additional ones may
be defined, but in that case new <literal>due-N</literal> CSS rules
(where N is the array's index) must be created otherwise the extra levels
will not be highlighted in the UI.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>