Templates XHTML compliance fixes
authorElisamuel Resto <ryuji@sourcemage.org>
Sat, 14 Jun 2008 02:29:08 +0000 (22:29 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 16 Jun 2008 02:10:50 +0000 (22:10 -0400)
Nearly all modified templates had a issue of:
 - no xmlns tag inside of the html tag
 - no type tag inside the stylesheet link rel's
 - no /> for some form elements

bugfield_input_text was missing a ending > for maxlength that made the output
visually break, and push everything onto one column, also making validation fail.

There are other validation warnings, such as for empty options in select fields
among others, but those are non-offensive, thus they don't exactly need attention.

Signed-off-by: Elisamuel Resto <ryuji@sourcemage.org>
26 files changed:
templates/bugfield_input_text.tpl
templates/editattach.tpl
templates/editcomment.tpl
templates/explain_automation.tpl
templates/explain_product.tpl
templates/favorites.tpl
templates/headinclude.tpl
templates/help_window.tpl
templates/history.tpl
templates/login.tpl
templates/lostpassword.tpl
templates/newattach.tpl
templates/newreport.tpl
templates/passwordreset.tpl
templates/quicksearch.tpl
templates/register.tpl
templates/search.tpl
templates/search_results.tpl
templates/search_save.tpl
templates/search_update.tpl
templates/showreport.tpl
templates/std_error.tpl
templates/std_message.tpl
templates/std_redirect.tpl
templates/trackerhome.tpl
templates/userctrl.tpl

index b321b1e7ed7d23c1212953410d9b80c07ff04f50..576fc8f0bb817c4866a0032e7712e85710e8bb3e 100644 (file)
@@ -1,6 +1,6 @@
        <!-- custom field$field[fieldid] -->
        <fieldset>
                <legend>$field[name] $help[field$field[fieldid]]</legend>
-               <div class="field"><input name="custom$field[fieldid]" type="text" value="$value" size="35"<if condition="$field['maxlength']">maxlength="$field[maxlength]</if> /></div>
+               <div class="field"><input name="custom$field[fieldid]" type="text" value="$value" size="35"<if condition="$field['maxlength']"> maxlength="$field[maxlength]"</if> /></div>
        </fieldset>
        <!-- / custom field$field[fieldid] -->
index 06b9af568b40204b4beea6bc25f34f9f30cf141c..bfffd9e81c2a8db2dc8d6890f6d13b0e3c56198f 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>$attachment[filename] - $bug[summary]</title>
 </head>
 
@@ -19,11 +19,11 @@ $header
        <div class="box-head" style="text-align: $stylevar[left]">
                <lang 1="$attachment[attachmentid]" 2="$bug[bugid]" 3="$bug[summary]">{@"Attachment #%1$s for Bug #%2$s %3$s"}</lang>
        </div>
-       
+
        <div class="box-mid box-margmod-bottom" style="text-align: $stylevar[left]">
                <div><strong>{@"Attachment"}:</strong> <a href="viewattachment.php?attachmentid=$attachment[attachmentid]">{@"View"}</a> [$attachment[filename]]</div>
        </div>
-       
+
        <div class="box-mid" style="text-align: $stylevar[left]">
                <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" maxlength="250" value="$attachment[description]" /></div>
                <div><strong>{@"Obsolete"}:</strong> <input name="obsolete" type="checkbox" value="1"<if condition="$attachment['obsolete']"> checked="checked"</if> /></div>
index b03c4432f7314e12c91ef754e7524b47b137122a..570e8f4250e8843c1c3d329e3182bca1cc73fd3c 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title><lang 1="$comment[commentid]">{@"Edit Comment %1$s"}</lang> - $bug[summary]</title>
 </head>
 
@@ -25,9 +25,9 @@ $header
        <div class="box-head" style="text-align: $stylevar[left]">
                <lang 1="$comment[commentid]" 2="$bug[bugid]" 3="$bug[summary]">{@"Comment #%1$s in bug #%2$s <em>%3$s</em>"}</lang>
        </div>
-       
+
        <div class="box-foot box-margmod-bottom" style="text-align: $stylevar[left]"><lang 1="$comment[posttime]" 2="$comment[postby]">{@"Posted on %1$s by %2$s"}</lang></div>
-       
+
        <div class="box-mid" style="text-align: $stylevar[left]">
                <if condition="$show['hide']"><div><strong<if condition="$comment['hidden']"> style="color: red"</if>>{@"Hidden"}:</strong> <input type="checkbox" name="hidden" value="1"<if condition="$comment['hidden']"> checked="checked"</if> /></div></if>
                <div><strong>{@"Parse Links in the Comment"}:</strong> <input type="checkbox" name="parselinks" value="1"<if condition="$comment['parselinks']"> checked="checked"</if> /></div>
index b66c4ee2bbc45a51100acc9d798c19903077cdec..90fb8684791a2229d399fac27e08343559b6f35f 100644 (file)
@@ -1,5 +1,5 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
        <title>{$bugsys->options['trackertitle']} - {@"Automations"}</title>
index c67aec665f8be5dcf0211397b5a729909b93f584..cc841b4fcfcc869e4c390fafe54989379ccc084b 100644 (file)
@@ -1,5 +1,5 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
        <title>{$bugsys->options['trackertitle']} - {@"Products"}</title>
index fa81285586932086d9c76380b80e2fd4442ac357..36e92349b9138b91f48655d25e698cc9ff403559 100644 (file)
@@ -1,5 +1,5 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
        <title>{$bugsys->options['trackertitle']} - {@"My Favorite Bugs"}</title>
index 24c16d91a8138b8a62edfdc9a01df598b5f906c5..339ec1a5fa183f1423fc5fe128311c02fac685d6 100644 (file)
@@ -1,6 +1,6 @@
        <!-- CSS and JavaScript goes here -->
        <meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
-       <link rel="stylesheet" href="templates/global.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/global.css" media="screen" />
        <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="syndicate.php" />
        <script type="text/javascript"> var lang = { "Cancel" : "{@"Cancel"}" }; </script>
        <script src="templates/global.js" type="text/javascript"></script>
\ No newline at end of file
index 24b575c94d96d993af43e101fb4b7986d67874a9..181aa55f3993d0e7ed1e7393e9e829511ae59375 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{@"Help"} - $topic[title]</title>
 </head>
 
@@ -11,7 +11,7 @@ $headinclude
 <div align="center" style="margin-top: 10px">
        <div class="box" style="width: 90%">
                <div class="box-head">{@"Help"} : $topic[title]</div>
-               
+
                <div class="box-mid box-overpad">
                        $topic[body]
                </div>
index 13134aee9c03228052a5755aa690cd33c8ff4cde..88add76c3af1dea4b0799a5561133108285a2b54 100644 (file)
@@ -1,5 +1,5 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
        <title>{@"Bug History"} - $bug[summary]</title>
index 58df23e860a60f6505de7cf8d5886ab5e1889238..17840a2f406d5cc21a6de7db05ca464145c54ee4 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Login"}</title>
 </head>
 
@@ -17,7 +17,7 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head">{@"Login"}</div>
-               
+
                <div class="box-mid">
                        <div><strong>{@"Email"}:</strong> <input type="text" name="email" size="30" /></div>
                        <div><strong>{@"Password"}:</strong> <input type="password" name="password" size="30" /></div>
@@ -25,7 +25,7 @@ $header
                        <br />
                        [<a href="register.php">{@"Register"}</a>] [<a href="login.php?do=lostpw">{@"Lost Password"}</a>]
                </div>
-               
+
                <div class="box-foot box-center">
                        <input type="submit" name="submit" value="  {@"Login"}  " accesskey="s" />
                        <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
index 84e5ff2b7e336e123720d74d163a646cf41d2f0e..9694a9fbd360aec078b26a78913446b13c7ed22b 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Lost Password"}</title>
 </head>
 
@@ -16,13 +16,13 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head">{@"Lost Password Recovery"}</div>
-               
+
                <div class="box-mid">
                        <if condition="$show['lostpwerror']"><div class="error">{@"The specified email could not be found or it is invalid."}</div></if>
                        <div>{@"Enter your email in the box below and you will receive a message with instructions on how to set a new password."}</div>
                        <div><strong>{@"Email"}:</strong> <input type="text" name="email" size="30" value="{$bugsys->in['email']}" /></div>
                </div>
-               
+
                <div class="box-foot box-center">
                        <input type="submit" name="submit" value="  {@"Submit"}  " accesskey="s" />
                        <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
index 0bbac097075f6810831a58693e1afe0ebb4637d3..99e6892aa57214e476475514eab5f0ef54be7600 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{@"New Attachment"} - $bug[summary]</title>
 </head>
 
@@ -25,12 +25,12 @@ $header
 
 <div class="box">
        <div class="box-head" style="text-align: $stylevar[left]"><lang 1="$bug[bugid]" 2="$bug[summary]">{@"New Attachment for Bug #%1$s %2$s"}</lang></div>
-       
+
        <div class="box-mid box-margmod-bottom" style="text-align: $stylevar[left]">
                <div><input name="attachment" type="file" /></div>
                <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" value="{$bugsys->in['description']}" maxlength="250" /></div>
        </div>
-       
+
        <if condition="$show['obsoletes']">
        <div class="box-mid box-margmod-bottom" style="text-align: $stylevar[left]">
                <div><strong>{@"Mark the Following Attachments Obsolete"}:</strong>
@@ -38,7 +38,7 @@ $header
                </div>
        </div>
        </if>
-       
+
        <if condition="$show['addcomment']">
        <div class="box-mid" style="text-align: $stylevar[left]">
                <div><strong>{@"Add Comment"}:</strong>
index e164226d7ba34f33a28536caf1b50e62e941183a..61c8801a377f1d796f5d87842284fea692c2786b 100644 (file)
@@ -1,9 +1,9 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
-       <link rel="stylesheet" href="templates/report.css" media="screen" />
-       <link rel="stylesheet" href="templates/fields.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
        <title>{@"New Bug Report"} - {$bugsys->options['trackertitle']}</title>
 </head>
 
@@ -24,21 +24,21 @@ $header
 <div id="fieldbody">
        <!-- LEFT COLUMN -->
        <div id="$stylevar[left]col">
-               
+
                <!-- summary -->
                <fieldset>
                        <legend>{@"Reporter"} $help[reporter]</legend>
                        <div class="field">$reporter</div>
                </fieldset>
                <!-- / summary -->
-                       
+
                <!-- product -->
                <fieldset>
                        <legend><a href="explain.php?do=products">{@"Product/Version"}</a> $help[product]</legend>
                        <div class="field"><select name="product"><if condition="!$bugsys->in['product']"><option value="0" selected="selected">{@"Select..."}</option></if>$productSelect</select></div>
                </fieldset>
                <!-- / product -->
-               
+
                <if condition="$show['changestatus']">
                <!-- status -->
                <fieldset>
@@ -47,29 +47,29 @@ $header
                </fieldset>
                <!-- / status -->
                </if>
-               
+
                <!-- severity -->
                <fieldset>
                        <legend>{@"Severity"} $help[severity]</legend>
                        <div class="field"><select name="severity">$select[severity]</select></div>
                </fieldset>
                <!-- / severity -->
-               
+
                $customfields[left]
-               
+
        </div>
        <!-- / LEFT COLUMN -->
-       
+
        <!-- RIGHT COLUMN -->
        <div id="$stylevar[right]col">
-       
+
                <!-- summary -->
                <fieldset>
                        <legend>{@"Summary"} $help[summary]</legend>
                        <div class="field"><input type="text" name="summary" size="25" value="{$bugsys->in['summary']}" style="width: 100%" maxlength="250" /></div>
                </fieldset>
                <!-- / summary -->
-               
+
                <if condition="$show['assign']">
                <!-- assignment -->
                <fieldset>
@@ -78,7 +78,7 @@ $header
                </fieldset>
                <!-- / assignment -->
                </if>
-               
+
                <if condition="$show['changestatus']">
                <!-- resolution -->
                <fieldset>
@@ -87,7 +87,7 @@ $header
                </fieldset>
                <!-- / resolution -->
                </if>
-               
+
                <if condition="$show['changestatus']">
                <!-- priority -->
                <fieldset>
@@ -96,9 +96,9 @@ $header
                </fieldset>
                <!-- / priority -->
                </if>
-               
+
                $customfields[right]
-               
+
        </div>
        <!-- / RIGHT COLUMN -->
 </div>
@@ -109,9 +109,9 @@ $header
 <div style="width: 100%">
        <fieldset>
                <legend>{@"Description/Initial Report"}</legend>
-       
+
                <textarea name="comment" cols="50" rows="10" class="textarea"><if condition="$bugsys->in['comment']">{$bugsys->in['comment']}<else />{$bugsys->options['defaultcomment']}</if></textarea>
-               
+
                <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"</if> /> {@"Parse Links in the Comment"}</div>
        </fieldset>
 </div>
index afec9618daae9b638b960d27abd5fa13e6de3c71..7ce3eb2dfd1a90c6f4666e337e8e7fa374367b3f 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Reset Password"}</title>
 </head>
 
@@ -24,13 +24,13 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head">{@"Lost Password Recovery: Password Reset"}</div>
-               
+
                <div class="box-mid">
                        <div>{@"Enter a new password below and then confirm it."}</div>
                        <div><strong>{@"New Password"}:</strong> <input type="password" name="fix_password" size="30" /></div>
                        <div><strong>{@"Confirm Password"}:</strong> <input type="password" name="confirm_password" size="30" /></div>
                </div>
-               
+
                <div class="box-foot box-center">
                        <input type="submit" name="submit" value="  {@"Submit"}  " accesskey="s" />
                        <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
index 5f871d8d13e9d6f8eb5cc35b05cd0882e1cd006d..4c6cdd153bd0517ce26dc1374e98bd6e1bf5cce6 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Quick Search"}</title>
 </head>
 
@@ -13,17 +13,17 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head" style="text-align: $stylevar[left]">{@"Quick Search"}</div>
-               
+
                <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
                        <if condition="$error">
                                <div class="error" style="margin-bottom: 5px; text-align: $stylevar[left]">$error</div>
                        </if>
-                       
+
                        <form name="quicksearch" action="showreport.php" method="post" class="form">
                        <input type="hidden" name="do" value="quicksearch" />
-                       
+
                        {@"Go to bug ID"} <input type="text" name="bugid" size="5" /> <input type="submit" name="submit" value="  {@"Go"}  " />
-                       
+
                        </form>
                </div>
        </div>
index 996b7f49cf41c2f8a942653d9669617c5a909487..5eec07477a0de0dab556c511118ffeb510d5482c 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Register"}</title>
 </head>
 
@@ -23,7 +23,7 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head">{@"Register"}</div>
-               
+
                <div class="box-mid">
                        <div><strong>{@"Email"}:</strong> <input type="text" name="email" size="30" value="{$bugsys->in['email']}" /></div>
                        <div><strong>{@"Confirm Email"}:</strong> <input type="text" name="confirmemail" size="30" value="{$bugsys->in['confirmemail']}" /></div>
@@ -33,7 +33,7 @@ $header
                        <div><strong>{@"Show My Email Publicly"}:</strong> <input type="checkbox" value="1" name="showemail"<if condition="$bugsys->in['showemail']"> checked="checked"</if> /> {@"Yes"}</div>
                        <div><strong>{@"Language"}:</strong> <select name="languageid">$opts</select></div>
                </div>
-               
+
                <div class="box-foot box-center">
                        <input type="submit" name="submit" value="  {@"Register"}  " accesskey="s" />
                        <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
index 0d2631fd99443f3becf3fefab94bbf5f2f0aa41f..bbfcbc113126c02ece02a504dfa2763968a1e248 100644 (file)
@@ -1,9 +1,9 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
-       <link rel="stylesheet" href="templates/report.css" media="screen" />
-       <link rel="stylesheet" href="templates/fields.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Search"}</title>
 </head>
 
