theme_password_confirm

Definition

theme_password_confirm($element)
includes/form.inc, line 762

Description

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

Namesort iconDescription
Form generationFunctions to enable output of HTML forms and form elements.

Code

<?php
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));
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.