You are here

function theme_password_confirm in Drupal 4

Same name and namespace in other branches
  1. 5 includes/form.inc \theme_password_confirm()
  2. 6 includes/form.inc \theme_password_confirm()

Format a password_confirm item.

Parameters

$element: An associative array containing the properties of the element. Properties used: title, value, id, required, error.

Return value

A themed HTML string representing the form item.

Related topics

File

includes/form.inc, line 762

Code

function theme_password_confirm($element) {
  return theme('form_element', $element['#title'], '<div class="container-inline">' . $element['#children'] . '</div>', $element['#description'], $element['#id'], $element['#required'], form_get_error($element));
}