summaryrefslogtreecommitdiffstats
path: root/template/en/default/index.html.tmpl
blob: dd35059e52f81010ac38838703a61d41c63c7b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[%# 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>
  #%]

[%# INTERFACE:
  # username: string. The login name of the user, if any.
  #%]

[% PROCESS global/variables.none.tmpl %]

[% title = BLOCK %]
[% terms.Bugzilla %] Main Page
[% END %]
[% PROCESS global/header.html.tmpl %]


<script type="text/javascript" language="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/binaries.html";
  }
}
//-->
</script>


<table width="100%"><tr>
 <td>
  <p>This is where we put in lots of nifty words explaining all about [% terms.Bugzilla %].</p>

  But it all boils down to a choice of:
  <p>
  <a href="query.cgi">Query existing [% terms.bug %] reports</a><br>
  <a href="enter_bug.cgi">Enter a new [% terms.bug %] report</a><br>
  <a href="report.cgi">Summary reports and charts</a><br>
  </p><p>
[% IF username %]
  <a href="userprefs.cgi">Change password or user preferences</a><br>
  <a href="relogin.cgi">Logout [% username FILTER html %]</a><br>
[% ELSE %]
  <a href="query.cgi?GoAheadAndLogIn=1">Log in to an existing account</a><br>
  [% IF Param('createemailregexp') %]
    <a href="createaccount.cgi">Open a new [% terms.Bugzilla %] account</a><br>
  [% END %]
[% END %]
  </p><p>
  <a href="javascript:addSidebar()">Add to Sidebar</a> (Requires Mozilla or Netscape 6)<br>
  </p>
  <form name="f" action="show_bug.cgi" method="get"
      onsubmit="QuickSearch(f.id.value); return false;">
  <p>
  Enter a [% terms.bug %] # or some search terms:<br>
  <input type="text" name="id">
  <input type="submit" value="Show">
  <a href="quicksearch.html">[Help]</a>
  </p>
  </form>
 </td>
 <td align="right"><img src="ant.jpg" width="329" height="220" border="2" alt="ant.jpg [8.5k]"></td>
</tr></table>

<script type="text/javascript" language="JavaScript" src="localconfig.js"></script>
<script type="text/javascript" language="JavaScript" src="quicksearch.js"></script>
<script type="text/javascript">
<!--
document.forms['f'].id.focus();
//-->
</script>

[% PROCESS global/footer.html.tmpl %]