function theme_terms_of_use in Terms of Use 7
Same name and namespace in other branches
- 6 terms_of_use.module \theme_terms_of_use()
Output the terms of service.
The terms of service, already formatted. The $node object, in case we need it.
1 theme call to theme_terms_of_use()
- terms_of_use_form_user_register_form_alter in ./
terms_of_use.module - Implements hook_form_form_id_alter().
File
- ./
terms_of_use.module, line 129 - Main module file of the terms of use module.
Code
function theme_terms_of_use($variables) {
$terms = field_view_value('node', $variables['node'], 'body', $variables['body']);
$output = '<div id="terms-of-use" class="content clear-block">';
$output .= $terms['#markup'];
$output .= '</div>';
return $output;
}