| [%# 1.0@bugzilla.org %] |
| [%# -*- mode: html -*- %] |
| [%# The contents of this file are subject to the Mozilla Public |
| # License Version 1.1 (the "License"); you may not use this file |
| # except in compliance with the License. You may obtain a copy of |
| # the License at http://www.mozilla.org/MPL/ |
| # |
| # Software distributed under the License is distributed on an "AS |
| # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| # implied. See the License for the specific language governing |
| # rights and limitations under the License. |
| # |
| # The Original Code is the Bugzilla Bug Tracking System. |
| # |
| # The Initial Developer of the Original Code is Netscape Communications |
| # Corporation. Portions created by Netscape are |
| # Copyright (C) 1998 Netscape Communications Corporation. All |
| # Rights Reserved. |
| # |
| # Contributor(s): Terry Weissman <terry@mozilla.org> |
| # Jacob Steenhagen <jake@bugzilla.org> |
| # Vitaly Harisov <vitaly@rathedg.com> |
| #%] |
| |
| [%# INTERFACE: |
| # This template has no interface. |
| #%] |
| |
| [% PROCESS global/variables.none.tmpl %] |
| |
| [% title = BLOCK %] |
| [% terms.Bugzilla %] Main Page |
| [% END %] |
| [% style_urls = [ "skins/standard/index.css" ] %] |
| [% PROCESS global/header.html.tmpl %] |
| |
| |
| <script type="text/javascript"> |
| <!-- |
| function addSidebar() { |
| if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) |
| { |
| var sidebarname=window.location.host; |
| if (!/bug/i.test(sidebarname)) |
| sidebarname="[% terms.Bugzilla %] "+sidebarname; |
| window.sidebar.addPanel (sidebarname, "[% Param('urlbase') %]sidebar.cgi", ""); |
| } |
| else |
| { |
| var rv = window.confirm ("Your browser does not support the sidebar extension. " + "Would you like to upgrade now?"); |
| if (rv) |
| document.location.href = "http://www.mozilla.org/"; |
| } |
| } |
| //--> |
| </script> |
| |
| |
| <div id="page-index"> |
| <div class="intro"></div> |
| |
| <p>This is where we put in lots of nifty words explaining all about [% terms.Bugzilla %].</p> |
| |
| <p>But it all boils down to a choice of:</p> |
| <ul> |
| <li id="query"><a href="query.cgi">Search existing [% terms.bug %] reports</a></li> |
| <li id="enter-bug"><a href="enter_bug.cgi">Enter a new [% terms.bug %] report</a></li> |
| <li id="report"><a href="report.cgi">Summary reports and charts</a></li> |
| [% IF user.id %] |
| <li id="userprefs"><a href="userprefs.cgi">Change password or user preferences</a></li> |
| [% IF user.get_flag('can_logout') %] |
| <li id="logout"><a href="relogin.cgi">Log out [% user.login FILTER html %]</a></li> |
| [% END %] |
| [% ELSE %] |
| [% PROCESS "account/auth/login-small.html.tmpl" %] |
| [% IF Param('createemailregexp') %] |
| <li id="account"><a href="createaccount.cgi">Open a new [% terms.Bugzilla %] account</a></li> |
| [% END %] |
| [% END %] |
| <li id="sidebar"><a href="javascript:addSidebar()">Add to Sidebar</a> (requires a Mozilla browser like Mozilla Firefox)</li> |
| |
| [%# List items of links to more things users can do on this installation. %] |
| [% Hook.process("links") %] |
| |
| </ul> |
| |
| <form id="show-bug" name="f" action="show_bug.cgi" method="get" |
| onsubmit="QuickSearch(f.id.value); return false;"> |
| <div> |
| <p>Enter [% terms.abug %] # or some search terms:</p> |
| <input id="text" type="text" name="id"> |
| <input id="show" type="submit" value="Show"> |
| <a href="quicksearch.html">[Help]</a> |
| </div> |
| </form> |
| |
| <div class="outro"></div> |
| </div> |
| |
| <script type="text/javascript" src="localconfig.js"></script> |
| <script type="text/javascript" src="quicksearch.js"></script> |
| <script type="text/javascript"> |
| <!-- |
| document.forms['f'].id.focus(); |
| //--> |
| </script> |
| |
| [% PROCESS global/footer.html.tmpl %] |