File: profile-wrapper.tpl.php

package info (click to toggle)
drupal6 6.6-3lenny6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,868 kB
  • ctags: 372
  • sloc: pascal: 15,958; php: 4,294; sh: 1,562; perl: 126; makefile: 40
file content (25 lines) | stat: -rw-r--r-- 912 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
// $Id: profile-wrapper.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $

/**
 * @file profile-wrapper.tpl.php
 * Default theme implementation for wrapping member listings and their
 * profiles.
 *
 * This template is used when viewing a list of users. It can be a general
 * list for viewing all users with the url of "example.com/profile" or when
 * viewing a set of users who share a specific value for a profile such
 * as "example.com/profile/country/belgium".
 *
 * Available variables:
 * - $content: User account profiles iterated through profile-listing.tpl.php.
 * - $current_field: The named field being browsed. Provided here for context.
 *   The above example would result in "last_name". An alternate template name
 *   is also based on this, e.g., "profile-wrapper-last_name.tpl.php".
 *
 * @see template_preprocess_profile_wrapper()
 */
?>
<div id="profile">
  <?php print $content; ?>
</div>