diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-10-03 00:19:18 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-10-03 00:19:18 -0400 |
commit | 2099cce12c2ffb53023c3c644b329b235e442ae0 (patch) | |
tree | ec14544068e21b59c7bfd34e389344e3eaede296 /lib/sisu/v4/xml_format.rb | |
parent | v4: defaults, some cleaning (diff) |
v4: skins, remove
* remove skins
* defaults, rename class Defaults (was InfoSkin)
* sisupod, remove skin
* db
* no skin info to store, omitted from structure
* change prefix name (structure changed)
Diffstat (limited to 'lib/sisu/v4/xml_format.rb')
-rw-r--r-- | lib/sisu/v4/xml_format.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v4/xml_format.rb b/lib/sisu/v4/xml_format.rb index 50e90772..445fd45a 100644 --- a/lib/sisu/v4/xml_format.rb +++ b/lib/sisu/v4/xml_format.rb @@ -192,7 +192,7 @@ module SiSU_XML_Format @copyright=%{<meta name="copyright" content="#{@md.rights.copyright.all}" />\n} if @md.rights.copyright.all # possibly redundant see dc.rights @owner=%{<meta name="owner" content="#{@md.owner}" />\n} if @md.owner @keywords=%{<meta name="keywords" content="#{@md.keywords}" />\n} if @md.keywords - @vz=SiSU_Env::GetInit.new.skin #margin,paragraph,table,banner,url,png,txt,color,font,nav_txt,nav_png,credits,js,php + @vz=SiSU_Viz::Defaults.new #margin,paragraph,table,banner,url,png,txt,color,font,nav_txt,nav_png,credits,js,php @index='index' end def table_close @@ -279,7 +279,7 @@ WOK @lnk_url=@lnk_url.gsub(rgx,'') if @lnk_url =~rgx rgx=/~\{\d+\s+(.+?)\}~/ @lnk_url=@lnk_url.gsub(rgx,'\1') if @lnk_url =~rgx - @vz=SiSU_Env::GetInit.new.skin + @vz=SiSU_Viz::Defaults.new end def scr_endnote_body "<endnote>#{@txt}</endnote> " @@ -357,7 +357,7 @@ WOK @md=md @rdf=SiSU_XML_Tags::RDF.new(md) # DublinCore 1 - title - @vz=SiSU_Env::GetInit.new.skin + @vz=SiSU_Viz::Defaults.new @stylesheet=SiSU_Style::CSS_HeadInfo.new(md).stylesheet @seg_name_html=(SiSU_HTML::Source::Seg.new.seg_name_html || []) @seg_name_html_tracker=(SiSU_HTML::Source::Seg.new.seg_name_html_tracker || []) @@ -973,7 +973,7 @@ WOK end end class FormatTextObject - @vz=SiSU_Env::GetInit.new.skin + @vz=SiSU_Viz::Defaults.new attr_accessor :md,:dob,:txt,:ocn,:format,:table,:link,:linkname,:paranum,:p_num,:headname,:banner,:url def initialize(md,t_o) @md,@t_o=md,t_o @@ -1019,7 +1019,7 @@ WOK end end @dob=t_o if defined? t_o.is - @vz=SiSU_Env::GetInit.new.skin + @vz=SiSU_Viz::Defaults.new end def endnote_body %{ @@ -1196,7 +1196,7 @@ WOK class FormatScroll < FormatTextObject def initialize(md,txt) super(md,txt) - @vz=SiSU_Env::GetInit.new.skin + @vz=SiSU_Viz::Defaults.new end end class FormatSeg < FormatTextObject |