theme_profile_listing
modules/profile/profile.module, строка 785
- Версии
- 5
theme_profile_listing($account, $fields = array())
Код
<?php
function theme_profile_listing($account, $fields = array()) {
$output = "<div class=\"profile\">\n";
$output .= theme('user_picture', $account);
$output .= ' <div class="name">'. theme('username', $account) ."</div>\n";
foreach ($fields as $field) {
if ($field->value) {
$output .= " <div class=\"field\">$field->value</div>\n";
}
}
$output .= "</div>\n";
return $output;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии