theme_user_signature
function theme_user_signature
theme_user_signature($variables)
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 3558
- 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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user.module/function/theme_user_signature/7.x