diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-10-01 15:45:00 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-10-01 15:45:00 -0400 |
commit | 5e1bcfbb6cdde447298d10115d1d2f9de0bb99a2 (patch) | |
tree | f38849190b9d1deb5e3a09e52e5a79fbc657a477 /lib/sisu/v3/defaults.rb | |
parent | v3: cosmetic code, .is_a?(X) replaces .class==X (& some defined? & nil? tests) (diff) |
v3: cosmetic code, remove javascript holders js_ (not used)
Diffstat (limited to 'lib/sisu/v3/defaults.rb')
-rw-r--r-- | lib/sisu/v3/defaults.rb | 105 |
1 files changed, 18 insertions, 87 deletions
diff --git a/lib/sisu/v3/defaults.rb b/lib/sisu/v3/defaults.rb index 47e3c970..6a082813 100644 --- a/lib/sisu/v3/defaults.rb +++ b/lib/sisu/v3/defaults.rb @@ -80,75 +80,6 @@ module SiSU_Viz #% php def php_persist end - #% javascript #kxjs knxjs - def js_home - end - def js_infobox - end - def js_knxjs - end - def js_head - end - def js_top - end - def js_sisu - end - def js_home - end - def js_sponsor - end - def js_books - end - def js_journals - end - def js_conferences - end - def js_services - end - def js_catalogue - end - def js_doc - end - def js_toc - end - def js_seg - end - def js_mail - end - def js_manifest - end - def js_status - end - def js_next - end - def js_prev - end - def js_plaintext - end - def js_portrait - end - def js_landscape - end - def js_pdf - end - def js_epub - end - def js_odf - end - def js_concordance - end - def js_instruments - end - def js_external - end - def js_gopher - end - def js_ftp - end - def js_law - end - def js_disclaimer - end def semantic_tags def default { @@ -1187,7 +1118,7 @@ module SiSU_Viz #% banner def banner_home %{ <center> - <a href="#{url_site}/" target="_top" #{js_home}> + <a href="#{url_site}/" target="_top"> #{png_site} </a> <br /> @@ -1202,23 +1133,23 @@ module SiSU_Viz end def banner_home_guide %{ <br /> - <a href="#{url_site}/" target="_top" #{js_home}> + <a href="#{url_site}/" target="_top"> #{png_doc} LM toc </a> - <a href="../treaties.and.organisations/lm.chronological" target="_top" #{js_instruments}> + <a href="../treaties.and.organisations/lm.chronological" target="_top"> #{png_doc} LM 20** </a> <br />} end def banner_home_button_only - %{<a href="#{url_site}/" #{js_home}> + %{<a href="#{url_site}/"> #{png_home_button} </a>} end def banner_home_button #yellow_dark now white %{<table summary="home button" width="100%" border="0" cellpadding="3" bgcolor= "#ffffff" align="center"> <tr><td align="left" valign="middle" bgcolor="#{color_white}" width="10%"> - <a href="#{url_site}/" #{js_home}> + <a href="#{url_site}/"> #{png_home_button} </a> </td> @@ -1230,7 +1161,7 @@ module SiSU_Viz <tr><td width="20%"> <table summary="home button" width="100%" border="0" cellpadding="3" align="center"> <tr><td align="center" valign="middle" bgcolor="#{color_white}"> - <a href="#{url_site}/" target="_top" #{js_home}> + <a href="#{url_site}/" target="_top"> #{png_home} </a> </td></tr> @@ -1240,7 +1171,7 @@ module SiSU_Viz <table summary="other contents buttons" border="0" cellpadding="3" cellspacing="0"> <tr><td align="center" bgcolor=#{color_band2}> <font face="arial" size="2"> - <a href="toc" target="_top" #{js_toc}> + <a href="toc" target="_top"> This text's sub- <br /> Table of Contents @@ -1254,12 +1185,12 @@ module SiSU_Viz #{table_close}} end def banner_url_txt_sisu - %{<a href="#{url_sisu}/sisu" target="_top" #{js_home}>SiSU</a>} + %{<a href="#{url_sisu}/sisu" target="_top">SiSU</a>} end def banner_band #yellow_dark now white %{<table summary="home button" width="100%" border="0" cellpadding="3" bgcolor= "#ffffff" align="center"> <tr><td align="left" valign="middle" bgcolor="#{color_white}"> - <a href="#{url_site}/" target="_top" #{js_home}> + <a href="#{url_site}/" target="_top"> #{png_home} </a> </td> @@ -1541,7 +1472,7 @@ WOK <<WOK <p class="tiny"><font color="#666666" size="2"> Output generated by - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> #{@v[:project]} </a> #{@v[:version]} #{@v[:date]} (#{@v[:date_stamp]}) @@ -1562,7 +1493,7 @@ WOK <!-- widget sisu --> <tr><td valign="top" width="10%"> <p class="tiny_left"><font color="#666666" size="2"> - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> <img border="0" src="../_sisu/image/sisu.png" alt="SiSU" width="120" height="39" /> </a> </font></p> @@ -1570,33 +1501,33 @@ WOK <!-- SiSU Rights --> <p class="tiny_left"><font color="#666666" size="2"> Output generated by - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> #{@v[:project]} </a> #{@v[:version]} #{@v[:date]} (#{@v[:date_stamp]}) <br /> - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> <b>#{@v[:project]}</b> </a> Copyright <sup>©</sup> Ralph Amissah 1997, current #{@date.year_static}. All Rights Reserved. <br /> - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> #{@v[:project]} </a> is software for document structuring, publishing and search, <br /> - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> www.sisudoc.org/ </a> and - <a href="#{url_sisudoc}" #{js_sisu}> + <a href="#{url_sisudoc}"> www.sisudoc.org </a> <br /> <i>w3 since October 3 1993</i> - <a href="mailto:ralph@amissah.com" #{js_mail}> + <a href="mailto:ralph@amissah.com"> ralph@amissah.com </a> </font></p> @@ -1624,7 +1555,7 @@ WOK </font></p> </td><td valign="top" width="45%"> <p class="tiny_left"><font color="#666666" size="2"> - <a href="#{url_sisu}" #{js_sisu}> + <a href="#{url_sisu}"> #{@v[:project]} </a> is released under |