You are here

function theme_amazon_inline_item__dvd in Amazon Product Advertisement API 7

Same name and namespace in other branches
  1. 7.2 amazon_media/amazon_media.module \theme_amazon_inline_item__dvd()

Theme with inline item dvd.

Parameters

$item:

Return value

rendered output.

File

amazon_media/amazon_media.module, line 237
Provides additional behaviors and data type for amazon items which are DVDs, software, video games, music, etc.

Code

function theme_amazon_inline_item__dvd($item) {
  $type = $item['type'];
  $output = '';
  $output .= '<span class="' . _amazon_item_classes($type) . ' amazon-item-inline">';
  $output .= l($item['title'], $item['detailpageurl'], array(
    'attributes' => array(
      'rel' => 'nofollow',
    ),
  ));
  $output .= '</span>';
  return $output;
}