aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--data/doc/sisu/CHANGELOG_v51
-rw-r--r--lib/sisu/v5/cgi_sql_common.rb8
-rw-r--r--lib/sisu/v5/defaults.rb34
-rw-r--r--lib/sisu/v5/html_concordance.rb2
-rw-r--r--lib/sisu/v5/html_lite_shared.rb2
-rw-r--r--lib/sisu/v5/html_manifest.rb12
-rw-r--r--lib/sisu/v5/html_tune.rb2
-rw-r--r--lib/sisu/v5/xhtml_epub2.rb2
8 files changed, 32 insertions, 31 deletions
diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5
index 52d6c7ea..d978b5b6 100644
--- a/data/doc/sisu/CHANGELOG_v5
+++ b/data/doc/sisu/CHANGELOG_v5
@@ -40,6 +40,7 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_5.7.0.orig.tar.xz
* html, reduce difference with v6
* removal of some trailing slashes <p> <br>
+ * mostly removal of bgcolor
* moved files: harvest* to html_harvest*
diff --git a/lib/sisu/v5/cgi_sql_common.rb b/lib/sisu/v5/cgi_sql_common.rb
index a16ca0db..d6f99342 100644
--- a/lib/sisu/v5/cgi_sql_common.rb
+++ b/lib/sisu/v5/cgi_sql_common.rb
@@ -156,11 +156,11 @@ module SiSU_CGI_SQL
<link rel="shortcut icon" href="#{@image_src}/rb7.ico" />
<link href="../_sisu/css/html.css" rel="stylesheet">
</head>
- <body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">
+ <body lang="en" xml:lang="en">
<table summary="band" border="0" cellpadding="3" cellspacing="0">
<tr><td width="20%">
<table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">
- <tr><td align="left" bgcolor="#ffffff">
+ <tr><td align="left">
<br /><a href="http://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
@@ -543,11 +543,11 @@ module SiSU_CGI_SQL
def tail
<<-'WOK'
<br /><hr /><br />
-<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="2" border="0">
+<table summary="SiSU summary" cellpadding="2" border="0">
<!-- widget sisu -->
<tr><td valign="top" width="10%">
<table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">
- <tr><td align="left" bgcolor="#ffffff">
+ <tr><td align="left">
<br /><a href="http://sisudoc.org/" target="_top">
<b>SiSU</b>
</a>
diff --git a/lib/sisu/v5/defaults.rb b/lib/sisu/v5/defaults.rb
index 0ea154b2..da8b13a2 100644
--- a/lib/sisu/v5/defaults.rb
+++ b/lib/sisu/v5/defaults.rb
@@ -268,7 +268,7 @@ module SiSU_Viz
end
#% path
def path_stylesheet_home
- %{ <link rel="stylesheet" href="./#{@dir.path.style}/homepage.css" type="text/css" />}
+ %{ <link href="./#{@dir.path.style}/homepage.css" rel="stylesheet">}
end
#% text #changed from txt to avoid naming conflicts #FOLLOW
def txt_generator
@@ -372,7 +372,7 @@ module SiSU_Viz
end
#% color
def color_body
- %{<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">}
+ %{<body lang="en" xml:lang="en">}
end
def color_white
'"#ffffff"'
@@ -450,7 +450,7 @@ module SiSU_Viz
%{"#{color_white}"}
end
def color_body
- %{<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">}
+ %{<body lang="en" xml:lang="en">}
end
def color_font_face #was font WATCH
"#{color_black}"
@@ -663,38 +663,38 @@ module SiSU_Viz
<td width="2%" align="right" valign="top"> '
end
def margin_txt_w1
- %{<table summary="" width=#{table_width_txt_r} border="0" bgcolor="white" cellpadding="2" align="center">
+ %{<table summary="" width=#{table_width_txt_r} border="0" cellpadding="2" align="center">
<tr><td width="6%" align="right">&nbsp;</td>
<td width="90%" valign="top" align="justify">}
end
def margin_txt_w2
- %{<table summary="" width=#{table_width_txt_r} border="0" bgcolor="white" cellpadding="2" align="center">
+ %{<table summary="" width=#{table_width_txt_r} border="0" cellpadding="2" align="center">
<tr><td width="10%" align="right">&nbsp;</td>
<td width="86%" valign="top" align="justify">}
end
def margin_txt_0
- %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center">