Mercurial > hg > rr-repo
annotate modules/profile/profile-wrapper.tpl.php @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
rev | line source |
---|---|
danielebarchiesi@0 | 1 <?php |
danielebarchiesi@0 | 2 |
danielebarchiesi@0 | 3 /** |
danielebarchiesi@0 | 4 * @file |
danielebarchiesi@0 | 5 * Default theme implementation for wrapping member listings and their |
danielebarchiesi@0 | 6 * profiles. |
danielebarchiesi@0 | 7 * |
danielebarchiesi@0 | 8 * This template is used when viewing a list of users. It can be a general |
danielebarchiesi@0 | 9 * list for viewing all users with the URL of "example.com/profile" or when |
danielebarchiesi@0 | 10 * viewing a set of users who share a specific value for a profile such |
danielebarchiesi@0 | 11 * as "example.com/profile/country/belgium". |
danielebarchiesi@0 | 12 * |
danielebarchiesi@0 | 13 * Available variables: |
danielebarchiesi@0 | 14 * - $content: User account profiles iterated through profile-listing.tpl.php. |
danielebarchiesi@0 | 15 * - $current_field: The named field being browsed. Provided here for context. |
danielebarchiesi@0 | 16 * The above example would result in "last_name". An alternate template name |
danielebarchiesi@0 | 17 * is also based on this, e.g., "profile-wrapper-last_name.tpl.php". |
danielebarchiesi@0 | 18 * |
danielebarchiesi@0 | 19 * @see template_preprocess_profile_wrapper() |
danielebarchiesi@0 | 20 */ |
danielebarchiesi@0 | 21 ?> |
danielebarchiesi@0 | 22 <div id="profile"> |
danielebarchiesi@0 | 23 <?php print $content; ?> |
danielebarchiesi@0 | 24 </div> |