[Openfirst-cvscommit] www/htdocs/bugzilla/global banner.html.tmpl,1.1,1.2 choose-product.html.tmpl,1
Brought to you by:
xtimg
From: Tim G. <xt...@us...> - 2005-05-15 15:05:07
|
Update of /cvsroot/openfirst/www/htdocs/bugzilla/global In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32743/global Modified Files: banner.html.tmpl choose-product.html.tmpl code-error.html.tmpl footer.html.tmpl header.html.tmpl hidden-fields.html.tmpl message.html.tmpl select-menu.html.tmpl useful-links.html.tmpl user-error.html.tmpl Log Message: Bring templates up to date for Bugzilla 2.18.1 Index: select-menu.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/select-menu.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** select-menu.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- select-menu.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 23,26 **** --- 23,30 ---- # name: string; the name of the menu. # + # multiple: boolean; whether or not the menu is multi-select + # + # size: integer; if multi-select, the number of items to display at once + # # options: array or hash; the items with which to populate the array. # If a hash is passed, the hash keys become the names displayed *************** *** 29,32 **** --- 33,38 ---- # default: string; the item selected in the menu by default. # + # onchange: code; JavaScript to be run when the user changes the value + # selected in the menu. #%] *************** *** 38,42 **** [% options_type = BLOCK %][% options %][% END %] ! <select name="[% name FILTER html %]"> [% IF options_type.search("ARRAY") %] [% FOREACH value = options %] --- 44,50 ---- [% options_type = BLOCK %][% options %][% END %] ! <select name="[% name FILTER html %]" ! [% IF onchange %]onchange="[% onchange FILTER html %]"[% END %] ! [% IF multiple %] multiple [% IF size %] size="[% size %]" [% END %] [% END %]> [% IF options_type.search("ARRAY") %] [% FOREACH value = options %] *************** *** 46,50 **** </option> [% END %] ! [% ELSIF values_type.search("HASH") %] [% FOREACH option = options %] <option value="[% option.value FILTER html %]" --- 54,58 ---- </option> [% END %] ! [% ELSIF options_type.search("HASH") %] [% FOREACH option = options %] <option value="[% option.value FILTER html %]" Index: footer.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/footer.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** footer.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- footer.html.tmpl 15 May 2005 15:04:54 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 18,21 **** --- 18,22 ---- # # Contributor(s): Gervase Markham <ge...@ge...> + # Svetlana Harisova <li...@ra...> #%] *************** *** 24,47 **** # global/useful-links.html.tmpl. #%] - - [%# Migration note: this whole file corresponds to the old Param 'footerhtml' %] - - <table border="0"> - <tr> - <td bgcolor="#000000" valign="top"> - <table border="0" cellpadding="10" cellspacing="0" width="100%" - bgcolor="lightyellow"> - <tr> - <td> - - [%# Migration note: this section corresponds to the old Param 'blurbhtml' %] - - This is <b>Bugzilla</b>: the Mozilla bug system. For more - information about what Bugzilla is and what it can do, see - <a href="http://www.bugzilla.org/">bugzilla.org</a>. - - [%# End section %] ! <br> [%# Migration note: useful-links.html.tmpl corresponds to %commandmenu% %] --- 25,39 ---- # global/useful-links.html.tmpl. #%] ! [% INCLUDE "global/help.html.tmpl" %] ! ! [%# Migration note: below this point, this file corresponds to the old Param ! # 'footerhtml' ! #%] ! ! <div id="footer"> ! <div class="intro"></div> ! ! [%# Migration note: the old param 'blurbhtml' goes here %] [%# Migration note: useful-links.html.tmpl corresponds to %commandmenu% %] *************** *** 49,61 **** [% PROCESS "global/useful-links.html.tmpl" %] ! </td> ! </tr> ! </table> ! </td> ! </tr> ! </table> </body> </html> - - [% CALL SyncAnyPendingShadowChanges() IF SyncAnyPendingShadowChanges %] --- 41,47 ---- [% PROCESS "global/useful-links.html.tmpl" %] ! <div class="outro"></div> ! </div> </body> </html> Index: choose-product.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/choose-product.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** choose-product.html.tmpl 28 Jun 2004 00:47:41 -0000 1.1 --- choose-product.html.tmpl 15 May 2005 15:04:54 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 25,28 **** --- 25,38 ---- #%] + [% PROCESS global/variables.none.tmpl %] + + [% IF target == "enter_bug.cgi" %] + [% title = "Enter $terms.Bug" %] + [% h2 = BLOCK %]First, you must pick a product on which to enter [% terms.abug %]. [% END %] + [% ELSIF target == "describecomponents.cgi" %] + [% title = "$terms.Bugzilla Component Descriptions" %] + [% h2 = "Please specify the product whose components you want described." %] + [% END %] + [% DEFAULT title = "Choose a Product" %] [% PROCESS global/header.html.tmpl %] *************** *** 33,38 **** <tr> <th align="right" valign="top"> ! <a href="[% target %]?product=[% p FILTER url_quote %] ! [% IF format %]&format=[% format FILTER url_quote %][% END %]"> [% p FILTER html %]</a>: </th> --- 43,48 ---- <tr> <th align="right" valign="top"> ! <a href="[% target %]?product=[% p FILTER url_quote -%] ! [%- IF format %]&format=[% format FILTER url_quote %][% END %]"> [% p FILTER html %]</a>: </th> *************** *** 43,47 **** </tr> [% END %] ! </table> --- 53,57 ---- </tr> [% END %] ! </table> Index: user-error.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/user-error.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** user-error.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- user-error.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 22,28 **** [%# INTERFACE: # header_done: boolean. True if the header has already been printed. ! # error: string. The error message to be displayed. May contain HTML. #%] [% UNLESS header_done %] [% PROCESS global/header.html.tmpl %] --- 22,776 ---- [%# INTERFACE: # header_done: boolean. True if the header has already been printed. ! # error: string. The tag of the error, or the error message to be displayed ! # (deprecated). May contain HTML if it's an error message. #%] + + [%# This is a list of all the possible user errors. Please keep them in + # alphabetical order by error tag, and leave a blank line between errors. + # + # 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. + #%] + + [% PROCESS global/variables.none.tmpl %] + + [% PROCESS "global/field-descs.none.tmpl" %] + + [% DEFAULT title = "Error" %] + + [% error_message = BLOCK %] + [% IF error == "account_creation_disabled" %] + [% title = "Account Creation Disabled" %] + User account creation has been disabled or restricted. + <hr> + New accounts must be created by an administrator. + + [% ELSIF error == "account_disabled" %] + [% title = "Account Disabled" %] + [% disabled_reason FILTER none %] + <hr> + If you believe your account should be restored, please + send email to [% Param("maintainer") %] explaining why. + + [% ELSIF error == "account_exists" %] + [% title = "Account Already Exists" %] + There is already an account with + [% IF email %] + the login name [% email FILTER html %]. + [% ELSE %] + that login name. + [% END %] + + [% ELSIF error == "account_inexistent" %] + [% title = "Account Does Not Exist" %] + There is no [% terms.Bugzilla %] account with that login name. + + [% ELSIF error == "alias_has_comma_or_space" %] + [% title = "Invalid Characters In Alias" %] + The alias you entered, <em>[% alias FILTER html %]</em>, + contains one or more commas or spaces. Aliases cannot contain + commas or spaces because those characters are used to separate + aliases from each other in lists. Please choose another alias + that does not contain commas and spaces. + + [% ELSIF error == "alias_in_use" %] + [% title = "Alias In Use" %] + [% bug_link FILTER none %] has already taken the alias + <em>[% alias FILTER html %]</em>. Please choose another one. + + [% ELSIF error == "alias_is_numeric" %] + [% title = "Alias Is Numeric" %] + You tried to give this [% terms.bug %] the alias <em>[% alias FILTER html %]</em>, + but aliases cannot be merely numbers, since they could + then be confused with [% terms.bug %] IDs. Please choose another + alias containing at least one letter. + + [% ELSIF error == "alias_too_long" %] + [% title = "Alias Too Long" %] + [% terms.Bug %] aliases cannot be longer than 20 characters. + Please choose a shorter alias. + + [% ELSIF error == "auth_cant_create_account" %] + [% title = "Can't create accounts" %] + This site is using an authentication scheme which does not permit + account creation. Please contact an administrator to get a new account + created. + + [% ELSIF error == "authorization_failure" %] + [% title = "Authorization Failed" %] + You are not allowed to [% action FILTER html %]. + + [% ELSIF error == "attachment_access_denied" %] + [% title = "Access Denied" %] + You are not authorized to access this attachment. + + [% ELSIF error == "bug_access_denied" %] + [% title = "Access Denied" %] + You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. + + [% ELSIF error == "bug_access_query" %] + [% title = "Access Denied" %] + You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. + To see this [% terms.bug %], you must + first <a href="show_bug.cgi?id= + [% bug_id FILTER url_quote %]&GoAheadAndLogIn=1">log + in to an account</a> with the appropriate permissions. + + [% ELSIF error == "buglist_parameters_required" %] + [% title = "Parameters Required" %] + You may not search, or create saved searches, without any search terms. + + [% ELSIF error == "bugs_not_changed" %] + [% title = BLOCK %][% terms.Bugs %] Not Changed[% END %] + Um, you apparently did not change anything on the selected [% terms.bugs %]. + + [% ELSIF error == "chart_too_large" %] + [% title = "Chart Too Large" %] + Sorry, but 2000 x 2000 is the maximum size for a chart. + + [% ELSIF error == "comment_required" %] + [% title = "Comment Required" %] + You have to specify a <b>comment</b> on this change. + Please give some words on the reason for your change. + + [% ELSIF error == "comment_too_long" %] + [% title = "Comment Too Long" %] + Comments cannot be longer than 65,535 characters. + + [% ELSIF error == "dependency_loop_multi" %] + [% title = "Dependency Loop Detected" %] + The following [% terms.bug %](s) would appear on both the "depends on" + and "blocks" parts of the dependency tree if these changes + are committed: [% both FILTER none %]. This would create a circular + dependency, which is not allowed. + + [% ELSIF error == "dependency_loop_single" %] + [% title = "Dependency Loop Detected" %] + You can't make [% terms.abug %] blocked or dependent on itself. + + [% ELSIF error == "description_required" %] + [% title = "Description Required" %] + You must provide a description of the [% terms.bug %]. + + [% ELSIF error == "dupe_of_self_disallowed" %] + [% title = "Cannot mark $terms.abug as a duplicate of itself" %] + You can't mark [% terms.abug %] as a duplicate of itself. + + [% ELSIF error == "email_change_in_progress" %] + [% title = "Email Change Already In Progress" %] + Email change already in progress; please check your email. + + [% ELSIF error == "email_confirmation_failed" %] + [% title = "Email Address Confirmation Failed" %] + Email address confirmation failed. + + [% ELSIF error == "entry_access_denied" %] + [% title = "Permission Denied" %] + Sorry, either the product <em>[% product FILTER html %]</em> does not + exist, or you don't have the required permissions to + enter [% terms.abug %] against that product. + + [% ELSIF error == "file_not_specified" %] + [% title = "No File Specified" %] + You did not specify a file to attach. + + [% ELSIF error == "file_too_large" %] + [% title = "File Too Large" %] + The file you are trying to attach is [% filesize FILTER html %] + kilobytes (KB) in size. + Non-patch attachments cannot be more than [% Param('maxattachmentsize') %] + KB. + If your attachment is an image, try converting it to a compressable + format like JPG or PNG, or put it elsewhere on the web and + link to it from the [% terms.bug %]'s URL field or a comment in + the [% terms.bug %]. + + [% ELSIF error == "flag_requestee_unauthorized" %] + [% title = "Flag Requestee Not Authorized" %] + + You asked [% requestee.identity FILTER html %] + for <code>[% flag_type.name FILTER html %]</code> on [% terms.bug %] + [% bug_id FILTER html -%] + [% IF attach_id %], 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 + 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. + + [% ELSIF error == "flag_requestee_unauthorized_attachment" %] + [% title = "Flag Requestee Not Authorized" %] + + You asked [% requestee.identity FILTER html %] + 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, and the user + you asked isn't in that group. Please choose someone else to ask, + or ask an administrator to add the user to the group. + + [% ELSIF error == "flag_type_cc_list_invalid" %] + [% title = "Flag Type CC List Invalid" %] + The CC list [% cc_list FILTER html %] must be less than 200 characters long. + + [% ELSIF error == "flag_type_description_invalid" %] + [% title = "Flag Type Description Invalid" %] + The description must be less than 32K. + + [% ELSIF error == "flag_type_name_invalid" %] + [% title = "Flag Type Name Invalid" %] + The name <em>[% name FILTER html %]</em> must be 1-50 characters long + and must not contain any spaces or commas. + + [% ELSIF error == "format_not_found" %] + [% 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 must be an integer between 0 and 32767 inclusive. + It cannot be <em>[% sortkey FILTER html %]</em>. + [% ELSIF error == "illegal_at_least_x_votes" %] + [% title = "Your Search Makes No Sense" %] + The <em>At least ___ votes</em> field must be a simple number. + You entered <tt>[% value FILTER html %]</tt>, which isn't. + + [% ELSIF error == "illegal_attachment_edit" %] + [% title = "Unauthorised Action" %] + You are not authorised to edit attachment [% attach_id FILTER html %]. + + [% ELSIF error == "illegal_attachment_edit_bug" %] + [% title = "Unauthorised Action" %] + You are not authorised to edit attachments on [% terms.bug %] + [%+ bug_id FILTER html %]. + + [% ELSIF error == "illegal_attachment_is_patch" %] + [% title = "Your Search Makes No Sense" %] + The only legal values for the <em>Attachment is patch</em> field are + 0 and 1. + + [% ELSIF error == "illegal_change" %] + [% title = "Not allowed" %] + You tried to change the + <strong>[% field_descs.$field FILTER html %]</strong> field + from <em>[% oldvalue FILTER html %]</em> to + <em>[% newvalue FILTER html %]</em>, + but only the owner or submitter of the [% terms.bug %], or a + sufficiently empowered user, may change that field. + + [% ELSIF error == "illegal_changed_in_last_x_days" %] + [% title = "Your Search Makes No Sense" %] + The <em>Changed in last ___ days</em> field must be a simple number. + You entered <tt>[% value FILTER html %]</tt>, which isn't. + + [% ELSIF error == "illegal_date" %] + [% title = "Illegal Date" %] + '<tt>[% date FILTER html %]</tt>' is not a legal date. + + [% ELSIF error == "illegal_email_address" %] + [% title = "Invalid Email Address" %] + The e-mail address you entered (<b>[% addr FILTER html %]</b>) + didn't pass our syntax checking for a legal email address. + [%+ Param('emailregexpdesc') %] + It must also not contain any of these special characters: + <tt>\ ( ) & < > , ; : " [ ]</tt>, or any whitespace. + + [% ELSIF error == "illegal_frequency" %] + [% title = "Too Frequent" %] + 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" %] + Your group control combination for group " + [% groupname FILTER html %]" is illegal. + + [% ELSIF error == "illegal_is_obsolete" %] + [% title = "Your Search Makes No Sense" %] + The only legal values for the <em>Attachment is obsolete</em> field are + 0 and 1. + + [% ELSIF error == "illegal_query_name" %] + [% title = "Illegal Search Name" %] + The name of your search cannot contain any of the following characters: + <, >, &. + + [% ELSIF error == "illegal_series_creation" %] + You are not authorised to create series. + + [% ELSIF error == "illegal_series_edit" %] + You are not authorised to edit this series. To do this, you must either + be its creator, or an administrator. + + [% ELSIF error == "insufficient_data" %] + [% title = "Insufficient Data" %] + None of the series you selected have any data associated with them, so a + chart cannot be plotted. + + [% ELSIF error == "insufficient_data_points" %] + We don't have enough data points to make a graph (yet). + + [% ELSIF error == "insufficient_privs_for_multi" %] + [% title = "Insufficient Privileges" %] + Sorry, you do not have sufficient privileges to edit multiple + [% terms.bugs %]. + + [% ELSIF error == "invalid_attach_id" %] + [% title = "Invalid Attachment ID" %] + The attachment id [% attach_id FILTER html %] is invalid. + + [% ELSIF error == "invalid_bug_id_non_existent" %] + [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %] + [% terms.Bug %] #[% bug_id FILTER html %] does not exist. + + [% ELSIF error == "invalid_bug_id_or_alias" %] + [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %] + [% IF bug_id %] + '[% bug_id FILTER html %]' is not a valid [% terms.bug %] number + [% IF Param("usebugaliases") %] + nor an alias to [% terms.abug %] number + [% END %]. + [% ELSE %] + [% IF field %] + The '[% field_descs.$field FILTER html %]' field + cannot be empty. + [% END %] + You must enter a valid [% terms.bug %] number! + [% END %] + <noscript> + If you are trying to use QuickSearch, you need to enable + JavaScript in your browser. + </noscript> + + [% ELSIF error == "invalid_changedsince" %] + [% title = "Invalid 'Changed Since'" %] + The 'changed since' value, '[% changedsince FILTER html %]', must be an + integer >= 0. + + [% ELSIF error == "invalid_content_type" %] + [% title = "Invalid Content-Type" %] + The content type <em>[% contenttype FILTER html %]</em> is invalid. + Valid types must be of the form <em>foo/bar</em> where <em>foo</em> + is either <em>application, audio, image, message, model, multipart, + text,</em> or <em>video</em>. + + [% ELSIF error == "invalid_context" %] + [% title = "Invalid Context" %] + The context [% context FILTER html %] is invalid (must be a number, + "file" or "patch"). + + [% ELSIF error == "invalid_format" %] + [% title = "Invalid Format" %] + The format "[% format FILTER html %]" is invalid (must be one of + [% FOREACH my_format = formats %] + "[% my_format FILTER html %]" + [% END %] + ). + + [% ELSIF error == "invalid_maxrows" %] + [% title = "Invalid Max Rows" %] + The maximum number of rows, '[% maxrows FILTER html %]', must be + a positive integer. + + [% ELSIF error == "invalid_product_name" %] + [% title = "Invalid Product Name" %] + The product name '[% product FILTER html %]' is invalid or does not exist. + + [% ELSIF error == "invalid_username" %] + [% title = "Invalid 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. + + [% ELSIF error == "invalid_username_or_password" %] + [% title = "Invalid Username Or Password" %] + The username or password you entered is not valid. + + [% ELSIF error == "keyword_access_denied" %] + [% title = "Access Denied" %] + Sorry, you aren't a member of the 'editkeywords' group, and so + you aren't allowed to add, modify or delete keywords. + + [% ELSIF error == "keyword_already_exists" %] + [% title = "Keyword Already Exists" %] + A keyword with the name [% name FILTER html %] already exists. + + [% 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. + + [% ELSIF error == "milestone_required" %] + [% title = "Milestone Required" %] + You must determine a target milestone for [% terms.bug %] + [%+ bug_id FILTER html %] + if you are going to accept it. Part of accepting + [% terms.abug %] is giving an estimate of when it will be fixed. + + [% ELSIF error == "misarranged_dates" %] + [% title = "Misarranged Dates" %] + 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, + 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 + 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 on the <a href="query.cgi">search page</a>. + + [% ELSIF error == "missing_datasets" %] + [% title = "No Datasets Selected" %] + You must specify one or more datasets to plot. + + [% ELSIF error == "missing_email_type" %] + [% title = "Your Search Makes No Sense" %] + You must specify one or more fields in which to search for + <tt>[% email FILTER html %]</tt>. + + [% ELSIF error == "missing_frequency" %] + [% title = "Missing Frequency" %] + You did not specify a valid frequency for this series. + + [% ELSIF error == "missing_name" %] + [% title = "Missing Name" %] + You did not specify a name for this series. + + [% ELSIF error == "missing_query" %] + [% title = "Missing Search" %] + The search named <em>[% queryname FILTER html %]</em> does not + exist. + + [% ELSIF error == "must_be_patch" %] + [% title = "Attachment Must Be Patch" %] + Attachment #[% attach_id FILTER html %] must be a patch. + + [% ELSIF error == "missing_subcategory" %] + [% title = "Missing Subcategory" %] + You did not specify a subcategory for this series. + + [% ELSIF error == "need_component" %] + [% title = "Component Required" %] + You must specify a component to help determine the new owner of these + [% terms.bugs %]. + + [% ELSIF error == "need_product" %] + [% title = "Product Required" %] + You must specify a product to help determine the new owner of these [% terms.bugs %]. + + [% ELSIF error == "need_quip" %] + [% title = "Quip Required" %] + Please enter a quip in the text field. + + [% ELSIF error == "new_password_missing" %] + [% title = "New Password Missing" %] + You must enter a new password. + + [% ELSIF error == "no_axes_defined" %] + [% title = "No Axes Defined" %] + You didn't define any axes to plot. + + [% ELSIF error == "no_bugs_chosen" %] + [% title = BLOCK %]No [% terms.Bugs %] Chosen[% END %] + You apparently didn't choose any [% terms.bugs %] to modify. + + [% ELSIF error == "no_component_change_for_multiple_products" %] + [% title = "Action Not Permitted" %] + You cannot change the component for a list of [% terms.bugs %] covering more than + one product. + + [% ELSIF error == "no_components" %] + [% title = "No Components" %] + Sorry; there needs to be at least one component for this product in order + to create a new [% terms.bug %]. + [% IF UserInGroup("editcomponents") %] + <a href="editcomponents.cgi?product=[% product FILTER url_quote %]">Create + a new component</a>. + [% ELSE %] + Please contact [% Param("maintainer") %], giving the name of + the product in which you tried to create a new [% terms.bug %]. + [% END %] + + [% ELSIF error == "no_dupe_stats" %] + [% title = "Cannot Find Duplicate Statistics" %] + There are no duplicate statistics for today ([% today FILTER html %]) + or yesterday. + + [% ELSIF error == "no_dupe_stats_error_today" %] + [% title = "Error Reading Today's Dupes File" %] + An error occurred opening today's dupes file: [% error_msg FILTER html %]. + + [% ELSIF error == "no_dupe_stats_error_whenever" %] + [% title = "Error Reading Previous Dupes File" %] + An error occurred opening [% changedsince FILTER html %] days ago + ([% whenever FILTER html %])'s dupes file: + [% error_msg FILTER html %]. + + [% ELSIF error == "no_dupe_stats_error_yesterday" %] + [% title = "Error Reading Yesterday's Dupes File" %] + There are no duplicate statistics for today ([% today FILTER html %]), + and an error + occurred opening yesterday's dupes file: [% error_msg FILTER html %]. + + [% ELSIF error == "no_html_in_quips" %] + [% title = "No HTML In Quips" %] + Sorry - for security reasons, support for HTML tags has been turned off + in quips. + + [% ELSIF error == "no_new_quips" %] + [% title = "No New Quips" %] + This site does not permit the addition of new quips. + + [% ELSIF error == "no_page_specified" %] + [% title = "No Page Specified" %] + You did not specify the id of a page to display. + + [% ELSIF error == "no_products" %] + [% title = "No Products" %] + Either no products have been defined to enter [% terms.bugs %] against or you have not + been given access to any. + + [% ELSIF error == "number_not_numeric" %] + [% title = "Numeric Value Required" %] + 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 + 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 + is less than the minimum allowable value of '[% min_num FILTER html %]'. + + [% ELSIF error == "old_password_incorrect" %] + [% title = "Incorrect Old Password" %] + You did not enter your old password correctly. + + [% ELSIF error == "old_password_required" %] + [% title = "Old Password Required" %] + You must enter your old password to change your email address. + + [% ELSIF error == "passwords_dont_match" %] + [% title = "Passwords Don't Match" %] + The two passwords you entered did not match. + + [% ELSIF error == "password_too_long" %] + [% title = "Password Too Long" %] + The password is more than 16 characters long. It must be no more than + 16 characters. + + [% ELSIF error == "password_too_short" %] + [% title = "Password Too Short" %] + The password is less than three characters long. It must be at least + three characters. + + [% ELSIF error == "patch_too_large" %] + [% title = "File Too Large" %] + The file you are trying to attach is [% filesize FILTER html %] + kilobytes (KB) in size. + Patches cannot be more than [% Param('maxpatchsize') %] KB in size. + Try breaking your patch into several pieces. + + [% ELSIF error == "product_disabled" %] + [% title = BLOCK %]Product closed for [% terms.Bugs %] Entry[% END %] + Sorry, entering [% terms.bugs %] into + product <em>[% product FILTER html %]</em> has been disabled. + + [% ELSIF error == "product_edit_denied" %] + [% title = "Product Edit Access Denied" %] + You are not permitted to edit [% terms.bugs %] in product + [% product FILTER html %]. + + [% ELSIF error == "query_name_missing" %] + [% title = "No Search Name Specified" %] + You must enter a name for your search. + + [% ELSIF error == "quips_disabled" %] + [% title = "Quips Disabled" %] + Quips are disabled. + + [% ELSIF error == "quips_edit_denied" %] + [% title = "Permission Denied" %] + You do not have permission to edit quips. + + [% ELSIF error == "reassign_to_empty" %] + [% title = "Illegal Reassignment" %] + To reassign [% terms.abug %], you must provide an address for + the new owner. If you did not intentionally clear out the + "Reassign [% terms.bug %] to" field, [% Param("browserbugmessage") %] + + [% ELSIF error == "report_access_denied" %] + [% title = "Access Denied" %] + You do not have the permissions necessary to view reports for this product. + + [% ELSIF error == "require_component" %] + [% title = "Component Needed" %] + You must choose a component to file this [% terms.bug %] in. If necessary, + just guess. + + [% ELSIF error == "require_new_password" %] + [% title = "New Password Needed" %] + You cannot change your password without choosing a new one. + + [% ELSIF error == "require_summary" %] + [% title = "Summary Needed" %] + You must enter a summary for this [% terms.bug %]. + + [% ELSIF error == "resolving_remaining_time" %] + [% title = "Trying to Resolve with Hours Remaining" %] + You cannot resolve [% terms.abug %] with hours still remaining. Set + Remaining Hours to zero if you want to resolve the [% terms.bug %]. + + [% ELSIF error == "sanity_check_access_denied" %] + [% title = "Access Denied" %] + You do not have the permissions necessary to run a sanity check. + + [% ELSIF error == "search_content_without_matches" %] + [% title = "Illegal 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 == "series_already_exists" %] + [% title = "Series Already Exists" %] + A series named <em>[% series.category FILTER html %] / + [%+ series.subcategory FILTER html %] / + [%+ series.name FILTER html %]</em> + already exists. + + [% ELSIF error == "sidebar_supports_mozilla_only" %] + Sorry - sidebar.cgi currently only supports Mozilla based web browsers. + <a href="http://www.mozilla.org">Upgrade today</a>. :-) + + [% ELSIF error == "still_unresolved_bugs" %] + [% IF dependency_count == 1 %] + [% terms.Bug %]# <a href="show_bug.cgi?id=[% dependencies.0.bug_id FILTER none %]">[% dependencies.0.bug_id FILTER none %]</a> + has still [% dependencies.0.dependencies FILTER html %] unresolved + [% IF dependencies.0.dependencies == 1 %] + dependency + [% ELSE %] + dependencies + [% END %]. Show + <a href="showdependencytree.cgi?id=[% dependencies.0.bug_id FILTER none %]">Dependency Tree</a>. + [% ELSE %] + There are [% dependency_count FILTER none %] open [% terms.bugs %] which + have unresolved dependencies. + <br> + [% FOREACH bug = dependencies %] + [% terms.Bug %]# <a href="show_bug.cgi?id=[% bug.bug_id FILTER none %]">[% bug.bug_id FILTER none %]</a> + has [% bug.dependencies FILTER html %] open + [% IF bug.dependencies == 1 %] + dependency. + [% ELSE %] + dependencies. + [% END %] + (<a href="showdependencytree.cgi?id=[% bug.bug_id FILTER none %]">Dependency Tree</a>)<br> + [% END %] + [% END %] + + [% ELSIF error == "too_many_votes_for_bug" %] + [% title = "Illegal Vote" %] + You may only use at most [% max FILTER html %] votes for a single + [%+ terms.bug %] in the + <tt>[% prod FILTER html %]</tt> product, but you are trying to + use [% votes FILTER html %]. + + [% ELSIF error == "too_many_votes_for_product" %] + [% title = "Illegal Vote" %] + You tried to use [% votes FILTER html %] votes, + which exceeds the [% max FILTER html %] vote per [% terms.bug %] limit + for the <tt>[% prod FILTER html %]</tt> product. + + [% ELSIF error == "token_inexistent" %] + [% title = "Token Does Not Exist" %] + The token you submitted does not exist, has expired, or has + been cancelled. + + [% ELSIF error == "too_soon_for_new_token" %] + [% title = "Too Soon For New Token" %] + You have requested a password token too recently to request + another. Please wait a while and try again. + + [% ELSIF error == "unknown_keyword" %] + [% title = "Unknown Keyword" %] + <code>[% keyword FILTER html %]</code> is not a known keyword. + The legal keyword names are <a href="describekeywords.cgi">listed here</a>. + + [% ELSIF error == "unknown_tab" %] + [% title = "Unknown Tab" %] + <code>[% current_tab_name FILTER html %]</code> is not a legal tab name. + + [% ELSIF error == "votes_must_be_nonnegative" %] + [% title = "Votes Must Be Non-negative" %] + Only use non-negative numbers for your [% terms.bug %] votes. + + [% ELSIF error == "wrong_token_for_cancelling_email_change" %] + [% title = "Wrong Token" %] + That token cannot be used to cancel an email address change. + + [% ELSIF error == "wrong_token_for_changing_passwd" %] + [% title = "Wrong Token" %] + That token cannot be used to change your password. + + [% ELSIF error == "wrong_token_for_confirming_email_change" %] + [% title = "Wrong Token" %] + That token cannot be used to change your email address. + + [% ELSIF error == "value_out_of_range" %] + [% title = "Value Out Of Range" %] + Value is out of range for field + <em>[% field_descs.$field FILTER html %]</em>. + + [% ELSIF error == "zero_length_file" %] + [% title = "File Is Empty" %] + The file you are trying to attach is empty! + + [% ELSE %] + [% title = "Error string not found" %] + The user error string <code>[% error FILTER html %]</code> was not found. + Please send email to [% Param("maintainer") %] describing the steps taken + to obtain this message. + [% END %] + [% END %] + [% UNLESS header_done %] [% PROCESS global/header.html.tmpl %] *************** *** 33,37 **** <td bgcolor="#ff0000"> <font size="+2"> ! [% error %] </font> </td> --- 781,785 ---- <td bgcolor="#ff0000"> <font size="+2"> ! [% error_message FILTER none %] </font> </td> *************** *** 43,45 **** --- 791,815 ---- </p> + [%# 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. %] + + [% USE Bugzilla %] + [% namedcmd = Bugzilla.cgi.param("namedcmd") %] + [% IF namedcmd AND error != "missing_query" %] + <p> + Alternatively, you can + <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= + [% namedcmd FILTER html %]">forget</a> + + [% FOREACH q = Bugzilla.user.queries %] + [% IF q.name == namedcmd %] + or <a href="query.cgi?[% q.query FILTER html %]">edit</a> + [% END %] + [% END %] + + the saved search '[% namedcmd FILTER html %]'. + </p> + [% END %] + [% PROCESS global/footer.html.tmpl %] Index: header.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/header.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** header.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- header.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 18,21 **** --- 18,22 ---- # # Contributor(s): Gervase Markham <ge...@ge...> + # Vaskin Kissoyan <vki...@ya...> #%] *************** *** 25,30 **** # h1: string. Main page header. # h2: string. Page subheader. ! # header_html: string. Any other HTML to go inside the <head> tags. # javascript: string. Javascript to go in the header. # style: string. CSS style. # style_urls: list. List of URLs to CSS style sheets. --- 26,36 ---- # h1: string. Main page header. # h2: string. Page subheader. ! # h3: string. Right-aligned subheader. ! # bgcolor: string. the page's background color ("#rrggbb"). ! # bodyattrs: any extra attributes for the <body> tag ! # bodyclasses: array of extra CSS classes for the <body> ! # onload: string. JavaScript code to run when the page finishes loading. # javascript: string. Javascript to go in the header. + # javascript_urls: list. List of URLs to Javascript # style: string. CSS style. # style_urls: list. List of URLs to CSS style sheets. *************** *** 32,50 **** #%] [% DEFAULT - h1 = title h2 = "" ! bgcolor = "#FFFFFF" onload = "" %] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>[% title FILTER html %]</title> ! [%# Migration note: contents of the old Param 'headerhtml' would go here %] ! [% header_html %] ! [% IF javascript %] <script type="text/javascript" language="JavaScript"> --- 38,71 ---- #%] + [% IF message %] + [% PROCESS global/messages.html.tmpl %] + [% END %] + [% DEFAULT h2 = "" ! h3 = "" ! bgcolor = "#ffffff" onload = "" + bodyattrs = "" %] + + [%# We should be able to set the default value of the h1 variable + # to the value of the title variable using the DEFAULT directive, + # but that doesn't work if a caller sets h1 to the empty string + # to avoid h1 inheriting the value of title, since DEFAULT + # mistakenly treats empty strings as undefined and gives h1 the + # value of title anyway. To get around that problem we explicitly + # set h1's default value here only if it is undefined. %] + [% IF !h1.defined %][% h1 = title %][% END %] + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>[% title FILTER html %]</title> ! [%# Migration note: contents of the old Param 'headerhtml' would go here %] ! [% PROCESS "global/site-navigation.html.tmpl" %] ! [% IF javascript %] <script type="text/javascript" language="JavaScript"> *************** *** 53,56 **** --- 74,87 ---- [% END %] + [% IF javascript_urls %] + [% FOREACH javascript_url = javascript_urls %] + <script src="[% javascript_url FILTER html %]" type="text/javascript" language="JavaScript"></script> + [% END %] + [% END %] + + [%+ INCLUDE "global/help-header.html.tmpl" %] + + <link href="css/global.css" rel="stylesheet" type="text/css"> + [% IF style %] <style type="text/css"> *************** *** 58,62 **** </style> [% END %] ! [% IF style_urls %] [% FOREACH style_url = style_urls %] --- 89,93 ---- </style> [% END %] ! [% IF style_urls %] [% FOREACH style_url = style_urls %] *************** *** 64,84 **** [% END %] [% END %] ! </head> ! [%# Migration note: contents of the old Param 'bodyhtml' go in the body tag, # but set the bgcolor and onload attributes in the DEFAULT directive above. #%] ! <body bgcolor="[% bgcolor %]" onload="[% onload %]"> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' #%] ! [% INCLUDE global/banner.html.tmpl %] ! [% IF h1 || h2 %] ! <table border="0" cellspacing="0"> <tr> <td valign="top" align="left"> --- 95,120 ---- [% END %] [% END %] ! </head> ! [%# Migration note: contents of the old Param 'bodyhtml' go in the body tag, # but set the bgcolor and onload attributes in the DEFAULT directive above. #%] ! <body bgcolor="[% bgcolor %]" onload="[% onload %]" ! class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %] ! [% FOREACH class = bodyclasses %] ! [% ' ' %][% class FILTER css_class_quote %] ! [% END %]" ! [% bodyattrs %]> [%# Migration note: the following file corresponds to the old Param # 'bannerhtml' #%] ! [% INCLUDE global/banner.html.tmpl %] ! [% IF h1 || h2 %] ! <table border="0" cellspacing="0" width="100%"> <tr> <td valign="top" align="left"> *************** *** 91,96 **** </table> </td> ! <td valign="middle"> </td> <td valign="middle" align="left">[% h2 %]</td> </tr> </table> --- 127,135 ---- </table> </td> ! <td valign="middle" align="left"> </td> <td valign="middle" align="left">[% h2 %]</td> + [% IF h3 %] + <td valign="middle" align="right">[% h3 %]</td> + [% END %] </tr> </table> Index: message.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/message.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** message.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- message.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 19,23 **** # Contributor(s): #%] ! [%# INTERFACE: # url: string. An optional URL to go to. --- 19,23 ---- # Contributor(s): #%] ! [%# INTERFACE: # url: string. An optional URL to go to. *************** *** 25,37 **** #%] ! [% DEFAULT title = "Bugzilla Message" %] [% PROCESS global/header.html.tmpl %] ! [%# The "header" template automatically displays the contents of a "message" ! variable if it finds one, so it is not necessary to display the message ! here. %] ! [%# Display a URL if the calling script has included one. %] [% IF url && link %] <p> --- 25,38 ---- #%] ! [% PROCESS global/variables.none.tmpl %] ! ! [% DEFAULT title = "$terms.Bugzilla Message" %] [% PROCESS global/header.html.tmpl %] ! [%# The "header" template automatically displays a message if it finds one. ! Note that the global messages list is in messages.html.tmpl. %] ! [%# Display a URL if the calling script or message block has included one. %] [% IF url && link %] <p> Index: code-error.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/code-error.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** code-error.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- code-error.html.tmpl 15 May 2005 15:04:54 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file --- 1,3 ---- ! [%# 1....@bu... %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file *************** *** 22,30 **** [%# INTERFACE: # header_done: boolean. True if the header has already been printed. ! # error: string. The error message to be printed. May contain HTML. # variables: hash. Useful data about the problem. The keys are the variable # names, and the values the variable values. #%] [% UNLESS header_done %] [% PROCESS global/header.html.tmpl %] --- 22,244 ---- [%# INTERFACE: # header_done: boolean. True if the header has already been printed. ! # error: string. The tag of the error. # variables: hash. Useful data about the problem. The keys are the variable # names, and the values the variable values. #%] + + [%# This is a list of all the possible code errors. Please keep them in + # alphabetical order by error tag, and leave a blank line between errors. + # + # 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. + #%] + + [% PROCESS global/variables.none.tmpl %] + + [% DEFAULT title = "Internal Error" %] + + [% error_message = BLOCK %] + [% IF error == "action_unrecognized" %] + I don't recognize the value (<em>[% action FILTER html %]</em>) + of the <em>action</em> variable. + + [% ELSIF error == "attachment_already_obsolete" %] + Attachment #[% attach_id FILTER html %] ([% description FILTER html %]) + is already obsolete. + + [% ELSIF error == "auth_err" %] + [% title = "Internal Authentication Error" %] + [%# Authentication errors are in a template depending on the auth method, + for pluggability. + #%] + [% INCLUDE "account/auth/$authmethod-error.html.tmpl" %] + + [% ELSIF error == "authres_unhandled" %] + An authorization handler return value was not handled by the login code. + + [% ELSIF error == "bad_page_cgi_id" %] + [% title = "Invalid Page ID" %] + The ID <code>[% page_id FILTER html %]</code> is not a + valid page identifier. + + [% ELSIF error == "bug_error" %] + Trying to retrieve [% terms.bug %] [%+ bug.bug_id FILTER html %] returned + the error [% bug.error FILTER html %]. + + [% ELSIF error == "chart_data_not_generated" %] + The tool which gathers [% terms.bug %] counts has not been run yet. + + [% 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>[% graphdir 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 == "chart_lines_not_installed" %] + Charts will not work without the Chart::Lines Perl module being installed. + Run checksetup.pl for installation instructions. + + [% ELSIF error == "field_type_mismatch" %] + Cannot seem to handle <code>[% field FILTER html %]</code> + and <code>[% type FILTER html %]</code> together. + + [% ELSIF error == "gd_not_installed" %] + Charts will not work without the GD Perl module being installed. + Run checksetup.pl for installation instructions. + + [% ELSIF error == "illegal_content_type_method" %] + Your form submission got corrupted somehow. The <em>content + method</em> field, which specifies how the content type gets determined, + should have been either <em>autodetect</em>, <em>list</em>, + or <em>manual</em>, but was instead + <em>[% contenttypemethod FILTER html %]</em>. + + [% ELSIF error == "illegal_field" %] + A legal [% field FILTER html %] was not set. + + [% ELSIF error == "inactive_group" %] + Attempted to add [% terms.bug %] to an inactive group, identified by the bit + '[% bit FILTER html %]'. + + [% ELSIF error == "bad_arg" %] + Bad argument <code>[% argument FILTER html %]</code> sent to + <code>[% function FILTER html %]</code> function. + + [% 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_column_name_cookie" %] + [% title = "Invalid Column Name" %] + The custom sort order specified in your cookie contains an invalid + column name <em>[% fragment FILTER html %]</em>. + The cookie has been cleared. + + [% ELSIF error == "invalid_column_name_form" %] + [% title = "Invalid Column Name" %] + The custom sort order specified in your form submission contains an + invalid column name <em>[% fragment FILTER html %]</em>. + + [% ELSIF error == "invalid_component" %] + [% title = "Invalid Component" %] + The [% name FILTER html %] component doesn't exist in the + [% product FILTER html %] product. + + [% ELSIF error == "invalid_dimensions" %] + [% title = "Invalid Dimensions" %] + The width or height specified is not a positive integer. + + [% ELSIF error == "invalid_series_id" %] + [% title = "Invalid Series" %] + The series_id [% series_id FILTER html %] is not valid. It may be that + this series has been deleted. + + [% ELSIF error == "mismatched_bug_ids_on_obsolete" %] + Attachment [% attach_id FILTER html %] ([% description FILTER html %]) + is attached to [% terms.bug %] [%+ attach_bug_id FILTER html %], + but you tried to flag it as obsolete while creating a new attachment to + [% terms.bug %] [%+ my_bug_id FILTER html %]. + + [% ELSIF error == "flag_nonexistent" %] + There is no flag with ID #[% id FILTER html %]. + + [% ELSIF error == "flag_status_invalid" %] + The flag status <em>[% status FILTER html %]</em> + [% IF id %] + for flag ID #[% id FILTER html %] + [% END %] + is invalid. + + [% ELSIF error == "flag_type_component_nonexistent" %] + The component <em>[% name FILTER html %]</em> does not exist + in the product <em>[% product FILTER html %]</em>. + + [% ELSIF error == "flag_type_component_without_product" %] + A component was selected without a product being selected. + + [% ELSIF error == "flag_type_id_invalid" %] + The flag type ID <em>[% id FILTER html %]</em> is not + a positive integer. + + [% ELSIF error == "flag_type_nonexistent" %] + There is no flag type with the ID <em>[% id FILTER html %]</em>. + + [% ELSIF error == "flag_type_product_nonexistent" %] + The product <em>[% product FILTER html %]</em> does not exist. + + [% ELSIF error == "flag_type_target_type_invalid" %] + The target type was neither <em>[% terms.bug %]</em> nor <em>attachment</em> + but rather <em>[% variables.target_type FILTER html %]</em>. + + [% ELSIF error == "invalid_field_name" %] + Can't use [% field FILTER html %] as a field name. + + [% ELSIF error == "invalid_keyword_id" %] + The keyword ID <em>[% id FILTER html %]</em> couldn't be + found. + + [% 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 %] / + [%+ series.name FILTER html %]. + + [% ELSIF error == "no_y_axis_defined" %] + No Y axis was defined when creating report. The X axis is optional, + but the Y axis is compulsory. + + [% ELSIF error == "need_quipid" %] + A valid quipid is needed. + + [% ELSIF error == "request_queue_group_invalid" %] + The group field <em>[% group FILTER html %]</em> is invalid. + + [% ELSIF error == "report_axis_invalid" %] + <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 + [%+ ELSE %]a report axis[% END %] field. + + [% ELSIF error == "token_generation_error" %] + Something is seriously wrong with the token generation system. + + [% ELSIF error == "template_error" %] + [% template_error_msg FILTER html %] + + [% ELSIF error == "unable_to_retrieve_password" %] + I was unable to retrieve your old password from the database. + + [% ELSIF error == "undefined_field" %] + Form field [% field FILTER html %] was not defined; [% Param('browserbugmessage') %] + [%# Useful message if browser did not select show_bug radio button %] + [% IF field == "knob" %] + Check that the "Leave as..." radio button was selected. + [% END %] + + [% ELSIF error == "unknown_action" %] + [% IF action %] + Unknown action [% action FILTER html %]! + [% ELSE %] + I could not figure out what you wanted to do. + [% END %] + + [% ELSE %] + [% title = "Internal error" %] + An internal error has occured, but [% terms.Bugzilla %] doesn't know + what <code>[% error FILTER html %]</code> means. + + If you are a [% terms.Bugzilla %] end-user seeing this message, please save + this page and send it to [% Param('maintainer') %]. + [% END %] + [% END %] + [% UNLESS header_done %] [% PROCESS global/header.html.tmpl %] *************** *** 33,42 **** <tt> <p> ! Bugzilla has suffered an internal error. Please save this page and send ! it to [% Param("maintainer") %] with details of what you were doing at the time this message appeared. </p> ! <script> <!-- ! document.write("<p>URL: " + document.location + "</p>"); // --> </script> --- 247,259 ---- <tt> <p> ! [% terms.Bugzilla %] has suffered an internal error. Please save this page and send ! it to [% Param("maintainer") %] with details of what you were doing at the time this message appeared. </p> ! <script type="text/javascript"> <!-- ! document.write("<p>URL: " + ! document.location.href.replace(/&/g,"&") ! .replace(/</g,"<") ! .replace(/>/g,">") + "</p>"); // --> </script> *************** *** 47,51 **** <td bgcolor="#ff0000"> <font size="+2"> ! [% error %] </font> </td> --- 264,268 ---- <td bgcolor="#ff0000"> <font size="+2"> ! [% error_message FILTER none %] </font> </td> Index: useful-links.html.tmpl =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/bugzilla/global/useful-links.html.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** useful-links.html.tmpl 28 Jun 2004 00:47:42 -0000 1.1 --- useful-links.html.tmpl 15 May 2005 15:04:55 -0000 1.2 *************** *** 1,3 **** ! <!-- 1....@bu... --> [%# The contents of this file are su... [truncated message content] |