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

📄 search-specific.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1183479850',        '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 $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n";    #line 22 "template\en\default\search\search-specific.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 24 "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]) });    $output .=  "\n";    #line 127 "template\en\default\search\search-specific.html.tmpl"        # WRAPPER    $output .=  do {        my $output = '';    $output .=  "\n\n<p>\nFind a specific ";    #line 31 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " by entering words that describe it.  ";    #line 32 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " will search ";    #line 32 "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 33 "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 38 "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 53 "template\en\default\search\search-specific.html.tmpl"    $stash->set('statuses', [ { 'name' => 'open', 'label' => 'Open'  }, { 'name' => 'closed', 'label' => 'Closed'  }, { 'name' => 'all', 'label' => 'All'  } ]);        #line 61 "template\en\default\search\search-specific.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('statuses');                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->{'status'} = $_tt_value;    $output .=  "\n            <option value=\"__";    #line 57 "template\en\default\search\search-specific.html.tmpl"    $output .=  $stash->get(['status', 0, 'name', 0]);    $output .=  "__\" ";    #line 0 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get(['default', 0, 'bug_status', 0, 0, 0]) eq ("__" . $stash->get(['status', 0, 'name', 0]) . "__")) {    $output .=  ' selected';    }        $output .=  ">";    #line 59 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['status', 0, 'label', 0]);                &$_tt_filter($output);    };        $output .=  "\n          </option>";;                ($_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      </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 92 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get(['Param', [ 'useclassification' ]])) {    #line 84 "template\en\default\search\search-specific.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('classification');                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->{'c'} = $_tt_value;    $output .=  "\n            <optgroup label=\"";    #line 74 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['c', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">";    #line 82 "template\en\default\search\search-specific.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['user', 0, 'get_selectable_products', [ $stash->get(['c', 0, 'id', 0]) ]]);                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->{'p'} = $_tt_value;    #line 81 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get(['p', 0, 'components', 0, 'size', 0])) {    $output .=  "\n                <option value=\"";    #line 77 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\"";    #line 78 "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 79 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\n                </option>";    }    ;                ($_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            </optgroup>";;                ($_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;    };        }    else {    #line 91 "template\en\default\search\search-specific.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('product');                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->{'p'} = $_tt_value;    $output .=  "\n            <option value=\"";    #line 87 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\"";    #line 88 "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 89 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\n            </option>";;                ($_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      </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 102 "template\en\default\search\search-specific.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['default', 0, 'content', 0, 0, 0]);                &$_tt_filter($output);    };        $output .=  "\">\n      <script type=\"text/javascript\"> <!--\n          document.forms['queryform'].content.focus(); \n      // -->\n      </script>\n    </td>\n  </tr>\n  <tr>\n    <td></td>\n    <td>\n    ";    #line 121 "template\en\default\search\search-specific.html.tmpl"    if ($stash->get(['Param', [ 'specific_search_allow_empty_words' ]])) {    $output .=  "\n        <input type=\"submit\" id=\"search\" value=\"Search\">";    }    else {    $output .=  "\n        <input type=\"submit\" id=\"search\" value=\"Search\"\n             onclick=\"if (this.form.content.value == '')\n                      {alert('The Words field cannot be empty. You have to ' +\n                             'enter at least one word in your search criteria.');\n                       return false;} return true;\">";    }        $output .=  "\n    </td>\n  </tr>\n</table>\n</form>\n";        $context->include('search/tabs.html.tmpl', { 'content', $output });     };        $output .=  "\n";    #line 129 "template\en\default\search\search-specific.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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