[%# 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. #%] [% IF san_tag == "example_check_au_user" %] EXAMPLE PLUGIN - Checking for non-Australian users. [% ELSIF san_tag == "example_check_au_user_alert" %] User <[% login FILTER html %]> isn't Australian. [% IF user.in_group('editusers') %] Edit this user. [% END %] [% ELSIF san_tag == "example_check_au_user_prompt" %] Fix these users. [% ELSIF san_tag == "example_repair_au_user_start" %] EXAMPLE PLUGIN - OK, would now make users Australian. [% ELSIF san_tag == "example_repair_au_user_end" %] EXAMPLE PLUGIN - Users would now be Australian. [% END %]