2007-08-02 10:41:26 +00:00
|
|
|
<?php
|
2007-08-07 08:39:36 +00:00
|
|
|
// $Id$
|
|
|
|
|
2007-08-02 10:41:26 +00:00
|
|
|
/**
|
2008-10-13 12:31:43 +00:00
|
|
|
* @file
|
2007-08-02 10:41:26 +00:00
|
|
|
* Default theme implementation to present all user profile data.
|
|
|
|
*
|
|
|
|
* This template is used when viewing a registered member's profile page,
|
|
|
|
* e.g., example.com/user/123. 123 being the users ID.
|
|
|
|
*
|
2009-06-18 21:19:02 +00:00
|
|
|
* Use render($user_profile) to print all profile items, or print a subset
|
|
|
|
* such as render($content['field_example']). Always call render($user_profile)
|
|
|
|
* at the end in order to print all remaining items. If the item is a category,
|
|
|
|
* it will contain all its profile items. By default, $user_profile['summary']
|
|
|
|
* is provided which contains data on the user's history. Other data can be
|
|
|
|
* included by modules. $user_profile['user_picture'] is available
|
|
|
|
* for showing the account picture.
|
2007-08-02 10:41:26 +00:00
|
|
|
*
|
|
|
|
* @see user-profile-category.tpl.php
|
2008-10-15 13:51:53 +00:00
|
|
|
* Where the html is handled for the group.
|
2007-08-02 10:41:26 +00:00
|
|
|
* @see user-profile-field.tpl.php
|
2008-10-15 13:51:53 +00:00
|
|
|
* Where the html is handled for each item in the group.
|
2007-08-02 10:41:26 +00:00
|
|
|
*
|
|
|
|
* Available variables:
|
2009-06-18 21:19:02 +00:00
|
|
|
* - $user_profile: An array of profile items. Use render() to print them.
|
2007-08-02 10:41:26 +00:00
|
|
|
*
|
|
|
|
* @see template_preprocess_user_profile()
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div class="profile">
|
2009-07-13 21:09:54 +00:00
|
|
|
<?php print render($user_profile); ?>
|
2007-08-02 10:41:26 +00:00
|
|
|
</div>
|