[%# 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. #%] [% PROCESS global/header.html.tmpl title = "Push Administration: Configuration" javascript_urls = [ 'extensions/Push/web/admin.js' ] style_urls = [ 'extensions/Push/web/admin.css' ] %]
[% PROCESS options name = 'global', config = push.config %] [% FOREACH connector = connectors.list %] [% PROCESS options name = connector.name config = connector.config %] [% END %]
 
 
     
[% INCLUDE global/footer.html.tmpl %] [% BLOCK options %] [% name FILTER ucfirst FILTER html %]
[% FOREACH option = config.options %] [% class = name _ '_tr' IF option.name != 'enabled' %] [% IF option.required %] *  [% END %] [% option.label FILTER html %] [% IF option.type == 'string' %] [% ELSIF option.type == 'password' %] [% ELSIF option.type == 'select' %] [% ELSE %] unsupported option type '[% option.type FILTER html %]' [% END %] [% IF option.help %] [% option.help FILTER html %] [% ELSE %]   [% END %] [% END %] [% IF name != 'global' %] [% END %] [% END %]