diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-22 21:26:42 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-22 21:26:42 +0100 |
commit | 7d65722db6107ed7bee465a98bb46b2046756ff9 (patch) | |
tree | e71c8fe913586d83cf0bba6fb536c59c62e575e6 /template/en/default/global | |
parent | 8fd4de3639d393feb37a1744d9a91e1a25119c5d (diff) | |
download | bugs-7d65722db6107ed7bee465a98bb46b2046756ff9.tar bugs-7d65722db6107ed7bee465a98bb46b2046756ff9.tar.gz bugs-7d65722db6107ed7bee465a98bb46b2046756ff9.tar.bz2 bugs-7d65722db6107ed7bee465a98bb46b2046756ff9.tar.xz bugs-7d65722db6107ed7bee465a98bb46b2046756ff9.zip |
Bug 952793: Remove HTML4 elements which are obsolete in HTML5
r/a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 16 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 12 |
2 files changed, 14 insertions, 14 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 357baec4a..08ddace9d 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -64,13 +64,13 @@ [% ELSIF error == "chart_datafile_corrupt" %] The chart data file [% file FILTER html %] is corrupt. - + [% ELSIF error == "chart_dir_nonexistent" %] - One of the directories <tt>[% dir FILTER html %]</tt> and - <tt>[% graph_dir FILTER html %]</tt> does not exist. - + One of the directories <kbd>[% dir FILTER html %]</kbd> and + <kbd>[% graph_dir FILTER html %]</kbd> does not exist. + [% ELSIF error == "chart_file_open_fail" %] - Unable to open the chart datafile <tt>[% filename FILTER html %]</tt>. + Unable to open the chart datafile <kbd>[% filename FILTER html %]</kbd>. [% ELSIF error == "column_alter_nonexistent_fk" %] You attempted to modify the foreign key for @@ -430,15 +430,15 @@ with details of what you were doing at the time this message appeared. </p> -<tt> +<samp> <script type="text/javascript"> <!-- - document.write("<p>URL: " + + document.write("<p>URL: " + document.location.href.replace(/&/g,"&") .replace(/</g,"<") .replace(/>/g,">") + "</p>"); // --> </script> -</tt> +</samp> <table cellpadding="20"> <tr> diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 55379bda6..2018caee2 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -885,9 +885,9 @@ [% ELSIF error == "illegal_date" %] [% title = "Illegal Date" %] - '<tt>[% date FILTER html %]</tt>' is not a legal date. + '<kbd>[% date FILTER html %]</kbd>' is not a legal date. [% IF format %] - Please use the format '<tt>[% format FILTER html %]</tt>'. + Please use the format '<code>[% format FILTER html %]</code>'. [% END %] [% ELSIF error == "illegal_email_address" %] @@ -938,9 +938,9 @@ [% ELSIF error == "illegal_time" %] [% title = "Illegal Time" %] - '<tt>[% time FILTER html %]</tt>' is not a legal time. + '<kbd>[% time FILTER html %]</kbd>' is not a legal time. [% IF format %] - Please use the format '<tt>[% format FILTER html %]</tt>'. + Please use the format '<code>[% format FILTER html %]</code>'. [% END %] [% ELSIF error == "illegal_regexp" %] @@ -1064,7 +1064,7 @@ [% ELSIF error == "invalid_username" %] [% title = "Invalid Username" %] - The name <tt>[% name FILTER html %]</tt> is not a valid username. + The name <kbd>[% name FILTER html %]</kbd> is not a valid username. Either you misspelled it, or the person has not registered for a [% terms.Bugzilla %] account. @@ -1832,7 +1832,7 @@ [% ELSIF error == "user_match_failed" %] [% title = "Match Failed" %] - <tt>[% name FILTER html %]</tt> does not exist or you are not allowed + <kbd>[% name FILTER html %]</kbd> does not exist or you are not allowed to see that user. [% ELSIF error == "user_match_too_many" %] |