Thread: [Openfirst-cvscommit] www/htdocs/bugzilla/global confirm-user-match.html.tmpl,NONE,1.1 field-descs.n
Brought to you by:
xtimg
From: Tim G. <xt...@us...> - 2005-05-15 14:38:34
|
Update of /cvsroot/openfirst/www/htdocs/bugzilla/global In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28397/global Added Files: confirm-user-match.html.tmpl field-descs.none.tmpl help-header.html.tmpl help.html.tmpl initialize.none.tmpl messages.html.tmpl site-navigation.html.tmpl variables.none.tmpl Log Message: Bring templates up to date for Bugzilla 2.18.1 --- NEW FILE: messages.html.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham <ge...@ge...> #%] [%# This is a list of all the possible messages. Please keep them in # alphabetical order by message tag, and leave a blank line between messages. #%] [% PROCESS global/variables.none.tmpl %] [% message_tag = message %] [% message = BLOCK %] [% IF message_tag == "buglist_adding_field" %] [% title = "Adding field to search page..." %] [% link = "Click here if the page does not redisplay automatically." %] [% ELSIF message_tag == "buglist_load_named_query" %] [% title = BLOCK %] Loading your search named [% namedcmd FILTER html %] [% END %] [% link = "Click here if the page does not redisplay automatically." %] [% ELSIF message_tag == "buglist_updated_named_query" %] OK, your search named <code>[% queryname FILTER html %]</code> is updated. [% ELSIF message_tag == "buglist_new_default_query" %] OK, you now have a new default search. You may also bookmark the result of any individual search. [% ELSIF message_tag == "buglist_new_named_query" %] OK, you have a new search named <code>[% queryname FILTER html %]</code>. [% ELSIF message_tag == "buglist_query_gone" %] [% title = "Search is gone" %] [% link = "Go back to the search page." %] OK, the <b>[% namedcmd FILTER html %]</b> search is gone. [% ELSIF message_tag == "buglist_sorted_by_relevance" %] [% terms.Bugs %] on this list are sorted by relevance, with the most relevant [% terms.bugs %] at the top. Only the 200 most relevant [%+ terms.bugs %] are shown. [% ELSIF message_tag == "change_columns" %] [% title = "Change columns" %] Resubmitting your search with new columns... Click <a href="[% redirect_url FILTER html %]">here</a> if the page does not automatically refresh. [% ELSIF message_tag == "emailold_change_cancelled" %] [% title = "Cancel Request to Change Email Address" %] The request to change the email address for your account to [%+ new_email FILTER html %] has been cancelled. [% ELSIF message_tag == "email_change_cancelled" %] [% title = "Cancel Request to Change Email Address" %] The request to change the email address for the account [%+ old_email FILTER html %] to [%+ new_email FILTER html %] has been cancelled. [% ELSIF message_tag == "email_change_cancelled_reinstated" %] [% title = "Cancel Request to Change Email Address" %] The request to change the email address for the account [%+ old_email FILTER html %] to [%+ new_email FILTER html %] has been cancelled. Your old account settings have been reinstated. [% ELSIF message_tag == "logged_out" %] [% title = "Logged Out" %] [% url = "query.cgi?GoAheadAndLogIn=1" %] [% link = "Log in again." %] <b>Your login has been forgotten</b>. The cookie that was remembering your login is now gone. You will be prompted for a login the next time it is required. [% ELSIF message_tag == "login_changed" %] [% title = "$terms.Bugzilla Login Changed" %] Your [% terms.Bugzilla %] login has been changed. [% ELSIF message_tag == "password_change_cancelled" %] [% title = "Cancel Request to Change Password" %] Your request has been cancelled. [% ELSIF message_tag == "password_change_request" %] [% title = "Request to Change Password" %] A token for changing your password has been emailed to you. Follow the instructions in that email to change your password. [% ELSIF message_tag == "password_changed" %] [% title = "Password Changed" %] Your password has been changed. [% ELSIF message_tag == "flag_type_created" %] [% title = "Flag Type Created" %] The flag type <em>[% name FILTER html %]</em> has been created. <a href="editflagtypes.cgi">Back to flag types.</a> [% ELSIF message_tag == "flag_type_changes_saved" %] [% title = "Flag Type Changes Saved" %] <p> Your changes to the flag type <em>[% name FILTER html %]</em> have been saved. <a href="editflagtypes.cgi">Back to flag types.</a> </p> [% ELSIF message_tag == "flag_type_deleted" %] [% title = "Flag Type Deleted" %] <p> The flag type <em>[% name FILTER html %]</em> has been deleted. <a href="editflagtypes.cgi">Back to flag types.</a> </p> [% ELSIF message_tag == "flag_type_deactivated" %] [% title = "Flag Type Deactivated" %] <p> The flag type <em>[% flag_type.name FILTER html %]</em> has been deactivated. <a href="editflagtypes.cgi">Back to flag types.</a> </p> [% ELSIF message_tag == "product_invalid" %] [% title = "$terms.Bugzilla Component Descriptions" %] The product <em>[% product FILTER html %]</em> does not exist or you don't have access to it. The following is a list of the products you can choose from. [% ELSIF message_tag == "series_created" %] [% title = "Series Created" %] The series <em>[% series.category FILTER html %] / [%+ series.subcategory FILTER html %] / [%+ series.name FILTER html %]</em> has been created. Note that you may need to wait up to [%+ series.frequency * 2 %] days before there will be enough data for a chart of this series to be produced. <br><br> Go back or <a href="query.cgi?format=create-series">create another series</a>. [% ELSIF message_tag == "shutdown" %] [% title = "$terms.Bugzilla is Down" %] [% Param("shutdownhtml") %] [% ELSE %] [%# Give sensible error if error functions are used incorrectly. #%] You are using [% terms.Bugzilla %]'s messaging functions incorrectly. You passed in the string '[% message_tag %]'. The correct use is to pass in a tag, and define that tag in the file messages.html.tmpl.<br> <br> If you are a [% terms.Bugzilla %] end-user seeing this message, please save this page and send it to [% Param('maintainer') %]. [% END %] [% END %] --- NEW FILE: variables.none.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): #%] [%# This is a list of terms that may be changed to "brand" the Bugzilla # instance (for example, referring to "bugs" as "issues".) When used, these # strings are used in several different types of content, and are not # protected with Template-Toolkit FILTERs. Consequently, no special # characters are allowed. # # Remember to PROCESS rather than INCLUDE this template. #%] [%# Note on changing terms: # Changing this will not affect "linkification" of your new terms. # This means if you change "bug" to "problem", then if you have # "problem 3" in a comment, it won't become a clickable URL. # To have that feature, you must edit the quoteUrls function in # globals.pl (in the base Bugzilla directory). # Change the line: # my $bug_re = qr/bug\s*\#?\s*(\d+)/i; # to something like: # my $bug_re = qr/(?:bug|problem)\s*\#?\s*(\d+)/i; # (here "problem" was used instead of bug - substitute as needed!). #%] [% terms = { "bug" => "bug", "Bug" => "Bug", "abug" => "a bug", "Abug" => "A bug", "ABug" => "A Bug", "bugs" => "bugs", "Bugs" => "Bugs", "zeroSearchResults" => "Zarro Boogs found", "bit" => "bit", "bits" => "bits", "Bugzilla" => "Bugzilla" } %] --- NEW FILE: help-header.html.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham <ge...@ge...> #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% IF help %] [% IF cgi.user_agent("Mozilla/5") %] <style type="text/css"> .help { border-style: solid; border-color: #F0A000; background-color: #FFFFFF; padding: 5; position: absolute; } </style> <script type="application/x-javascript"> var currentHelp; function initHelp() { for (var i = 0; i < document.forms.length; i++) { for (var j = 0; j < document.forms[i].elements.length; j++) { [%# MS decided to add fieldsets to the elements array; and # Mozilla decided to copy this brokenness. Grr. #%] if (document.forms[i].elements[j].tagName != 'FIELDSET') { document.forms[i].elements[j].onmouseover = showHelp; } } } document.body.onclick = hideHelp; } function showHelp() { hideHelp(); var newHelp = document.getElementById(this.name + '_help'); if (newHelp) { currentHelp = newHelp; var mytop = this.offsetTop; var myleft = this.offsetLeft; var myparent = this.offsetParent; while (myparent.tagName != 'BODY') { mytop = mytop + myparent.offsetTop; myleft = myleft + myparent.offsetLeft; myparent = myparent.offsetParent; } currentHelp.style.top = mytop + this.offsetHeight + 5; currentHelp.style.left = myleft; currentHelp.style.display=''; } } function hideHelp() { if (currentHelp) { currentHelp.style.display='none'; } } </script> [% END %] [% ELSE %] <script type="text/javascript"> <!-- [%# Avoid warnings by having a dummy function %] function initHelp() {} // --> </script> [% END %] --- NEW FILE: initialize.none.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Myk Melez <my...@mo...> #%] [%# This template is a place to put directives that should get processed # every time a primary template gets processed. Primary templates are those # called from Perl code rather than from other templates via the PROCESS # and INCLUDE directives. # # This template gets auto-processed at the beginning of primary templates # via the PRE_PROCESS configuration parameter. Note that it gets processed # for non-HTML templates too, so don't put HTML-specific stuff in here; # put that into header.html.tmpl instead. #%] [% USE Hook %] --- NEW FILE: confirm-user-match.html.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Myk Melez <my...@mo...> # Erik Stambaugh <not...@da...> #%] [%# INTERFACE: # form: hash; the form values submitted to the script # mform: hash; the form multi-values submitted to the script # fields: hash/record; the fields being matched, each of which has: # type: single|multi: whether or not the user can select multiple matches # flag_type: for flag requestee fields, the type of flag being requested # matches: hash; Hierarchical. The levels go like this: # field_name { # pattern_text { # 'users' = @user_list (user objects) # 'status' = success|fail|trunc (result of search. # 'trunc' (truncated) means max was reached) # } # } # script: string; The name of the calling script, used to create a # self-referential URL #%] [%# use the global field descs %] [% PROCESS "global/field-descs.none.tmpl" %] [% IF matchsuccess == 1 %] [% PROCESS global/header.html.tmpl title="Confirm Match" %] <form method="post" [% IF script -%] action="[% script %]" [%- END -%] > <p> One or more of the names/email addresses you entered into fields on the previous page produced results which require confirmation. Please carefully examine the matches below, selecting users from the lists if necessary, or go back to the previous page to revise the names you entered. </p> [% ELSE %] [% PROCESS global/header.html.tmpl title="Match Failed" %] <p> One or more of the names/email addresses you entered into fields on the previous page were unable to make a valid match. Go back to the previous page and try other names/email addresses. </p> [% END %] <p> <table border="0"> <tr> <td colspan="2"> <hr width="100%" size="1"> </td> </tr> [%# this is messy to allow later expansion %] [% FOREACH field = matches %] <tr> <td align="left" valign="top"> [% PROCESS field_names field_name=field.key %]: </td> <td align="left" valign="top"> [% FOREACH query = field.value %] <b>[% query.key FILTER html %]</b> [% IF query.value.users.size %] [% IF query.value.users.size > 1 %] [% IF query.value.status == 'fail' %] <font color="#FF0000"> matches multiple users. </font> Please go back and try again with a more specific name/address. [% ELSIF fields.${field.key}.type == 'single' %] matched:<br> <select name="[% field.key FILTER html %]" id="[% field.key FILTER html %]"> [% FOREACH match = query.value.users %] <option value="[% match.login FILTER html %]"> [%- match.identity FILTER html -%] </option> [% END %] </select> [% ELSE %] [% IF query.value.status == 'trunc' %] matched more than the maximum of [% query.value.users.size %] users:<br> [% ELSE %] matched:<br> [% END %] <select name="[% field.key FILTER html %]" id="[% field.key FILTER html %]" [% IF query.value.users.size > 5 %] multiple="multiple" size="5"> [% ELSE %] multiple="multiple" size="[% query.value.users.size %]"> [% END %] [% FOREACH match = query.value.users %] <option value="[% match.login FILTER html %]"> [%- match.identity FILTER html -%] </option> [% END %] </select> [% END %] [% ELSE %] matched <b>[% query.value.users.0.identity FILTER html %]</b> <br> [% END %] [% ELSE %] [% IF (query.key.length < 3) && !(Param('emailsuffix')) && (Param('usermatchmode') == 'search') %] <font color="#FF0000">was too short for substring match (minimum 3 characters)</font> [% ELSE %] <font color="#FF0000">did not match anything</font> [% END %] [% END %] <p> [% END %] </td> </tr> <tr> <td colspan="2"> <hr width="100%" size="1"> </td> </tr> [% END %] </table> </p> [% IF matchsuccess == 1 %] [% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %] <p> <input type="submit" value="Continue"> </p> </form> [% END %] [% PROCESS global/footer.html.tmpl %] [% BLOCK field_names %] [% IF field_descs.${field_name} %] [% field_descs.${field_name} FILTER html -%] [%-# ELSIF for things that don't belong in the field_descs hash here -%] [% ELSIF field_name.match("^requestee") %] [% fields.${field_name}.flag_type.name %] requestee [% ELSE %] [% field_name FILTER html %] [% END %] [% END %] --- NEW FILE: site-navigation.html.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Toms Baugis <tom...@ti...> # Gervase Markham <ge...@ge...> #%] [%# INTERFACE: # bug_list: list of integers. List of bug numbers of current query (if any). # bug.bug_id: integer. Number of current bug (for navigation purposes) #%] [% PROCESS global/variables.none.tmpl %] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %] <link rel="Top" href="[% Param('urlbase') %]"> [%# *** Bug List Navigation *** %] [% IF bug && bug_list && bug_list.size > 0 %] <link rel="Up" href="buglist.cgi?regetlastlist=1"> [% current_bug_idx = lsearch(bug_list, bug.bug_id) %] [% IF current_bug_idx > 0 %] <link rel="First" href="show_bug.cgi?id=[% bug_list.first %]"> [% prev_bug = current_bug_idx - 1 %] <link rel="Prev" href="show_bug.cgi?id=[% bug_list.$prev_bug %]"> [% END %] [% IF current_bug_idx + 1 < bug_list.size %] [% next_bug = current_bug_idx + 1 %] <link rel="Next" href="show_bug.cgi?id=[% bug_list.$next_bug %]"> <link rel="Last" href="show_bug.cgi?id=[% bug_list.last %]"> [% END %] [% END %] [%# *** Dependencies, Votes, Activity, Print-version *** %] [% IF bug %] <link rel="Show" title="Dependency Tree" href="showdependencytree.cgi?id=[% bug.bug_id %]"> <link rel="Show" title="Dependency Graph" href="showdependencygraph.cgi?id=[% bug.bug_id %]"> [% IF use_votes %] <link rel="Show" title="Votes ([% bug.votes %])" href="votes.cgi?action=show_bug&bug_id=[% bug.bug_id %]"> [% END %] <link rel="Show" title="[% terms.Bug %] Activity" href="show_activity.cgi?id=[% bug.bug_id %]"> <link rel="Show" title="Printer-Friendly Version" href="long_list.cgi?buglist=[% bug.bug_id %]"> [% END %] [%# *** Saved Searches *** %] [% IF user.showmybugslink %] [% user_login = user.login FILTER url_quote %] <link rel="Saved Searches" title="My [% terms.Bugs %]" href="[% Param('mybugstemplate').replace('%userid%', user_login) %]"> [% END %] [% FOREACH q = user.queries %] <link rel="Saved Searches" title="[% q.name FILTER html %]" href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER url_quote %]"> [% END %] [%# *** Bugzilla Administration Tools *** %] [% IF user.login %] [% '<link rel="Administration" title="Parameters" href="editparams.cgi">' IF user.groups.tweakparams %] [% '<link rel="Administration" title="Users" href="editusers.cgi">' IF user.groups.editusers %] [% '<link rel="Administration" title="Products" href="editproducts.cgi">' IF user.groups.editcomponents %] [% '<link rel="Administration" title="Flag Types" href="editflagtypes.cgi">' IF user.groups.editcomponents %] [% '<link rel="Administration" title="Groups" href="editgroups.cgi">' IF user.groups.creategroups %] [% '<link rel="Administration" title="Keywords" href="editkeywords.cgi">' IF user.groups.editkeywords %] [% '<link rel="Administration" title="Sanity Check" href="sanitycheck.cgi">' IF user.groups.tweakparams %] [% END %] [% END %] --- NEW FILE: field-descs.none.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham <ge...@ge...> #%] [%# Remember to PROCESS rather than INCLUDE this template. %] [% PROCESS global/variables.none.tmpl %] [% field_descs = { "[Bug creation]" => "[$terms.Bug creation]", "actual_time" => "Actual Hours" "alias" => "Alias", "assigned_to" => "Assignee", "blocked" => "Blocks", "bug_file_loc" => "URL", "bug_id" => "$terms.Bug ID", "bug_severity" => "Severity", "bug_status" => "Status", "changeddate" => "Last Changed Date", "cc" => "CC", "cclist_accessible" => "CC list accessible?", "component_id" => "Component ID", "component" => "Component", "creation_ts" => "$terms.Bug Creation time", "delta_ts" => "Last Changed time", "dependson" => "Depends on", "dup_id" => "Duplicate", "estimated_time" => "Orig. Est.", "everconfirmed" => "Ever confirmed?", "groupset" => "Groupset", "keywords" => "Keywords", "newcc" => "CC", "op_sys" => "OS", "opendate" => "Open Date", "percentage_complete" => "%Complete", "priority" => "Priority", "product_id" => "Product ID", "product" => "Product", "qa_contact" => "QA Contact", "remaining_time" => "Hours Left", "rep_platform" => "Hardware", "reporter" => "Reporter", "reporter_accessible" => "Reporter accessible?", "resolution" => "Resolution", "short_desc" => "Summary", "status_whiteboard" => "Whiteboard", "target_milestone" => "Target Milestone", "version" => "Version", "votes" => "Votes", "work_time" => "Hours Worked"} %] --- NEW FILE: help.html.tmpl --- [%# 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 # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham <ge...@ge...> #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% IF help %] [% IF cgi.user_agent("Mozilla/5") %] [% FOREACH h = help_html %] <div id="[% h.id %]_help" class="help" style="display: none;"> [%- h.html -%] </div> [% END %] [% END %] [% END %] |