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

📄 list.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1111481342',        'name' => 'list/list.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 33 "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 36 "template\en\default\list\list.html.tmpl"    if ($stash->get('searchname')) {    #line 36 "template\en\default\list\list.html.tmpl"    $stash->set('title', $stash->get('title')  . ': '  . $stash->get('searchname'));        }        $output .=  "\n";    #line 39 "template\en\default\list\list.html.tmpl"    $stash->set('style_urls', [ 'css/buglist.css' ]);        #line 39 "template\en\default\list\list.html.tmpl"        # CAPTURE    $stash->set('qorder', do {        my $output = '';    if ($stash->get('order')) {        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('order');                &$filter($output);    };        }            $output;    });        #line 39 "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 47 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style' => $stash->get('style') });    $output .=  "\n\n<div align=\"center\">";    #line 60 "template\en\default\list\list.html.tmpl"    if ($stash->get(['Param', [ 'timezone' ]])) {    $output .=  "\n    <b>";    #line 55 "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 66 "template\en\default\list\list.html.tmpl"    if ($stash->get('debug')) {    $output .=  "\n    <p>";    #line 64 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('query');                &$filter($output);    };        $output .=  "</p>";    }        $output .=  "\n";    #line 72 "template\en\default\list\list.html.tmpl"    if ($stash->get(['Param', [ 'enablequips' ]]) ne 'off') {    #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 70 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('quip');                &$filter($output);    };        $output .=  "</i></a>";    }        $output .=  "\n\n</div>\n";    #line 83 "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 94 "template\en\default\list\list.html.tmpl"    if ($stash->get(['bugs', 0, 'size', 0]) > 9) {    #line 92 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['bugs', 0, 'size', 0]);    $output .=  " ";    #line 92 "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 104 "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 111 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get('FLUSH');    #line 111 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('list/table.html.tmpl');    $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 125 "template\en\default\list\list.html.tmpl"    if ($stash->get(['bugs', 0, 'size', 0]) eq 0) {    #line 118 "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 121 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " found.";    }    else {    #line 123 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['bugs', 0, 'size', 0]);    $output .=  " ";    #line 123 "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 138 "template\en\default\list\list.html.tmpl"    if ($stash->get('dotweak')) {    #line 134 "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<p>\n<table>\n  <tr>";    #line 186 "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=\"long_list.cgi\">\n          <input type=\"hidden\" name=\"buglist\" value=\"";    #line 151 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get('buglist');    $output .=  "\">\n          <input type=\"submit\" value=\"Long Format\">\n        </form>\n      </td>\n      \n      <td>&nbsp;</td>\n      \n      <td valign=\"middle\">\n        <a href=\"buglist.cgi?";    #line 161 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        $output .=  "&amp;ctype=csv\">CSV</a> |\n        <a href=\"buglist.cgi?";    #line 164 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        $output .=  "&amp;ctype=ics\">iCalendar</a> |\n        <a href=\"colchange.cgi?";    #line 167 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        $output .=  "\">Change&nbsp;Columns</a> |\n";    #line 175 "template\en\default\list\list.html.tmpl"    if ($stash->get(['bugs', 0, 'size', 0]) > 1 && $stash->get('caneditbugs') && ! $stash->get('dotweak')) {    $output .=  "\n          <a href=\"buglist.cgi?";    #line 171 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        #line 0 "template\en\default\list\list.html.tmpl"    if ($stash->get('order')) {        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  ("&order=" . $stash->get('qorder'));                &$filter($output);    };        }        $output .=  "&amp;tweak=1\"\n            >Change&nbsp;Several&nbsp;";    #line 172 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  "&nbsp;at&nbsp;Once</a>\n          |";    }        $output .=  "\n";    #line 183 "template\en\default\list\list.html.tmpl"    if ($stash->get('bugowners')) {    $output .=  "\n          <a href=\"mailto:";    #line 181 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('bugowners');                &$filter($output);    };        $output .=  "\">Send&nbsp;Mail&nbsp;to&nbsp;";    #line 181 "template\en\default\list\list.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  "&nbsp;Owners</a> |";    }        $output .=  "\n      </td>";    }        $output .=  "\n    \n    <td valign=\"middle\">";    #line 190 "template\en\default\list\list.html.tmpl"    $stash->set('editqueryname', $stash->get('searchname') || $stash->get('defaultsavename') || '');        $output .=  "\n        <a href=\"query.cgi?";    #line 191 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        #line 193 "template\en\default\list\list.html.tmpl"    if ($stash->get('editqueryname') ne '') {    $output .=  "&amp;known_name=";    #line 193 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('editqueryname');                &$filter($output);    };        }        $output .=  "\">Edit&nbsp;Search</a>\n    </td>\n      ";    #line 222 "template\en\default\list\list.html.tmpl"    if ($stash->get('searchtype') eq 'saved') {    $output .=  "\n      <td valign=\"middle\" nowrap=\"nowrap\">\n        |\n        <a href=\"buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=";    #line 202 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('searchname');                &$filter($output);    };        $output .=  "\">Forget&nbsp;Search&nbsp;'";    #line 204 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('searchname');                &$filter($output);    };        $output .=  "'</a>\n      </td>";    }    else {    $output .=  "\n      <td>&nbsp;</td>\n      \n      <td valign=\"middle\">\n        <form method=\"get\" action=\"buglist.cgi\">\n          <input type=\"submit\" value=\"Remember search\"> as \n          <input type=\"hidden\" name=\"newquery\" \n                 value=\"";    #line 214 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('urlquerypart');                &$filter($output);    };        $output .=  "\">\n          <input type=\"hidden\" name=\"cmdtype\" value=\"doit\">\n          <input type=\"hidden\" name=\"remtype\" value=\"asnamed\">\n          <input type=\"text\" name=\"newqueryname\" size=\"20\"\n                 value=\"";    #line 218 "template\en\default\list\list.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('defaultsavename');                &$filter($output);    };        $output .=  "\"> \n        </form> \n      </td>";    }        $output .=  "  \n  </tr>\n</table>\n</p>  \n\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";    #line 233 "template\en\default\list\list.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\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 + -