From 53a2ca41b444dbbf27a7a649e33c6aa1364005f4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 25 Jan 2006 08:52:47 +0000 Subject: - Patch #23538 by Zen: mark required fields are being required. The new forms API will enforce this too. :) --- modules/profile.module | 92 ++++++++++++++++++++++++++++++++---------- modules/profile/profile.module | 92 ++++++++++++++++++++++++++++++++---------- 2 files changed, 140 insertions(+), 44 deletions(-) diff --git a/modules/profile.module b/modules/profile.module index 254c3cf88..5560bba6e 100644 --- a/modules/profile.module +++ b/modules/profile.module @@ -20,7 +20,7 @@ define('PROFILE_HIDDEN', 4); function profile_help($section) { switch ($section) { case 'admin/help#profile': - $output = '

'. t('The profile module allows you to define custom fields (such as country, real name, age, ...) in the user profile. This permits users of a site to share more information about themselves, and can help community-based sites to organize users around profile fields.') .'

'; + $output = '

'. t('The profile module allows you to define custom fields (such as country, real name, age, ...) in the user profile. This permits users of a site to share more information about themselves, and can help community-based sites to organize users around profile fields.') .'

'; $output .= t('

The following types of fields can be added to the user profile: