Mercurial > defr > drupal > core
annotate modules/profile/profile-wrapper.tpl.php @ 18:f5131a9cd9e5
Added tag 6.8 for changeset 8e6257f3ae39
| author | Franck Deroche <webmaster@defr.org> | 
|---|---|
| date | Tue, 23 Dec 2008 14:32:55 +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> | 
