From 8b4c95b259089c54331e9a6d014495c1ec807cea Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 13 Jan 2001 16:33:19 +0000 Subject: - rewrote the block placement stuff and updated the themes. IMPORTANT: you have to drop 2 tables "blocks" and "layout" and you have to recreate them again with those in database/database.mysql - integrated the documentation written by UnConeD --- modules/ban.module | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'modules/ban.module') diff --git a/modules/ban.module b/modules/ban.module index 05f3efcdd..f602c177f 100644 --- a/modules/ban.module +++ b/modules/ban.module @@ -1,10 +1,33 @@ "ban_admin"); +$module = array("help" => "ban_help", + "admin" => "ban_admin"); include "includes/ban.inc"; +function ban_help() { + ?> +

The ban module keeps a list of bans in four categories:

+ +

The ban system allows you to use a flexible wild-card ban system. This means you can block all email addresses from a certain domain name, block every username starting with "guest", etc. To do this, you can use the following wild-card characters:

+ +

Examples:

+ + add ban | check ban | overview
\n"; + print "add ban | check ban | overview | help
\n"; switch ($op) { case "Add ban": @@ -110,6 +133,9 @@ function ban_admin() { case "add": ban_admin_add(); break; + case "help": + ban_help(); + break; case "check": ban_admin_check(); break; -- cgit v1.2.3