]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1394466 - Include noindex on error pages
authorMary Umoh <umohm12@gmail.com>
Tue, 29 Aug 2017 19:22:09 +0000 (15:22 -0400)
committerDylan William Hardison <dylan@hardison.net>
Tue, 29 Aug 2017 19:22:09 +0000 (15:22 -0400)
template/en/default/global/code-error.html.tmpl
template/en/default/global/header.html.tmpl
template/en/default/global/user-error.html.tmpl

index 384647322d8d671d51d2158d9ff62d24969749fa..a26bf7d68deec70bdbe2f0f273dc3c5fffddb013 100644 (file)
@@ -64,9 +64,9 @@
     <code>[% function FILTER html %]</code> function.
 
   [% ELSIF error == "bug_error" %]
-    Trying to retrieve [% terms.bug %] [%+ bug.bug_id FILTER html %] returned 
+    Trying to retrieve [% terms.bug %] [%+ bug.bug_id FILTER html %] returned
     the error [% bug.error FILTER html %].
-    
+
   [% ELSIF error == "chart_data_not_generated" %]
     [% admindocslinks = {'extraconfig.html' => 'Setting up Charting'} %]
     [% IF product %]
 
   [% 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 
+    One of the directories <tt>[% dir FILTER html %]</tt> and
     <tt>[% graph_dir FILTER html %]</tt> does not exist.
-  
+
   [% ELSIF error == "chart_file_open_fail" %]
     Unable to open the chart datafile <tt>[% filename FILTER html %]</tt>.
+
   [% ELSIF error == "column_alter_nonexistent_fk" %]
-    You attempted to modify the foreign key for 
+    You attempted to modify the foreign key for
     [%+ table FILTER html %].[% column FILTER html %], but there is
     no foreign key on that column.
+
   [% ELSIF error == "column_not_null_without_default" %]
     Failed adding the column [% name FILTER html %]:
     You cannot add a NOT NULL column with no default to an existing table
     unless you specify something for the <code>$init_value</code> argument.
 
   [% ELSIF error == "column_not_null_no_default_alter" %]
-    You cannot alter the [% name FILTER html %] column to be NOT NULL 
+    You cannot alter the [% name FILTER html %] column to be NOT NULL
     without specifying a default or something for $set_nulls_to, because
     there are NULL values currently in it.
 
   [% ELSIF error == "comment_extra_data_not_allowed" %]
-    You tried to set the <code>extra_data</code> field to 
+    You tried to set the <code>extra_data</code> field to
     '[% extra_data FILTER html %]' but comments of type [% type FILTER html %]
     do not accept an <code>extra_data</code> argument.
 
   [% ELSIF error == "cpan_meta_missing" %]
     MYMETA.json file is missing.
   [% ELSIF error == "env_no_email" %]
-    [% terms.Bugzilla %] did not receive an email address from the 
+    [% terms.Bugzilla %] did not receive an email address from the
     environment.
     [% IF Param("auth_env_email") %]
       This means that the '[% Param("auth_env_email") FILTER html %]'
     is disabled.
 
   [% ELSIF error == "extension_must_be_subclass" %]
-    <code>[% package FILTER html %]</code> from 
+    <code>[% package FILTER html %]</code> from
     <code>[% filename FILTER html %]</code> is not a subclass of
     <code>[% class FILTER html %]</code>.
 
     for details.
 
   [% ELSIF error == "extension_no_name" %]
-    We did not find a <code>NAME</code> method in 
+    We did not find a <code>NAME</code> method in
     <code>[% package FILTER html %]</code> (loaded from
     <code>[% filename FILTER html %]</code>). This means that
     the extension has one or more of the following problems:
   [% ELSIF error == "invalid_attach_id_to_obsolete" %]
      The attachment number of one of the attachments you wanted to obsolete,
      [%+ attach_id FILTER html %], is invalid.
-          
+
   [% ELSIF error == "invalid_customfield_type" %]
     [% title = "Invalid Field Type" %]
     The type <em>[% type FILTER html %]</em> is not a valid field type.
   [% ELSIF error == "invalid_feature" %]
     [% title = "Invalid Feature Name" %]
     [% feature FILTER html %] is not a valid feature name. See
-    <code>OPTIONAL_MODULES</code> in 
+    <code>OPTIONAL_MODULES</code> in
     <code>Bugzilla::Install::Requirements</code> for valid names.
 
   [% ELSIF error == "invalid_flag_association" %]
 
   [% ELSIF error == "mismatched_bug_ids_on_obsolete" %]
     Attachment [% attach_id FILTER html %] is attached to another [% terms.bug %],
-    but you tried to flag it as obsolete while creating a new attachment to 
+    but you tried to flag it as obsolete while creating a new attachment to
     [%+ terms.bug %] [%+ my_bug_id FILTER html %].
 
   [% ELSIF error == "feature_disabled" %]
     The [% install_string("feature_$feature") FILTER html %] feature is not
-    available in this [% terms.Bugzilla %]. 
+    available in this [% terms.Bugzilla %].
     [% IF user.in_group('admin') %]
-      If you would like to enable this feature, please run 
+      If you would like to enable this feature, please run
       <kbd>checksetup.pl</kbd> to see how to install the necessary
       requirements for this feature.
     [% END %]
     [% title = "Flag not Requestable from Specific Person" %]
     You can't ask a specific person for
     <em>[% type.name FILTER html %]</em>.
-  
+
   [% ELSIF error == "flag_type_inactive" %]
     [% title = "Inactive Flag Type" %]
     The flag type [% type FILTER html %] is inactive and cannot be used
   [% ELSIF error == "flag_type_target_type_invalid" %]
     The target type was neither <em>[% terms.bug %]</em> nor <em>attachment</em>
     but rather <em>[% target_type FILTER html %]</em>.
-  
+
   [% ELSIF error == "invalid_field_name" %]
     Can't use [% field FILTER html %] as a field name.
 
 
   [% ELSIF error == "jobqueue_insert_failed" %]
    [% title = "Job Queue Failure" %]
-    Inserting a <code>[% job FILTER html %]</code> job into the Job 
+    Inserting a <code>[% job FILTER html %]</code> job into the Job
     Queue failed with the following error: [% errmsg FILTER html %]
 
   [% ELSIF error == "jobqueue_no_job_mapping" %]
     perhaps by using the 'job_map' hook.
 
   [% ELSIF error == "ldap_bind_failed" %]
-    Failed to bind to the LDAP server. The error message was: 
+    Failed to bind to the LDAP server. The error message was:
     <code>[% errstr FILTER html %]</code>
 
   [% ELSIF error == "ldap_cannot_retrieve_attr" %]
     Could not start TLS with LDAP server: <code>[% error FILTER html %]</code>.
 
   [% ELSIF error == "ldap_search_error" %]
-    An error occurred while trying to search LDAP for 
-    &quot;[% username FILTER html %]&quot;: 
+    An error occurred while trying to search LDAP for
+    &quot;[% username FILTER html %]&quot;:
     [% IF errstr %]
       <code>[% errstr FILTER html %]</code>
     [% ELSE %]
 
   [% ELSIF error == "missing_bug_id" %]
     No [% terms.bug %] ID was given.
-    
+
   [% ELSIF error == "missing_series_id" %]
     Having inserted a series into the database, no series_id was returned for
-    it. Series: [% series.category FILTER html %] / 
-    [%+ series.subcategory FILTER html %] / 
+    it. Series: [% series.category FILTER html %] /
+    [%+ series.subcategory FILTER html %] /
     [%+ series.name FILTER html %].
-    
+
   [% ELSIF error == "need_quipid" %]
     A valid quipid is needed.
 
 
   [% ELSIF error == "param_must_be_numeric" %]
     [% title = "Invalid Parameter" %]
-    Invalid parameter <code>[% param FILTER html %]</code> passed to 
+    Invalid parameter <code>[% param FILTER html %]</code> passed to
     <code>[% function FILTER html %]</code>: It must be numeric.
 
   [% ELSIF error == "param_required" %]
     [% END %]
 
     from
-   
+
     [% IF caller %]
         <code>[%+ caller FILTER html %]</code>, which is
     [% END %]
     <code>[% errstr FILTER html %]</code>.
 
   [% ELSIF error == "report_axis_invalid" %]
-    <em>[% val FILTER html %]</em> is not a valid value for 
+    <em>[% val FILTER html %]</em> is not a valid value for
     [%+ IF    fld == "x" %]the horizontal axis
     [%+ ELSIF fld == "y" %]the vertical axis
     [%+ ELSIF fld == "z" %]the multiple tables/images
     '[% joiner FILTER html %]' is not a valid joiner for a search.
 
   [% ELSIF error == "setting_info_invalid" %]
-    To create a new setting, you must supply a setting name, a list of 
+    To create a new setting, you must supply a setting name, a list of
     value/sortindex pairs, and the default value.
 
   [% ELSIF error == "setting_name_invalid" %]
 
   [% ELSIF error == "undefined_field" %]
     Form field [% field FILTER html %] was not defined.
-    
+
   [% ELSIF error == "unknown_method" %]
     The requested method '[% method FILTER html %]' was not found.
 
 [% END %]
 
 [% UNLESS header_done %]
-  [% PROCESS global/header.html.tmpl %]
+  [% PROCESS global/header.html.tmpl no_index=1 %]
 [% END %]
 
 [% PROCESS global/docslinks.html.tmpl
index 3b46b143a623f37c7af3c3f8b57ddbb57d7a4b8a..e808df9bde660a04c02620f2a3671a6d38706fc6 100644 (file)
@@ -39,6 +39,7 @@
   # no_body: if true the body element will not be generated
   # allow_mobile: allow special CSS and viewport for detected mobile useragents
   # use_login_page: display a link to the full login page, rather than an inline login.
+  # no_index: Disable search engine from adding page into search index. 
   #%]
 
 [% IF message %]
@@ -54,6 +55,7 @@
   jquery = []
   jquery_css = []
   generate_api_token = 0
+  no_index = 1
 %]
 
 [%# These are JS URLs that are *always* on the page and come before
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     [% END %]
 
+    [% IF no_index %]
+      <meta name="robots" content="noindex" />
+    [% END %]
+
     [% PROCESS "global/site-navigation.html.tmpl" %]
 
     [% PROCESS 'global/setting-descs.none.tmpl' %]
index 9d241ea71947282196816c02da23b5be3100dc7d..f9e019cb5aae2efbd82f911479472ee35e90a25e 100644 (file)
@@ -32,7 +32,7 @@
   # Note that you must explicitly filter every single template variable
   # in this file; if you do not wish to change it, use the "none" filter.
   #
-  # Extension- or custom-specific error handling  can be easily added 
+  # Extension- or custom-specific error handling  can be easily added
   # via hooks: just place additional code into
   # template/en/hook/global/user-error-errors.html.tmpl
   # Note: be aware of uniqueness of error string parameter value, since
       a sudo session
     [% ELSIF object == "timetracking_summaries" %]
       time-tracking summary reports
-    [% ELSIF object == "user" %]  
+    [% ELSIF object == "user" %]
       the user [% IF userid %] with ID '[% userid FILTER html %]'
       [% ELSE %]you specified [% END %]
     [% ELSIF object == "users" %]
 
   [% ELSIF error == "bug_url_too_long" %]
     [% title = "Invalid $terms.Bug URL" %]
-    [% terms.Bug %] URLs can not be longer than 
+    [% terms.Bug %] URLs can not be longer than
     [%+ constants.MAX_BUG_URL_LENGTH FILTER none %] characters long.
     <code>[% url FILTER html %]</code> is too long.
 
 
   [% ELSIF error == "comment_too_long" %]
     [% title = "Comment Too Long" %]
-    Comments cannot be longer than 
+    Comments cannot be longer than
     [%+ constants.MAX_COMMENT_LENGTH FILTER html %] characters.
 
   [% ELSIF error == "comment_tag_disabled" %]
 
   [% ELSIF error == "field_already_exists" %]
     [% title = "Field Already Exists" %]
-    The field '[% field.name FILTER html %]'     
+    The field '[% field.name FILTER html %]'
     ([% field.description FILTER html %]) already exists. Please
     choose another name.
 
   [% ELSIF error == "field_cant_control_self" %]
     [% title = "Field Can't Control Itself" %]
-    The [% field.description FILTER html %] field can't be set to control 
+    The [% field.description FILTER html %] field can't be set to control
     itself.
 
   [% ELSIF error == "field_control_must_be_select" %]
 
   [% ELSIF error == "fieldname_invalid" %]
     [% title = "Specified Field Does Not Exist" %]
-    The field '[% field.name FILTER html %]' does not exist or 
+    The field '[% field.name FILTER html %]' does not exist or
     cannot be edited with this interface.
 
   [% ELSIF error == "fieldvalue_already_exists" %]
 
   [% ELSIF error == "fieldvalue_name_too_long" %]
     [% title = "Field Value Is Too Long" %]
-    The value of a field is limited to 
+    The value of a field is limited to
     [%+ constants.MAX_FIELD_VALUE_SIZE FILTER none %] characters.
     '[% value FILTER html %]' is too long ([% value.length %] characters).
 
   [% ELSIF error == "fieldvalue_not_deletable" %]
     [% title = "Field Value Not Deletable" %]
     The value '[% value.name FILTER html %]' cannot be removed or
-    disabled, because it plays some special role for the 
+    disabled, because it plays some special role for the
     '[% field.description FILTER html %]' field.
 
   [% ELSIF error == "fieldvalue_reserved_word" %]
 
   [% ELSIF error == "fieldvalue_sortkey_invalid" %]
     [% title = "Invalid Field Value Sortkey" %]
-    The sortkey '[% sortkey FILTER html %]' for the 
-    [%+ field.description FILTER html %] field is not a valid 
+    The sortkey '[% sortkey FILTER html %]' for the
+    [%+ field.description FILTER html %] field is not a valid
     (positive) number.
 
   [% ELSIF error == "fieldvalue_still_has_bugs" %]
     [% title = "You Cannot Delete This Field Value" %]
-    You cannot delete the value '[% value.name FILTER html %]' from the 
+    You cannot delete the value '[% value.name FILTER html %]' from the
     [%+ field.description FILTER html %] field, because there are still
     [%+ value.bug_count FILTER html %] [%+ terms.bugs %] using it.
 
 
   [% ELSIF error == "file_too_large" %]
     [% title = "File Too Large" %]
-    The file you are trying to attach is [% filesize FILTER html %] 
+    The file you are trying to attach is [% filesize FILTER html %]
     kilobytes (KB) in size. Attachments cannot be more than
     [%+ Param('maxattachmentsize') FILTER html %] KB. <br>
     We recommend that you store your attachment elsewhere
                     'flags.html' => 'Using Flags'} %]
 
     You asked [% requestee.identity FILTER html %]