@@ -26,11 +26,11 @@ $header
 <div id="fieldbody">
        <!-- LEFT COLUMN -->
        <div id="leftcol">
-               
+
                <!-- search mode -->
                <fieldset>
                        <legend>{@"Search Mode"}</legend>
-                       
+
                        <div class="field">
                                <select name="mode">
                                        <option value="1" selected="selected">{@"Any Words"}</option>
@@ -40,39 +40,39 @@ $header
                        </div>
                </fieldset>
                <!-- / search mode -->
-               
+
                <!-- reporter -->
                <fieldset>
                        <legend>{@"Reporter"} $help[reporter]</legend>
                        <div class="field"><input type="text" name="reporter" size="25" style="width: 100%" /></div>
                </fieldset>
                <!-- / reporter -->
-               
+
                <!-- product & version -->
                <fieldset>
                        <legend>{@"Product / Version"} $help[product]</legend>
                        <div class="field"><select name="product[]" size="10" multiple="multiple">$productSelect</select></div>
                </fieldset>
                <!-- / product & version -->
-               
+
                <!-- status -->
                <fieldset>
                        <legend>{@"Status"} $help[status]</legend>
                        <div class="field"><select name="status[]" size="4" multiple="multiple">$select[status]</select></div>
                </fieldset>
                <!-- / status -->
