diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-03 19:28:27 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-03 19:31:48 -0400 |
commit | 14b5f96494f79b75e3e77844561678c793d0caa6 (patch) | |
tree | 11fca7cbe115634564254e6b7926ad24cd98c6f8 /lib/sisu/v6/html_promo.rb | |
parent | v5 v6: --act provides info on current --act0 to --act9 settings (diff) |
v5 v6: html, tiny first nudge toward html5 (v5 v6 differ)
* document headers, other minor
Diffstat (limited to 'lib/sisu/v6/html_promo.rb')
-rw-r--r-- | lib/sisu/v6/html_promo.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sisu/v6/html_promo.rb b/lib/sisu/v6/html_promo.rb index a6f456ae..750add5c 100644 --- a/lib/sisu/v6/html_promo.rb +++ b/lib/sisu/v6/html_promo.rb @@ -145,7 +145,7 @@ module SiSU_HTML_Promo @prod['form'] ? %{<p class="pane">#{@prod['form']}</p>} : '' end def nick - @prod['nick'] ? %{(#{@prod['nick']})<br />} : '' + @prod['nick'] ? %{(#{@prod['nick']})<br>} : '' end def update @prod['update'] ? %{<p class="pane">Updated: #{@prod['update']}</p>} : '' @@ -186,7 +186,7 @@ module SiSU_HTML_Promo else nil end form=if action - '<br />' + @env.widget.search_form('hyperestraier',action,'',table) + '<br>' + @env.widget.search_form('hyperestraier',action,'',table) else '' end form @@ -208,7 +208,7 @@ module SiSU_HTML_Promo end end def image - @prod['image'] ? %{<img border="0" src="../_sisu/image/#{@prod['image']}" /><br />} : '' + @prod['image'] ? %{<img border="0" src="../_sisu/image/#{@prod['image']}" /><br>} : '' end def url_link @url_=if @prod['url'] =~/https?:/ @@ -296,7 +296,7 @@ module SiSU_HTML_Promo def output_form_sponsor(type,id) cell=cell(@ad[:promo][type][id],prod_id) <<-WOK -<br /> +<br> #{cell.site_link} #{cell.blurb} #{cell.links} @@ -306,7 +306,7 @@ module SiSU_HTML_Promo prod_id=id.gsub(/id_/,'') cell=cell(@ad[:promo][type][id],prod_id) <<WOK -<br /> +<br> #{cell.site_link} #{cell.author} #{cell.year} @@ -330,7 +330,7 @@ WOK prod_type=((id=~/id_(?:[0-9x]){10,13}/i) ? 'isbn' : 'id') id_detail=%{<p class="pane">#{prod_type}: #{prod_id}</p>} <<WOK -<br /> +<br> #{cell.site_link} #{cell.author} #{cell.year} @@ -346,7 +346,7 @@ WOK prod_id=id.gsub(/id_/,'') cell=cell(@ad[:promo][type][id],prod_id) <<WOK -<br /> +<br> #{cell.site_link} #{cell.editor} #{cell.issn} @@ -363,7 +363,7 @@ WOK cell=cell(@ad[:promo][type][id],prod_id) #translate date (dd month yyyy) from 2007-03-04 and ruby conversion <<WOK -<br /> +<br> #{cell.site_link} #{cell.date} #{cell.location} |