aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/defaults.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-06-25 00:07:44 -0400
committerRalph Amissah <ralph@amissah.com>2013-06-25 00:07:44 -0400
commitc25fc2751886278a4e7f30f127e80449160a47f1 (patch)
treed19cab06d629a995848a296409693b5890d59f60 /lib/sisu/v4/defaults.rb
parentv5: "general code cleaning" fix (diff)
v4: general code cleaning, sync with v5sisu_4.1.6
Diffstat (limited to 'lib/sisu/v4/defaults.rb')
-rw-r--r--lib/sisu/v4/defaults.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/sisu/v4/defaults.rb b/lib/sisu/v4/defaults.rb
index 498512db..69af0fa5 100644
--- a/lib/sisu/v4/defaults.rb
+++ b/lib/sisu/v4/defaults.rb
@@ -937,18 +937,17 @@ WOK
widget_sisu_text
end
def credits_sisu
- x=%{<div class="substance">
+ %{<div class="substance">
<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0">
<tr><td>
#{widget_sisu}
- #{widget_way_better}
</table></div>}
''
end
def credits_splash
end
def credits_sisu_epub
- x=%{<div class="substance">
+ %{<div class="substance">
<p class="center"><a href="http://www.openebook.org"><b>EPUB</b></a> generated by <a href="http://www.sisudoc.org"><b>#{@v[:project]}</b></a> v#{@v[:version]}, GPL3</p>
</div>}
''
@@ -1198,7 +1197,7 @@ WOK
self
end
def dimensions
- d=case @papersize
+ case @papersize
when /a4/; a4
when /letter/; letter
when /legal/; legal