?? quicksearchhack.html.tmpl
字號:
#------------------------------------------------------------------------#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1196637586', 'name' => 'pages/quicksearchhack.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 18 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 0 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $context->include('global/header.html.tmpl', { 'title' => ($stash->get(['terms', 0, 'Bugzilla', 0]) . " QuickSearch (for Hackers)"), 'style' => 'th {text-align: left}', 'onload' => 'document.forms[\'f\'].quicksearch.focus()' }); $output .= "\n\n<p>\n Type in one or more words (or word fragments) to search for:\n</p>\n\n<form name=\"f\" action=\"buglist.cgi\" method=\"get\"\n onsubmit=\"if (this.quicksearch.value == '')\n { alert('Please enter one or more search terms first.');\n return false; } return true;\">\n <input type=\"text\" size=\"40\" name=\"quicksearch\">\n <input type=\"submit\" value=\"Find\" id=\"find\">\n <input type=\"submit\" name=\"load\" value=\"Load Search Form\" id=\"load\">\n</form>\n\n<p>\n This is a case-insensitive “all words as substrings” search;\n words are separated by spaces.\n By default, the following fields are relevant: Summary, Keywords,\n Product, Component, Status Whiteboard.\n If a word looks like a part of a URL, that field is included in the search,\n too.\n</p>\n<p>\n The generic format for a “word” is\n <tt>field1,…,fieldN:value1,…,valueM</tt>.\n A "; #line 50 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " qualifies if at least one of the values occurs as a\n substring in at least one of the fields.\n For example, <tt>assignee,reporter,qa:ibm,sun</tt> will give you\n "; #line 53 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " where the assignee, reporter, or qa contact has a login\n that contains <tt>ibm</tt> or <tt>sun</tt>.\n If only <tt>value1,…,valueM</tt> is given, the prefix (roughly) defaults to\n <tt>summary,keywords,product,component,statuswhiteboard:</tt> as noted above.\n You can use <tt>-<i>word</i></tt> to express the logical negation of\n <tt><i>word</i></tt>.\n</p>\n<p>\n Here is a complete listing of available fields (the Shortcut column is just\n for access speed):\n</p>\n\n<table border=\"1\">\n<thead>\n<tr>\n <th>Searched by default</th>\n <th>Shortcut</th>\n <th>Field Name</th>\n <th>Aliases</th>\n <th>Description</th>\n</tr>\n</thead>\n\n<!-- Status, Resolution, Platform, OS, Priority, Severity -->\n\n<tr>\n <td> </td>\n <td rowspan=\"2\">\n <tt>UNCO,NEW,…,CLOS,<br>FIX,DUP,…<i>(as first word)</i></tt>\n </td>\n <td><tt>status</tt></td>\n <td> </td>\n <td>\n <a href=\"page.cgi?id=fields.html#status\">Status</a>\n <i>(“bug_status”)</i>\n </td>\n</tr>\n<tr>\n <td> </td>\n <td><tt>resolution</tt></td>\n <td> </td>\n <td><a href=\"page.cgi?id=fields.html#resolution\">Resolution</a></td>\n</tr>\n<tr>\n <td> </td>\n <td><i>as-is</i></td>\n <td><tt>platform</tt></td>\n <td> </td>\n <td>\n <a href=\"page.cgi?id=fields.html#rep_platform\">Platform</a>\n <i>(“rep_platform”)</i>\n </td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>os</tt></td>\n <td><tt>opsys</tt></td>\n <td>\n <a href=\"page.cgi?id=fields.html#op_sys\">OS</a>\n <i>(“op_sys”)</i>\n </td>\n</tr>\n<tr>\n <td> </td>\n <td><tt>p1,p2</tt> <i>or</i> <tt>p1-2</tt></td>\n <td><tt>priority</tt></td>\n <td><tt>pri</tt></td>\n <td><a href=\"page.cgi?id=fields.html#priority\">Priority</a></td>\n</tr>\n<tr>\n <td> </td>\n <td><tt>blo,cri,…,enh</tt></td>\n <td><tt>severity</tt></td>\n <td><tt>sev</tt></td>\n <td>\n <a href=\"page.cgi?id=fields.html#bug_severity\">Severity</a>\n <i>(“bug_severity”)</i>\n </td>\n</tr>\n\n<!-- People: AssignedTo, Reporter, QA Contact, CC, Added comment -->\n<!-- Added comment is missing!!!! -->\n\n<tr>\n <td> </td>\n <td><b>\@</b><i>assignee</i></td>\n <td><tt>assignedto</tt></td>\n <td><tt>assignee</tt></td>\n <td>\n <a href=\"page.cgi?id=fields.html#assigned_to\">Assignee</a>\n <i>(“assigned_to”)</i>\n </td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>reporter</tt></td>\n <td><tt>rep</tt></td>\n <td>Reporter (login)</td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>qa</tt></td>\n <td><tt>qacontact</tt></td>\n <td>QA Contact (login) <i>(“qa_contact”)</i></td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>cc</tt></td>\n <td> </td>\n <td>CC (login)</td>\n</tr>\n\n<!-- Product, Version, Component, Target Milestone -->\n\n<tr>\n <td><i>yes</i></td>\n <td rowspan=\"2\"><b>:</b><i>area</i></td>\n <td><tt>product</tt></td>\n <td><tt>prod</tt></td>\n <td>Product (enum)</td>\n</tr>\n<tr>\n <td><i>yes</i></td>\n <td><tt>component</tt></td>\n <td><tt>comp</tt></td>\n <td><a href=\"describecomponents.cgi\">Component</a></td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>version</tt></td>\n <td><tt>ver</tt></td>\n <td>Version (enum)</td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>milestone</tt></td>\n <td><tt>target, targetmilestone</tt></td>\n <td>Target Milestone <i>(“target_milestone”)</i></td>\n</tr>\n\n<!-- Summary, Description, URL, Status whiteboard, Keywords -->\n\n<tr>\n <td><i>yes</i></td>\n <td> </td>\n <td><tt>summary</tt></td>\n <td><tt>shortdesc</tt></td>\n <td>"; #line 207 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " Summary (short text)\n <i>(“short_desc”)</i>\n </td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>description</tt></td>\n <td><tt>desc, longdesc<!--, comment--></tt></td>\n <!-- reserve \"comment\" for \"added comment\" login search?! -->\n <td>"; #line 217 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " Description / Comments (long text)</td>\n</tr>\n<tr>\n <td><i>depends</i></td>\n <td> </td>\n <td><tt>url</tt></td>\n <td> </td>\n <td>URL <i>(“bug_file_loc”)</i></td>\n</tr>\n<tr>\n <td><i>yes</i></td>\n <td> </td>\n <td><tt>statuswhiteboard</tt></td>\n <td><tt>sw, whiteboard</tt></td>\n <td>Status Whiteboard <i>(“status_whiteboard”)</i></td>\n</tr>\n<tr>\n <td><i>yes</i></td>\n <td><b>!</b><i>keyword</i></td>\n <td><tt>keywords</tt></td>\n <td><tt>kw</tt></td>\n <td><a href=\"describekeywords.cgi\">Keywords</a></td>\n</tr>\n\n<!-- Attachments -->\n\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>attachmentdesc</tt></td>\n <td><tt>attachdesc</tt></td>\n <td>\n Attachment Description\n <i>(“attachments.description”)</i>\n </td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>attachmentdata</tt></td>\n <td><tt>attachdata</tt></td>\n <td>Attachment Data <i>(“attach_data.thedata”)</i></td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>attachmentmimetype</tt></td>\n <td><tt>attachmimetype</tt></td>\n <td>Attachment mime-type <i>(“attachments.mimetype”)</i></td>\n</tr>\n<tr>\n <td> </td>\n <td> </td>\n <td><tt>votes</tt></td>\n <td> </td>\n <td>\n Number of votes<br>\n (votes:<i>N</i> and votes>=<i>N</i> mean \"at least N votes\",\n votes><i>N</i> means \"more than N votes\")\n </td>\n</tr>\n</table>\n\n<p>\n Examples for some useful abbreviations:\n</p>\n<table border=\"1\">\n<thead>\n<tr>\n <th>Syntax</th>\n <th>Semantics and Examples</th>\n</tr>\n</thead>\n\n<!--\n<tr>\n <td><i>STAT</i> <i>(as first word)</i></td>\n <td><b>status,resolution:</b> <i>STAT</i></td>\n</tr>\n<tr>\n <td></td>\n <td></td>\n</tr>\n<tr>\n <td><tt>ALL</tt> <i>(as first word)</i></td>\n <td><i>include all resolved "; #line 302 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in your search</i></td>\n</tr>\n<tr>\n <td><tt>+DUP,FIXED</tt> <i>(as first word)</i></td>\n <td><i>include DUPLICATE and FIXED "; #line 306 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in your search</i></td>\n</tr>\n-->\n\n<tr>\n <td><b>:</b><i>area</i></td>\n <td><b>product,component:</b><i>area</i></td>\n</tr>\n<tr>\n <td><i>sev</i></td>\n <td><b>severity:</b><i>sev</i></td>\n</tr>\n<tr>\n <td><tt>blo,cri,maj</tt></td>\n <td><i>severe "; #line 320 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "</i></td>\n</tr>\n<tr>\n <td><tt>enh</tt></td>\n <td><i>enhancement requests</i></td>\n</tr>\n<tr>\n <td><b>p</b><i>level</i></td>\n <td><b>priority:</b><i>level</i></td>\n</tr>\n<tr>\n <td><tt>p1</tt></td>\n <td><i>very high-priority "; #line 332 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "</i></td>\n</tr>\n<tr>\n <td><tt>p1-2</tt></td>\n <td><i>high-priority "; #line 336 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "</i></td>\n</tr>\n<tr>\n <td><b>\@</b><i>assignee</i></td>\n <td><b>assignedto:</b><i>assignee</i></td>\n</tr>\n<tr>\n <td><b>!</b><i>keyword</i></td>\n <td><b>keywords:</b><i>keyword</i></td>\n</tr>\n</table>\n\n<p>\n More information can be found in the\n <a href=\"page.cgi?id=quicksearch.html#features\">“Features”</a>\n section on the <a href=\"page.cgi?id=quicksearch.html\">introductory page</a>.\n</p>\n"; #line 354 "template\en\default\pages\quicksearchhack.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\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 + -