-    for <code>[% flag_type.name FILTER html %]</code> on [% terms.bug %] 
+    for <code>[% flag_type.name FILTER html %]</code> on [% terms.bug %]
     [%+ bug_id FILTER html -%]
     [% IF attach_id && attach_id > 0 %], attachment [% attach_id FILTER html %][% END %],
-    but that [% terms.bug %] has been restricted to users in certain groups, 
-    and the user you asked isn't in all the groups to which 
+    but that [% terms.bug %] has been restricted to users in certain groups,
+    and the user you asked isn't in all the groups to which
     the [% terms.bug %] has been restricted.
     Please choose someone else to ask, or make the [% terms.bug %] accessible
     to users on its CC: list and add that user to the list.
                     'flags.html' => 'Using Flags'} %]
 
     You asked [% requestee.identity FILTER html %]
-    for <code>[% flag_type.name FILTER html %]</code> on 
+    for <code>[% flag_type.name FILTER html %]</code> on
     [%+ terms.bug %] [%+ bug_id FILTER html %],
     attachment [% attach_id FILTER html %], but that attachment
     is restricted to users in the [% Param("insidergroup") FILTER html %] group,
     [% title = "Format Not Found" %]
     The requested format <em>[% format FILTER html %]</em> does not exist with
     a content type of <em>[% ctype FILTER html %]</em>.
