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

📄 edit.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 5 页
字号:
                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },        'section_people' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <table cellpadding=\"1\" cellspacing=\"1\">\n    <tr>\n      <td align=\"right\">\n        <b>Reporter</b>:\n      </td>\n      <td>\n        <a href=\"mailto:";        #line 686 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'reporter', 0, 'email', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        #line 687 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'reporter', 0, 'identity', 0]);                        &$_tt_filter($output);        };                $output .=  "</a>\n      </td>\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <b><a href=\"page.cgi?id=fields.html#assigned_to\">Assigned&nbsp;To</a></b>:\n      </td>\n      <td>\n        <a href=\"mailto:";        #line 696 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'assigned_to', 0, 'email', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        #line 697 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'assigned_to', 0, 'identity', 0]);                        &$_tt_filter($output);        };                $output .=  "</a>\n      </td>\n    </tr>\n";        #line 730 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['Param', [ 'useqacontact' ]])) {        $output .=  "\n    <tr>\n      <td align=\"right\">\n        <label for=\"qa_contact\" accesskey=\"q\"><b><u>Q</u>A Contact</b></label>:\n      </td>\n      <td colspan=\"7\">";        #line 727 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['bug', 0, 'check_can_change_field', [ 'qa_contact', 0, 1 ]])) {        #line 708 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->include('global/userselect.html.tmpl', { 'id' => 'qa_contact', 'name' => 'qa_contact', 'value' => $stash->get(['bug', 0, 'qa_contact', 0, 'login', 0]), 'size' => 30, 'emptyok' => 1 });        }        else {        $output .=  "\n          <input type=\"hidden\" name=\"qa_contact\" id=\"qa_contact\"\n                 value=\"";        #line 717 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'qa_contact', 0, 'login', 0]);                        &$_tt_filter($output);        };                $output .=  "\">\n          <a href=\"mailto:";        #line 718 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'qa_contact', 0, 'email', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        #line 725 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['bug', 0, 'qa_contact', 0, 'login', 0]) && $stash->get(['bug', 0, 'qa_contact', 0, 'login', 0, 'length', 0]) > 30) {        $output .=  "\n              <span title=\"";        #line 720 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'qa_contact', 0, 'login', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        #line 721 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                        # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('truncate', [ 30 ])                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'qa_contact', 0, 'identity', 0]);                        &$_tt_filter($output);        };                                &$_tt_filter($output);        };                $output .=  "\n              </span>";        }        else {        #line 724 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'qa_contact', 0, 'identity', 0]);                        &$_tt_filter($output);        };                }                $output .=  "\n          </a>";        }                $output .=  "\n      </td>\n    </tr>";        }                $output .=  "\n";        #line 747 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['user', 0, 'id', 0])) {        $output .=  "\n      <tr>\n        <td align=\"right\" valign=\"top\">\n          <label for=\"newcc\" accesskey=\"a\"><b><u>A</u>dd&nbsp;CC</b></label>:\n        </td>\n        <td>";        #line 738 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->include('global/userselect.html.tmpl', { 'id' => 'newcc', 'name' => 'newcc', 'value' => '', 'size' => 30, 'multiple' => 5 });        $output .=  "\n        </td>\n      </tr>";        }                $output .=  "\n\n    <tr>";        #line 769 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['bug', 0, 'cc', 0])) {        $output .=  "\n        <td align=\"right\" valign=\"top\">\n          <label for=\"cc\"><b>CC</b></label>:\n        </td>\n        <td valign=\"top\">\n          <select id=\"cc\" name=\"cc\" multiple=\"multiple\" size=\"5\">";        #line 758 "template\en\default\bug\edit.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get(['bug', 0, 'cc', 0]);                        unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {                $_tt_list = Template::Config->iterator($_tt_list)                    || die $Template::Config::ERROR, "\n";             }                    ($_tt_value, $_tt_error) = $_tt_list->get_first();            eval { $_tt_oldloop = $stash->get('loop') };            $stash->set('loop', $_tt_list);            eval {        LOOP:   while (! $_tt_error) {                    $stash->{'c'} = $_tt_value;        $output .=  "\n            <option value=\"";        #line 757 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('c');                        &$_tt_filter($output);        };                $output .=  "\">";        #line 757 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('c');                        &$_tt_filter($output);        };                $output .=  "</option>";;                    ($_tt_value, $_tt_error) = $_tt_list->get_next();                }            };            $stash->set('loop', $_tt_oldloop);            die $@ if $@;            $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;            die $_tt_error if $_tt_error;        };                $output .=  "\n          </select>";        #line 765 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['user', 0, 'id', 0])) {        $output .=  "\n            <br>\n            <input type=\"checkbox\" id=\"removecc\" name=\"removecc\">";        $output .=  "<label for=\"removecc\">Remove selected CCs</label>\n            <br>";        }                $output .=  "\n        </td>";        }        else {        $output .=  "\n        <td colspan=\"2\"><input type=\"hidden\" name=\"cc\" value=\"\"></td>";        }                $output .=  "\n    </tr>\n  </table>";            } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },        'dependencies' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <th align=\"right\">\n    <label for=\"";        #line 780 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['dep', 0, 'fieldname', 0]);        $output .=  "\"";        #line 0 "template\en\default\bug\edit.html.tmpl"        if ($stash->get('accesskey')) {        $output .=  (" accesskey=\"" . $stash->get('accesskey') . "\"");        }                $output .=  ">";        #line 781 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['dep', 0, 'title', 0]);

⌨️ 快捷键说明

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