?? form.html.tmpl
字號:
#line 279 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'name', 0]); $output .= "\" accesskey=\""; #line 279 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'accesskey', 0]); $output .= "\">"; #line 279 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'description', 0]); $output .= "</label>:\n </th>\n <td>\n <select name=\""; #line 282 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'name', 0]); $output .= "_type\">"; #line 287 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('query_variants'); 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->{'qv'} = $_tt_value; #line 0 "template\en\default\search\form.html.tmpl" $stash->set('type', ($stash->get(['field', 0, 'name', 0]) . "_type")); $output .= "\n <option value=\""; #line 285 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'value', 0]); $output .= "\""; #line 286 "template\en\default\search\form.html.tmpl" if ($stash->get(['default', 0, $stash->get('type'), 0, 0, 0]) eq $stash->get(['qv', 0, 'value', 0])) { $output .= ' selected'; } $output .= ">"; #line 286 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'description', 0]); $output .= "</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 <td><input name=\""; #line 290 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'name', 0]); $output .= "\" id=\""; #line 290 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['field', 0, 'name', 0]); $output .= "\" size=\"40\"\n value=\""; #line 291 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, $stash->get(['field', 0, 'name', 0]), 0, 0, 0]); &$_tt_filter($output); }; $output .= "\">\n </td>\n <td></td>\n </tr>"; } ; ($_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"; #line 321 "template\en\default\search\form.html.tmpl" if ($stash->get('have_keywords')) { $output .= "\n <tr>\n <th align=\"right\">\n <label for=\"keywords\" accesskey=\"k\"><a href=\"describekeywords.cgi\"><u>K</u>eywords</a></label>:\n </th>\n <td>\n <select name=\"keywords_type\">"; #line 313 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_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($_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->{'qv'} = $_tt_value; $output .= "\n\n <option value=\""; #line 310 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'name', 0]); $output .= "\""; #line 311 "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 312 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'description', 0]); $output .= "</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 <td>\n <input name=\"keywords\" id=\"keywords\" size=\"40\"\n value=\""; #line 318 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'keywords', 0, 0, 0]); &$_tt_filter($output); }; $output .= "\">\n </td>\n </tr>"; } $output .= "\n\n "; #line 339 "template\en\default\search\form.html.tmpl" if ($stash->get(['user', 0, 'in_group', [ $stash->get(['Param', [ 'timetrackinggroup' ]]) ]])) { $output .= "\n <tr>\n <th align=\"right\">\n <label for=\"deadlinefrom\" accesskey=\"l\">Dead<u>l</u>ine</label>:\n </th>\n <td>\n from <input name=\"deadlinefrom\" id=\"deadlinefrom\" size=\"10\" maxlength=\"10\"\n value=\""; #line 331 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'deadlinefrom', 0, 0, 0]); &$_tt_filter($output); }; $output .= "\">\n to <input name=\"deadlineto\" size=\"10\" maxlength=\"10\"\n value=\""; #line 333 "template\en\default\search\form.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'deadlineto', 0, 0, 0]); &$_tt_filter($output); }; $output .= "\">\n </td>\n <td>\n <small>(YYYY-MM-DD)</small>\n </td>\n </tr>"; } $output .= "\n \n</table>\n\n<hr>\n\n"; $output .= "\n\n<table>\n <tr>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <label for=\"bug_status\" accesskey=\"a\">St<u>a</u>tus</label>:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 357 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'bug_status', 'size' => 7 } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <label for=\"resolution\" accesskey=\"r\"><u>R</u>esolution</label>:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 370 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'resolution', 'size' => 7 } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <label for=\"bug_severity\">Severity</label>:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 383 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'bug_severity', 'size' => 7 } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <label for=\"priority\" accesskey=\"i\">Pr<u>i</u>ority</label>:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 396 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'priority', 'size' => 7 } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <label for=\"rep_platform\" accesskey=\"h\"><u>H</u>ardware</label>:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 409 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'rep_platform', 'size' => 7 } }); $output .= "\n </tr>\n </table>\n </td>\n <td>\n <table>\n <tr>\n <th align=\"left\">\n <label for=\"op_sys\" accesskey=\"o\"><u>O</u>S</label>:\n </th>\n </tr>\n <tr valign=\"top\">"; #line 422 "template\en\default\search\form.html.tmpl" $output .= $context->process('select', { 'sel' => { 'name' => 'op_sys', 'size' => 7 } }); $output .= "\n </tr>\n </table>\n </td>\n </tr>\n</table>\n\n"; $output .= "\n\n<table>\n <tr>\n <td>\n <fieldset>\n <legend>\n <strong>"; #line 442 "template\en\default\search\form.html.tmpl" if ($stash->get(['Param', [ 'usevotes' ]])) { $output .= "\n Email Addresses, "; #line 439 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " Numbers, and Votes"; } else { $output .= "\n Email Addresses and "; #line 441 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " Numbers"; } $output .= "\n </strong>\n </legend>\n\n\n<table>\n <tr>"; #line 535 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = [ 1, 2 ]; 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->{'n'} = $_tt_value; $output .= "\n <td>\n\n\n<table cellspacing=\"0\" cellpadding=\"0\">\n <tr>\n <td>\n Any one of:\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailassigned_to"; #line 461 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailassigned_to"; #line 462 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 463 "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 464 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n the "; #line 465 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " assignee\n </label>\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailreporter"; #line 471 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailreporter"; #line 472 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 473 "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 474 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n the reporter\n </label>\n </td>\n </tr>"; #line 490 "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 482 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailqa_contact"; #line 483 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 484 "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 485 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n the QA contact\n </label>\n </td>\n </tr>"; } $output .= "\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emailcc"; #line 493 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emailcc"; #line 494 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 495 "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 496 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n a CC list member\n </label>\n </td>\n </tr>\n <tr>\n <td>\n <input type=\"checkbox\" name=\"emaillongdesc"; #line 503 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\"\n id=\"emaillongdesc"; #line 504 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\" value=\"1\""; #line 505 "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 506 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">\n a commenter\n </label>\n </td>\n </tr>\n <tr>\n <td>\n <select name=\"emailtype"; #line 513 "template\en\default\search\form.html.tmpl" $output .= $stash->get('n'); $output .= "\">"; #line 522 "template\en\default\search\form.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = [ { 'name' => 'substring', 'description' => 'contains' }, { 'name' => 'exact', 'description' => 'is' }, { 'name' => 'regexp', 'description' => 'matches regexp' }, { 'name' => 'notregexp', 'description' => 'doesn\'t match regexp' } ]; 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->{'qv'} = $_tt_value; $output .= "\n\n <option value=\""; #line 520 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'name', 0]); $output .= "\""; #line 521 "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 521 "template\en\default\search\form.html.tmpl" $output .= $stash->get(['qv', 0, 'description', 0]); $output .= "</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; };
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -