⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 confirm-user-match.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1100960964',        'name' => 'global/confirm-user-match.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n\n";    #line 41 "template\en\default\global\confirm-user-match.html.tmpl"    $output .=  $context->process('global/field-descs.none.tmpl');    $output .=  "\n";    #line 69 "template\en\default\global\confirm-user-match.html.tmpl"    if ($stash->get('matchsuccess') eq 1) {    #line 44 "template\en\default\global\confirm-user-match.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Confirm Match' });    $output .=  "\n\n  <form method=\"post\" ";    #line 51 "template\en\default\global\confirm-user-match.html.tmpl"    if ($stash->get('script')) {    $output .=  "    action=\"";    #line 49 "template\en\default\global\confirm-user-match.html.tmpl"    $output .=  $stash->get('script');    $output .=  "\"";    }        $output .=  "  >\n\n  <p>\n    One or more of the names/email addresses you entered into fields on the\n    previous page produced results which require confirmation.  Please\n    carefully examine the matches below, selecting users from the lists if\n    necessary, or go back to the previous page to revise the names you\n    entered.\n  </p>";    }    else {    #line 62 "template\en\default\global\confirm-user-match.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Match Failed' });    $output .=  "\n  <p>\n    One or more of the names/email addresses you entered into fields on the\n    previous page were unable to make a valid match.  Go back to the previous\n    page and try other names/email addresses.\n  </p>";    }        $output .=  "\n\n<p>\n  <table border=\"0\">\n    <tr>\n      <td colspan=\"2\">\n        <hr width=\"100%\" size=\"1\">\n      </td>\n    </tr>\n\n  ";    $output .=  "\n";    #line 166 "template\en\default\global\confirm-user-match.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('matches');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'field'} = $value;    $output .=  "\n    <tr>\n      <td align=\"left\" valign=\"top\">";    #line 86 "template\en\default\global\confirm-user-match.html.tmpl"    $output .=  $context->process('field_names', { 'field_name' => $stash->get(['field', 0, 'key', 0]) });    $output .=  ":\n      </td>\n      <td align=\"left\" valign=\"top\">";    #line 157 "template\en\default\global\confirm-user-match.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get(['field', 0, 'value', 0]);                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'query'} = $value;    $output .=  "\n              <b>";    #line 91 "template\en\default\global\confirm-user-match.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['query', 0, 'key', 0]);                &$filter($output);    };        $output .=  "</b>";    #line 154 "template\en\default\global\confirm-user-match.html.tmpl"    if ($stash->get(['query', 0, 'value', 0, 'users', 0, 'size', 0])) {    #line 146 "template\en\default\global\confirm-user-match.html.tmpl"    if ($stash->get(['query', 0, 'value', 0, 'users', 0, 'size', 0]) > 1) {    #line 141 "template\en\default\global\confirm-user-match.html.tmpl"    if ($stash->get(['query', 0, 'value', 0, 'status', 0]) eq 'fail') {    $output .=  "\n                    <font color=\"#FF0000\">\n                      matches multiple users.\n                    </font>\n                    Please go back and try again with a more specific\n                    name/address.";    }    elsif ($stash->get(['fields', 0, $stash->get(['field', 0, 'key', 0]), 0, 'type', 0]) eq 'single') {    $output .=  "\n                    matched:<br>\n                    <select name=\"";    #line 102 "template\en\default\global\confirm-user-match.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'key', 0]);                &$filter($output);    };        $output .=  "\"\n                     id=\"";    #line 103 "template\en\default\global\confirm-user-match.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'key', 0]);                &$filter($output);    };        $output .=  "\">";    #line 111 "template\en\default\global\confirm-user-match.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get(['query', 0, 'value', 0, 'users', 0]);                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'match'} = $value;    $output .=  "\n                        <option value=\"";    #line 106 "template\en\default\global\confirm-user-match.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['match', 0, 'login', 0]);                &$filter($output);    };        $output .=  "\">";    #line 108 "template\en\default\global\confirm-user-match.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['match', 0, 'identity', 0]);                &$filter($output);    };        $output .=  "                        </option>";;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        $output .=  "\n                    </select>";    }    else {    #line 122 "template\en\default\global\confirm-user-match.html.tmpl"    if ($stash->get(['query', 0, 'value', 0, 'status', 0]) eq 'trunc') {    $output .=  "\n                      matched\n                      more than the maximum\n                      of ";    #line 117 "template\en\default\global\confirm-user-match.html.tmpl"    $output .=  $stash->get(['query', 0, 'value', 0, 'users', 0, 'size', 0]);    $output .=  " users:<br>";    }    else {    $output .=  "\n                      matched:<br>";    }        $output .=  "\n                    <select name=\"";    #line 123 "template\en\default\global\confirm-user-match.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'key', 0]);                &$filter($output);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -