function theme_asset_wizard_browse in Asset 6
Same name and namespace in other branches
- 5.2 asset_wizard.module \theme_asset_wizard_browse()
Wizard Step 1: Display the icon list for browsing
1 theme call to theme_asset_wizard_browse()
- asset_wizard_browse in ./
asset_wizard.module - Step 1: Display a browsable list of assets
File
- ./
asset_wizard.module, line 599 - Wizard-style interface for Asset.
Code
function theme_asset_wizard_browse($items = array()) {
$size = 64;
$links = array();
foreach ($items as $asset) {
$icon = theme('asset_icon', $asset, $size);
$links[] = tbl($icon, 'asset/wizard/' . $asset->aid, array(), NULL, NULL, FALSE, TRUE);
}
$output .= '<ul class="asset-wizard-browse clear-block">';
foreach ($links as $link) {
$output .= '<li>' . $link . '</li>';
}
$output .= '</ul>';
return $output;
}