| 1 | <?php |
| 2 | // $Id: user-profile.tpl.php,v 1.10 2009/07/13 21:09:54 webchick Exp $ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Default theme implementation to present all user profile data. |
| 7 | * |
| 8 | * This template is used when viewing a registered member's profile page, |
| 9 | * e.g., example.com/user/123. 123 being the users ID. |
| 10 | * |
| 11 | * Use render($user_profile) to print all profile items, or print a subset |
| 12 | * such as render($content['field_example']). Always call render($user_profile) |
| 13 | * at the end in order to print all remaining items. If the item is a category, |
| 14 | * it will contain all its profile items. By default, $user_profile['summary'] |
| 15 | * is provided which contains data on the user's history. Other data can be |
| 16 | * included by modules. $user_profile['user_picture'] is available |
| 17 | * for showing the account picture. |
| 18 | * |
| 19 | * @see user-profile-category.tpl.php |
| 20 | * Where the html is handled for the group. |
| 21 | * @see user-profile-field.tpl.php |
| 22 | * Where the html is handled for each item in the group. |
| 23 | * |
| 24 | * Available variables: |
| 25 | * - $user_profile: An array of profile items. Use render() to print them. |
| 26 | * |
| 27 | * @see template_preprocess_user_profile() |
| 28 | */ |
| 29 | ?> |
| 30 | <div class="profile"> |
| 31 | <?php print render($user_profile); ?> |
| 32 | </div> |
| 33 |