? .svn
? modules/.svn
? panels/.svn
? panels/relationships/.svn
? tests/.svn
? translations/.svn
? views/.svn
Index: modules/content_profile_tokens.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/content_profile/modules/Attic/content_profile_tokens.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 content_profile_tokens.module
--- modules/content_profile_tokens.module	3 Nov 2009 14:20:17 -0000	1.1.2.1
+++ modules/content_profile_tokens.module	4 Feb 2011 13:40:12 -0000
@@ -25,6 +25,10 @@ function content_profile_tokens_token_va
           $profile = content_profile_load($type_name, $user->uid);
         }
         $fields = content_types($type_name);
+
+      // Token for Title Content Profile
+      $values['content-profile-'. $type_name .'-title'] = check_plain($profile->title);
+
         foreach ($fields['fields'] as $field_name => $field) {
           if (!$field['multiple'] && ($field['widget']['type'] == 'text_textfield' || $field['widget']['type'] == 'number')) {
               $values['content-profile-'. $type_name .'-'. substr($field_name, 6)] = check_plain($profile->{$field_name}[0]['value']);
@@ -67,6 +71,10 @@ function content_profile_tokens_token_li
     foreach ($types as $type_name => $type) {
     
       $fields = content_types($type_name);
+
+      // Token for Title Content Profile
+      $tokens['user']['content-profile-'. $type_name .'-title'] = t($fields['description']) .'-'. t('Title');
+
       foreach ($fields['fields'] as $field_name => $field) {
         if (!$field['multiple'] && ($field['widget']['type'] == 'text_textfield' || $field['widget']['type'] == 'number')) {
           $tokens['user']['content-profile-'. $type_name .'-'. substr($field_name, 6)] = t($fields['description']) .'-'. t($field['widget']['label']);
