[%# 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): Toms Baugis # Gervase Markham #%] [%# INTERFACE: # bug.bug_id: integer. Number of current bug (for navigation purposes) #%] [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] [% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %] [%# *** Attachment *** %] [% IF attachment && attachment.bug_id %] [% END %] [%# *** Dependencies, Activity, Print-version *** %] [% IF bug %] [% IF Param('webdotbase') %] [% END %] [% END %] [%# *** Saved Searches *** %] [% IF user.showmybugslink %] [% user_login = user.login FILTER uri %] [% END %] [% FOREACH q = user.queries_subscribed %] [% END %] [%# *** Bugzilla Administration Tools *** %] [% IF user.login %] [% '' IF user.in_group('tweakparams') %] [% '' IF user.in_group('editusers') %] [% '' IF user.in_group('editcomponents') || user.get_products_by_permission("editcomponents").size %] [% '' IF user.in_group('editcomponents') %] [% '' IF user.in_group('creategroups') %] [% '' IF user.in_group('editkeywords') %] [% '' IF user.in_group('bz_canusewhines') %] [% '' IF user.in_group('editcomponents') %] [% END %] [% END %]