-               
+
                <!-- priority -->
                <fieldset>
                        <legend>{@"Priority"} $help[priority]</legend>
                        <div class="field"><select name="priority[]" size="4" multiple="multiple">$select[priority]</select></div>
                </fieldset>
                <!-- / priority -->
-               
+
                <!-- date -->
                <fieldset>
                        <legend>{@"Date (submitted since)"}</legend>
-                       
+
                        <div class="field">
                                <select name="date">
                                        <option value="0">{@"Any Date"}</option>
@@ -87,26 +87,26 @@ $header
                        </div>
                </fieldset>
                <!-- / date -->
-                               
+
                $customfields[left]
-               
+
        </div>
        <!-- / LEFT COLUMN -->
-       
+
        <!-- RIGHT COLUMN -->
        <div id="rightcol">
-               
+
                <!-- summary -->
                <fieldset>
                        <legend>{@"Summary / Comment Text"}</legend>
                        <div class="field"><input type="text" name="summary" size="25" style="width: 100%" /></div>
                </fieldset>
                <!-- / summary -->
-                               
+
                <!-- sort by -->
                <fieldset>
                        <legend>{@"Sort By"}</legend>
-                       
+
                        <div class="field">
                                <select name="sortby">
                                        <option value="relevance">{@"Relevance"}</option>
