From 80fc05854135e575e7811b55f521e8bb9855a2ee Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Fri, 26 Nov 2010 14:56:29 +0000 Subject: Add custom template with identity support --- template/en/default/index.html.tmpl | 178 ++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 template/en/default/index.html.tmpl (limited to '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..a971b59 --- /dev/null +++ b/template/en/default/index.html.tmpl @@ -0,0 +1,178 @@ +[%# -*- 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 + # Jacob Steenhagen + # Vitaly Harisov + # Guy Pyrzak + #%] + +[%# INTERFACE: + # release: a hash containing data about new releases, if any. + #%] + +[% PROCESS global/variables.none.tmpl %] + + +[% 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 local XML file '[% release.xml_file FILTER html %]' cannot be created. + Please make sure the web server can write in this directory and that you can access + the web. If you are behind a proxy, set the + proxy_url parameter correctly.

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

The local XML file '[% release.xml_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 '[% release.xml_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 '[% release.xml_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 + [% ELSE %] + href="http://identity.mageia.org/register">Open a New Account + [% END %] + +
+ +
+
[% Hook.process('outro') %]
+
+
+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.1 From d0bee010e64eb35c701b25ca3c94b7c1a342768c Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Mon, 10 Jan 2011 08:18:59 +0000 Subject: Use guided template to report bugs --- template/en/default/index.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index a971b59..91903e7 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -126,7 +126,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);

Welcome to [% terms.Bugzilla %]

[% Hook.process('intro') %]
File [% terms.aBug %] + href="enter_bug.cgi?format=guided&classification=__all">File [% terms.aBug %] Search -- cgit v1.2.1 From 52b2a18e48302b923340647015162a62c803dff1 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 16 Feb 2011 06:23:29 +0000 Subject: Name bugzilla main page --- template/en/default/index.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 91903e7..fd1f01a 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -30,7 +30,7 @@ [% PROCESS global/header.html.tmpl - title = "$terms.Bugzilla Main Page" + title = "Mageia Bugzilla" header = "Main Page" header_addl_info = "version $constants.BUGZILLA_VERSION" style_urls = [ 'skins/standard/index.css' ] -- cgit v1.2.1 From ba702dcd7ac9b2e6c4d46ad21c7bfacfd6883189 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 16:07:49 +0000 Subject: Add 4.0 branch --- template/en/default/index.html.tmpl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index fd1f01a..c7bcba3 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -30,7 +30,7 @@ [% PROCESS global/header.html.tmpl - title = "Mageia Bugzilla" + title = "Mageia Main Page" header = "Main Page" header_addl_info = "version $constants.BUGZILLA_VERSION" style_urls = [ 'skins/standard/index.css' ] @@ -96,12 +96,12 @@ YAHOO.util.Event.onDOMReady(onLoadActions);

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

+ Parameters page.

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

The local XML file '[% release.xml_file FILTER html %]' cannot be created. Please make sure the web server can write in this directory and that you can access the web. If you are behind a proxy, set the - proxy_url parameter correctly.

+ proxy_url parameter correctly.

[% ELSIF release.error == "no_update" %]

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

@@ -114,7 +114,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions); [% ELSIF release.error == "unknown_parameter" %]

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

+ Parameters page.

[% END %] [% END %] @@ -126,7 +126,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions);

Welcome to [% terms.Bugzilla %]

[% Hook.process('intro') %]
File [% terms.aBug %] + href="enter_bug.cgi">File [% terms.aBug %] Search @@ -166,6 +166,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions); | Release Notes + [% Hook.process('additional_links') %] -- cgit v1.2.1 From 4302bafb0583830649ced57f931eddb7a2af4829 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 16:26:57 +0000 Subject: Start from scratch --- template/en/default/index.html.tmpl | 179 ------------------------------------ 1 file changed, 179 deletions(-) delete mode 100644 template/en/default/index.html.tmpl (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl deleted file mode 100644 index c7bcba3..0000000 --- a/template/en/default/index.html.tmpl +++ /dev/null @@ -1,179 +0,0 @@ -[%# -*- 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 - # Jacob Steenhagen - # Vitaly Harisov - # Guy Pyrzak - #%] - -[%# INTERFACE: - # release: a hash containing data about new releases, if any. - #%] - -[% PROCESS global/variables.none.tmpl %] - - -[% PROCESS global/header.html.tmpl - title = "Mageia 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 local XML file '[% release.xml_file FILTER html %]' cannot be created. - Please make sure the web server can write in this directory and that you can access - the web. If you are behind a proxy, set the - proxy_url parameter correctly.

- [% ELSIF release.error == "no_update" %] -

The local XML file '[% release.xml_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 '[% release.xml_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 '[% release.xml_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 - [% ELSE %] - href="http://identity.mageia.org/register">Open a New Account - [% END %] - -
-
- - - - -
-
-
[% Hook.process('outro') %]
-
-
- -[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.1 From 90ef4566baec7840461f6a7d248c660da0525c4d Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 16:56:50 +0000 Subject: More templates --- template/en/default/index.html.tmpl | 179 ++++++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 template/en/default/index.html.tmpl (limited to '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..c7bcba3 --- /dev/null +++ b/template/en/default/index.html.tmpl @@ -0,0 +1,179 @@ +[%# -*- 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 + # Jacob Steenhagen + # Vitaly Harisov + # Guy Pyrzak + #%] + +[%# INTERFACE: + # release: a hash containing data about new releases, if any. + #%] + +[% PROCESS global/variables.none.tmpl %] + + +[% PROCESS global/header.html.tmpl + title = "Mageia 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 local XML file '[% release.xml_file FILTER html %]' cannot be created. + Please make sure the web server can write in this directory and that you can access + the web. If you are behind a proxy, set the + proxy_url parameter correctly.

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

The local XML file '[% release.xml_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 '[% release.xml_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 '[% release.xml_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 + [% ELSE %] + href="http://identity.mageia.org/register">Open a New Account + [% END %] + +
+
+ + + + +
+
+
[% Hook.process('outro') %]
+
+
+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.1 From 9ffccbf4fc35d09cf7600cc052e3c0491cd297c5 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 22:21:44 +0000 Subject: Fix index page --- template/en/default/index.html.tmpl | 90 +++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 48 deletions(-) (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index c7bcba3..e9e9214 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -1,36 +1,17 @@ -[%# -*- 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/ +[%# 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/. # - # 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 - # Jacob Steenhagen - # Vitaly Harisov - # Guy Pyrzak + # 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/variables.none.tmpl %] - - [% PROCESS global/header.html.tmpl - title = "Mageia Main Page" + title = "$terms.Bugzilla Main Page" header = "Main Page" header_addl_info = "version $constants.BUGZILLA_VERSION" style_urls = [ 'skins/standard/index.css' ] @@ -46,12 +27,6 @@ function onLoadActions() { } document.getElementById('quicksearch_top').focus(); } -function addSidebar() { - var sidebarname=window.location.host; - if (!/bug/i.test(sidebarname)) - sidebarname="[% terms.Bugzilla %] "+sidebarname; - window.sidebar.addPanel (sidebarname, "[% urlbase FILTER html %]sidebar.cgi", ""); -} var quicksearch_message = "Enter [% terms.abug %] # or some search terms"; function checkQuicksearch( form ) { @@ -98,18 +73,24 @@ YAHOO.util.Event.onDOMReady(onLoadActions); You can configure this notification from the Parameters page.

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

The local XML file '[% release.xml_file FILTER html %]' cannot be created. - Please make sure the web server can write in this directory and that you can access +

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 '[% release.xml_file FILTER html %]' cannot be updated. +

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 '[% release.xml_file FILTER html %]' cannot be read. +

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 '[% release.xml_file FILTER html %]' has an invalid XML format. +

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 @@ -125,23 +106,36 @@ YAHOO.util.Event.onDOMReady(onLoadActions);

Welcome to [% terms.Bugzilla %]

[% Hook.process('intro') %]
- File [% terms.aBug %] - - Search - - User Preferences - [% ELSE %] - href="http://identity.mageia.org/register">Open a New Account - [% END %] + +
+
    +
  • + File + [%= terms.aBug %] +
  • +
  • + Search +
  • +
  • + User Preferences + [% ELSIF Param('createemailregexp') + && user.authorizer.user_can_create_account + %] + href="http://identity.mageia.org/register">Open a New Account + [% ELSE %] + href="?GoAheadAndLogIn=1">Log In + [% END %] +
  • +
+
-- cgit v1.2.1 From da60344c9f733a308632beb0c2f25a5dbf7cd122 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 22:33:09 +0000 Subject: Allow to create accounts --- template/en/default/index.html.tmpl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index e9e9214..1d26c4f 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -120,12 +120,7 @@ YAHOO.util.Event.onDOMReady(onLoadActions); User Preferences - [% ELSIF Param('createemailregexp') - && user.authorizer.user_can_create_account - %] href="http://identity.mageia.org/register">Open a New Account - [% ELSE %] - href="?GoAheadAndLogIn=1">Log In [% END %] -- cgit v1.2.1 From 2dfad21bf86fc7550472170572f598c249ae0f03 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 22:37:20 +0000 Subject: Fix page --- template/en/default/index.html.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 1d26c4f..9dcf6ac 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -120,7 +120,11 @@ YAHOO.util.Event.onDOMReady(onLoadActions); User Preferences + [% ELSIF Param('createemailregexp') + %] href="http://identity.mageia.org/register">Open a New Account + [% ELSE %] + href="?GoAheadAndLogIn=1">Log In [% END %] -- cgit v1.2.1 From a29bd9ed7a67b11debe97818a5d6b5a237d8419c Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Wed, 20 Feb 2013 22:54:03 +0000 Subject: Remove to test hook --- template/en/default/index.html.tmpl | 172 ------------------------------------ 1 file changed, 172 deletions(-) delete mode 100644 template/en/default/index.html.tmpl (limited to 'template/en/default/index.html.tmpl') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl deleted file mode 100644 index 9dcf6ac..0000000 --- a/template/en/default/index.html.tmpl +++ /dev/null @@ -1,172 +0,0 @@ -[%# 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 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 (limited to '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