amazon-detail.tpl.php in Amazon Product Advertisement API 7
Same filename and directory in other branches
1 theme call to amazon-detail.tpl.php
- _amazon_filter_process_text in amazon_filter/
amazon_filter.module - Actual filter processing function - changes [amazon <whatever>] in text.
File
templates/amazon-detail.tpl.phpView source
<?php
/**
* @file
* Outputs a single piece of data as provided in $$detail.
*
* This is used primarily for amazon_filter, where any arbitrary piece of data
* from the $item can be accessed.
*/
if (!empty($detail) && !empty(${$detail})) {
print ${$detail};
}
else {
print t('%detail not found for %asin', array(
'%detail' => $detail,
'%asin' => $asin,
));
}