1 user.theme.inc | theme_user_signature($variables) |
Returns HTML for a user signature.
Parameters
$variables: An associative array containing:
- signature: The user's signature.
Related topics
File
- core/
modules/ user/ user.theme.inc, line 40 - Theme functions for the User module.
Code
function theme_user_signature($variables) {
$signature = $variables['signature'];
$output = '';
if ($signature) {
$output .= '<div class="clear">';
$output .= '<div>—</div>';
$output .= $signature;
$output .= '</div>';
}
return $output;
}