Mercurial > defr > drupal > core
annotate modules/profile/profile-wrapper.tpl.php @ 20:e3d20ebd63d1 tip
Added tag 6.9 for changeset 3edae6ecd6c6
author | Franck Deroche <franck@defr.org> |
---|---|
date | Thu, 15 Jan 2009 10:16:10 +0100 |
parents | c1f4ac30525a |
children |
rev | line source |
---|---|
webmaster@1 | 1 <?php |
webmaster@1 | 2 // $Id: profile-wrapper.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $ |
webmaster@1 | 3 |
webmaster@1 | 4 /** |
webmaster@1 | 5 * @file profile-wrapper.tpl.php |
webmaster@1 | 6 * Default theme implementation for wrapping member listings and their |
webmaster@1 | 7 * profiles. |
webmaster@1 | 8 * |
webmaster@1 | 9 * This template is used when viewing a list of users. It can be a general |
webmaster@1 | 10 * list for viewing all users with the url of "example.com/profile" or when |
webmaster@1 | 11 * viewing a set of users who share a specific value for a profile such |
webmaster@1 | 12 * as "example.com/profile/country/belgium". |
webmaster@1 | 13 * |
webmaster@1 | 14 * Available variables: |
webmaster@1 | 15 * - $content: User account profiles iterated through profile-listing.tpl.php. |
webmaster@1 | 16 * - $current_field: The named field being browsed. Provided here for context. |
webmaster@1 | 17 * The above example would result in "last_name". An alternate template name |
webmaster@1 | 18 * is also based on this, e.g., "profile-wrapper-last_name.tpl.php". |
webmaster@1 | 19 * |
webmaster@1 | 20 * @see template_preprocess_profile_wrapper() |
webmaster@1 | 21 */ |
webmaster@1 | 22 ?> |
webmaster@1 | 23 <div id="profile"> |
webmaster@1 | 24 <?php print $content; ?> |
webmaster@1 | 25 </div> |