You are here

function theme_asset_wizard_formats in Asset 6

Same name and namespace in other branches
  1. 5.2 asset_wizard.module \theme_asset_wizard_formats()

Wizard Step 2: Display the list of available formats

1 theme call to theme_asset_wizard_formats()
asset_wizard_formats in ./asset_wizard.module
Step 2: Display a list of available formats for a given asset

File

./asset_wizard.module, line 617
Wizard-style interface for Asset.

Code

function theme_asset_wizard_formats($asset, $formats) {
  $items = array();
  foreach ($formats as $format) {
    $items[] = tbl($format->name, 'asset/wizard/' . $asset->aid . '/' . $format->format) . '<br/>' . $format->description;
  }
  $output .= theme('item_list', $items);
  return $output;
}