You are here

function theme_legal_page in Legal 6.8

Same name and namespace in other branches
  1. 5 legal.module \theme_legal_page()
  2. 6.7 legal.module \theme_legal_page()
  3. 7.2 legal.module \theme_legal_page()
  4. 7 legal.module \theme_legal_page()

File

./legal.module, line 203
Displays Terms & Conditions, and makes sure they are accepted before registration is accepted.

Code

function theme_legal_page($form) {
  if (!empty($form['current_id']['#value'])) {
    $form = theme('legal_display', $form);
    return drupal_render($form);
  }
}