$doctype
<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
<head>
$headinclude
<link rel="stylesheet" href="templates/box.css" media="screen" />
<link rel="stylesheet" href="templates/fields.css" media="screen" />
<title>{$bugsys->options['trackertitle']} - {@"User Options"}</title>
</head>
<body>
$header
<form action="userctrl.php" name="options" method="post">
<input type="hidden" name="do" value="update" />
<if condition="$show['errors']">
<div class="error" style="text-align: $stylevar[left]">
{@"The following errors occurred"}:
{$message->errorBox}
</div>
</if>
<table class="table">
<tr valign="top">
<td width="50%">
<!-- user options -->
<div class="box">
<div class="box-head" style="text-align: $stylevar[left]">{@"User Options"}</div>
<div class="box-mid">
<if condition="$bugsys->options['authmethod'] == 'default'">
<fieldset>
<legend>{@"Display Name"}</legend>
<input type="text" name="displayname" value="{$userinfo['displayname']}" size="25" style="width: 100%" maxlength="250" />
</fieldset>
</if>
<fieldset>
<legend>{@"Show Email Publicly"}</legend>
<input type="radio" name="showemail" value="1"<if condition="$userinfo['showemail']"> checked="checked"</if> /> {@"Yes"}
<input type="radio" name="showemail" value="0"<if condition="!$userinfo['showemail']"> checked="checked"</if> /> {@"No"}
</fieldset>
<fieldset>
<legend>{@"Show Status Colors on Bug Listings"}</legend>
<input type="radio" name="showcolors" value="1"<if condition="$userinfo['showcolors']"> checked="checked"</if> /> {@"Yes"}
<input type="radio" name="showcolors" value="0"<if condition="!$userinfo['showcolors']"> checked="checked"</if> /> {@"No"}
</fieldset>
<fieldset>
<legend>{@"Language"}</legend>
<select name="languageid">$langselect</select>
</fieldset>
<fieldset>
<legend>{@"Timezone"}</legend>
<select name="timezone">$tzselect</select>
</fieldset>
<fieldset>
<legend>{@"Observe Daylight Savings Time (DST)"}</legend>
<input type="checkbox" name="usedst" value="1"<if condition="$userinfo['usedst']"> checked="checked"</if> /> {@"Yes, I'm currently observing DST"}
</fieldset>
</div>
</div>
<!-- / user options -->
<br />
<!-- email options -->
<div class="box">
<div class="box-head" style="text-align: $stylevar[left]">{@"Email Options"}</div>
<div class="box-mid">
<table class="table">
<tr style="text-align: center">
<td> </td>
<td class="altcolor"<strong>{@"Reporter"}</strong></td>
<td><strong>{@"Assignee"}</strong></td>
<td class="altcolor"<strong>{@"Favorite"}</strong></td>
<td><strong>{@"Voter"}</strong></td>
<td class="altcolor"<strong>{@"Commenter"}</strong></td>
</tr>
<tr class="altcolor textcenter">
<td style="text-align: $stylevar[left]">{@"New bug is added"}</td>
<td colspan="5"><input type="checkbox" name="emailopts[0][2048]"{$checked[0][2048]} value="1" /></td>
</tr>
<tr style="text-align: center">
<td style="text-align: $stylevar[left]">{@"I am made the assignee"}</td>
<td colspan="5"><input type="checkbox" name="emailopts[0][32]"{$checked[0][32]} value="1" /></td>
</tr>
<tr class="altcolor textcenter">
<td style="text-align: $stylevar[left]">{@"Status or resolution changes"}</td>
<td><input type="checkbox" name="emailopts[1][64]"{$checked[1][64]} value="1" /></td>
<td><input type="checkbox" name="emailopts[2][64]"{$checked[2][64]} value="1" /></td>
<td><input type="checkbox" name="emailopts[4][64]"{$checked[4][64]} value="1" /></td>
<td><input type="checkbox" name="emailopts[8][64]"{$checked[8][64]} value="1" /></td>
<td><input type="checkbox" name="emailopts[16][64]"{$checked[16][64]} value="1" /></td>
</tr>
<tr style="text-align: center">
<td style="text-align: $stylevar[left]">{@"'Duplicates' field is changed"}</td>
<td><input type="checkbox" name="emailopts[1][128]"{$checked[1][128]} value="1" /></td>
<td><input type="checkbox" name="emailopts[2][128]"{$checked[2][128]} value="1" /></td>
<td><input type="checkbox" name="emailopts[4][128]"{$checked[4][128]} value="1" /></td>
<td><input type="checkbox" name="emailopts[8][128]"{$checked[8][128]} value="1" /></td>
<td><input type="checkbox" name="emailopts[16][128]"{$checked[16][128]} value="1" /></td>
</tr>
<tr class="altcolor textcenter">
<td style="text-align: $stylevar[left]">{@"A new comment is added"}</td>
<td><input type="checkbox" name="emailopts[1][256]"{$checked[1][256]} value="1" /></td>
<td><input type="checkbox" name="emailopts[2][256]"{$checked[2][256]} value="1" /></td>
<td><input type="checkbox" name="emailopts[4][256]"{$checked[4][256]} value="1" /></td>
<td><input type="checkbox" name="emailopts[8][256]"{$checked[8][256]} value="1" /></td>
<td><input type="checkbox" name="emailopts[16][256]"{$checked[16][256]} value="1" /></td>
</tr>
<tr style="text-align: center">
<td style="text-align: $stylevar[left]">{@"A new attachment is added"}</td>
<td><input type="checkbox" name="emailopts[1][512]"{$checked[1][512]} value="1" /></td>
<td><input type="checkbox" name="emailopts[2][512]"{$checked[2][512]} value="1" /></td>
<td><input type="checkbox" name="emailopts[4][512]"{$checked[4][512]} value="1" /></td>
<td><input type="checkbox" name="emailopts[8][512]"{$checked[8][512]} value="1" /></td>
<td><input type="checkbox" name="emailopts[16][512]"{$checked[16][512]} value="1" /></td>
</tr>
<tr class="altcolor textcenter">
<td style="text-align: $stylevar[left]">{@"Any other field changes"}</td>
<td><input type="checkbox" name="emailopts[1][1024]"{$checked[1][1024]} value="1" /></td>
<td><input type="checkbox" name="emailopts[2][1024]"{$checked[2][1024]} value="1" /></td>
<td><input type="checkbox" name="emailopts[4][1024]"{$checked[4][1024]} value="1" /></td>
<td><input type="checkbox" name="emailopts[8][1024]"{$checked[8][1024]} value="1" /></td>
<td><input type="checkbox" name="emailopts[16][1024]"{$checked[16][1024]} value="1" /></td>
</tr>
</table>
</div>
</div>
<!-- / email options -->
<br />
<if condition="$searches">
<!-- saved searches -->
<div class="box">
<div class="box-head" style="text-align: $stylevar[left]">{@"Saved Searches"}</div>
<div class="box-mid">
$searches
</div>
</div>
<!-- / saved searches -->
</if>
</td>
<td>
<if condition="$bugsys->options['authmethod'] == 'default'">
<!-- password and email -->
<div class="box">
<div class="box-head" style="text-align: $stylevar[left]">
{@"Please enter your password to change these fields"}:
<br />
<input type="password" name="validate" size="35" maxlength="250" />
</div>
<div class="box-mid box-margmod-top">
<fieldset>
<legend>{@"Password"}</legend>
<input type="password" name="password_change" size="25" style="width: 100%" maxlength="250" />
</fieldset>
<fieldset>
<legend>{@"Confirm Password"}</legend>
<input type="password" name="password_confirm" size="25" style="width: 100%" maxlength="250" />
</fieldset>
</div>
<div class="box-mid box-margmod-top">
<fieldset>
<legend>{@"Email"}</legend>
<input type="text" name="email_change" size="25" value="$email" style="width: 100%" maxlength="250" />
</fieldset>
<fieldset>
<legend>{@"Confirm Email"}</legend>
<input type="text" name="email_confirm" size="25" value="$email_confirm" style="width: 100%" maxlength="250" />
</fieldset>
</div>
</div>
<!-- / password and email -->
<br />
</if>
<!-- display options -->
<div class="box">
<div class="box-head" style="text-align: $stylevar[left]">{@"Bug List Display Options"}</div>
<div class="box-mid">
<fieldset>
<legend>{@"Hidden Statuses on Bug Listing"}</legend>
<select name="hidestatuses[]" multiple="multiple" size="$hidestatusesnum">$hidestatuses</select>
</fieldset>
<fieldset>
<legend>{@"Default Sort Order Column"}</legend>
$defaultsortkey
</fieldset>
<fieldset>
<legend>{@"Default Sort Order Direction"}</legend>
$defaultsortas
</fieldset>
<fieldset>
<legend>{@"Bug List Columns"} $help[columnorder]</legend>
<table class="table" style="width: auto">
$columnOptions
</table>
</fieldset>
</div>
</div>
<!-- / display options -->
</td>
</tr>
</table>
<br />
<div class="submitrow">
<input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
<input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
</div>
</form>
$footer