You are here

function theme_user_signature in Drupal 7

Same name and namespace in other branches
  1. 6 modules/user/user.module \theme_user_signature()

Returns HTML for a user signature.

Parameters

$variables: An associative array containing:

  • signature: The user's signature.

Related topics

File

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

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;
}