function theme_user_signature

7.x user.module theme_user_signature($variables)
6.x user.module theme_user_signature($signature)

Returns HTML for a user signature.


$variables: An associative array containing:

  • signature: The user's signature.

Related topics

1 string reference to the theme hook from theme_user_signature()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

user_theme in drupal/modules/user/user.module
Implements hook_theme().


drupal/modules/user/user.module, line 3558
Enables the user registration and login system.


function theme_user_signature($variables) {
  $signature = $variables['signature'];
  $output = '';

  if ($signature) {
    $output .= '<div class="clear">';
    $output .= '<div>—</div>';
    $output .= $signature;
    $output .= '</div>';

  return $output;