aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/defaults.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2009-07-02 11:05:08 -0400
committerRalph Amissah <ralph@amissah.com>2009-07-02 11:05:08 -0400
commit627afc994042ab69618c0e981d2a470e9d48d708 (patch)
tree3ee86ae8c52efc6f2dc782636ec3e62a1c62a5f3 /lib/sisu/v0/defaults.rb
parentsha256 for 0.70.6 (diff)
copyright date update and removed some white space
Diffstat (limited to 'lib/sisu/v0/defaults.rb')
-rw-r--r--lib/sisu/v0/defaults.rb23
1 files changed, 10 insertions, 13 deletions
diff --git a/lib/sisu/v0/defaults.rb b/lib/sisu/v0/defaults.rb
index 61eb74b1..2f82c31e 100644
--- a/lib/sisu/v0/defaults.rb
+++ b/lib/sisu/v0/defaults.rb
@@ -70,6 +70,7 @@ module SiSU_Viz
@fonts='verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman' # 'verdana, arial, georgia, tahoma, sans-serif, helvetica, "times new roman", times, roman'
@dir=SiSU_Env::Info_env.new
@date=SiSU_Env::Info_date.new #{@date.year}
+ @v=SiSU_Env::Info_version.new.get_version
end
#% glyph
def glyph_bullet # &bullet;
@@ -342,13 +343,11 @@ module SiSU_Viz
end
#% text #changed from txt to avoid naming conflicts #FOLLOW
def txt_generator
- v=SiSU_Env::Info_version.new.get_version
- %{ <meta name="generator" content="#{v[:project]} #{v[:version]} of #{v[:date_stamp]} (#{v[:date]}) (n*x and Ruby!)" />
+ %{ <meta name="generator" content="#{@v[:project]} #{@v[:version]} of #{@v[:date_stamp]} (#{@v[:date]}) (n*x and Ruby!)" />
<link rel="generator" href="http://www.jus.uio.no/sisu" />}
end
def txt_generator_comment
- v=SiSU_Env::Info_version.new.get_version
- %{ <!- #{v[:project]} #{v[:version]} of #{v[:date_stamp]} (#{v[:date]}) (n*x and Ruby!)" http://www.jus.uio.no/sisu ->}
+ %{ <!- #{@v[:project]} #{@v[:version]} of #{@v[:date_stamp]} (#{@v[:date]}) (n*x and Ruby!)" http://www.jus.uio.no/sisu ->}
end
def txt_hp
'&nbsp;SiSU'
@@ -1500,7 +1499,6 @@ WOK
WOK
end
def widget_sisu
- v=SiSU_Env::Info_version.new.get_version
<<WOK
<!-- widget sisu -->
<tr><td valign="top" width="10%">
@@ -1514,19 +1512,19 @@ WOK
<p class="tiny_left"><font color="#666666" size="2">
Output generated by
<a href="#{url_sisu}" #{js_sisu}>
- #{v[:project]}
+ #{@v[:project]}
</a>
- #{v[:version]} #{v[:date]} (#{v[:date_stamp]})
+ #{@v[:version]} #{@v[:date]} (#{@v[:date_stamp]})
<br />
<a href="#{url_sisu}" #{js_sisu}>
- <b>#{v[:project]}</b>
+ <b>#{@v[:project]}</b>
</a>
Copyright <sup>&copy;</sup> Ralph Amissah
1997, current #{@date.year_static}.
All Rights Reserved.
<br />
<a href="#{url_sisu}" #{js_sisu}>
- #{v[:project]}
+ #{@v[:project]}
</a>
is software for document structuring, publishing and search,
<br />
@@ -1545,7 +1543,7 @@ WOK
</font></p>
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
- #{v[:project]} using:
+ #{@v[:project]} using:
<br />Standard SiSU markup syntax,
<br />Standard SiSU meta-markup syntax, and the
<br />Standard SiSU <u>object citation numbering</u> and system, (object/text positioning system)
@@ -1557,7 +1555,6 @@ WOK
WOK
end
def widget_way_better
- v=SiSU_Env::Info_version.new.get_version
<<WOK
<!-- widget way better -->
<tr><td valign="top" width="10%">
@@ -1569,7 +1566,7 @@ WOK
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
<a href="#{url_sisu}" #{js_sisu}>
- #{v[:project]}
+ #{@v[:project]}
</a>
is released under
<a href="http://www.gnu.org/licenses/gpl.html">GPLv3</a>
@@ -1578,7 +1575,7 @@ WOK
</font></p>
</td><td valign="top" width="45%">
<p class="tiny_left"><font color="#666666" size="2">
- #{v[:project]}, developed using
+ #{@v[:project]}, developed using
<a href="http://www.ruby-lang.org/en/">
Ruby
</a>