| 1 |
<?php
|
| 2 |
// $Id: theme.php,v 1.1 2009/04/28 16:34:26 darrenoh Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* Shadow theme functions for theme templates.
|
| 7 |
*
|
| 8 |
* This file provides function definitions for output that is generated by theme
|
| 9 |
* templates by default. Themers who wish to override output with theme
|
| 10 |
* functions instead of templates can find documentation for those functions
|
| 11 |
* here.
|
| 12 |
*
|
| 13 |
* @addtogroup themeable
|
| 14 |
* @{
|
| 15 |
*/
|
| 16 |
|
| 17 |
/**
|
| 18 |
* Theme a user page.
|
| 19 |
*
|
| 20 |
* @param $elements
|
| 21 |
* A content form array. $elements['#account'] contains the user object.
|
| 22 |
* @return
|
| 23 |
* A formatted HTML string.
|
| 24 |
*
|
| 25 |
* @see template_preprocess_user_profile()
|
| 26 |
* @see user-profile.tpl.php
|
| 27 |
*/
|
| 28 |
function theme_user_profile($elements) {
|
| 29 |
return drupal_render($elements);
|
| 30 |
}
|
| 31 |
|
| 32 |
/**
|
| 33 |
* @} End of "addtogroup themeable".
|
| 34 |
*/
|