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

📄 list.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1167250790',        'name' => 'list/list.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\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 32 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 0 "template\en\default\list\list.html.tmpl"    $stash->set('title', ($stash->get(['terms', 0, 'Bug', 0]) . " List"));        #line 37 "template\en\default\list\list.html.tmpl"    if ($stash->get('searchname') || $stash->get('defaultsavename')) {    #line 36 "template\en\default\list\list.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('title')  . ': '  . ($stash->get('searchname') || $stash->get('defaultsavename'));                &$_tt_filter($output);    };            $output;    });        }        $output .=  "\n";    #line 39 "template\en\default\list\list.html.tmpl"    $stash->set('style_urls', [ 'skins/standard/buglist.css' ]);        #line 40 "template\en\default\list\list.html.tmpl"        # CAPTURE    $stash->set('qorder', do {        my $output = '';    if ($stash->get('order')) {        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('order');                &$_tt_filter($output);    };        }            $output;    });        #line 41 "template\en\default\list\list.html.tmpl"        # CAPTURE    $stash->set('message', do {        my $output = '';    if ($stash->get('sorted_by_relevance')) {    $output .=  'buglist_sorted_by_relevance';    }            $output;    });        $output .=  "\n\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 0 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style' => $stash->get('style'), 'atomlink' => ("buglist.cgi?" . $stash->get('urlquerypart') . "&title=" . $stash->get('title') . "&ctype=atom") });    $output .=  "\n\n<div align=\"center\">";    #line 59 "template\en\default\list\list.html.tmpl"    if ($stash->get(['Param', [ 'timezone' ]])) {    $output .=  "\n    <b>";    #line 56 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['time2str', [ '%a %b %e %Y %T %Z', $stash->get('currenttime'), $stash->get(['Param', [ 'timezone' ]]) ]]);    $output .=  "</b><br>";    }    else {    $output .=  "\n    <b>";    #line 58 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['time2str', [ '%a %b %e %Y %T', $stash->get('currenttime') ]]);    $output .=  "</b><br>";    }        $output .=  "\n";    #line 68 "template\en\default\list\list.html.tmpl"    if ($stash->get('debug')) {    $output .=  "\n    <p>";    #line 65 "template\en\default\list\list.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('debugdata');                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->{'debugline'} = $_tt_value;    #line 64 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('debugline');                &$_tt_filter($output);    };        $output .=  "<br>";;                ($_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    </p>\n    <p>";    #line 67 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('query');                &$_tt_filter($output);    };        $output .=  "</p>";    }        $output .=  "\n";    #line 73 "template\en\default\list\list.html.tmpl"    if ($stash->get(['user', 0, 'settings', 0, 'display_quips', 0, 'value', 0]) eq 'on') {    #line 0 "template\en\default\list\list.html.tmpl"    $stash->set('quip', ($stash->get(['terms', 0, 'Bugzilla', 0]) . " would like to put a random quip here, but no one has entered any."), 1);        $output .=  "\n    <a href=\"quips.cgi\"><i>";    #line 72 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('quip');                &$_tt_filter($output);    };        $output .=  "</i></a>";    }        $output .=  "\n\n</div>\n";    #line 82 "template\en\default\list\list.html.tmpl"    if ($stash->get('toolong')) {    $output .=  "\n  <h2>\n    This list is too long for ";    #line 79 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  "'s little mind; the\n    Next/Prev/First/Last buttons won't appear on individual ";    #line 80 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  ".\n  </h2>";    }        $output .=  "\n\n<hr>\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 92 "template\en\default\list\list.html.tmpl"    if ($stash->get(['bugs', 0, 'size', 0]) > 9) {    #line 91 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['bugs', 0, 'size', 0]);    $output .=  " ";    #line 91 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " found.";    }        $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 100 "template\en\default\list\list.html.tmpl"    if ($stash->get('dotweak')) {    $output .=  "\n  <form name=\"changeform\" method=\"post\" action=\"process_bug.cgi\">";    }        $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 106 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get('FLUSH');    #line 107 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('list/table.html.tmpl');    $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 119 "template\en\default\list\list.html.tmpl"    if ($stash->get(['bugs', 0, 'size', 0]) eq 0) {    #line 114 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'zeroSearchResults', 0]);    $output .=  ".";    }    elsif ($stash->get(['bugs', 0, 'size', 0]) eq 1) {    $output .=  "\n  One ";    #line 116 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " found.";    }    else {    #line 118 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['bugs', 0, 'size', 0]);    $output .=  " ";    #line 118 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " found.";    }        $output .=  "\n\n<br>\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 131 "template\en\default\list\list.html.tmpl"    if ($stash->get('dotweak')) {    #line 128 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('list/edit-multiple.html.tmpl');    $output .=  "\n  </form>\n  <hr>";    }        $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n\n<table>\n  <tr>";    #line 194 "template\en\default\list\list.html.tmpl"    if ($stash->get(['bugs', 0, 'size', 0]) > 0) {    $output .=  "\n      <td valign=\"middle\">\n        <form method=\"post\" action=\"show_bug.cgi\">";    #line 144 "template\en\default\list\list.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('buglist');                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->{'id'} = $_tt_value;    $output .=  "\n            <input type=\"hidden\" name=\"id\" value=\"";    #line 143 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('id');                &$_tt_filter($output);    };        $output .=  "\">";;                ($_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          <input type=\"hidden\" name=\"format\" value=\"multiple\">\n          <input type=\"submit\" id=\"long_format\" value=\"Long Format\">\n        </form>\n        <form method=\"post\" action=\"show_bug.cgi\">\n            <input type=\"hidden\" name=\"ctype\" value=\"xml\">";    #line 152 "template\en\default\list\list.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('buglist');                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->{'id'} = $_tt_value;    $output .=  "\n            <input type=\"hidden\" name=\"id\" value=\"";    #line 151 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('id');                &$_tt_filter($output);    };

⌨️ 快捷键说明

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