diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-08-02 10:36:42 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-08-02 10:36:42 +0000 |
commit | 99276849da740da568b54f165aa5256639a133b0 (patch) | |
tree | 011681b6f09353d0a5614e2301a152c85dd9dd73 /modules/profile/profile-wrapper.tpl.php | |
parent | fe7faf76c20da61dc9fe99108e30a36fc13cb130 (diff) | |
download | brdo-99276849da740da568b54f165aa5256639a133b0.tar.gz brdo-99276849da740da568b54f165aa5256639a133b0.tar.bz2 |
- Patch #162134 by dvessel: tplify profile module.
Diffstat (limited to 'modules/profile/profile-wrapper.tpl.php')
-rw-r--r-- | modules/profile/profile-wrapper.tpl.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/profile/profile-wrapper.tpl.php b/modules/profile/profile-wrapper.tpl.php new file mode 100644 index 000000000..27f742fd9 --- /dev/null +++ b/modules/profile/profile-wrapper.tpl.php @@ -0,0 +1,24 @@ +<?php +// $Id +/** + * @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> |