You are here

function theme_card_add_list in Commerce Card on File 7.2

Displays the add card list.

1 theme call to theme_card_add_list()
commerce_cardonfile_add_page in includes/commerce_cardonfile.pages.inc
Menu callback: displays the add card page.

File

includes/commerce_cardonfile.pages.inc, line 51
User page callbacks and forms for Commerce Card on File.

Code

function theme_card_add_list($variables) {
  $output = '<dl class="commerce-cardonfile-add-card-list">';
  foreach ($variables['content'] as $item) {
    $output .= '<dt>' . l($item['title'], $item['href'], $item['localized_options']) . '</dt>';
  }
  $output .= '</dl>';
  return $output;
}