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

📄 duplicates.rdf.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1036461256',        'name' => 'reports/duplicates.rdf.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $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\"?>\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 48 "template\en\default\reports\duplicates.rdf.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;    $output .=  "\n        <li>\n          <bz:bug rdf:about=\"";    #line 35 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['Param', [ 'urlbase' ]]);    $output .=  "show_bug.cgi?id=";    #line 35 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'id', 0]);    $output .=  "\">\n            <bz:id nc:parseType=\"Integer\">";    #line 36 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'id', 0]);    $output .=  "</bz:id>\n            <bz:resolution>";    #line 37 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'resolution', 0]);                &$filter($output);    };        $output .=  "</bz:resolution>\n            <bz:duplicate_count nc:parseType=\"Integer\">";    #line 38 "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 39 "template\en\default\reports\duplicates.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'delta', 0]);    $output .=  "</bz:duplicate_delta>\n            <bz:component>";    #line 40 "template\en\default\reports\duplicates.rdf.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 .=  "</bz:component>\n            <bz:severity>";    #line 41 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'bug_severity', 0]);                &$filter($output);    };        $output .=  "</bz:severity>\n            <bz:os>";    #line 42 "template\en\default\reports\duplicates.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'op_sys', 0]);                &$filter($output);    };        $output .=  "</bz:os>\n            <bz:target_milestone>";    #line 43 "template\en\default\reports\duplicates.rdf.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);    };        $output .=  "</bz:target_milestone>\n            <bz:summary>";    #line 44 "template\en\default\reports\duplicates.rdf.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 .=  "</bz:summary>\n          </bz:bug>\n        </li>";;                ($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    </Seq>\n  </bz:bugs>\n</bz:duplicates_report>\n\n</RDF>\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 + -