You are here

function theme_asset_wizard_preview in Asset 6

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

Wizard Step 3: Display a preview

1 theme call to theme_asset_wizard_preview()
asset_wizard_preview in ./asset_wizard.module
Step 4: Display a preview of the formatted asset

File

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

Code

function theme_asset_wizard_preview($asset, $preview, $value) {
  $button = '<button value="' . $value . '" onclick="Drupal.assetWizard.insert(\'' . $value . '\');">Finish</button>';
  $output .= '<div class="asset-wizard-preview">' . $preview . '</div>';
  $output .= theme('asset_wizard_form_buttons', $button);
  return $output;
}