created.html.tmpl

来自「bugzilla的安装文件」· TMPL 代码 · 共 81 行

TMPL
81
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1120089802',        'name' => 'bug/create/created.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";    #line 38 "template\en\default\bug\create\created.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 0 "template\en\default\bug\create\created.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => ($stash->get(['terms', 0, 'Bug', 0]) . " " . $stash->get('id') . " Submitted") });    $output .=  "\n";    #line 46 "template\en\default\bug\create\created.html.tmpl"    $stash->set('header_done', 1);        $output .=  "\n";    #line 54 "template\en\default\bug\create\created.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('sentmail');                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->{'item'} = $value;    #line 49 "template\en\default\bug\create\created.html.tmpl"    $output .=  $context->process('bug/process/results.html.tmpl', { 'type' => $stash->get(['item', 0, 'type', 0]), 'id' => $stash->get(['item', 0, 'id', 0]), 'mail' => $stash->get(['item', 0, 'mail', 0]), 'mailrecipients' => $stash->get(['item', 0, 'mailrecipients', 0]) });;                ($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\n<br>\n\n<hr>\n";    #line 61 "template\en\default\bug\create\created.html.tmpl"    $output .=  $context->process('bug/edit.html.tmpl');    $output .=  "\n\n<hr>\n";    #line 66 "template\en\default\bug\create\created.html.tmpl"    $output .=  $context->process('bug/navigate.html.tmpl');    $output .=  "\n\n<br>\n";    #line 71 "template\en\default\bug\create\created.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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