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

📄 show-multiple.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 4 页
字号:
        $output .=  "\n                    </a>";        #line 242 "template\en\default\bug\show-multiple.html.tmpl"        if (! $stash->get(['loop', 0, 'last', 0])) {        $output .=  '<br>';        }                $output .=  "\n                  </td>\n                  <td>";        #line 255 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['attachment', 0, 'flags', 0, 'size', 0]) eq 0) {        $output .=  "\n                      <i>none</i>";        }        else {        #line 254 "template\en\default\bug\show-multiple.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get(['attachment', 0, 'flags', 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->{'flag'} = $_tt_value;        #line 249 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['flag', 0, 'setter', 0, 'nick', 0]);                        &$_tt_filter($output);        };                $output .=  ":\n                        ";        #line 250 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('no_break')                      || $context->throw($context->error);                        # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['flag', 0, 'type', 0, 'name', 0]);                        &$_tt_filter($output);        };                                &$_tt_filter($output);        };                #line 250 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['flag', 0, 'status', 0]);        #line 253 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['flag', 0, 'status', 0]) eq '?' && $stash->get(['flag', 0, 'requestee', 0])) {        $output .=  "\n                          (";        #line 252 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['flag', 0, 'requestee', 0, 'nick', 0]);                        &$_tt_filter($output);        };                $output .=  ")";        }                #line 253 "template\en\default\bug\show-multiple.html.tmpl"        if (! $stash->get(['loop', 0, 'last', 0])) {        $output .=  ', ';        }        ;                    ($_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                  </td>\n                </tr>";;                    ($_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            </table>";        }        else {        #line 265 "template\en\default\bug\show-multiple.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get(['bug', 0, 'attachments', 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->{'attachment'} = $_tt_value;        $output .=  "\n              <a href=\"attachment.cgi?id=";        #line 262 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['attachment', 0, 'id', 0]);        $output .=  "\">";        #line 263 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['attachment', 0, 'description', 0]);                        &$_tt_filter($output);        };                $output .=  "\n              </a>";        #line 264 "template\en\default\bug\show-multiple.html.tmpl"        if (! $stash->get(['loop', 0, 'last', 0])) {        $output .=  '<br>';        }        ;                    ($_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        </td>\n      </tr>";        }                }                $output .=  "\n  </table>\n\n\n  <br>\n";        #line 276 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('bug/comments.html.tmpl', { 'comments' => $stash->get(['bug', 0, 'longdescs', 0]) });        $output .=  "\n\n  <hr>";            } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },        'row' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <tr>\n    <th>";        #line 289 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['field_descs', 0, $stash->get('cell'), 0]);                        &$_tt_filter($output);        };                $output .=  ":</th>\n    <td";        #line 290 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get('fullrow')) {        $output .=  ' colspan=3';        }                $output .=  ">";        #line 290 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, $stash->get('cell'), 0]);                        &$_tt_filter($output);        };                $output .=  "</td>";        #line 291 "template\en\default\bug\show-multiple.html.tmpl"        if (! $stash->get('fullrow')) {        $output .=  $context->process('rightcell');        }                $output .=  "\n  </tr>";        #line 293 "template\en\default\bug\show-multiple.html.tmpl"        $stash->set('fullrow', 0);                    } };            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  <tr>\n    <th>";        #line 303 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'Bug', 0]);        $output .=  " ";        #line 303 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['field_descs', 0, $stash->get('name'), 0]);                        &$_tt_filter($output);        };                $output .=  ":</th>\n    <td>";        #line 307 "template\en\default\bug\show-multiple.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get(['bug', 0, $stash->get('name'), 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->{'depbug'} = $_tt_value;        #line 306 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('none')                      || $context->throw($context->error);                        # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('bug_link', [ $stash->get('depbug') ])                      || $context->throw($context->error);                $output .=  $stash->get('depbug');                        &$_tt_filter($output);        };                                &$_tt_filter($output);        };                #line 306 "template\en\default\bug\show-multiple.html.tmpl"        if (! $stash->get(['loop', 0, 'last', 0])) {        $output .=  ', ';        }        ;                    ($_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    </td>\n";        #line 310 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('rightcell');        $output .=  "\n  </tr>";            } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },    },});

⌨️ 快捷键说明

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