Advertisement
Guest User

Interchange components/results_grid noimage patch

a guest
Mar 25th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.41 KB | None | 0 0
  1. --- results_grid        2012-03-25 15:43:56.000000000 -0500
  2. +++ results_grid.orig   2012-03-25 15:44:15.000000000 -0500
  3. @@ -133,24 +133,13 @@
  4.                                         title => "[L]Click for more information.[/L]",
  5.                                         alt => $record->{description},
  6.                                 });
  7. -       if ( $record->{thumb} =~ //)  {
  8. -                       $record->{thumb} = $Tag->image({
  9. +       $record->{thumb} = $Tag->image({
  10.                                         imagesubdir => "thumb",
  11.                                         src => $record->{thumb},
  12.                                         extra => "border=0",
  13.                                         title => "[L]Click for more information.[/L]",
  14.                                         alt => $record->{description},
  15.                                 });
  16. -       } else {
  17. -                       $record->{thumb} = $Tag->image({
  18. -                                       imagesubdir => "no_image/thumb",
  19. -                                       src => "no_image.gif",
  20. -                                       extra => "border=0",
  21. -                                       title => "[L]Click for more information.[/L]",
  22. -                                       alt => $record->{description},
  23. -                               });
  24. -       }
  25. -
  26.  
  27.         my $q = $Tag->data('inventory', 'quantity', $sku);
  28.         if ($q > 0) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement