*** amazon.module.orig Tue Sep 5 12:22:23 2006 --- amazon.module Wed Sep 6 11:15:00 2006 *************** *** 530,535 **** --- 530,537 ---- 'callback' => 'amazon_search_page'); } else { + theme('add_style', drupal_get_path('module', 'amazon') . '/amazon.css'); + $items[] = array('path' => 'node/add/amazon_node', 'title' => t('amazon node'), 'access' => user_access('create amazon_node')); } *************** *** 1235,1241 **** $blockcontent .= ''; $blockcontent .= "detailpageurl\" target=\"_blank\">"; $blockcontent .= $selected_book->title; ! $blockcontent .= ''; $blockcontent .= ""; $blockcontent .= t('Read the review'); $blockcontent .= ''; --- 1237,1243 ---- $blockcontent .= ''; $blockcontent .= "detailpageurl\" target=\"_blank\">"; $blockcontent .= $selected_book->title; ! $blockcontent .= '
'; $blockcontent .= ""; $blockcontent .= t('Read the review'); $blockcontent .= ''; *************** *** 1251,1257 **** } if ($selected_book->rating) { $module_dir = dirname(drupal_get_filename('module', 'amazon')); ! $output .= "rating: rating.gif\" alt=\"$selected_book->rating\" />
"; } $blockcontent .= ''; return $blockcontent; --- 1253,1259 ---- } if ($selected_book->rating) { $module_dir = dirname(drupal_get_filename('module', 'amazon')); ! $output .= "rating: rating\">$selected_book->rating
"; } $blockcontent .= ''; return $blockcontent; *************** *** 1260,1266 **** function theme_amazon_node($node) { $module_dir = dirname(drupal_get_filename('module', 'amazon')); $output = ''; ! $output .= ''; $output .= ''; $output .= "
detailpageurl\" target=\"_blank\">"; if ($node->mediumimageurl) { --- 1262,1268 ---- function theme_amazon_node($node) { $module_dir = dirname(drupal_get_filename('module', 'amazon')); $output = ''; ! $output .= ''; $output .= ''; $output .= "
detailpageurl\" target=\"_blank\">"; if ($node->mediumimageurl) { *************** *** 1284,1290 **** } if ($node->rating) { ! $output .= "rating: rating.gif\" alt=\"\" />
"; } if ($node->asin) { --- 1286,1292 ---- } if ($node->rating) { ! $output .= "rating: rating\">$node->rating
"; } if ($node->asin) {