blob: 533f900b4d8621934fcd21cc96b3a1673611a4a7 [file] [log] [blame]
#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.15
#------------------------------------------------------------------------
Template::Document->new({
METADATA => {
'modtime' => '1154051631',
'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/custom/index.html.tmpl"
$output .= $context->process('global/variables.none.tmpl');
$output .= "\n";
#line 33 "template/en/custom/index.html.tmpl"
# CAPTURE
$stash->set('title', do {
my $output = '';
$output .= "\nWebKit ";
#line 32 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['terms', 0, 'Bugzilla', 0]);
$output .= " Main Page";
$output;
});
#line 34 "template/en/custom/index.html.tmpl"
$stash->set('style_urls', [ 'skins/standard/index.css' ]);
#line 35 "template/en/custom/index.html.tmpl"
$output .= $context->process('global/header.html.tmpl');
$output .= "\n\n\n<script type=\"text/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 45 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['terms', 0, 'Bugzilla', 0]);
$output .= " \"+sidebarname;\n window.sidebar.addPanel (sidebarname, \"";
#line 46 "template/en/custom/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/\";\n }\n}\n//-->\n</script>\n\n\n<div id=\"page-index\">\n <div class=\"intro\"></div>\n\n <p>Welcome to the WebKit bug reporting and tracking system.</p>\n\n <p>Choose from the following options:</p>\n <ul>\n <li id=\"query\"><a href=\"query.cgi\">Search existing ";
#line 66 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " reports</a></li>\n <li id=\"enter-bug\"><a href=\"enter_bug.cgi\">Enter a new ";
#line 67 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['terms', 0, 'bug', 0]);
$output .= " report</a></li>\n <li id=\"report\"><a href=\"report.cgi\">Summary reports and charts</a></li>";
#line 79 "template/en/custom/index.html.tmpl"
if ($stash->get(['user', 0, 'id', 0])) {
$output .= "\n <li id=\"userprefs\"><a href=\"userprefs.cgi\">Change password or user preferences</a></li>";
#line 73 "template/en/custom/index.html.tmpl"
if ($stash->get(['user', 0, 'get_flag', [ 'can_logout' ]])) {
$output .= "\n <li id=\"logout\"><a href=\"relogin.cgi\">Log out ";
#line 72 "template/en/custom/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></li>";
}
}
else {
#line 75 "template/en/custom/index.html.tmpl"
$output .= $context->process('account/auth/login-small.html.tmpl');
#line 78 "template/en/custom/index.html.tmpl"
if ($stash->get(['Param', [ 'createemailregexp' ]])) {
$output .= "\n <li id=\"account\"><a href=\"createaccount.cgi\">Open a new ";
#line 77 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['terms', 0, 'Bugzilla', 0]);
$output .= " account</a></li>";
}
}
$output .= "\n <li id=\"sidebar\"><a href=\"javascript:addSidebar()\">Add to Sidebar</a> (requires a Mozilla browser like Mozilla Firefox)</li>\n\n ";
#line 83 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['Hook', 0, 'process', [ 'links' ]]);
$output .= "\n\n </ul>\n\n <form id=\"show-bug\" name=\"f\" action=\"show_bug.cgi\" method=\"get\"\n onsubmit=\"QuickSearch(f.id.value); return false;\">\n <div>\n <p>Enter ";
#line 90 "template/en/custom/index.html.tmpl"
$output .= $stash->get(['terms', 0, 'abug', 0]);
$output .= " # or some search terms:</p>\n <input id=\"text\" type=\"text\" name=\"id\">\n <input id=\"show\" type=\"submit\" value=\"Show\">\n <a href=\"quicksearch.html\">[Help]</a>\n </div>\n </form>\n\n <div class=\"outro\"></div>\n</div>\n\n<script type=\"text/javascript\" src=\"localconfig.js\"></script>\n<script type=\"text/javascript\" src=\"quicksearch.js\"></script>\n<script type=\"text/javascript\">\n<!--\ndocument.forms['f'].id.focus();\n//-->\n</script>\n";
#line 108 "template/en/custom/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 => {
},
});