-    
+
   [% ELSIF error == "flag_type_sortkey_invalid" %]
     [% title = "Flag Type Sort Key Invalid" %]
     The sort key <em>[% sortkey FILTER html %]</em> must be an integer
 
   [% ELSIF error == "illegal_attachment_edit_bug" %]
     [% title = "Unauthorized Action" %]
-    You are not authorized to edit attachments on [% terms.bug %] 
+    You are not authorized to edit attachments on [% terms.bug %]
     [%+ bug_id FILTER html %].
-         
+
   [% ELSIF error == "illegal_bug_status_transition" %]
     [% title = "Illegal $terms.Bug Status Change" %]
     [% IF old.defined %]
       [%+ old.name FILTER html %] to [% new.name FILTER html %].
     [% ELSE %]
       You are not allowed to file new [% terms.bugs %] with the
-      [%+ new.name FILTER html %] status. 
+      [%+ new.name FILTER html %] status.
     [% END %]
 
   [% ELSIF error == "illegal_change" %]
     [% title = "Not allowed" %]
     You tried to change the
-    <strong>[% field_descs.$field FILTER html %]</strong> field 
+    <strong>[% field_descs.$field FILTER html %]</strong> field
     [% IF oldvalue.defined %]
       from <em>[% oldvalue.join(', ') FILTER html %]</em>
     [% END %]
 
   [% ELSIF error == "illegal_change_deps" %]
     [% title = "Not allowed" %]
-    You tried to change the 
-    <strong>[% field_descs.$field FILTER html %]</strong> field 
-    but only a user allowed to edit 
+    You tried to change the
+    <strong>[% field_descs.$field FILTER html %]</strong> field
+    but only a user allowed to edit
     both related [% terms.bugs %] may change that field.
 
   [% ELSIF error == "illegal_date" %]
     [% IF format %]
       Please use the format '<tt>[% format FILTER html %]</tt>'.
     [% END %]
-    
+
   [% ELSIF error == "illegal_email_address" %]
     [% title = "Invalid Email Address" %]
-    The e-mail address you entered (<b>[% addr FILTER html %]</b>) 
+    The e-mail address you entered (<b>[% addr FILTER html %]</b>)
     didn't pass our syntax checking for a legal email address.
     [% IF default %]
       A legal address must contain exactly one '@',
 
   [% ELSIF error == "illegal_frequency" %]
     [% title = "Too Frequent" %]
-    Unless you are an administrator, you may not create series which are 
+    Unless you are an administrator, you may not create series which are
     run more often than once every [% minimum FILTER html %] days.
-    
+
   [% ELSIF error == "illegal_group_control_combination" %]
     [% title = "Your Group Control Combination Is Illegal" %]
     [% admindocslinks = {'groups.html' => 'Assigning Group Controls to Products'} %]
 
   [% ELSIF error == "illegal_query_name" %]
     [% title = "Illegal Search Name" %]
