You are here

function theme_asset_wizard_formats in Asset 5.2

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

Wizard Step 2: Display the list of available formats

Related topics

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 616
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;
}