function theme_password

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 form.inc theme_password($variables)
cle7 form.inc theme_password($variables)
elmsmedia7 form.inc theme_password($variables)
icor7 form.inc theme_password($variables)
meedjum_blog7 form.inc theme_password($variables)
mooc7 form.inc theme_password($variables)

Returns HTML for a password form element.

Parameters

$variables: An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #title, #value, #description, #size, #maxlength, #required, #attributes.

Related topics

28 string references to the theme hook from theme_password()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

adaptivetheme_breadcrumb in sites/all/themes/ulmus/adaptivetheme/at_core/inc/theme.inc
Returns HTML for a breadcrumb trail.
adaptivetheme_preprocess_page in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for page.tpl.php
ajax_pre_render_element in includes/ajax.inc
Adds Ajax information about an element to communicate with JavaScript.
authorize_filetransfer_form_submit in includes/authorize.inc
Form submission handler for authorize_filetransfer_form().
backup_migrate_destination_db::_get_db_connection in sites/all/modules/ulmus/backup_migrate/includes/destinations.db.inc
Get the db connection for the specified db.

... See full list

File

includes/form.inc, line 3954
Functions for form and batch generation and processing.

Code

function theme_password($variables) {
  $element = $variables['element'];
  $element['#attributes']['type'] = 'password';
  element_set_attributes($element, array('id', 'name', 'size', 'maxlength'));
  _form_set_class($element, array('form-text'));

  return '<input' . drupal_attributes($element['#attributes']) . ' />';
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.