You are here

function theme_amazon_inline_item__software in Amazon Product Advertisement API 7.2

Same name and namespace in other branches
  1. 7 amazon_media/amazon_media.module \theme_amazon_inline_item__software()

File

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

Code

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