From af251bf1b97e0f311ed3dfd9e3a5d3d2085c75bb Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Mon, 25 Feb 2013 12:53:01 +0000 Subject: Use guided form --- template/en/default/index.html.tmpl | 172 ++++++++++++++++++++++++++++++++++++ 1 file changed, 172 insertions(+) create mode 100644 template/en/default/index.html.tmpl diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl new file mode 100644 index 0000000..002f08a --- /dev/null +++ b/template/en/default/index.html.tmpl @@ -0,0 +1,172 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[%# INTERFACE: + # release: a hash containing data about new releases, if any. + #%] + +[% PROCESS global/header.html.tmpl + title = "$terms.Bugzilla Main Page" + header = "Main Page" + header_addl_info = "version $constants.BUGZILLA_VERSION" + style_urls = [ 'skins/standard/index.css' ] +%] + + + + +[% IF release %] +
+ [% IF release.data %] + [% IF release.deprecated %] +

[% terms.Bugzilla %] [%+ release.deprecated FILTER html %] is no longer + supported. You are highly encouraged to upgrade in order to keep your + system secure.

+ [% END %] + +

A new [% terms.Bugzilla %] version ([% release.data.latest_ver FILTER html %]) + is available at + [% release.data.url FILTER html %].
+ Release date: [% release.data.date FILTER html %]

+ +

This message is only shown to logged in users with admin privs. + You can configure this notification from the + Parameters page.

+ [% ELSIF release.error == "cannot_download" %] +

The remote file + [%~ constants.REMOTE_FILE FILTER html %] cannot be downloaded + (reason: [% release.reason FILTER html %]).
+ Either the remote server is temporarily unavailable, or your web server cannot access + the web. If you are behind a proxy, set the + proxy_url parameter correctly.

+ [% ELSIF release.error == "no_write" %] +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be created + (reason: [% release.reason FILTER html %]).
+ Please make sure the web server can write into this directory. + [% ELSIF release.error == "no_update" %] +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be updated. + Please make sure the web server can edit this file.

+ [% ELSIF release.error == "no_access" %] +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be read. + Please make sure this file has the correct rights set on it.

+ [% ELSIF release.error == "corrupted" %] +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' has an invalid XML format. + Please delete it and try accessing this page again.

+ [% ELSIF release.error == "unknown_parameter" %] +

'[% Param("upgrade_notification") FILTER html %]' is not a valid notification + parameter. Please check this parameter in the + Parameters page.

+ [% END %] +
+[% END %] + +
+ + + + +
+

Welcome to [% terms.Bugzilla %]

+
[% Hook.process('intro') %]
+ +
+
    +
  • + File + [%= terms.aBug %] +
  • +
  • + Search +
  • +
  • + User Preferences + [% ELSIF Param('createemailregexp') + %] + href="http://identity.mageia.org/register">Open a New Account + [% ELSE %] + href="?GoAheadAndLogIn=1">Log In + [% END %] +
  • +
+
+ +
+
+ + + + +
+
+
[% Hook.process('outro') %]
+
+
+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.1