diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-01-13 16:33:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-01-13 16:33:19 +0000 |
commit | 8b4c95b259089c54331e9a6d014495c1ec807cea (patch) | |
tree | f034ed8a5ad4c13ddd9c558857b7011f7cc1dceb /modules/account.module | |
parent | f9e5aa52ccad84784d8e134129f531751ccd34b2 (diff) | |
download | brdo-8b4c95b259089c54331e9a6d014495c1ec807cea.tar.gz brdo-8b4c95b259089c54331e9a6d014495c1ec807cea.tar.bz2 |
- 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
Diffstat (limited to 'modules/account.module')
-rw-r--r-- | modules/account.module | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules/account.module b/modules/account.module index efcbc9ac1..4d382ccf4 100644 --- a/modules/account.module +++ b/modules/account.module @@ -1,8 +1,17 @@ <? -$module = array("cron" => "account_cron", +$module = array("help" => "account_help", + "cron" => "account_cron", "admin" => "account_admin"); +function account_help() { + ?> + <P>The account-module is responsible for maintaining the user database. It automatically handles tasks like registration, authentication, access rights, password retrieval, user settings and much more.</P> + <P>The required administration can be accomplished through the "account" interface of the administration section. From here administrators can get a quick overview of all registered users and view/edit specific accounts using the links provided. Some useful operations include blocking specific accounts (e.g. a troublesome user) and giving/taking administration permissions. Note that you should only give these permissions to people you trust!</P> + <P>Check the documentation page for detailed information about user management.</P> + <? +} + function account_cron() { // clean-up user database } @@ -173,10 +182,15 @@ function account_view($name) { function account_admin() { global $op, $edit, $order, $name; + print "<SMALL><A HREF=\"admin.php?mod=account\">overview</A> | <A HREF=\"admin.php?mod=account&op=help\">help</A></SMALL><HR>\n"; + switch ($op) { case "edit": account_edit($name); break; + case "help": + account_help(); + break; case "view": account_view($name); break; |