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

📄 show-multiple.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1105763048',        'name' => 'bug/show-multiple.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";    #line 24 "template\en\default\bug\show-multiple.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 0 "template\en\default\bug\show-multiple.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => ("Full Text " . $stash->get(['terms', 0, 'Bug', 0]) . " Listing"), 'style_urls' => [ 'css/show_multiple.css' ] });    #line 30 "template\en\default\bug\show-multiple.html.tmpl"    $output .=  $context->process('bug/time.html.tmpl');    #line 35 "template\en\default\bug\show-multiple.html.tmpl"    if ($stash->get(['bugs', 0, 'first', 0])) {    #line 30 "template\en\default\bug\show-multiple.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('bugs');                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->{'bug'} = $value;    #line 30 "template\en\default\bug\show-multiple.html.tmpl"    $output .=  $context->process('bug_display');;                ($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;    };        }    else {    $output .=  "\n  <p>\n    You'd have more luck if you gave me some ";    #line 32 "template\en\default\bug\show-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " numbers.\n  </p>";    }        $output .=  "\n\n";    #line 39 "template\en\default\bug\show-multiple.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";        $output .=  "\n\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";        $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {        'bug_display' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $error;                        eval { BLOCK: {        $output .=  "\n  <img alt=\"\" src=\"1x1.gif\" width=\"1\" height=\"80\" align=\"left\">\n  <div align=\"center\">\n    <b>\n      <font size=\"+3\">";        #line 51 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'Bug', 0]);        $output .=  " ";        #line 51 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['bug', 0, 'bug_id', 0]);        $output .=  " - ";        #line 51 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'short_desc', 0]);                        &$filter($output);        };                $output .=  "</font>\n    </b>\n  </div>\n\n  <table width=\"100%\">\n    <tr>\n      <td>\n        <b>";        #line 58 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['terms', 0, 'Bug', 0]);        $output .=  "#:</b>\n        <a href=\"show_bug.cgi?id=";        #line 59 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['bug', 0, 'bug_id', 0]);        $output .=  "\">";        #line 59 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $stash->get(['bug', 0, 'bug_id', 0]);        $output .=  "</a>";        #line 64 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'usebugaliases' ]]) && $stash->get(['bug', 0, 'alias', 0])) {        $output .=  "  \n          (";        #line 62 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'alias', 0]);                        &$filter($output);        };                $output .=  ")";        }                $output .=  "\n      </td>";        #line 67 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Product', 'name' => 'product'  } });        #line 68 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Version', 'name' => 'version'  } });        #line 69 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Platform', 'name' => 'rep_platform'  } });        $output .=  "\n    </tr>\n\n    <tr>";        #line 75 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'OS/Version', 'name' => 'op_sys'  } });        #line 76 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Status', 'name' => 'bug_status'  } });        #line 77 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Severity', 'name' => 'bug_severity'  } });        #line 78 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Priority', 'name' => 'priority'  } });        $output .=  "\n    </tr>\n\n    <tr>";        #line 84 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Resolution', 'name' => 'resolution'  } });        #line 85 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Assigned To', 'name' => 'assigned_to'  } });        #line 86 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'Reported By', 'name' => 'reporter'  } });        #line 88 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'useqacontact' ]])) {        #line 87 "template\en\default\bug\show-multiple.html.tmpl"        $output .=  $context->process('cell', { 'attr' => { 'description' => 'QA Contact', 'name' => 'qa_contact'  } });        }                $output .=  "\n    </tr>\n\n    <tr>\n      <td colspan=\"2\">\n        <b>Component:</b>&nbsp;";        #line 95 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'component', 0]);                        &$filter($output);        };                $output .=  "\n      </td>\n\n      <td colspan=\"2\">";        #line 103 "template\en\default\bug\show-multiple.html.tmpl"        if ($stash->get(['Param', [ 'usetargetmilestone' ]])) {        $output .=  "\n          <b>Target Milestone:</b>&nbsp;";        #line 103 "template\en\default\bug\show-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'target_milestone', 0]);                        &$filter($output);        };        

⌨️ 快捷键说明

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