2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
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><%- bugdar::$options['trackertitle'] %> - <%-T("User Options")%></title>
14 <form action="userctrl.php" name="options" method="post">
15 <input type="hidden" name="do" value="update" />
17 <% if ($show['errors']): %>
18 <div class="error" style="text-align: <%- $stylevar['left'] %>">
19 <%-T("The following errors occurred")%>:
20 <%- $message->errorBox %>
29 <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("User Options")%></div>
32 <% if (bugdar::$options['authmethod'] == 'default'): %>
34 <legend><%-T("Display Name")%></legend>
35 <input type="text" name="displayname" value="<%- $userinfo['displayname'] %>" size="25" style="width: 100%" maxlength="250" />
40 <legend><%-T("Show Email Publicly")%></legend>
41 <input type="radio" name="showemail" value="1"<% if ($userinfo['showemail']): %> checked="checked"<% endif %> /> <%-T("Yes")%>
42 <input type="radio" name="showemail" value="0"<% if (!$userinfo['showemail']): %> checked="checked"<% endif %> /> <%-T("No")%>
46 <legend><%-T("Show Status Colors on Bug Listings")%></legend>
47 <input type="radio" name="showcolors" value="1"<% if ($userinfo['showcolors']): %> checked="checked"<% endif %> /> <%-T("Yes")%>
48 <input type="radio" name="showcolors" value="0"<% if (!$userinfo['showcolors']): %> checked="checked"<% endif %> /> <%-T("No")%>
52 <legend><%-T("Language")%></legend>
53 <select name="languageid"><%- $langselect %></select>
57 <legend><%-T("Timezone")%></legend>
58 <select name="timezone"><%- $tzselect %></select>
62 <legend><%-T("Observe Daylight Savings Time (DST)")%></legend>
63 <input type="checkbox" name="usedst" value="1"<% if ($userinfo['usedst']): %> checked="checked"<% endif %> /> <%-T("Yes, I'm currently observing DST")%>
67 <!-- / user options -->
71 <!-- email options -->
73 <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Email Options")%></div>
77 <tr style="text-align: center">
79 <td class="altcolor"><strong><%-T("Reporter")%></strong></td>
80 <td><strong><%-T("Assignee")%></strong></td>
81 <td class="altcolor"><strong><%-T("Favorite")%></strong></td>
82 <td><strong><%-T("Voter")%></strong></td>
83 <td class="altcolor"><strong><%-T("Commenter")%></strong></td>
86 <tr class="altcolor textcenter">
87 <td style="text-align: <%- $stylevar['left'] %>"><%-T("New bug is added")%></td>
88 <td colspan="5"><input type="checkbox" name="emailopts[0][2048]"<%- $checked[0][2048] %> value="1" /></td>
91 <tr style="text-align: center">
92 <td style="text-align: <%- $stylevar['left'] %>"><%-T("I am made the assignee")%></td>
93 <td colspan="5"><input type="checkbox" name="emailopts[0][32]"<%- $checked[0][32] %> value="1" /></td>
96 <tr class="altcolor textcenter">
97 <td style="text-align: <%- $stylevar['left'] %>"><%-T("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>
105 <tr style="text-align: center">
106 <td style="text-align: <%- $stylevar['left'] %>"><%-T("'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>
114 <tr class="altcolor textcenter">
115 <td style="text-align: <%- $stylevar['left'] %>"><%-T("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>
123 <tr style="text-align: center">
124 <td style="text-align: <%- $stylevar[left] %>"><%-T("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>
132 <tr class="altcolor textcenter">
133 <td style="text-align: <%- $stylevar[left] %>"><%-T("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>
143 <!-- / email options -->
147 <% if ($searches): %>
148 <!-- saved searches -->
150 <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Saved Searches")%></div>
152 <div class="box-mid">
156 <!-- / saved searches -->
161 <% if (bugdar::$options['authmethod'] == 'default'): %>
162 <!-- password and email -->
164 <div class="box-head" style="text-align: <%- $stylevar['left'] %>">
165 <%-T("Please enter your password to change these fields")%>:
168 <input type="password" name="validate" size="35" maxlength="250" />
171 <div class="box-mid box-margmod-top">
173 <legend><%-T("Password")%></legend>
174 <input type="password" name="password_change" size="25" style="width: 100%" maxlength="250" />
178 <legend><%-T("Confirm Password")%></legend>
179 <input type="password" name="password_confirm" size="25" style="width: 100%" maxlength="250" />
183 <div class="box-mid box-margmod-top">
185 <legend><%-T("Email")%></legend>
186 <input type="text" name="email_change" size="25" value="<%- $email %>" style="width: 100%" maxlength="250" />
190 <legend><%-T("Confirm Email")%></legend>
191 <input type="text" name="email_confirm" size="25" value="<%- $email_confirm %>" style="width: 100%" maxlength="250" />
195 <!-- / password and email -->
200 <!-- display options -->
202 <div class="box-head" style="text-align: <%- $stylevar['left'] %>"><%-T("Bug List Display Options")%></div>
204 <div class="box-mid">
206 <legend><%-T("Hidden Statuses on Bug Listing")%></legend>
207 <select name="hidestatuses[]" multiple="multiple" size="<%- $hidestatusesnum %>"><%- $hidestatuses %></select>
211 <legend><%-T("Default Sort Order Column")%></legend>
212 <%- $defaultsortkey %>
216 <legend><%-T("Default Sort Order Direction")%></legend>
217 <%- $defaultsortas %>
221 <legend><%-T("Bug List Columns")%> $help[columnorder]</legend>
222 <table class="table" style="width: auto">
223 <%- $columnOptions %>
228 <!-- / display options -->
235 <div class="submitrow">
236 <input name="submit" type="submit" value=" <%-T("Submit")%> " accesskey="s" />
237 <input name="reset" type="reset" value=" <%-T("Reset")%> " accesskey="r" />