-    The name of your search cannot contain any of the following characters: 
+    The name of your search cannot contain any of the following characters:
     &lt;, &gt;, &amp;.
 
   [% ELSIF error == "illegal_series_creation" %]
     [% admindocslinks = {'groups.html' => 'Group security'} %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
     You are not authorized to create series.
-        
+
   [% ELSIF error == "illegal_series_edit" %]
     [% admindocslinks = {'groups.html' => 'Group security'} %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
     [% title = "Illegal Regular Expression" %]
     The regular expression you provided [% value FILTER html %] is not valid.
     The error was: [% dberror FILTER html %].
-        
+
   [% ELSIF error == "insufficient_data_points" %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
     We don't have enough data points to make a graph (yet).
-        
+
   [% ELSIF error == "invalid_attach_id" %]
     [% title = "Invalid Attachment ID" %]
     The attachment id [% attach_id FILTER html %] is invalid.
   [% ELSIF error == "bug_id_does_not_exist" %]
     [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %]
     [% terms.Bug %] [%= bug_id FILTER html %] does not exist.
-    
+
   [% ELSIF error == "improper_bug_id_field_value" %]
     [% title = BLOCK %]
       [% IF bug_id %]Invalid [% ELSE %]Missing [% END %] [% terms.Bug %] ID
 
   [% ELSIF error == "invalid_username" %]
     [% title = "Invalid Username" %]
-    The name <tt>[% name FILTER html %]</tt> is not a valid username.  
+    The name <tt>[% name FILTER html %]</tt> is not a valid username.
     Either you misspelled it, or the person has not
     registered for a [% terms.Bugzilla %] account.
 
       # being locked out.
       #%]
     [% IF remaining <=  2 %]
-      If you do not enter the correct password after 
+      If you do not enter the correct password after
       [%+ remaining FILTER html %] more attempt(s), you will be
-      locked out of this account for 
+      locked out of this account for
       [%+ constants.LOGIN_LOCKOUT_INTERVAL FILTER html %] minutes.
     [% END %]
 
   [% ELSIF error == "keyword_blank_description" %]
     [% title = "Blank Keyword Description Not Allowed" %]
     You must enter a non-blank description for the keyword.
-     
+
   [% ELSIF error == "keyword_blank_name" %]
     [% title = "Blank Keyword Name Not Allowed" %]
     You must enter a non-blank name for the keyword.
-     
+
   [% ELSIF error == "keyword_invalid_name" %]
     [% title = "Invalid Keyword Name" %]
     You may not use commas or whitespace in a keyword name.
-     
+
   [% ELSIF error == "login_needed_for_password_change" %]
     [% title = "Login Name Required" %]
     You must enter a login name when requesting to change your password.
     [% title = "Milestone Required" %]
     You must select a target milestone for [% terms.bug %]
     [%+ bug.id FILTER html %]
-    if you are going to accept it.  Part of accepting 
+    if you are going to accept it.  Part of accepting
     [%+ terms.abug %] is giving an estimate of when it will be fixed.
 
   [% ELSIF error == "milestone_sortkey_invalid" %]
 
   [% ELSIF error == "misarranged_dates" %]
     [% title = "Misarranged Dates" %]
-    Your start date ([% datefrom FILTER html %]) is after 
+    Your start date ([% datefrom FILTER html %]) is after
     your end date ([% dateto FILTER html %]).
-    
+
   [% ELSIF error == "missing_attachment_description" %]
     [% title = "Missing Attachment Description" %]
     You must enter a description for the attachment.
-    
+
   [% ELSIF error == "missing_category" %]
     [% title = "Missing Category" %]
     You did not specify a category for this series.
   [% ELSIF error == "missing_content_type" %]
     [% title = "Missing Content-Type" %]
      You asked [% terms.Bugzilla %] to auto-detect the content type, but
-     your browser did not specify a content type when uploading the file, 
+     your browser did not specify a content type when uploading the file,
      so you must enter a content type manually.
-                
+
   [% ELSIF error == "missing_content_type_method" %]
     [% title = "Missing Content-Type Determination Method" %]
     You must choose a method for determining the content type,
-    either <em>auto-detect</em>, <em>select from list</em>, or <em>enter 
+    either <em>auto-detect</em>, <em>select from list</em>, or <em>enter
     manually</em>.
-        
+
   [% ELSIF error == "missing_cookie" %]
     [% title = "Missing Cookie" %]
     Sorry, I seem to have lost the cookie that recorded
     the results of your last search. I'm afraid you will have to start
     again from the <a href="query.cgi">search page</a>.
-          
+
   [% ELSIF error == "missing_datasets" %]
     [% title = "No Datasets Selected" %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
     You must specify one or more datasets to plot.
-    
+
   [% ELSIF error == "missing_frequency" %]
     [% title = "Missing Frequency" %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
     You did not specify a valid frequency for this series.
-                
+
   [% ELSIF error == "missing_name" %]
     [% title = "Missing Name" %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
     You did not specify a name for this series.
-                
+
   [% ELSIF error == "missing_query" %]
     [% title = "Missing Search" %]
     [% docslinks = {'query.html' => "Searching for $terms.bugs",
   [% ELSIF error == "missing_subcategory" %]
     [% title = "Missing Subcategory" %]
     You did not specify a subcategory for this series.
-                
+
   [% ELSIF error == "missing_version" %]
     [% title = "Missing Version" %]
     [% admindocslinks = {'versions.html' => 'Defining versions'} %]
 
   [% ELSIF error == "number_not_numeric" %]
     [% title = "Numeric Value Required" %]
-    The value '[% num FILTER html %]' in the 
-    <em>[% field_descs.$field FILTER html %]</em> field 
+    The value '[% num FILTER html %]' in the
+    <em>[% field_descs.$field FILTER html %]</em> field
     is not a numeric value.
 
   [% ELSIF error == "number_too_large" %]
     [% title = "Number Too Large" %]
-    The value '[% num FILTER html %]' in the 
-    <em>[% field_descs.$field FILTER html %]</em> field 
+    The value '[% num FILTER html %]' in the
+    <em>[% field_descs.$field FILTER html %]</em> field
     is more than the maximum allowable value of '[% max_num FILTER html %]'.
 
   [% ELSIF error == "number_too_small" %]
     [% title = "Number Too Small" %]
-    The value '[% num FILTER html %]' 
-    in the <em>[% field_descs.$field FILTER html %]</em> field 
+    The value '[% num FILTER html %]'
+    in the <em>[% field_descs.$field FILTER html %]</em> field
     is less than the minimum allowable value of '[% min_num FILTER html %]'.
 
   [% ELSIF error == "object_not_specified" %]
     [% type = BLOCK %][% INCLUDE object_name class = class %][% END %]
-    [% title = BLOCK %][% type FILTER ucfirst FILTER html %] Not 
+    [% title = BLOCK %][% type FILTER ucfirst FILTER html %] Not
     Specified[% END %]
     You must select/enter a [% type FILTER html %].
 
   [% ELSIF error == "object_does_not_exist" %]
     [% type = BLOCK %][% INCLUDE object_name class = class %][% END %]
     [% title = BLOCK %]Invalid [% type FILTER ucfirst FILTER html %][% END %]
-    There is no [% type FILTER html %] 
+    There is no [% type FILTER html %]
     [% IF id.defined %]
       with the id '[% id FILTER html %]'
     [% ELSE %]
 
   [% ELSIF error == "product_access_denied" %]
     [% title = "Product Access Denied" %]
-    Either the product 
+    Either the product
     [%+ IF id.defined %]
       with the id [% id FILTER html %]
     [% ELSE %]
     [% title = "Product name already exists" %]
     [% admindocslinks = {'products.html' => 'Administering products'} %]
     The product name '[% product FILTER html %]' already exists.
-  
+
   [% ELSIF error == "product_name_diff_in_case" %]
     [% title = "Product name differs only in case" %]
     [% admindocslinks = {'products.html' => 'Administering products'} %]
-    The product name '[% product FILTER html %]' differs from existing 
+    The product name '[% product FILTER html %]' differs from existing
     product '[% existing_product FILTER html %]' only in case.
 
   [% ELSIF error == "product_name_too_long" %]
     [% title = "Blank Product Name Not Allowed" %]
     [% admindocslinks = {'products.html' => 'Administering products'} %]
     You must enter a name for the product.
-  
+
   [% ELSIF error == "product_disabled" %]
     [% title = BLOCK %]Product closed for [% terms.Bug %] Entry[% END %]
     [% admindocslinks = {'products.html' => 'Administering products'} %]
     [% title = "Product Edit Access Denied" %]
     [% admindocslinks = {'products.html' => 'Administering products',
                          'groups.html'   => 'Group security'} %]
-    You are not permitted to edit [% terms.bugs %] in product 
+    You are not permitted to edit [% terms.bugs %] in product
     [%+ product FILTER html %].
 
   [% ELSIF error == "product_has_bugs" %]
     You must enter a summary for this [% terms.bug %].
 
   [% ELSIF error == "resolution_cant_clear" %]
-    [% terms.Bug %] [%+ bug_id FILTER bug_link(bug_id) FILTER none %] is 
+    [% terms.Bug %] [%+ bug_id FILTER bug_link(bug_id) FILTER none %] is
     closed, so you cannot clear its resolution.
 
   [% ELSIF error == "resolution_not_allowed" %]
   [% ELSIF error == "saved_search_used_by_whines" %]
     [% title = "Saved Search In Use" %]
     [% docslinks = {'whining.html' => 'About Whining'} %]
-    The saved search <em>[% search_name FILTER html %]</em> is being used 
+    The saved search <em>[% search_name FILTER html %]</em> is being used
     by <a href="editwhines.cgi">Whining events</a> with the following subjects:
     [%+ subjects FILTER html %]
 
   [% ELSIF error == "search_content_without_matches" %]
     [% title = "Illegal Search" %]
-    The "content" field can only be used with "matches" search 
+    The "content" field can only be used with "matches" search
     and the "matches" search can only be used with the "content"
     field.
 
   [% ELSIF error == "search_grouped_field_invalid" %]
-    [% terms.Bugzilla %] does not support using the 
+    [% terms.Bugzilla %] does not support using the
     "[%+ field_descs.$field FILTER html %]" ([% field FILTER html %])
     field with grouped search conditions.
 
     All conditions under a groups search must use the same field.
 
   [% ELSIF error == "search_field_operator_invalid" %]
-    [% terms.Bugzilla %] does not support using the 
+    [% terms.Bugzilla %] does not support using the
     "[%+ field_descs.$field FILTER html %]" ([% field FILTER html %])
-    field with the "[% search_descs.$operator FILTER html %]" 
+    field with the "[% search_descs.$operator FILTER html %]"
     ([% operator FILTER html %]) search type.
 
   [% ELSIF error == "see_also_self_reference" %]
     [% title = "Series Already Exists" %]
     [% docslinks = {'reporting.html' => 'Reporting'} %]
       A series named <em>[% series.category FILTER html %] /
-      [%+ series.subcategory FILTER html %] / 
+      [%+ series.subcategory FILTER html %] /
       [%+ series.name FILTER html %]</em>
       already exists.
-    
+
   [% ELSIF error == "still_unresolved_bugs" %]
     [% title = "Unresolved Dependencies" %]
     [% terms.Bug %] [%+ bug_id FILTER bug_link(bug_id) FILTER none %]
 
   [% ELSIF error == "sudo_in_progress" %]
     [% title = "Session In Progress" %]
-    A sudo session (impersonating [% target FILTER html %]) is in progress.  
+    A sudo session (impersonating [% target FILTER html %]) is in progress.
     End that session (using the link in the footer) before starting a new one.
 
   [% ELSIF error == "sudo_password_required" %]
     [% title = "Password Required" %]
-    Your [% terms.Bugzilla %] password is required to begin a sudo 
+    Your [% terms.Bugzilla %] password is required to begin a sudo
     session. Please <a href="relogin.cgi?action=prepare-sudo&amp;target_login=
     [%- target_login FILTER uri %]&amp;reason=
     [%- reason FILTER uri %]">go back</a> and enter your password.
-    
+
   [% ELSIF error == "sudo_preparation_required" %]
     [% title = "Preparation Required" %]
     You may not start a sudo session directly.  Please
 
   [% ELSIF error == "user_match_failed" %]
     [% title = "Match Failed" %]
-    <tt>[% name FILTER html %]</tt> does not exist or you are not allowed 
+    <tt>[% name FILTER html %]</tt> does not exist or you are not allowed
     to see that user.
 
   [% ELSIF error == "user_match_too_many" %]
 
   [% ELSIF error == "xmlrpc_illegal_content_type" %]
     When using XML-RPC, you cannot send data as
-    [%+ content_type FILTER html %]. Only text/xml 
+    [%+ content_type FILTER html %]. Only text/xml
     and application/xml are allowed.
 
   [% ELSIF error == "zero_length_file" %]
 [% END %]
 
 [% UNLESS header_done %]
-  [% PROCESS global/header.html.tmpl %]
+  [% PROCESS global/header.html.tmpl no_index=1 %]
 [% END %]
 
 [% PROCESS global/docslinks.html.tmpl
   Please press <b>Back</b> and try again.
 </p>
 
-[%# If a saved search fails, people want the ability to edit or delete it. 
+[%# If a saved search fails, people want the ability to edit or delete it.
   # This is the best way of getting information about that possible saved
   # search from any error call location. %]
 
 [% namedcmd = Bugzilla.cgi.param("namedcmd") %]
 [% sharer_id = Bugzilla.cgi.param("sharer_id") %]
-[% IF namedcmd AND error != "missing_query" 
+[% IF namedcmd AND error != "missing_query"
                AND error != "saved_search_used_by_whines"
                AND !sharer_id %]
-  <p>  
-    Alternatively, you can    
+  <p>
+    Alternatively, you can
     <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
                   [% namedcmd FILTER uri %]">forget</a>
-                  
+
     [% FOREACH q = Bugzilla.user.queries %]
       [% IF q.name == namedcmd %]
         or <a href="query.cgi?[% q.url FILTER html %]">edit</a>
       [% END %]
     [% END %]
-    
+
     the saved search '[% namedcmd FILTER html %]'.
   </p>
-[% END %]            
+[% END %]
 
 [% PROCESS global/footer.html.tmpl %]