You are here

function theme_signature_forum in Signatures for Forums 5.2

Same name and namespace in other branches
  1. 5 signature_forum.module \theme_signature_forum()

Format user signature.

1 theme call to theme_signature_forum()
signature_forum_get_signature in ./signature_forum.module
Retrieve signature for a given user.

File

./signature_forum.module, line 585
Tweaks signatures in ways inspired by other traditional forum software:

Code

function theme_signature_forum($signature) {

  // Special case: signature is blank
  if (trim($signature) == '') {
    return '';
  }
  return '<div class="signature">' . $signature . '</div>';
}