📄 form.html.tmpl
字号:
($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 <td><input name=\""; #line 504 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'name', 0]); $output .= "\" size=\"40\"\n accesskey=\""; #line 505 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'accesskey', 0]); $output .= "\"\n value=\""; #line 506 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, $stash->get(['field', 0, 'name', 0]), 0, 0, 0]); &$filter($output); }; $output .= "\">\n </td>\n <td></td>\n </tr>"; } ; ($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"; #line 542 "template\en\default\search\form.html.tmpl" if ($stash->get('have_keywords')) { $output .= "\n <tr>\n <th align=\"right\">\n <a href=\"describekeywords.cgi\"><u>K</u>eywords</a>:\n </th>\n <td>\n <select name=\"keywords_type\">"; #line 533 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($value, $error, $oldloop); my $list = [ { 'name' => 'allwords', 'description' => 'contains all of the keywords' }, { 'name' => 'anywords', 'description' => 'contains any of the keywords' }, { 'name' => 'nowords', 'description' => 'contains none of the keywords' } ]; 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->{'qv'} = $value; $output .= "\n\n <option value=\""; #line 527 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'name', 0]); $output .= "\""; #line 529 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'keywords_type', 0, 0, 0]) eq $stash->get(['qv', 0, 'name', 0])) { $output .= ' selected'; } $output .= ">"; #line 531 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'description', 0]); $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 <td>\n <input name=\"keywords\" size=\"40\" accesskey=\"k\"\n value=\""; #line 538 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'keywords', 0, 0, 0]); &$filter($output); }; $output .= "\">\n </td>\n </tr>"; } $output .= "\n</table>\n\n<hr>\n\n"; $output .= "\n\n<table>\n <tr>\n <td>\n <table>\n <tr>\n <th align=\"left\">St<u>a</u>tus:</th>\n </tr>\n <tr valign=\"top\">"; #line 558 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'bug_status', 'size' => 7, 'accesskey' => 'a' } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <u>R</u>esolution:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 573 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'resolution', 'size' => 7, 'accesskey' => 'r' } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">S<u>e</u>verity:</th>\n </tr>\n <tr valign=\"top\">"; #line 586 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'bug_severity', 'size' => 7, 'accesskey' => 'e' } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">Pr<u>i</u>ority:</th>\n </tr>\n <tr valign=\"top\">"; #line 599 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'priority', 'size' => 7, 'accesskey' => 'i' } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\"><u>H</u>ardware:</th>\n </tr>\n <tr valign=\"top\">"; #line 612 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'rep_platform', 'size' => 7, 'accesskey' => 'h' } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\"><u>O</u>S:</th>\n </tr>\n <tr valign=\"top\">"; #line 625 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'op_sys', 'size' => 7, 'accesskey' => 'o' } }); $output .= "\n </tr>\n </table>\n </td>\n </tr>\n</table>\n\n<p>\n\n"; $output .= "\n\n<table>\n <tr>\n <td>\n <fieldset>\n <legend>\n <strong>\n Email and Numbering\n </strong>\n </legend>\n\n\n<table>\n <tr>"; #line 750 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($value, $error, $oldloop); my $list = [ 1, 2 ]; 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->{'n'} = $value; $output .= "\n <td>\n\n\n<table cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td>\n Any of:\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailassigned_to"; #line 664 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailassigned_to"; #line 665 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 667 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'emailassigned_to', 0, $stash->get('n'), 0])) { $output .= ' checked'; } $output .= ">\n <label for=\"emailassigned_to"; #line 668 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">"; #line 670 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " owner\n </label>\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailreporter"; #line 676 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailreporter"; #line 677 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 679 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'emailreporter', 0, $stash->get('n'), 0])) { $output .= ' checked'; } $output .= ">\n <label for=\"emailreporter"; #line 680 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n reporter\n </label>\n </td>\n </tr>"; #line 699 "template\en\default\search\form.html.tmpl" if ($stash->get(['Param', [ 'useqacontact' ]])) { $output .= "\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailqa_contact"; #line 689 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailqa_contact"; #line 690 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 692 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'emailqa_contact', 0, $stash->get('n'), 0])) { $output .= ' checked'; } $output .= ">\n <label for=\"emailqa_contact"; #line 693 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n QA contact\n </label>\n </td>\n </tr>"; } $output .= "\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailcc"; #line 702 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailcc"; #line 703 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 705 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'emailcc', 0, $stash->get('n'), 0])) { $output .= ' checked'; } $output .= ">\n <label for=\"emailcc"; #line 706 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n CC list member\n </label>\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emaillongdesc"; #line 713 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emaillongdesc"; #line 714 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 716 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'emaillongdesc', 0, $stash->get('n'), 0])) { $output .= ' checked'; } $output .= ">\n <label for=\"emaillongdesc"; #line 717 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n commenter\n </label>\n </td>\n </tr>\n <tr>\n <td>\n <select name=\"emailtype"; #line 724 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">"; #line 736 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($value, $error, $oldloop); my $list = [ { 'name' => 'substring', 'description' => 'contains' }, { 'name' => 'exact', 'description' => 'is' }, { 'name' => 'regexp', 'description' => 'matches regexp' }, { 'name' => 'notregexp', 'description' => 'doesn\'t match regexp' } ]; 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->{'qv'} = $value; $output .= "\n\n <option value=\""; #line 732 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'name', 0]); $output .= "\""; #line 734 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, 'emailtype', 0, $stash->get('n'), 0]) eq $stash->get(['qv', 0, 'name', 0])) { $output .= ' selected'; } $output .= ">"; #line 734 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'description', 0]); $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>\n <input name=\"email"; #line 742 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" size=\"25\" value=\""; #line 742 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'email', 0, $stash->get('n'), 0]); &$filter($output); };
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -