From d4e9febd6cfbcf96e87809b68425e6f19a0b9f39 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 20 Nov 2013 15:00:04 +0800 Subject: Bug 935570: create an anti-spam extension --- .../en/default/hook/global/user-error-errors.html.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 extensions/AntiSpam/template/en/default/hook/global/user-error-errors.html.tmpl (limited to 'extensions/AntiSpam/template/en/default/hook/global/user-error-errors.html.tmpl') diff --git a/extensions/AntiSpam/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/AntiSpam/template/en/default/hook/global/user-error-errors.html.tmpl new file mode 100644 index 000000000..44410ca2f --- /dev/null +++ b/extensions/AntiSpam/template/en/default/hook/global/user-error-errors.html.tmpl @@ -0,0 +1,13 @@ +[%# 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 error == "antispam_comment_blocked" %] + [% title = "Comment Blocked" %] + Your comment contains one or more words deemed inappropriate for use by the + administrators of this site. +[% END %] -- cgit v1.2.3-24-g4f1b