From 4e4ce5d362db3e88d41d371645bf998cdead1fbf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 4 Jul 2009 08:46:20 -0400 Subject: html various minor: use suffix provided in constants; module SiSU_HTML_Tune; html promo html promo, possibility of use of adsense, or other --- lib/sisu/v0/html_format.rb | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'lib/sisu/v0/html_format.rb') diff --git a/lib/sisu/v0/html_format.rb b/lib/sisu/v0/html_format.rb index 7f2fab67..eb29f9f9 100644 --- a/lib/sisu/v0/html_format.rb +++ b/lib/sisu/v0/html_format.rb @@ -97,10 +97,9 @@ module SiSU_HTML_Format end class Head_information include SiSU_Viz - attr_reader :md,:sfx,:pdf,:rdf,:vz + attr_reader :md,:pdf,:rdf,:vz def initialize(md) @md=md - @sfx,@pdf=@md.sfx,@md.pdf @rdf=SiSU_XML_tags::RDF.new(md) # DublinCore 1 - title @vz=SiSU_Env::Get_init.instance.skin @@ -276,7 +275,7 @@ WOK if type=~/pdf/ @tocband_segtoc=make_scroll_seg_pdf end - firstseg=%{ + firstseg=%{ #{@vz.png_nav_nxt} } if @md.firstseg =~/\S+/ %{ @@ -295,7 +294,7 @@ WOK if type=~/pdf/ @tocband_segtoc=make_scroll_seg_pdf end - firstseg=%{ + firstseg=%{ #{@vz.png_nav_nxt} } if @md.firstseg =~/\S+/ %{
@@ -638,17 +637,17 @@ WOK def dot_control_pre_next %{
- + #{@vz.png_nav_dot_pre} - + #{@vz.png_nav_dot_toc} - + #{@vz.png_nav_dot_nxt} #{@vz.table_close}} @@ -656,12 +655,12 @@ WOK def dot_control_pre %{ @@ -674,17 +673,17 @@ WOK def toc_nav(f_pre=false,f_nxt=false,use=1) pre=nxt='' toc=%{} pre=%{} if f_pre==true nxt=%{} if f_nxt==true @@ -793,7 +792,7 @@ WOK %{
- + #{@vz.png_nav_dot_pre} - + #{@vz.png_nav_dot_toc} - + #{@vz.png_nav_toc} - + #{@vz.png_nav_pre} - + #{@vz.png_nav_nxt}
- + #{@md.ad_alt}

@@ -805,7 +804,7 @@ WOK %{

- + #{@md.ad_alt}

@@ -817,7 +816,7 @@ WOK %{

- + #{@md.ad_alt}

@@ -1260,7 +1259,7 @@ WOK fn='doc' if fn.empty? #you may wish to reconsider, sends to 'doc' where no segment info %{

- #{@endnote_part_a}#{@md.fnl[:pre]}#{fn}#{@md.fnl[:mid]}#{@md.sfx}#{@md.fnl[:post]}#{@endnote_part_b} + #{@endnote_part_a}#{@md.fnl[:pre]}#{fn}#{@md.fnl[:mid]}#{Sfx[:html]}#{@md.fnl[:post]}#{@endnote_part_b}

} end -- cgit v1.2.3