theme_user_signature

Definition

theme_user_signature($signature)
modules/user/user.module, line 2036

Description

Theme output of user signature.

Related topics

Namesort iconDescription
Default theme implementationsFunctions and templates that present output to the user, and can be implemented by themes.

Code

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

  return $output;
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.