summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/profile/profile-wrapper.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/profile/profile-wrapper.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.26/modules/profile/profile-wrapper.tpl.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/profile/profile-wrapper.tpl.php b/kolab.org/www/drupal-7.26/modules/profile/profile-wrapper.tpl.php
new file mode 100644
index 0000000..3940ba0
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/profile/profile-wrapper.tpl.php
@@ -0,0 +1,24 @@
+<?php
+
+/**
+ * @file
+ * 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>