Templates XHTML compliance fixes
[bugdar.git] / templates / userctrl.tpl
1 $doctype
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
3 <head>
4 $headinclude
5 <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
6 <link rel="stylesheet" type="text/css" 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 <if condition="$show['errors']">
18 <div class="error" style="text-align: $stylevar[left]">
19 {@"The following errors occurred"}:
20 {$message->errorBox}
21 </div>
22 </if>
23
24 <table class="table">
25 <tr valign="top">
26 <td width="50%">
27 <!-- user options -->
28 <div class="box">
29 <div class="box-head" style="text-align: $stylevar[left]">{@"User Options"}</div>
30
31 <div class="box-mid">
32 <if condition="$bugsys->options['authmethod'] == 'default'">
33 <fieldset>
34 <legend>{@"Display Name"}</legend>
35 <input type="text" name="displayname" value="{$userinfo['displayname']}" size="25" style="width: 100%" maxlength="250" />
36 </fieldset>
37 </if>
38
39 <fieldset>
40 <legend>{@"Show Email Publicly"}</legend>
41 <input type="radio" name="showemail" value="1"<if condition="$userinfo['showemail']"> checked="checked"</if> /> {@"Yes"}
42 <input type="radio" name="showemail" value="0"<if condition="!$userinfo['showemail']"> checked="checked"</if> /> {@"No"}
43 </fieldset>
44
45 <fieldset>
46 <legend>{@"Show Status Colors on Bug Listings"}</legend>
47 <input type="radio" name="showcolors" value="1"<if condition="$userinfo['showcolors']"> checked="checked"</if> /> {@"Yes"}
48 <input type="radio" name="showcolors" value="0"<if condition="!$userinfo['showcolors']"> checked="checked"</if> /> {@"No"}
49 </fieldset>
50
51 <fieldset>
52 <legend>{@"Language"}</legend>
53 <select name="languageid">$langselect</select>
54 </fieldset>
55
56 <fieldset>
57 <legend>{@"Timezone"}</legend>
58 <select name="timezone">$tzselect</select>
59 </fieldset>
60
61 <fieldset>
62 <legend>{@"Observe Daylight Savings Time (DST)"}</legend>
63 <input type="checkbox" name="usedst" value="1"<if condition="$userinfo['usedst']"> checked="checked"</if> /> {@"Yes, I'm currently observing DST"}
64 </fieldset>
65 </div>
66 </div>
67 <!-- / user options -->
68
69 <br />
70
71 <!-- email options -->
72 <div class="box">
73 <div class="box-head" style="text-align: $stylevar[left]">{@"Email Options"}</div>
74
75 <div class="box-mid">
76 <table class="table">
77 <tr style="text-align: center">
78 <td>&nbsp;</td>
79 <td class="altcolor"><strong>{@"Reporter"}</strong></td>
80 <td><strong>{@"Assignee"}</strong></td>
81 <td class="altcolor"><strong>{@"Favorite"}</strong></td>
82 <td><strong>{@"Voter"}</strong></td>
83 <td class="altcolor"><strong>{@"Commenter"}</strong></td>
84 </tr>
85
86 <tr class="altcolor textcenter">
87 <td style="text-align: $stylevar[left]">{@"New bug is added"}</td>
88 <td colspan="5"><input type="checkbox" name="emailopts[0][2048]"{$checked[0][2048]} value="1" /></td>
89 </tr>
90
91 <tr style="text-align: center">
92 <td style="text-align: $stylevar[left]">{@"I am made the assignee"}</td>
93 <td colspan="5"><input type="checkbox" name="emailopts[0][32]"{$checked[0][32]} value="1" /></td>
94 </tr>
95
96 <tr class="altcolor textcenter">
97 <td style="text-align: $stylevar[left]">{@"Status or resolution changes"}</td>
98 <td><input type="checkbox" name="emailopts[1][64]"{$checked[1][64]} value="1" /></td>
99 <td><input type="checkbox" name="emailopts[2][64]"{$checked[2][64]} value="1" /></td>
100 <td><input type="checkbox" name="emailopts[4][64]"{$checked[4][64]} value="1" /></td>
101 <td><input type="checkbox" name="emailopts[8][64]"{$checked[8][64]} value="1" /></td>
102 <td><input type="checkbox" name="emailopts[16][64]"{$checked[16][64]} value="1" /></td>
103 </tr>
104
105 <tr style="text-align: center">
106 <td style="text-align: $stylevar[left]">{@"'Duplicates' field is changed"}</td>
107 <td><input type="checkbox" name="emailopts[1][128]"{$checked[1][128]} value="1" /></td>
108 <td><input type="checkbox" name="emailopts[2][128]"{$checked[2][128]} value="1" /></td>
109 <td><input type="checkbox" name="emailopts[4][128]"{$checked[4][128]} value="1" /></td>
110 <td><input type="checkbox" name="emailopts[8][128]"{$checked[8][128]} value="1" /></td>
111 <td><input type="checkbox" name="emailopts[16][128]"{$checked[16][128]} value="1" /></td>
112 </tr>
113
114 <tr class="altcolor textcenter">
115 <td style="text-align: $stylevar[left]">{@"A new comment is added"}</td>
116 <td><input type="checkbox" name="emailopts[1][256]"{$checked[1][256]} value="1" /></td>
117 <td><input type="checkbox" name="emailopts[2][256]"{$checked[2][256]} value="1" /></td>
118 <td><input type="checkbox" name="emailopts[4][256]"{$checked[4][256]} value="1" /></td>
119 <td><input type="checkbox" name="emailopts[8][256]"{$checked[8][256]} value="1" /></td>
120 <td><input type="checkbox" name="emailopts[16][256]"{$checked[16][256]} value="1" /></td>
121 </tr>
122
123 <tr style="text-align: center">
124 <td style="text-align: $stylevar[left]">{@"A new attachment is added"}</td>
125 <td><input type="checkbox" name="emailopts[1][512]"{$checked[1][512]} value="1" /></td>
126 <td><input type="checkbox" name="emailopts[2][512]"{$checked[2][512]} value="1" /></td>
127 <td><input type="checkbox" name="emailopts[4][512]"{$checked[4][512]} value="1" /></td>
128 <td><input type="checkbox" name="emailopts[8][512]"{$checked[8][512]} value="1" /></td>
129 <td><input type="checkbox" name="emailopts[16][512]"{$checked[16][512]} value="1" /></td>
130 </tr>
131
132 <tr class="altcolor textcenter">
133 <td style="text-align: $stylevar[left]">{@"Any other field changes"}</td>
134 <td><input type="checkbox" name="emailopts[1][1024]"{$checked[1][1024]} value="1" /></td>
135 <td><input type="checkbox" name="emailopts[2][1024]"{$checked[2][1024]} value="1" /></td>
136 <td><input type="checkbox" name="emailopts[4][1024]"{$checked[4][1024]} value="1" /></td>
137 <td><input type="checkbox" name="emailopts[8][1024]"{$checked[8][1024]} value="1" /></td>
138 <td><input type="checkbox" name="emailopts[16][1024]"{$checked[16][1024]} value="1" /></td>
139 </tr>
140 </table>
141 </div>
142 </div>
143 <!-- / email options -->
144
145 <br />
146
147 <if condition="$searches">
148 <!-- saved searches -->
149 <div class="box">
150 <div class="box-head" style="text-align: $stylevar[left]">{@"Saved Searches"}</div>
151
152 <div class="box-mid">
153 $searches
154 </div>
155 </div>
156 <!-- / saved searches -->
157 </if>
158 </td>
159
160 <td>
161 <if condition="$bugsys->options['authmethod'] == 'default'">
162 <!-- password and email -->
163 <div class="box">
164 <div class="box-head" style="text-align: $stylevar[left]">
165 {@"Please enter your password to change these fields"}:
166 <br />
167
168 <input type="password" name="validate" size="35" maxlength="250" />
169 </div>
170
171 <div class="box-mid box-margmod-top">
172 <fieldset>
173 <legend>{@"Password"}</legend>
174 <input type="password" name="password_change" size="25" style="width: 100%" maxlength="250" />
175 </fieldset>
176
177 <fieldset>
178 <legend>{@"Confirm Password"}</legend>
179 <input type="password" name="password_confirm" size="25" style="width: 100%" maxlength="250" />
180 </fieldset>
181 </div>
182
183 <div class="box-mid box-margmod-top">
184 <fieldset>
185 <legend>{@"Email"}</legend>
186 <input type="text" name="email_change" size="25" value="$email" style="width: 100%" maxlength="250" />
187 </fieldset>
188
189 <fieldset>
190 <legend>{@"Confirm Email"}</legend>
191 <input type="text" name="email_confirm" size="25" value="$email_confirm" style="width: 100%" maxlength="250" />
192 </fieldset>
193 </div>
194 </div>
195 <!-- / password and email -->
196
197 <br />
198 </if>
199
200 <!-- display options -->
201 <div class="box">
202 <div class="box-head" style="text-align: $stylevar[left]">{@"Bug List Display Options"}</div>
203
204 <div class="box-mid">
205 <fieldset>
206 <legend>{@"Hidden Statuses on Bug Listing"}</legend>
207 <select name="hidestatuses[]" multiple="multiple" size="$hidestatusesnum">$hidestatuses</select>
208 </fieldset>
209
210 <fieldset>
211 <legend>{@"Default Sort Order Column"}</legend>
212 $defaultsortkey
213 </fieldset>
214
215 <fieldset>
216 <legend>{@"Default Sort Order Direction"}</legend>
217 $defaultsortas
218 </fieldset>
219
220 <fieldset>
221 <legend>{@"Bug List Columns"} $help[columnorder]</legend>
222 <table class="table" style="width: auto">
223 $columnOptions
224 </table>
225 </fieldset>
226 </div>
227 </div>
228 <!-- / display options -->
229 </td>
230 </tr>
231 </table>
232
233 <br />
234
235 <div class="submitrow">
236 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
237 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
238 </div>
239
240 </form>
241
242 $footer