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

📄 search-specific.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1107197654',        'name' => 'search/search-specific.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";    #line 23 "template\en\default\search\search-specific.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 26 "template\en\default\search\search-specific.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Find a Specific '  . $stash->get(['terms', 0, 'Bug', 0]), 'h1' => '', 'style' => 'td.selected_tab {                 border-width: 2px 2px 0px;                 border-style: solid;                }               td.unselected_tab, td.spacer {                 border-width: 0px 0px 2px 0px;                 border-style: solid;                }' });    $output .=  "\n";    #line 40 "template\en\default\search\search-specific.html.tmpl"    $output .=  $context->process('search/tabs.html.tmpl');    $output .=  "\n\n<p>\nFind a specific ";    #line 43 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " by entering words that describe it.  ";    #line 45 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " will search ";    #line 45 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " descriptions and comments\nfor those words and return a list of matching ";    #line 46 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " sorted\nby relevance.\n</p>\n\n<p>\nFor example, if the ";    #line 51 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " you are looking for is a browser crash when you go to a secure web site with an embedded Flash animation, you might search\nfor \"crash secure SSL flash\".\n</p>\n\n<form name=\"queryform\" method=\"get\" action=\"buglist.cgi\">\n<input type=\"hidden\" name=\"query_format\" value=\"specific\">\n<input type=\"hidden\" name=\"order\" value=\"relevance desc\">\n\n<table>\n  <tr>\n    <td align=\"right\" valign=\"baseline\">\n      <b><label for=\"bug_status\">Status:</label></b>\n    </td>\n    <td>\n      <select name=\"bug_status\" id=\"bug_status\">";    #line 75 "template\en\default\search\search-specific.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = [ 'open', 'closed', 'all' ];                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->{'s'} = $value;    $output .=  "\n            <option value=\"__";    #line 68 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get('s');    $output .=  "__\" ";    #line 0 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get(['default', 0, 'bug_status', 0, 0, 0]) eq ("__" . $stash->get('s') . "__")) {    $output .=  ' selected';    }        $output .=  ">";    #line 72 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get('s');    $output .=  "\n          </option>";;                ($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      </select>\n    </td>\n  </tr>\n  <tr>\n    <td align=\"right\" valign=\"baseline\">\n      <b><label for=\"product\">Product:</label></b>\n    </td>\n    <td>\n      <select name=\"product\" id=\"product\">\n        <option value=\"\">All</option>";    #line 94 "template\en\default\search\search-specific.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('product');                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->{'p'} = $value;    $output .=  "\n          <option value=\"";    #line 88 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\"";    #line 90 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get(['lsearch', [ $stash->get(['default', 0, 'product', 0]), $stash->get(['p', 0, 'name', 0]) ]]) ne -1) {    $output .=  ' selected';    }        $output .=  ">";    #line 92 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$filter($output);    };        $output .=  "</option>";;                ($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      </select>\n    </td>\n  </tr>\n  <tr>\n    <td align=\"right\" valign=\"baseline\">\n      <b><label for=\"content\">Words:</label></b>\n    </td>\n    <td>\n      <input name=\"content\" size=\"40\" id=\"content\"\n             value=\"";    #line 104 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['default', 0, 'content', 0, 0, 0]);                &$filter($output);    };        $output .=  "\">\n      <script language=\"JavaScript\" type=\"text/javascript\"> <!--\n          document.forms['queryform'].content.focus(); \n      // -->\n      </script>\n    </td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>\n      <input type=\"submit\" value=\"Search\">";    #line 120 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get('known_name')) {    $output .=  "\n        <input type=\"hidden\" name=\"query_based_on\" \n               value=\"";    #line 118 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('known_name');                &$filter($output);    };        $output .=  "\">";    }        $output .=  "\n    </td>\n  </tr>\n</table>\n</form>\n";    #line 127 "template\en\default\search\search-specific.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 + -