You are here

amazon-item--inline.tpl.php in Amazon Product Advertisement API 7.2

Same filename and directory in other branches
  1. 7 templates/amazon-item--inline.tpl.php

Theme the 'amazon_inline_item' type. Available variables:

  • $item: The cleaned amazon_item with all data.

File

templates/amazon-item--inline.tpl.php
View source
<?php

/**
 * @file
 * Theme the 'amazon_inline_item' type.
 * Available variables:
 * - $item: The cleaned amazon_item with all data.
 */
?>
<span class="<?php

print _amazon_item_classes($item);
?> amazon-item-inline">
  <?php

print l($item['title'], $item['detailpageurl'], array(
  'html' => TRUE,
  'attributes' => array(
    'rel' => 'nofollow',
  ),
));
?>
</span>