📄 index.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1079646676', 'name' => 'index.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"; $output .= "\n\n"; $output .= "\n"; #line 29 "template\en\default\index.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 34 "template\en\default\index.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; #line 32 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " Main Page"; $output; }); #line 34 "template\en\default\index.html.tmpl" $output .= $context->process('global/header.html.tmpl'); $output .= "\n\n\n<script type=\"text/javascript\" language=\"JavaScript\">\n<!--\nfunction addSidebar() {\n if ((typeof window.sidebar == \"object\") && (typeof window.sidebar.addPanel == \"function\"))\n {\n var sidebarname=window.location.host;\n if (!/bug/i.test(sidebarname))\n sidebarname=\""; #line 44 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " \"+sidebarname;\n window.sidebar.addPanel (sidebarname, \""; #line 45 "template\en\default\index.html.tmpl" $output .= $stash->get(['Param', [ 'urlbase' ]]); $output .= "sidebar.cgi\", \"\");\n }\n else\n {\n var rv = window.confirm (\"Your browser does not support the sidebar extension. \" + \"Would you like to upgrade now?\");\n if (rv)\n document.location.href = \"http://www.mozilla.org/binaries.html\";\n }\n}\n//-->\n</script>\n\n\n<table width=\"100%\"><tr>\n <td>\n <p>This is where we put in lots of nifty words explaining all about "; #line 60 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ".</p>\n\n But it all boils down to a choice of:\n <p>\n <a href=\"query.cgi\">Search existing "; #line 64 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " reports</a><br>\n <a href=\"enter_bug.cgi\">Enter a new "; #line 65 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " report</a><br>\n <a href=\"report.cgi\">Summary reports and charts</a><br>\n </p><p>"; #line 79 "template\en\default\index.html.tmpl" if ($stash->get(['user', 0, 'id', 0])) { $output .= "\n <a href=\"userprefs.cgi\">Change password or user preferences</a><br>\n <a href=\"relogin.cgi\">Logout "; #line 71 "template\en\default\index.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['user', 0, 'login', 0]); &$filter($output); }; $output .= "</a><br>"; } else { $output .= "\n <a href=\"query.cgi?GoAheadAndLogIn=1\">Log in to an existing account</a><br>"; #line 79 "template\en\default\index.html.tmpl" if ($stash->get(['Param', [ 'createemailregexp' ]])) { $output .= "\n <a href=\"createaccount.cgi\">Open a new "; #line 77 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " account</a><br>"; } } $output .= "\n </p><p>\n <a href=\"javascript:addSidebar()\">Add to Sidebar</a> (Requires Mozilla or Netscape 6)<br>\n </p>\n <form name=\"f\" action=\"show_bug.cgi\" method=\"get\"\n onsubmit=\"QuickSearch(f.id.value); return false;\">\n <p>\n Enter "; #line 86 "template\en\default\index.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " # or some search terms:<br>\n <input type=\"text\" name=\"id\">\n <input type=\"submit\" value=\"Show\">\n <a href=\"quicksearch.html\">[Help]</a>\n </p>\n </form>\n </td>\n <td align=\"right\"><img src=\"ant.jpg\" width=\"329\" height=\"220\" border=\"2\" alt=\"ant.jpg [8.5k]\"></td>\n</tr></table>\n\n<script type=\"text/javascript\" language=\"JavaScript\" src=\"localconfig.js\"></script>\n<script type=\"text/javascript\" language=\"JavaScript\" src=\"quicksearch.js\"></script>\n<script type=\"text/javascript\">\n<!--\ndocument.forms['f'].id.focus();\n//-->\n</script>\n"; #line 105 "template\en\default\index.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\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 + -