From 2101f6c454d670a93ee445f84bfe839aa21bf049 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 11 Mar 2004 20:33:59 +0000 Subject: - Rewrote the profile module: + Added a 'created' field to the users table and renamed the 'timestamp' fied to 'changed' (cfr. node table). Update.php will try to determine a 'created' timestamp for existing users. + The profile module no longer uses serialized data but has its own set of tables. Known existing profile data is migrated by these new tables. TODO: migrate the birthday field. + The profile fields can be grouped, and within each group, profile fields can be sorted using weights. + The profile pages can be themed. + The profiles can be browsed based on certain properties/settings. + Change the _user hook: (i) 'private_view' and 'public_view' are merged into 'view' as there are no private fields and (ii) 'edit_form' has been renamed to 'edit'. + Avatar handling has been refactored and is now part of the user module. The users table has a dedicted 'picture' field. + Simplified the way themes should use display/visualize pictures or avatars. + Made it possible for administrators to replace or delete avatars. + ... I hope this make for a good base to build on collectively. --- modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 046920158..7169250d5 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -77,7 +77,7 @@ function system_link($type) { } function system_user($type, $edit, &$user) { - if ($type == "edit_form") { + if ($type == 'edit') { $options = "\n"; if (count($themes = list_themes()) > 1) { foreach ($themes as $key => $value) { -- cgit v1.2.3