You are here

function theme_terms_of_use in Terms of Use 6

Same name and namespace in other branches
  1. 7 terms_of_use.module \theme_terms_of_use()

Output the terms of use.

Parameters

$terms: The terms of service, already formatted.

$node: The $node object, in case we need it.

Return value

HTML output.

1 theme call to theme_terms_of_use()
terms_of_use_form_user_register_alter in ./terms_of_use.module
Implementation of hook_form_form_id_alter().

File

./terms_of_use.module, line 243
Adds Terms of Use to the 'user_register' form.

Code

function theme_terms_of_use($terms, $node = NULL) {
  $output = '<div id="terms-of-use" class="content clear-block">';
  $output .= $terms;
  $output .= '</div>';
  return $output;
}