@@ -117,7 +117,7 @@ $header
                                        <option value="resolution">{@"Resolution"}</option>
                                        <option value="dateline">{@"Date"}</option>
                                </select>
-                               
+
                                <select name="orderby">
                                        <option value="asc" selected="selected">{@"Ascending"}</option>
                                        <option value="desc">{@"Descending"}</option>
@@ -125,28 +125,28 @@ $header
                        </div>
                </fieldset>
                <!-- / sort by -->
-               
+
                <!-- assignment -->
                <fieldset>
                        <legend>{@"Assignment"} $help[assignedto]</legend>
                        <div class="field"><select name="assignedto[]" size="4" multiple="multiple">$select[dev]</select></div>
                </fieldset>
                <!-- / assignment -->
-               
+
                <!-- resolution -->
                <fieldset>
                        <legend>{@"Resolution"} $help[resolution]</legend>
                        <div class="field"><select name="resolution[]" size="4" multiple="multiple">$select[resolution]</select></div>
                </fieldset>
                <!-- / resolution -->
-               
+
                <!-- severity -->
                <fieldset>
                        <legend>{@"Severity"} $help[severity]</legend>
                        <div class="field"><select name="severity[]" size="4" multiple="multiple">$select[severity]</select></div>
                </fieldset>
                <!-- / severity -->
-               
+
                <if condition="$bugsys->userinfo['userid']">
                <!-- favorite -->
                <fieldset>
@@ -161,9 +161,9 @@ $header
                </fieldset>
                <!-- / favorite -->
                </if>
-               
+
                $customfields[right]
-               
+
        </div>
        <!-- / RIGHT COLUMN -->
 </div>
index 610574315c53096f10f69cb38326ce4ffb4f4b05..a7e730d386037802e2c8b78ac318bb962dd551ee 100644 (file)
@@ -1,5 +1,5 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
        <title>{$bugsys->options['trackertitle']} - {@"Search Results"}</title>
index e02c759f51a5d5e5d126d59c3b3eb147b5a2e909..fe2092107eb55698a6d4e1a877bf91742677dc5f 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Save Search"}</title>
 </head>
 
@@ -24,16 +24,16 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head">{@"Save Search"}</div>
-               
+
                <div class="box-mid">
                        {@"You can save this search criteria for later by naming this search."}
-                       
+
                        <br />
                        <br />
-                       
+
                        <div><strong>{@"Name"}:</strong> <input type="text" name="name" size="30" maxlength="250" value="{$bugsys->in['name']}" /></div>
                </div>
-               
+
                <div class="box-foot box-center">
                        <input type="submit" name="submit" value="  {@"Save"}  " accesskey="s" />
                        <input type="reset" name="reset" value="  {@"Reset"}  " accesskey="r" />
index ec240a8644573b87363260dbf952059aaa517285..5fbcc9c176a7e23e6de820af66419920ea17b870 100644 (file)
@@ -1,9 +1,9 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
-       <link rel="stylesheet" href="templates/report.css" media="screen" />
-       <link rel="stylesheet" href="templates/fields.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Mass Update"}</title>
 </head>
 
@@ -20,57 +20,57 @@ $header
 <div id="fieldbody">
        <!-- LEFT COLUMN -->
        <div id="leftcol">
