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

📄 list.rdf.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1069456540',        'name' => 'list/list.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\list\list.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\list\list.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:result rdf:about=\"";    #line 29 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get(['Param', [ 'urlbase' ]]);    $output .=  "buglist.cgi?";    #line 29 "template\en\default\list\list.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        $output .=  "\">\n  <bz:installation rdf:resource=\"";    #line 30 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get(['Param', [ 'urlbase' ]]);    $output .=  "\" />\n  <bz:bugs>\n    <Seq>";    #line 52 "template\en\default\list\list.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        \n        <bz:bug rdf:about=\"";    #line 37 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get(['Param', [ 'urlbase' ]]);    $output .=  "show_bug.cgi?id=";    #line 37 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "\">\n          \n          <bz:id nc:parseType=\"Integer\">";    #line 39 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "</bz:id>\n        ";    #line 45 "template\en\default\list\list.rdf.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('displaycolumns');                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->{'column'} = $value;    $output .=  "\n          <bz:";    #line 43 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get('column');    #line 43 "template\en\default\list\list.rdf.tmpl"    if ($stash->get('column') eq 'votes') {    $output .=  ' nc:parseType="Integer"';    }        $output .=  ">";    #line 43 "template\en\default\list\list.rdf.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, $stash->get('column'), 0]);                &$filter($output);    };        $output .=  "</bz:";    #line 43 "template\en\default\list\list.rdf.tmpl"    $output .=  $stash->get('column');    $output .=  ">";;                ($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        </bz:bug>\n      \n      </li>\n";;                ($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    </Seq>\n\n  </bz:bugs>\n\n</bz:result>\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 + -