cms/drupal/modules/profile/profile-wrapper.tpl.php
changeset 541 e756a8c72c3d
equal deleted inserted replaced
540:07239de796bb 541:e756a8c72c3d
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * @file
       
     5  * Default theme implementation for wrapping member listings and their
       
     6  * profiles.
       
     7  *
       
     8  * This template is used when viewing a list of users. It can be a general
       
     9  * list for viewing all users with the URL of "example.com/profile" or when
       
    10  * viewing a set of users who share a specific value for a profile such
       
    11  * as "example.com/profile/country/belgium".
       
    12  *
       
    13  * Available variables:
       
    14  * - $content: User account profiles iterated through profile-listing.tpl.php.
       
    15  * - $current_field: The named field being browsed. Provided here for context.
       
    16  *   The above example would result in "last_name". An alternate template name
       
    17  *   is also based on this, e.g., "profile-wrapper-last_name.tpl.php".
       
    18  *
       
    19  * @see template_preprocess_profile_wrapper()
       
    20  */
       
    21 ?>
       
    22 <div id="profile">
       
    23   <?php print $content; ?>
       
    24 </div>