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

📄 duplicates.rdf.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1123156286',        'name' => 'reports/duplicates.rdf.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $_tt_error;                eval { BLOCK: {    #line 1 "template\en\default\reports\duplicates.rdf.tmpl"    $stash->set('template_version', '1.0@bugzilla.org');        $output .=  "\n";    $output .=  "\n\n<?xml version=\"1.0\"";    #line 22 "template\en\default\reports\duplicates.rdf.tmpl"    if ($stash->get(['Param', [ 'utf8' ]])) {    $output .=  " encoding=\"UTF-8\"";    }        $output .=  "?>\n<!-- ";    #line 23 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get('template_version');    $output .=  " -->\n<RDF xmlns=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n     xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n     xmlns:bz=\"http://www.bugzilla.org/rdf#\"\n     xmlns:nc=\"http://home.netscape.com/NC-rdf#\">\n\n<bz:duplicates_report rdf:about=\"";    #line 29 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['Param', [ 'urlbase' ]]);    $output .=  "data/duplicates.rdf\">\n  <bz:bugs>\n    <Seq>";    #line 46 "template\en\default\reports\duplicates.rdf.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('bugs');                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->{'bug'} = $_tt_value;    $output .=  "\n        <li>\n          <bz:bug rdf:about=\"";    #line 34 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['Param', [ 'urlbase' ]]);    $output .=  "show_bug.cgi?id=";    #line 34 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'id', 0]);    $output .=  "\">\n            <bz:id nc:parseType=\"Integer\">";    #line 35 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'id', 0]);    $output .=  "</bz:id>\n            <bz:resolution>";    #line 36 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'resolution', 0]);                &$_tt_filter($output);    };        $output .=  "</bz:resolution>\n            <bz:duplicate_count nc:parseType=\"Integer\">";    #line 37 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'count', 0]);    $output .=  "</bz:duplicate_count>\n            <bz:duplicate_delta nc:parseType=\"Integer\">";    #line 38 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'delta', 0]);    $output .=  "</bz:duplicate_delta>\n            <bz:component>";    #line 39 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'component', 0]);                &$_tt_filter($output);    };        $output .=  "</bz:component>\n            <bz:severity>";    #line 40 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'bug_severity', 0]);                &$_tt_filter($output);    };        $output .=  "</bz:severity>\n            <bz:os>";    #line 41 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'op_sys', 0]);                &$_tt_filter($output);    };        $output .=  "</bz:os>\n            <bz:target_milestone>";    #line 42 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'target_milestone', 0]);                &$_tt_filter($output);    };        $output .=  "</bz:target_milestone>\n            <bz:summary>";    #line 43 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'short_desc', 0]);                &$_tt_filter($output);    };        $output .=  "</bz:summary>\n          </bz:bug>\n        </li>";;                ($_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    </Seq>\n  </bz:bugs>\n</bz:duplicates_report>\n\n</RDF>\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 + -