diff options
author | Matthias Grimm <matthiasgrimm@users.sourceforge.net> | 2005-05-08 12:13:44 +0200 |
---|---|---|
committer | Matthias Grimm <matthiasgrimm@users.sourceforge.net> | 2005-05-08 12:13:44 +0200 |
commit | ca3a6df1c943c36a4b6eca3ad03f64d3d40b9b2c (patch) | |
tree | 1d47fdf0f940df5b801830dcfdb7da8e4e706713 /inc/actions.php | |
parent | f4f04d1599863f643ad54a17734ba8984aa0c759 (diff) | |
download | rpg-ca3a6df1c943c36a4b6eca3ad03f64d3d40b9b2c.tar.gz rpg-ca3a6df1c943c36a4b6eca3ad03f64d3d40b9b2c.tar.bz2 |
add user registration to admin page
If 'openregister' is not set the menue entry 'Add new user...'
will be added to the admin page so that registering of new
users is always possible through an GUI.
If 'openregister is set the menu entry will be omitted to not
to overload the admin page.
darcs-hash:20050508101344-4145d-cb3f9e10f4b8d26dec516ce796e54ed12a1e2b53.gz
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php index 3f7cc8c94..fc68ef173 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -64,7 +64,9 @@ function act_dispatch(){ if($_REQUEST['page'] == 'acl'){ require_once(DOKU_INC.'inc/admin_acl.php'); admin_acl_handler(); - } + } elseif ($_REQUEST['page'] == 'register') { + $ACT = 'register'; + } } //call template FIXME: all needed vars available? |