diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-08-11 14:54:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-08-11 14:54:39 +0000 |
commit | 808b6b6cae71afd741023a0c08a6c925f2198752 (patch) | |
tree | d17e890898959601d841227fecd538f135371bfc /modules/box.module | |
parent | 876536a955b783c4f82185dc45557ef3b1bd949f (diff) | |
download | brdo-808b6b6cae71afd741023a0c08a6c925f2198752.tar.gz brdo-808b6b6cae71afd741023a0c08a6c925f2198752.tar.bz2 |
- Changed the authentication and login scheme as discussed on the mailing
list.
- Fixed the export function in book.module (patch my Julian).
- Fixed the comment alignment (comments got truncated).
Diffstat (limited to 'modules/box.module')
-rw-r--r-- | modules/box.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/box.module b/modules/box.module index 9d8c5bc83..6618f6b60 100644 --- a/modules/box.module +++ b/modules/box.module @@ -18,8 +18,8 @@ function box_help() { </PRE> <P>If we are however dealing with a registered user, we can customize the message by using:</P> <PRE> - if ($user->userid) { - return "Welcome $user->userid, ... welcome message goes here ..."; + if ($user->id) { + return "Welcome $user->name, ... welcome message goes here ..."; } else { return "Welcome visitor, ... welcome message goes here ..."; |