-               
+
                <!-- product & version -->
                <fieldset>
                        <legend>{@"Product / Version"} $help[product]</legend>
                        <div class="field"><select name="product"><option value="">&nbsp;</option>$productSelect</select></div>
                </fieldset>
                <!-- / product & version -->
-               
+
                <!-- status -->
                <fieldset>
                        <legend>{@"Status"} $help[status]</legend>
                        <div class="field"><select name="status">$select[status]</select></div>
                </fieldset>
                <!-- / status -->
-               
+
                <!-- priority -->
                <fieldset>
                        <legend>{@"Priority"} $help[priority]</legend>
                        <div class="field"><select name="priority">$select[priority]</select></div>
                </fieldset>
                <!-- / priority -->
-                               
+
                $customfields[left]
-               
+
        </div>
        <!-- / LEFT COLUMN -->
-       
+
        <!-- RIGHT COLUMN -->
        <div id="rightcol">
-               
+
                <!-- assignment -->
                <fieldset>
                        <legend>{@"Assignment"} $help[assignedto]</legend>
                        <div class="field"><select name="assignedto">$select[dev]</select></div>
                </fieldset>
                <!-- / assignment -->
-               
+
                <!-- resolution -->
                <fieldset>
                        <legend>{@"Resolution"} $help[resolution]</legend>
                        <div class="field"><select name="resolution">$select[resolution]</select></div>
                </fieldset>
                <!-- / resolution -->
-               
+
                <!-- severity -->
                <fieldset>
                        <legend>{@"Severity"} $help[severity]</legend>
                        <div class="field"><select name="severity">$select[severity]</select></div>
                </fieldset>
                <!-- / severity -->
-               
+
                <if condition="$bugsys->userinfo['userid']">
                <!-- favorite -->
                <fieldset>
@@ -85,9 +85,9 @@ $header
                </fieldset>
                <!-- / favorite -->
                </if>
-               
+
                $customfields[right]
-               
+
        </div>
        <!-- / RIGHT COLUMN -->
 </div>
index 812936d669419c31057fcc2e274d4bbf15ee4e77..967e4eb7cffd09554a99a8c5cf1061fa9447cea5 100644 (file)
@@ -1,10 +1,10 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
-       <link rel="stylesheet" href="templates/report.css" media="screen" />
-       <link rel="stylesheet" href="templates/fields.css" media="screen" />
-       <link rel="stylesheet" href="templates/box.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/report.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
        <title><lang 1="$bug[bugid]">{@"Bug Report %1$s"}</lang> - $bug[summary_title]</title>
 </head>
 
@@ -19,13 +19,13 @@ $header
 <div id="fieldbody">
        <!-- LEFT COLUMN -->
        <div id="$stylevar[left]col">
-       
+
                <!-- bug id & hidden -->
                <fieldset>
                        <legend>{@"Bug Id"} $help[bugid]</legend>
                        <div class="field">
                                $bug[bugid]
-                       
+
                                <if condition="$show['edit']">
                                        /
                                        <strong<if condition="$bug['hidden']"> class="error"</if>>{@"Hidden"}:</strong>
@@ -33,21 +33,21 @@ $header
                                <else />
                                        <if condition="$bug['hidden']"> / <span class="error">{@"Hidden Bug"}</span></if>
                                </if>
-                               
+
                                / [<a href="showhistory.php?bugid=$bug[bugid]">{@"Show Bug History"}</a>]
                                <if condition="$show['subscribe']">/ [<a href="favorite.php?do=handle&amp;bugid=$bug[bugid]">$favoritetext</a>]</if>
                                <if condition="$show['delete']">/ [<a href="editreport.php?do=delete&amp;bugid=$bug[bugid]">{@"Delete"}</a>]</if>
                        </div>
                </fieldset>
                <!-- / bug id & hidden -->
-       
+
                <!-- reporter -->
                <fieldset>
                        <legend>{@"Reporter"} $help[reporter]</legend>
                        <div class="field">$bug[userinfo]</div>
                </fieldset>
                <!-- / reporter -->
-               
+
                <!-- product -->
                <fieldset>
                        <legend><a href="explain.php?do=products">{@"Product/Version"}</a> $help[product]</legend>
@@ -80,7 +80,7 @@ $header
                        </div>
                </fieldset>
                <!-- / severity -->
-               
+
                <!-- duplicate -->
                <fieldset>
                        <legend>{@"Duplicate Of"} $help[duplicateof]</legend>
