function theme_legal_page in Legal 6.8
Same name and namespace in other branches
- 5 legal.module \theme_legal_page()
- 6.7 legal.module \theme_legal_page()
- 7.2 legal.module \theme_legal_page()
- 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);
}
}