[%# 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): Dave Miller # Frédéric Buclin #%] [%# INTERFACE: # panels: array of hashes representing the panels available. # param_changed: array of parameters which have been changed. # shutdown_is_active: boolean; is true when 'shutdownhtml' has been turned on. #%] [% curpanel = -1 %] [% panels = panels.nsort('sortkey') %] [% FOREACH panel = panels %] [% PROCESS "admin/params/${panel.name}.html.tmpl" params = panel.param_list %] [% panel.title = title %] [% panel.desc = desc %] [% panel.param_descs = param_descs %] [% IF panel.current %][% curpanel = loop.index %][% END %] [% END %] [% current_panel = panels.$curpanel %] [%# We cannot call header.html.tmpl earlier as we have to know which panel is active first, in order to get its title %] [% title = BLOCK %] [% IF curpanel == -1 %] Parameters: Index [% ELSE %] Configuration: [%+ current_panel.title FILTER html %] [% END %] [% END %] [% PROCESS global/header.html.tmpl title = title message = message style_urls = ['skins/standard/params.css'] javascript_urls = ['js/params.js', 'js/util.js'] doc_section = "parameters.html" %]
[%# NAVIGATION BAR %] [% FOREACH panel = panels %] [% IF panel.current %] [% Hook.process("current_panel") %] [% ELSE %] [% END %] [% END %] [% IF curpanel == -1 %] [% PROCESS admin/params/index.html.tmpl panels = panels %] [% ELSE %]
Note: [%+ terms.Bugzilla %] is developed entirely by volunteers. The best way to give back to the [% terms.Bugzilla %] project is to contribute yourself! You don't have to be a programmer to contribute, there are lots of things that we need.

This lets you edit the basic operating parameters of [% terms.Bugzilla %]. Be careful!
Any item you check "Reset" on will get reset to its default value.

[%# CONTENT PANEL %]
[% PROCESS admin/params/common.html.tmpl panel = current_panel %]
[% END %]
[% INCLUDE global/footer.html.tmpl %]