You are here

function theme_legal_page in Legal 7

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

File

./legal.module, line 236
Module file for Legal.

Code

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