Skip to content

Commit

Permalink
Fix 0009590: Empty option in email preferences menu breaks XHTML comp…
Browse files Browse the repository at this point in the history
…liance
  • Loading branch information
mantis committed Dec 21, 2008
1 parent 7651cef commit d9f7d98
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions account_prefs_inc.php
Expand Up @@ -143,7 +143,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_new_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_new_min_severity ) ?>
</select>
</td>
Expand All @@ -157,7 +157,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_assigned_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_assigned_min_severity ) ?>
</select>
</td>
Expand All @@ -171,7 +171,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_feedback_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_feedback_min_severity ) ?>
</select>
</td>
Expand All @@ -185,7 +185,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_resolved_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_resolved_min_severity ) ?>
</select>
</td>
Expand All @@ -199,7 +199,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_closed_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_closed_min_severity ) ?>
</select>
</td>
Expand All @@ -213,7 +213,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_reopened_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_reopened_min_severity ) ?>
</select>
</td>
Expand All @@ -227,7 +227,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_bugnote_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_bugnote_min_severity ) ?>
</select>
</td>
Expand All @@ -241,7 +241,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_status_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_status_min_severity ) ?>
</select>
</td>
Expand All @@ -255,7 +255,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<?php echo lang_get( 'with_minimum_severity' ) ?>
<select name="email_on_priority_min_severity">
<option value="<?php echo OFF ?>"><?php echo lang_get( 'any' ) ?></option>
<option value="<?php echo OFF ?>"></option>
<option disabled="disabled">-----</option>
<?php print_enum_string_option_list( 'severity', $t_pref->email_on_priority_min_severity ) ?>
</select>
</td>
Expand Down

0 comments on commit d9f7d98

Please sign in to comment.