You are here

ajax_register.theme.inc in Ajax Login/Register 7.4

Theming functions for AJAX REGISTER module.

File

ajax_register.theme.inc
View source
<?php

/**
 * @file
 * Theming functions for AJAX REGISTER module.
 */

/**
 * Returns HTML for a wrapped Ajax Register form.
 */
function theme_ajax_register_wrapper($variables) {
  $form = $variables['form'];
  $html_id = $form['actions']['submit']['#ajax']['wrapper'];
  return '<div id="' . $html_id . '">' . $form['#children'] . '</div>';
}

Functions

Namesort descending Description
theme_ajax_register_wrapper Returns HTML for a wrapped Ajax Register form.