You are here

function theme_site_disclaimer in Site Disclaimer 6

Theme the Site Disclaimer section.

Parameters

$terms: The Site Disclaimer, already formatted.

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

Return value

HTML output.

1 theme call to theme_site_disclaimer()
site_disclaimer_form_user_register_alter in ./site_disclaimer.module
Implementation of hook_form_form_id_alter().

File

./site_disclaimer.module, line 376
This module adds Site Disclaimer to the registration page.

Code

function theme_site_disclaimer($terms, $node = NULL) {

  // id to match our css (#site-disclaimer) for setting Site Disclaimer form height
  $output = '<div id="site-disclaimer" class="content clear-block">';
  $output .= $terms;
  $output .= '</div>';
  return $output;
}