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