/[drupal]/drupal/modules/user/user-profile-category.tpl.php
ViewVC logotype

Contents of /drupal/modules/user/user-profile-category.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Mon Oct 13 12:31:43 2008 UTC (13 months, 2 weeks ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-6, DRUPAL-7-0-UNSTABLE-7, DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-3, DRUPAL-7-0-UNSTABLE-4, DRUPAL-7-0-UNSTABLE-5, DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.2: +2 -2 lines
File MIME type: text/x-php
- Patch #320000 by lilou: unify doxygen @file documentation in tpl.
1 <?php
2 // $Id: user-profile-category.tpl.php,v 1.2 2007/08/07 08:39:36 goba Exp $
3
4 /**
5 * @file
6 * Default theme implementation to present profile categories (groups of
7 * profile items).
8 *
9 * Categories are defined when configuring user profile fields for the site.
10 * It can also be defined by modules. All profile items for a category will be
11 * output through the $profile_items variable.
12 *
13 * @see user-profile-item.tpl.php
14 * where each profile item is rendered. It is implemented as a definition
15 * list by default.
16 * @see user-profile.tpl.php
17 * where all items and categories are collected and printed out.
18 *
19 * Available variables:
20 * - $title: Category title for the group of items.
21 * - $profile_items: All the items for the group rendered through
22 * user-profile-item.tpl.php.
23 * - $attributes: HTML attributes. Usually renders classes.
24 *
25 * @see template_preprocess_user_profile_category()
26 */
27 ?>
28 <?php if ($title) : ?>
29 <h3><?php print $title; ?></h3>
30 <?php endif; ?>
31
32 <dl<?php print $attributes; ?>>
33 <?php print $profile_items; ?>
34 </dl>

  ViewVC Help
Powered by ViewVC 1.1.2