diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-12-08 01:45:13 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-12-08 01:45:13 +0000 |
commit | 084d10a94dd5a62b09de69ad95971f579097f07e (patch) | |
tree | 11760cb2633997d93f14110e353aef1d64da02fd /lib/sisu/v0/html_promo.rb | |
parent | gpl links updated and added link to plaintext as allows for convenient use of... (diff) |
changelog and version updated
Diffstat (limited to 'lib/sisu/v0/html_promo.rb')
-rw-r--r-- | lib/sisu/v0/html_promo.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v0/html_promo.rb b/lib/sisu/v0/html_promo.rb index 75a8e46b..43040c25 100644 --- a/lib/sisu/v0/html_promo.rb +++ b/lib/sisu/v0/html_promo.rb @@ -101,7 +101,7 @@ module SiSU_HTML_promo end ads_array end - adverts(ads) + adverts(ads.join) #else no_adverts end end @@ -192,7 +192,7 @@ module SiSU_HTML_promo links_a << %{<p class="pane_link"><a href="#{url_}">#{x['title']}#{subtitle}</a></p>\n} end end - links_a.to_s + links_a.join else '' end end @@ -382,7 +382,7 @@ WOK @ad[:promo_list][category].keys.each do |type| @ad[:promo_list][category][type].each do |i| if i - id=i.to_s =~/^\d/ ? "id_#{i.to_s.strip}" : i.to_s.strip + id=i.inspect =~/^\d/ ? "id_#{i.to_s.strip}" : i.to_s.strip #watch remove .to_s ? gbp=usd=euro=nil if defined? @ad[:promo][type][id] \ and not @ad[:promo][type][id].nil? @@ -395,7 +395,7 @@ WOK tell=SiSU_Screen::Ansi.new(@md.cmd,"category not found: #{category}") tell.warn unless @md.cmd =~/q/ end - adverts.to_s + adverts.join end def advert_extract_all #extracts all products from list (which is broken down into categories) adverts=[] |