r922: - Adding support for DST
[bugdar.git] / templates / userctrl.tpl
1 $doctype
2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
3 <head>
4 $headinclude
5 <link rel="stylesheet" href="templates/box.css" media="screen" />
6 <link rel="stylesheet" href="templates/fields.css" media="screen" />
7 <title>{$bugsys->options['trackertitle']} - {@"User Options"}</title>
8 </head>
9
10 <body>
11
12 $header
13
14 <form action="userctrl.php" name="options" method="post">
15 <input type="hidden" name="do" value="update" />
16
17 <div align="center">
18 <div style="width: $stylevar[alternate_width]">
19 <if condition="$show['errors']">
20 <div class="error">
21 {@"The following errors occurred"}:
22 {$message->process}
23 </div>
24 </if>
25
26 <div class="box">
27 <div class="box-head">{@"User Options"}</div>
28
29 <div class="box-mid">
30 <fieldset>
31 <legend>{@"Display Name"}</legend>
32 <input type="text" name="displayname" value="{$userinfo['displayname']}" size="25" style="width: 100%" />
33 </fieldset>
34
35 <fieldset>
36 <legend>{@"Show Email Publicly"}</legend>
37 <input type="radio" name="showemail" value="1"<if condition="$userinfo['showemail']"> checked="checked"</if> /> Yes
38 <input type="radio" name="showemail" value="0"<if condition="!$userinfo['showemail']"> checked="checked"</if> /> No
39 </fieldset>
40
41 <fieldset>
42 <legend>{@"Show Status Colours on Bug Listings"}</legend>
43 <input type="radio" name="showcolours" value="1"<if condition="$userinfo['showcolours']"> checked="checked"</if> /> Yes
44 <input type="radio" name="showcolours" value="0"<if condition="!$userinfo['showcolours']"> checked="checked"</if> /> No
45 </fieldset>
46
47 <fieldset>
48 <legend>{@"Language"}</legend>
49 <select name="languageid">$langselect</select>
50 </fieldset>
51
52 <fieldset>
53 <legend>{@"Timezone"}</legend>
54 <select name="timezone">$tzselect</select>
55 </fieldset>
56
57 <fieldset>
58 <legend>{@"Observe Daylight Savings Time (DST)"}</legend>
59 <input type="checkbox" name="usedst" value="1"<if condition="$userinfo['usedst']"> checked="checked"</if> /> {@"Yes, I'm currently observing DST"}
60 </div>
61 </div>
62
63 <br />
64
65 <div class="submitrow">
66 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
67 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
68 </div>
69
70 <br />
71
72 <div class="box">
73 <div class="box-head">
74 {@"Please enter your password to change these fields"}:
75 <br />
76
77 <input type="password" name="validate" size="35" />
78 </div>
79
80 <div class="box-mid + box-margmod-top">
81 <fieldset>
82 <legend>{@"Password"}</legend>
83 <input type="password" name="password" size="25" style="width: 100%" />
84 </fieldset>
85
86 <fieldset>
87 <legend>{@"Confirm Password"}</legend>
88 <input type="password" name="password_confirm" size="25" style="width: 100%" />
89 </fieldset>
90 </div>
91
92 <div class="box-mid + box-margmod-top">
93 <fieldset>
94 <legend>{@"Email"}</legend>
95 <input type="text" name="email" size="25" value="$email" style="width: 100%" />
96 </fieldset>
97
98 <fieldset>
99 <legend>{@"Confirm Email"}</legend>
100 <input type="text" name="email_confirm" size="25" value="$email_confirm" style="width: 100%" />
101 </fieldset>
102 </div>
103 </div>
104
105 <br />
106
107 <div id="submitrow">
108 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
109 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
110 </div>
111
112 <br />
113
114 <div class="box">
115 <div class="box-head">{@"Email Options"}</div>
116
117 <div class="box-mid">
118 <table cellspacing="2" cellpadding="1" border="0" style="width: 100%">
119 <tr style="text-align: center">
120 <td style="background-color: $stylevar[alt_colour]"><strong>{@"Reporter"}</strong></td>
121 <td><strong>{@"Assignee"}</strong></td>
122 <td style="background-color: $stylevar[alt_colour]"><strong>{@"Favourite"}</strong></td>
123 <td><strong>{@"Voter"}</strong></td>
124 <td style="background-color: $stylevar[alt_colour]"><strong>{@"Commenter"}</strong></td>
125 </tr>
126
127 <tr style="text-align: center; background-color: $stylevar[alt_colour]">
128 <td colspan="5"><input type="checkbox" name="emailopts[0][2048]"{$checked[0][2048]} value="1" /></td>
129 <td>{@"New bug is added"}</td>
130 </tr>
131
132 <tr style="text-align: center">
133 <td colspan="5"><input type="checkbox" name="emailopts[0][32]"{$checked[0][32]} value="1" /></td>
134 <td>{@"I am made the assignee"}</td>
135 </tr>
136
137 <tr style="text-align: center; background-color: $stylevar[alt_colour]">
138 <td><input type="checkbox" name="emailopts[1][64]"{$checked[1][64]} value="1" /></td>
139 <td><input type="checkbox" name="emailopts[2][64]"{$checked[2][64]} value="1" /></td>
140 <td><input type="checkbox" name="emailopts[4][64]"{$checked[4][64]} value="1" /></td>
141 <td><input type="checkbox" name="emailopts[8][64]"{$checked[8][64]} value="1" /></td>
142 <td><input type="checkbox" name="emailopts[16][64]"{$checked[16][64]} value="1" /></td>
143 <td>{@"Status or resolution changes"}</td>
144 </tr>
145
146 <tr style="text-align: center">
147 <td><input type="checkbox" name="emailopts[1][128]"{$checked[1][128]} value="1" /></td>
148 <td><input type="checkbox" name="emailopts[2][128]"{$checked[2][128]} value="1" /></td>
149 <td><input type="checkbox" name="emailopts[4][128]"{$checked[4][128]} value="1" /></td>
150 <td><input type="checkbox" name="emailopts[8][128]"{$checked[8][128]} value="1" /></td>
151 <td><input type="checkbox" name="emailopts[16][128]"{$checked[16][128]} value="1" /></td>
152 <td>{@"'Duplicates' field is changed"}</td>
153 </tr>
154
155 <tr style="text-align: center; background-color: $stylevar[alt_colour]">
156 <td><input type="checkbox" name="emailopts[1][256]"{$checked[1][256]} value="1" /></td>
157 <td><input type="checkbox" name="emailopts[2][256]"{$checked[2][256]} value="1" /></td>
158 <td><input type="checkbox" name="emailopts[4][256]"{$checked[4][256]} value="1" /></td>
159 <td><input type="checkbox" name="emailopts[8][256]"{$checked[8][256]} value="1" /></td>
160 <td><input type="checkbox" name="emailopts[16][256]"{$checked[16][256]} value="1" /></td>
161 <td>{@"A new comment is added"}</td>
162 </tr>
163
164 <tr style="text-align: center">
165 <td><input type="checkbox" name="emailopts[1][512]"{$checked[1][512]} value="1" /></td>
166 <td><input type="checkbox" name="emailopts[2][512]"{$checked[2][512]} value="1" /></td>
167 <td><input type="checkbox" name="emailopts[4][512]"{$checked[4][512]} value="1" /></td>
168 <td><input type="checkbox" name="emailopts[8][512]"{$checked[8][512]} value="1" /></td>
169 <td><input type="checkbox" name="emailopts[16][512]"{$checked[16][512]} value="1" /></td>
170 <td>{@"A new attachment is added"}</td>
171 </tr>
172
173 <tr style="text-align: center; background-color: $stylevar[alt_colour]">
174 <td><input type="checkbox" name="emailopts[1][1024]"{$checked[1][1024]} value="1" /></td>
175 <td><input type="checkbox" name="emailopts[2][1024]"{$checked[2][1024]} value="1" /></td>
176 <td><input type="checkbox" name="emailopts[4][1024]"{$checked[4][1024]} value="1" /></td>
177 <td><input type="checkbox" name="emailopts[8][1024]"{$checked[8][1024]} value="1" /></td>
178 <td><input type="checkbox" name="emailopts[16][1024]"{$checked[16][1024]} value="1" /></td>
179 <td>{@"Any other field changes"}</td>
180 </tr>
181 </table>
182 </div>
183 </div>
184
185 <br />
186
187 <div class="submitrow">
188 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
189 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
190 </div>
191
192 </div>
193 </div>
194
195 </form>
196
197 $footer