theme_user_signature

  1. drupal
    1. 6
    2. 8
    3. 7
Versions
6 theme_user_signature($signature)
7 – 8 theme_user_signature($variables)

Returns HTML for a user signature.

Parameters

$variables An associative array containing:

  • signature: The user's signature.

Related topics

Code

modules/user/user.module, line 3423

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

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

  return $output;
}
?>