aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-08-25 14:29:11 -0400
committerRalph Amissah <ralph@amissah.com>2010-09-22 09:52:00 -0400
commita56e6cd257abcf0b9179c92873460edd06a8d1fb (patch)
tree86ec85c864c70870e56983b8d948102df61513b2 /lib
parentchangelog 2.6.3-3 (diff)
html_format, xml_format, reduce visibility of sisu in output
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/html_format.rb11
-rw-r--r--lib/sisu/v2/xml_format.rb12
2 files changed, 6 insertions, 17 deletions
diff --git a/lib/sisu/v2/html_format.rb b/lib/sisu/v2/html_format.rb
index 47472406..358fa293 100644
--- a/lib/sisu/v2/html_format.rb
+++ b/lib/sisu/v2/html_format.rb
@@ -466,15 +466,10 @@ WOK
def links_guide_close
insert=''
insert=if @md.sfx_src =~/s?/
- link='http://www.jus.uio.no/sisu' #get from defaults
- url='www.jus.uio.no/sisu'
+ link='http://sisudoc.org' #get from defaults
+ url='sisudoc.org'
name='SiSU electronic documents' #get from defaults
- #name='SiSU electronic documents/books' #get from defaults
- insert= %{ <li class="refbold">
- <a href="#{link}" alt="#{name}" target="_top">
- #{name}
- </a>
- </li>
+ insert= %{
<li class="ref">
<a href="#{link}" alt="#{name}" target="_top">
#{url}
diff --git a/lib/sisu/v2/xml_format.rb b/lib/sisu/v2/xml_format.rb
index 1558315c..c98c2111 100644
--- a/lib/sisu/v2/xml_format.rb
+++ b/lib/sisu/v2/xml_format.rb
@@ -712,15 +712,9 @@ WOK
def links_guide_close #(type='horizontal')
insert=''
insert=if @md.sfx_src =~/s?/
- link='http://www.jus.uio.no/sisu' #get from defaults
- url='www.jus.uio.no/sisu'
- name='SiSU electronic documents' #get from defaults
- #name='SiSU electronic documents/books' #get from defaults
- insert= %{ <li class="refbold">
- <a href="#{link}" target="_top">
- #{name}
- </a>
- </li>
+ link='http://sisudoc.org' #get from defaults
+ url='sisudoc.org'
+ insert= %{
<li class="ref">
<a href="#{link}" target="_top">
#{url}