From 4888825a13fda24c0bbe644af27f7c2d2a061969 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Fri, 25 Oct 2002 11:04:12 +0000 Subject: Bug 162990 Adding missing new file --- .../en/default/global/confirm-user-match.html.tmpl | 180 +++++++++++++++++++++ 1 file changed, 180 insertions(+) create mode 100644 template/en/default/global/confirm-user-match.html.tmpl (limited to 'template/en/default/global/confirm-user-match.html.tmpl') diff --git a/template/en/default/global/confirm-user-match.html.tmpl b/template/en/default/global/confirm-user-match.html.tmpl new file mode 100644 index 000000000..2c1d0d2bd --- /dev/null +++ b/template/en/default/global/confirm-user-match.html.tmpl @@ -0,0 +1,180 @@ + +[%# 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 + # Erik Stambaugh + #%] + +[%# INTERFACE: + # form: hash; the form values submitted to the script + # mform: hash; the form multi-values submitted to the script + # matches: hash; Hierarchical. The levels go like this: + # field_name { + # pattern_text { + # 'users' = @user_list (user objects) + # 'selecttype' = single|multi (selectbox type) + # '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.html.tmpl" %] + +[% IF matchsuccess == 1 %] + [% PROCESS global/header.html.tmpl title="Confirm Match" %] + +
+ +

+ 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. +

+[% ELSE %] + [% PROCESS global/header.html.tmpl title="Match Failed" %] +

+ 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. +

+[% END %] + +

+ + + + + + [% # this is messy to allow later expansion %] + + [% FOREACH field = matches %] + + + + + + + + [% END %] + +
+
+
+ [% PROCESS field_names field_name=field.key %]: + + [% FOREACH query = field.value %] + [% query.key FILTER html %] + [% IF query.value.users.size %] + [% IF query.value.users.size > 1 %] + [% IF query.value.status == 'fail' %] + + matches multiple users. + + Please go back and try again with a more specific + name/address. + [% ELSIF query.value.selecttype == 'single' %] + matched:
+ + [% ELSE %] + [% IF query.value.status == 'trunc' %] + matched + more than the maximum + of [% query.value.users.size %] users:
+ [% ELSE %] + matched:
+ [% END %] + + [% END %] + [% ELSE %] + matched + [% query.value.users.0.identity FILTER html %] +
+ [% END %] + [% ELSE %] + [% IF (query.key.length < 3) && !(Param('emailsuffix')) + && (Param('usermatchmode') == 'search') %] + was too short for substring match + (minimum 3 characters) + [% ELSE %] + did not match anything + [% END %] + [% END %] +

+ [% END %] +

+
+
+ +

+ +[% IF matchsuccess == 1 %] + + [% PROCESS "global/hidden-fields.html.tmpl" exclude="^(Bugzilla|LDAP)_(login|password)$" %] + +

+ +

+ +
+ +[% 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 -%] + + [% ELSE %] + [% field_name FILTER html %] + [% END %] + +[% END %] -- cgit v1.2.3-24-g4f1b