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

📄 choose-product.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1109353086',        'name' => 'global/choose-product.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 28 "template\en\default\global\choose-product.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 31 "template\en\default\global\choose-product.html.tmpl"    if ($stash->get('target') eq 'enter_bug.cgi') {    #line 0 "template\en\default\global\choose-product.html.tmpl"    $stash->set('title', ("Enter " . $stash->get(['terms', 0, 'Bug', 0])));        #line 31 "template\en\default\global\choose-product.html.tmpl"        # CAPTURE    $stash->set('h2', do {        my $output = '';    $output .=  "First, you must pick a product on which to enter ";    #line 31 "template\en\default\global\choose-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  ". ";        $output;    });        }    elsif ($stash->get('target') eq 'describecomponents.cgi') {    #line 0 "template\en\default\global\choose-product.html.tmpl"    $stash->set('title', ($stash->get(['terms', 0, 'Bugzilla', 0]) . " Component Descriptions"));        #line 31 "template\en\default\global\choose-product.html.tmpl"    $stash->set('h2', 'Please specify the product whose components you want described.');        }        $output .=  "\n";    #line 34 "template\en\default\global\choose-product.html.tmpl"    $stash->set('title', 'Choose a Product', 1);        #line 34 "template\en\default\global\choose-product.html.tmpl"    $output .=  $context->process('global/header.html.tmpl');    $output .=  "\n\n<table>\n";    #line 55 "template\en\default\global\choose-product.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get(['proddesc', 0, 'keys', 0, 'sort', 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->{'p'} = $value;    $output .=  "\n  <tr>\n    <th align=\"right\" valign=\"top\">\n      <a href=\"";    #line 42 "template\en\default\global\choose-product.html.tmpl"    $output .=  $stash->get('target');    $output .=  "?product=";    #line 42 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('p');                &$filter($output);    };        #line 43 "template\en\default\global\choose-product.html.tmpl"    if ($stash->get('format')) {    $output .=  "&amp;format=";    #line 43 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('format');                &$filter($output);    };        }        $output .=  "\">";    #line 45 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('p');                &$filter($output);    };        $output .=  "</a>:\n    </th>\n";    #line 52 "template\en\default\global\choose-product.html.tmpl"    if ($stash->get(['proddesc', 0, $stash->get('p'), 0])) {    $output .=  "\n      <td valign=\"top\">&nbsp;";    #line 50 "template\en\default\global\choose-product.html.tmpl"    $output .=  $stash->get(['proddesc', 0, $stash->get('p'), 0]);    $output .=  "</td>";    }        $output .=  "\n  </tr>";;                ($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</table>\n";    #line 60 "template\en\default\global\choose-product.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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -