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

📄 choose-product.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1166517124',        '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 $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n";    #line 31 "template\en\default\global\choose-product.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 39 "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 35 "template\en\default\global\choose-product.html.tmpl"        # CAPTURE    $stash->set('subheader', do {        my $output = '';    $output .=  "First, you must pick a product on which to enter ";    #line 35 "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 38 "template\en\default\global\choose-product.html.tmpl"    $stash->set('subheader', 'Please specify the product whose components you want described.');        }        $output .=  "\n";    #line 41 "template\en\default\global\choose-product.html.tmpl"    $stash->set('title', 'Choose a Product', 1);        #line 42 "template\en\default\global\choose-product.html.tmpl"    $output .=  $context->process('global/header.html.tmpl');    $output .=  "\n\n<table>\n";    #line 70 "template\en\default\global\choose-product.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('classifications');                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;    #line 52 "template\en\default\global\choose-product.html.tmpl"    if ($stash->get(['c', 0, 'object', 0])) {    $output .=  "\n    <tr>\n      <th colspan=\"2\" align=\"left\">";    #line 49 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['c', 0, 'object', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  ":\n      ";    #line 50 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html_light')                  || $context->throw($context->error);        $output .=  $stash->get(['c', 0, 'object', 0, 'description', 0]);                &$_tt_filter($output);    };        $output .=  "</th>\n    </tr>";    }        $output .=  "\n";    #line 65 "template\en\default\global\choose-product.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['c', 0, 'products', 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->{'p'} = $_tt_value;    $output .=  "\n    <tr>\n      <th align=\"right\" valign=\"top\">\n        <a href=\"";    #line 57 "template\en\default\global\choose-product.html.tmpl"    $output .=  $stash->get('target');    $output .=  "?product=";    #line 57 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$_tt_filter($output);    };        #line 58 "template\en\default\global\choose-product.html.tmpl"    if ($stash->get('cloned_bug_id')) {    $output .=  "&amp;cloned_bug_id=";    #line 58 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('cloned_bug_id');                &$_tt_filter($output);    };        }        #line 59 "template\en\default\global\choose-product.html.tmpl"    if ($stash->get('format')) {    $output .=  "&amp;format=";    #line 59 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('format');                &$_tt_filter($output);    };        }        $output .=  "\">";    #line 60 "template\en\default\global\choose-product.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(['p', 0, 'name', 0]);                &$_tt_filter($output);    };                    &$_tt_filter($output);    };        $output .=  "</a>:&nbsp;\n      </th>\n\n      <td valign=\"top\">";    #line 63 "template\en\default\global\choose-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html_light')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'description', 0]);                &$_tt_filter($output);    };        $output .=  "</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\n  <tr>\n    <th colspan=\"2\">&nbsp;</th>\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\n</table>\n";    #line 74 "template\en\default\global\choose-product.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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