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

📄 choose-classification.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1166517124',        'name' => 'global/choose-classification.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 27 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get('target') eq 'enter_bug.cgi') {    #line 25 "template\en\default\global\choose-classification.html.tmpl"    $stash->set('title', 'Select Classification');        #line 26 "template\en\default\global\choose-classification.html.tmpl"    $stash->set('subheader', 'Please select the classification.');        }        $output .=  "\n";    #line 29 "template\en\default\global\choose-classification.html.tmpl"    $stash->set('title', 'Choose the classification', 1);        #line 30 "template\en\default\global\choose-classification.html.tmpl"    $output .=  $context->process('global/header.html.tmpl');    $output .=  "\n\n<table>\n        ";    #line 48 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get(['Param', [ 'showallproducts' ]])) {    $output .=  "\n  <tr>\n    <th align=\"right\">\n      <a href=\"";    #line 37 "template\en\default\global\choose-classification.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('target');                &$_tt_filter($output);    };        $output .=  "?classification=__all";    #line 38 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get('cloned_bug_id')) {    $output .=  "&amp;cloned_bug_id=";    #line 38 "template\en\default\global\choose-classification.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 39 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get('format')) {    $output .=  "&amp;format=";    #line 39 "template\en\default\global\choose-classification.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 .=  "\">\n      All</a>:\n    </th>\n\n    <td valign=\"top\">&nbsp;Show all products</td>\n  </tr>\n  <tr>\n    <th colspan=\"2\">&nbsp;</th>\n  </tr>";    }        $output .=  "\n";    #line 63 "template\en\default\global\choose-classification.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->{'class'} = $_tt_value;    $output .=  "\n  <tr>\n    <th align=\"right\">\n      <a href=\"";    #line 53 "template\en\default\global\choose-classification.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('target');                &$_tt_filter($output);    };        $output .=  "?classification=";    #line 53 "template\en\default\global\choose-classification.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['class', 0, 'name', 0]);                &$_tt_filter($output);    };        #line 54 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get('cloned_bug_id')) {    $output .=  "&amp;cloned_bug_id=";    #line 54 "template\en\default\global\choose-classification.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 55 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get('format')) {    $output .=  "&amp;format=";    #line 55 "template\en\default\global\choose-classification.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 56 "template\en\default\global\choose-classification.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['class', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "</a>:\n    </th>\n";    #line 61 "template\en\default\global\choose-classification.html.tmpl"    if ($stash->get(['class', 0, 'description', 0])) {    $output .=  "\n      <td valign=\"top\">&nbsp;";    #line 60 "template\en\default\global\choose-classification.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html_light')                  || $context->throw($context->error);        $output .=  $stash->get(['class', 0, 'description', 0]);                &$_tt_filter($output);    };        $output .=  "</td>";    }        $output .=  "\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 67 "template\en\default\global\choose-classification.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 + -