@@ -94,15 +94,15 @@ $header
                        </div>
                </fieldset>
                <!-- / duplicate -->
-               
+
                $customfields[left]
-               
+
        </div>
        <!-- / LEFT COLUMN -->
-       
+
        <!-- RIGHT COLUMN -->
        <div id="$stylevar[right]col">
-       
+
                <!-- summary -->
                <fieldset>
                        <legend>{@"Summary"} $help[summary]</legend>
@@ -115,14 +115,14 @@ $header
                        </div>
                </fieldset>
                <!-- / summary -->
-               
+
                <!-- reporting time -->
                <fieldset>
                        <legend>{@"Report Time"} $help[dateline]</legend>
                        <div class="field">$bug[datetime]</div>
                </fieldset>
                <!-- / reporting time -->
-                       
+
                <!-- assignment -->
                <fieldset>
                        <legend>{@"Assignment"} $help[assignedto]</legend>
@@ -135,7 +135,7 @@ $header
                        </div>
                </fieldset>
                <!-- / assignment -->
-       
+
                <!-- resolution -->
                <fieldset>
                        <legend>{@"Resolution"} $help[resolution]</legend>
@@ -148,7 +148,7 @@ $header
                        </div>
                </fieldset>
                <!-- / resolution -->
-       
+
                <!-- priority -->
                <fieldset>
                        <legend>{@"Priority"} $help[priority]</legend>
@@ -161,7 +161,7 @@ $header
                        </div>
                </fieldset>
                <!-- / priority -->
-       
+
                <!-- dependencies -->
                <fieldset>
                        <legend>{@"Dependencies"} $help[dependency]</legend>
@@ -174,7 +174,7 @@ $header
                        </div>
                </fieldset>
                <!-- / dependencies -->
-               
+
                $customfields[right]
        </div>
        <!-- / RIGHT COLUMN -->
@@ -189,9 +189,9 @@ $header
 <div style="width: 100%">
        <fieldset>
                <legend>{@"New Reply"}<if condition="$show['automations']"> : <a href="explain.php?do=automations">{@"Automation"}</a> <select name="automation">$select[automation]</select></if> $help[newreply]</legend>
-       
+
                <textarea name="comment" cols="50" rows="10" class="textarea"></textarea>
-               
+
                <div><input type="checkbox" name="parselinks" value="1"<if condition="$bugsys->in['parselinks']"> checked="checked"</if> /> {@"Parse Links in the Comment"}</div>
        </fieldset>
 </div>
@@ -211,43 +211,43 @@ $header
 
 <!-- attachments & voting -->
 <div id="attachvote">
-       
+
        <if condition="$show['attachments']">
        <!-- attachments -->
        <div id="attachments" style="float: $stylevar[right]">
        <fieldset>
                <legend>{@"Attachments"}<if condition="$show['putattachments']"> : <a href="attachment.php?do=add&amp;bugid=$bug[bugid]">{@"New"}</a></if></legend>
-               
+
                $attachments
        </fieldset>
        </div>
        <!-- / attachments -->
        </if>
-       
+
        <!-- show votes -->
        <div id="votes<if condition="$show['attachments']"><if condition="!$show['vote']">fifty</if><else /><if condition="!$show['vote']">hundred</if></if>">
        <fieldset>
                <legend>{@"Votes"}</legend>
-               
+
                <div><strong>{@"For"}:</strong> $vote[votefor] ($vote[forpercent]%)</div>
                <div><strong>{@"Against"}:</strong> $vote[voteagainst] ($vote[againstpercent]%)</div>
                <div><strong>{@"Total"}:</strong> $vote[total]</div>
        </fieldset>
        </div>
        <!-- / show votes -->
-       
+
        <if condition="$show['vote']">
        <!-- your vote -->
        <div id="yourvote">
        <fieldset>
                <legend>{@"Your Vote"}</legend>
-               
+
                <form name="vote" action="vote.php" method="post" class="form">
                        <input type="hidden" name="do" value="vote" />
                        <input type="hidden" name="bugid" value="$bug[bugid]" />
                        <input type="radio" name="vote" value="1" /> {@"Vote For (+1)"}<br />
                        <input type="radio" name="vote" value="-1" /> {@"Vote Against (-1)"}<br />
-                       
+
                        <input type="submit" name="submit" value="  {@"Vote"}  " accesskey="v" />
                </form>
        </fieldset>
index 40cfa098b1d97b5164580e698244b7fa354f7ba0..d821a31ad78532a14b58f322ea1fe1fd2f10ecca 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"Error"}</title>
 </head>
 
@@ -13,7 +13,7 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head" style="text-align: $stylevar[left]">{@"Error"}</div>
-               
+
                <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
                        $error
                </div>
index 20aef5cfd87ad36a5c455c6900caab31a60a8b48..1b7afaa4ce7e2ca28edfe808b7c340c00c1e619f 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - <if condition="$show['confirm']">{@"Confirm"}<else />{@"Notice"}</if></title>
 </head>
 
@@ -19,16 +19,16 @@ $extra
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head" style="text-align: $stylevar[left]"><if condition="$show['confirm']">{@"Confirm"}<else />{@"Notice"}</if></div>
-               
+
                <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
                        $message
-                       
+
                        <if condition="$show['confirm']">
                                <br />
                                <br />
-                               
+
                                <div id="submitrow">
-                                       <input type="submit" name="submit" value="$button" /> 
+                                       <input type="submit" name="submit" value="$button" />
                                        <script type="text/javascript"> draw_cancel("$cancel"); </script>
                                </div>
                        </if>
index 2e6ac3934d31e4421a320a279b8b9473589c760b..22276f5b851b0d2ccd0217565917e63cb4835bbf 100644 (file)
@@ -1,8 +1,8 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" type="text/css" href="templates/box.css" media="screen" />
        <meta http-equiv="refresh" content="2; url=$url" />
        <title>{$bugsys->options['trackertitle']} - {@"Redirect..."}</title>
 </head>
@@ -14,13 +14,13 @@ $header
 <div align="center" style="margin-top: 10px">
        <div class="box altwidth">
                <div class="box-head" style="text-align: $stylevar[left]">{@"Redirect..."}</div>
-               
+
                <div class="box-mid box-overpad" style="text-align: $stylevar[left]">
                        $message
-                       
+
                        <br />
                        <br />
-       
+
                        <a href="$url">{@"If you are not redirected in a few seconds, click here."}</a>
                </div>
        </div>
index 2d5b961ae4d5b7e0335b85a3b68be3a4b44ee574..f446a41ad3c541e167a6213337a3e6f6ddd59018 100644 (file)
@@ -1,5 +1,5 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
 <head>
 $headinclude
        <title>{$bugsys->options['trackertitle']} - {@"Bug Listing"}</title>
index 16a962b162a5ea9960ae01a508640d49a5af4950..8c4fc62bc257fc17a27cc3307a9861fbfc83367e 100644 (file)
@@ -1,9 +1,9 @@
 $doctype
-<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]" dir="$stylevar[lang_dir]">
+<html xmlns="http://www.w3.org/1999/xhtml" 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" />
+       <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
+       <link rel="stylesheet" type="text/css" href="templates/fields.css" media="screen" />
        <title>{$bugsys->options['trackertitle']} - {@"User Options"}</title>
 </head>
 
@@ -27,7 +27,7 @@ $header
                        <!-- 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>
@@ -35,29 +35,29 @@ $header
                                                <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"}
@@ -65,34 +65,34 @@ $header
                                </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>&nbsp;</td>
-                                               <td class="altcolor"<strong>{@"Reporter"}</strong></td>
+                                               <td class="altcolor"><strong>{@"Reporter"}</strong></td>
                                                <td><strong>{@"Assignee"}</strong></td>
-                                               <td class="altcolor"<strong>{@"Favorite"}</strong></td>
+                                               <td class="altcolor"><strong>{@"Favorite"}</strong></td>
                                                <td><strong>{@"Voter"}</strong></td>
-                                               <td class="altcolor"<strong>{@"Commenter"}</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>
@@ -101,7 +101,7 @@ $header
                                                <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>
@@ -110,7 +110,7 @@ $header
                                                <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>
@@ -119,7 +119,7 @@ $header
                                                <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>
@@ -128,7 +128,7 @@ $header
                                                <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>
@@ -141,14 +141,14 @@ $header
                                </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>
@@ -156,7 +156,7 @@ $header
                        <!-- / saved searches -->
                        </if>
                </td>
-               
+
                <td>
                        <if condition="$bugsys->options['authmethod'] == 'default'">
                        <!-- password and email -->
@@ -164,28 +164,28 @@ $header
                                <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" />
@@ -193,30 +193,30 @@ $header
                                </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">
@@ -229,9 +229,9 @@ $header
                </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" />