From 47d31a6e250ee6bd13764186f3f3d29ebcdf915d Mon Sep 17 00:00:00 2001
From: Dexter Morgan
Date: Wed, 20 Feb 2013 23:04:01 +0000
Subject: Adapt to new API
---
.../en/default/bug/create/create-guided.html.tmpl | 2 +-
template/en/default/global/common-links.html.tmpl | 117 ---------------------
2 files changed, 1 insertion(+), 118 deletions(-)
delete mode 100644 template/en/default/global/common-links.html.tmpl
(limited to 'template')
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index bee5f01..19e7ba0 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -221,7 +221,7 @@ function onChangePackage(input_obj) {
To pick the right component, you could use the same one as
similar [% terms.bugs %] you found in your search, or read the full list of
component
+ [% product.name FILTER uri %]">component
descriptions (opens in new window) if you need more help.
diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl
deleted file mode 100644
index 6f99a64..0000000
--- a/template/en/default/global/common-links.html.tmpl
+++ /dev/null
@@ -1,117 +0,0 @@
-[%# 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): Gervase Markham
- # Svetlana Harisova
- #%]
-
-[% DEFAULT qs_suffix = "" %]
-[% USE Bugzilla %]
-
-
- - Home
- - | New
- - | Browse
- - | Search
-
- -
- |
-
- [?]
-
- - | Reports
-
- -
- [% IF Param('shutdownhtml') || Bugzilla.has_flags %]
- |
- [% IF user.id %]
- My Requests
- [% ELSE %]
- Requests
- [% END %]
- [% END %]
- [%-# Work around FF bug: keep this on one line %]
-
- [% IF user.login %]
- - | Preferences
- [% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless
- || (Param('useclassification') && user.in_group('editclassifications'))
- || user.in_group('editcomponents') || user.in_group('admin') || user.in_group('creategroups')
- || user.in_group('editkeywords') || user.in_group('bz_canusewhines')
- || user.get_products_by_permission("editcomponents").size %]
- - | Administration
- [% END %]
-
- [% PROCESS link_to_documentation %]
-
- -
- |
- [% IF user.authorizer.can_logout %]
- Log out
- [% ELSE %]
- Logged in as
- [% END %]
- [% IF sudoer %]
- [%+ sudoer.login FILTER html %] (impersonating
- [%+ user.login FILTER html %]
- end session)
- [% ELSE %]
- [%+ user.login FILTER html %]
- [% END %]
- [%-# Work around FF bug: keep this on one line %]
- [% ELSE %]
-
- [% PROCESS link_to_documentation %]
-
- [% IF Param('createemailregexp')
- && user.authorizer.user_can_create_account %]
- -
- |
- New Account
-
- [% END %]
-
- [%# Only display one login form when we're on a LOGIN_REQUIRED page. That
- # way, we're guaranteed that the user will use the form that has
- # hidden_fields in it (the center form) instead of this one. Also, it's
- # less confusing to have one form (as opposed to three) when you're
- # required to log in.
- #%]
- [% IF user.authorizer.can_login && !Bugzilla.page_requires_login %]
- [% PROCESS "account/auth/login-small.html.tmpl" %]
- [% END %]
- [% END %]
-
-
-[% Hook.process("link-row") %]
-[% BLOCK link_to_documentation %]
- [% IF doc_section && Param('docs_urlbase') %]
-
- |
- Help
-
- [% END %]
-[% END %]
--
cgit v1.2.1