From 7cf0f16c1805fc3bec313380e1fefe9d8b959bf4 Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" Date: Tue, 12 Apr 2005 17:23:01 +0000 Subject: [PATCH] Bug 165075 - A login form is now included by default on the main Index page. r=wurblzap, a= justdave git-svn-id: svn://10.0.0.236/trunk@172035 18797224-902f-48f8-a5cc-f745e15eee43 --- .../account/auth/login-small.html.tmpl | 76 +++++++++++++++++++ .../en/default/account/auth/login.html.tmpl | 1 + .../template/en/default/index.html.tmpl | 2 +- 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 mozilla/webtools/bugzilla/template/en/default/account/auth/login-small.html.tmpl diff --git a/mozilla/webtools/bugzilla/template/en/default/account/auth/login-small.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/account/auth/login-small.html.tmpl new file mode 100644 index 00000000000..85802a7710c --- /dev/null +++ b/mozilla/webtools/bugzilla/template/en/default/account/auth/login-small.html.tmpl @@ -0,0 +1,76 @@ +[%# 1.0@bugzilla.org %] +[%# 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): Jacob Steenhagen + #%] + +[% PROCESS global/variables.none.tmpl %] + +
+ + + + + + + + + + + [% IF Param('rememberlogin') == 'defaulton' || + Param('rememberlogin') == 'defaultoff' %] + + + + + [% END %] + + [% IF Param('loginnetmask') < 32 %] + + + + + [% END %] + + + + + [%# For now, password change requests only apply to the DB + # verification method #%] + + [% IF has_db != 0 %] + + [% END %] + +
Login:
Password:
  + + Remember my Login +
+ + Restrict this session
+ to this IP address: +
+
+ + (Using this option improves security) +
[ Forgot my Password ]
+ +
+ diff --git a/mozilla/webtools/bugzilla/template/en/default/account/auth/login.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/account/auth/login.html.tmpl index ec017534ab3..37c79e1ec61 100644 --- a/mozilla/webtools/bugzilla/template/en/default/account/auth/login.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/account/auth/login.html.tmpl @@ -116,6 +116,7 @@ [% IF has_db != 0 %]
+
If you have an account, but have forgotten your password, diff --git a/mozilla/webtools/bugzilla/template/en/default/index.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/index.html.tmpl index e0d94137280..eb1cbbd58a1 100644 --- a/mozilla/webtools/bugzilla/template/en/default/index.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/index.html.tmpl @@ -72,7 +72,7 @@ function addSidebar() {
  • Log out [% user.login FILTER html %]
  • [% END %] [% ELSE %] -
  • Log in to an existing account
  • + [% PROCESS "account/auth/login-small.html.tmpl" %] [% IF Param('createemailregexp') %]
  • Open a new [% terms.Bugzilla %] account
  • [% END %]