Full ELMS Learning Network documentation
function theme_user_signature
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).cis7 user.module | theme_user_signature($variables) |
cle7 user.module | theme_user_signature($variables) |
elmsmedia7 user.module | theme_user_signature($variables) |
icor7 user.module | theme_user_signature($variables) |
meedjum_blog7 user.module | theme_user_signature($variables) |
mooc7 user.module | theme_user_signature($variables) |
Returns HTML for a user signature.
Parameters
$variables: An associative array containing:
- signature: The user's signature.
Related topics
3 string references to the theme hook from theme_user_signature()
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- ctools_user_signature_content_type_render in sites/
all/ modules/ ulmus/ ctools/ plugins/ content_types/ user_context/ user_signature.inc - ds_ds_fields_info in sites/
all/ modules/ ulmus/ ds/ ds.ds_fields_info.inc - Implements hook_ds_fields_info().
- user_theme in modules/
user/ user.module - Implements hook_theme().
File
- modules/
user/ user.module, line 3497 - 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;
}