diff -r fcf75e232c5b -r 0ff3ba646492 web/drupal/modules/profile/profile-block.tpl.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/drupal/modules/profile/profile-block.tpl.php Fri Aug 21 16:26:26 2009 +0000 @@ -0,0 +1,42 @@ +title: Title of the profile field. + * - $field->value: Value of the profile field. + * - $field->type: Type of the profile field, i.e., checkbox, textfield, + * textarea, selection, list, url or date. + * + * Since $profile is keyed, a direct print of the field is possible. Not + * all accounts may have a value for a profile so do a check first. If a field + * of "last_name" was set for the site, the following can be used. + * + * + *
+ type != 'checkbox') : ?>
+ title; ?>
+
+ value; ?>
+