You are here

function theme_uc_addresses_address_delete_confirm in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \theme_uc_addresses_address_delete_confirm()
  2. 5 uc_addresses.module \theme_uc_addresses_address_delete_confirm()
  3. 6 uc_addresses.module \theme_uc_addresses_address_delete_confirm()
  4. 7 uc_addresses.pages.inc \theme_uc_addresses_address_delete_confirm()

Themes the address deletion confirmation form.

@todo Move to template?

Parameters

string $help: The help message to display.

string $form: The HTML version of the form that by default includes the 'Back' and 'Delete Address' buttons at the bottom of the confirmation page.

Return value

string The themed confirmation form.

1 theme call to theme_uc_addresses_address_delete_confirm()
uc_addresses_delete_address_confirm in ./uc_addresses.pages.inc
Displays a confirmation page before deleting an address.

File

./uc_addresses.pages.inc, line 516
Page callbacks for viewing, adding, editing, and deleting addresses.

Code

function theme_uc_addresses_address_delete_confirm($help, $form) {
  drupal_add_css(drupal_get_path('module', 'uc_addresses') . '/uc_addresses.css');
  $output = '<p>' . $help . '</p>';
  $output .= $form;
  return $output;
}