summaryrefslogtreecommitdiffstats
path: root/template/en/default/index.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-07-04 06:31:13 +0200
committergerv%gerv.net <>2003-07-04 06:31:13 +0200
commit44b48df3901d829e1423749136d142964ccb4a3e (patch)
treef87659c97f6c97654cde63005c514a5504913631 /template/en/default/index.html.tmpl
parent7b35e1a271f27612cba91216d50e5f497dd0c69a (diff)
downloadbugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.gz
bugzilla-44b48df3901d829e1423749136d142964ccb4a3e.tar.xz
Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave.
Diffstat (limited to 'template/en/default/index.html.tmpl')
-rw-r--r--template/en/default/index.html.tmpl24
1 files changed, 14 insertions, 10 deletions
diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl
index dccf43f58..e1b524d0d 100644
--- a/template/en/default/index.html.tmpl
+++ b/template/en/default/index.html.tmpl
@@ -25,9 +25,13 @@
# username: string. The login name of the user, if any.
#%]
-[% PROCESS global/header.html.tmpl
- title = 'Bugzilla Main Page'
-%]
+[% PROCESS global/variables.none.tmpl %]
+
+[% title = BLOCK %]
+[% terms.Bugzilla %] Main Page
+[% END %]
+[% PROCESS global/header.html.tmpl %]
+
<script type="text/javascript" language="JavaScript">
<!--
@@ -36,7 +40,7 @@ function addSidebar() {
{
var sidebarname=window.location.host;
if (!/bug/i.test(sidebarname))
- sidebarname="Bugzilla "+sidebarname;
+ sidebarname="[% terms.Bugzilla %] "+sidebarname;
window.sidebar.addPanel (sidebarname, "[% Param('urlbase') %]sidebar.cgi", "");
}
else
@@ -52,12 +56,12 @@ function addSidebar() {
<table width="100%"><tr>
<td>
- <p>This is where we put in lots of nifty words explaining all about Bugzilla.</p>
+ <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 bug reports</a><br>
- <a href="enter_bug.cgi">Enter a new bug report</a><br>
+ <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 %]
@@ -66,16 +70,16 @@ function addSidebar() {
[% 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 Bugzilla account</a><br>
+ <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;">
+ onsubmit="QuickSearch(f.id.value); return false;">
<p>
- Enter a bug # or some search terms:<br>
+ 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>