From 2e02da046d3e56cdf4744f644af35ad07424f48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 3 Mar 2014 13:46:44 +0100 Subject: Update to upstream version 1.3.6 --- xslt/amazon2tellico.xsl | 43 ++++- xslt/crossref2tellico.xsl | 4 + xslt/delicious2tellico.xsl | 283 +++++++++++++++++++++++++++++++- xslt/gcstar2tellico.xsl | 47 ++++++ xslt/report-templates/Column_View.xsl | 5 +- xslt/report-templates/Group_Summary.xsl | 74 +++++---- xslt/report-templates/Group_View.xsl | 5 +- xslt/report-templates/Image_List.xsl | 12 +- xslt/report-templates/Tri-Column.xsl | 5 +- xslt/tellico-printing.xsl | 5 +- xslt/tellico2gcstar.xsl | 12 +- xslt/tellico2html.js | 10 +- xslt/tellico2html.xsl | 8 +- xslt/unixref2tellico.xsl | 9 +- 14 files changed, 458 insertions(+), 64 deletions(-) (limited to 'xslt') diff --git a/xslt/amazon2tellico.xsl b/xslt/amazon2tellico.xsl index 065886a..717911e 100644 --- a/xslt/amazon2tellico.xsl +++ b/xslt/amazon2tellico.xsl @@ -53,6 +53,9 @@ abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ + + + @@ -71,6 +74,9 @@ 11 + + 13 + @@ -81,9 +87,19 @@ - - - + + + + + + + + + + + + @@ -496,6 +512,27 @@ + + + + + + + + + + + + + + + . + + + + + + diff --git a/xslt/crossref2tellico.xsl b/xslt/crossref2tellico.xsl index 17cddd3..ab536a8 100644 --- a/xslt/crossref2tellico.xsl +++ b/xslt/crossref2tellico.xsl @@ -42,6 +42,10 @@ + + + + diff --git a/xslt/delicious2tellico.xsl b/xslt/delicious2tellico.xsl index e185d58..a272439 100644 --- a/xslt/delicious2tellico.xsl +++ b/xslt/delicious2tellico.xsl @@ -21,17 +21,41 @@ doctype-public="-//Robby Stephenson/DTD Tellico V10.0//EN" doctype-system="http://periapsis.org/tellico/dtd/v10/tellico.dtd"/> + + - + + + + + + + + + + + + + + Choosing all items of type + + + + 2 + 3 + 11 + 0 + + + + - - - + @@ -56,7 +80,7 @@ - + @@ -116,7 +140,7 @@ - + @@ -132,6 +156,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + NTSC + + + + PAL + + + + SECAM + + + + Color + + + + Black & White + + + + + 1.33:1 + + + + + + 1.85:1 + + + + + + Dolby + + + DTS + + + + + + Region 1 + + + Region 2 + + + Region 3 + + + Region 4 + + + Region 5 + + + Region 6 + + + Region 7 + + + Region 8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -161,4 +398,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xslt/gcstar2tellico.xsl b/xslt/gcstar2tellico.xsl index a45df87..7421a3d 100644 --- a/xslt/gcstar2tellico.xsl +++ b/xslt/gcstar2tellico.xsl @@ -79,6 +79,11 @@ + + + + @@ -477,6 +482,48 @@ + + + + + + + Mint State-70 + Mint State-69 + Mint State-68 + Mint State-67 + Mint State-66 + Mint State-65 + Mint State-64 + Mint State-63 + Mint State-62 + Mint State-61 + Mint State-60 + Almost Uncirculated-58 + Almost Uncirculated-55 + Almost Uncirculated-53 + Almost Uncirculated-50 + Extremely Fine-45 + Extremely Fine-40 + Very Fine-35 + Very Fine-30 + Very Fine-25 + Very Fine-20 + Fine-15 + Fine-12 + Very Good-10 + Very Good-8 + Good-6 + Good-4 + Fair + + + + diff --git a/xslt/report-templates/Column_View.xsl b/xslt/report-templates/Column_View.xsl index 3b007fe..5436cf3 100644 --- a/xslt/report-templates/Column_View.xsl +++ b/xslt/report-templates/Column_View.xsl @@ -258,7 +258,10 @@ - + + + + diff --git a/xslt/report-templates/Group_Summary.xsl b/xslt/report-templates/Group_Summary.xsl index 9058f78..0d49284 100644 --- a/xslt/report-templates/Group_Summary.xsl +++ b/xslt/report-templates/Group_Summary.xsl @@ -117,6 +117,7 @@ margin: 0px 0px 0px 0px; padding: 0px 10px 0px 4px; float: left; + min-height: 1em; } span.bar { width: 590px; @@ -178,7 +179,7 @@ - + @@ -189,35 +190,49 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + @@ -229,11 +244,11 @@ - + - + @@ -305,17 +320,6 @@ - - - - - - - - - - - diff --git a/xslt/report-templates/Group_View.xsl b/xslt/report-templates/Group_View.xsl index 123559e..73cdf25 100644 --- a/xslt/report-templates/Group_View.xsl +++ b/xslt/report-templates/Group_View.xsl @@ -232,7 +232,10 @@ - + + + + diff --git a/xslt/report-templates/Image_List.xsl b/xslt/report-templates/Image_List.xsl index 78c596f..f73ca24 100644 --- a/xslt/report-templates/Image_List.xsl +++ b/xslt/report-templates/Image_List.xsl @@ -141,7 +141,10 @@ - + + + + @@ -150,7 +153,7 @@ - + @@ -163,8 +166,9 @@ - - + + + diff --git a/xslt/report-templates/Tri-Column.xsl b/xslt/report-templates/Tri-Column.xsl index d38dd5f..3323a2c 100644 --- a/xslt/report-templates/Tri-Column.xsl +++ b/xslt/report-templates/Tri-Column.xsl @@ -193,7 +193,10 @@  - + + + + diff --git a/xslt/tellico-printing.xsl b/xslt/tellico-printing.xsl index 9d997fd..4c31ecc 100644 --- a/xslt/tellico-printing.xsl +++ b/xslt/tellico-printing.xsl @@ -329,7 +329,10 @@ - + + + + diff --git a/xslt/tellico2gcstar.xsl b/xslt/tellico2gcstar.xsl index b4cf394..51c410a 100644 --- a/xslt/tellico2gcstar.xsl +++ b/xslt/tellico2gcstar.xsl @@ -65,6 +65,9 @@ GCmusics + + GCcoins + @@ -80,7 +83,7 @@ - + GCstar export is not supported for this collection type. @@ -147,6 +150,13 @@ + + + + + + + diff --git a/xslt/tellico2html.js b/xslt/tellico2html.js index 8a3f5df..fa08d58 100644 --- a/xslt/tellico2html.js +++ b/xslt/tellico2html.js @@ -127,8 +127,8 @@ sorttable = { if (!document.createElement || !document.getElementsByTagName) return; - sorttable.DATE_RE = /^(\d\d)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; - sorttable.YYMMDD_RE = /^((\d\d)?\d\d)[\/\.-](\d\d?)[\/\.-](\d\d)$/; + sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-](\d{4}|\d\d)$/; + sorttable.YYMMDD_RE = /^(\d{4}|\d\d)[\/\.-](\d\d?)[\/\.-](\d\d?)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { @@ -371,7 +371,8 @@ sorttable = { if (mtch) { y = mtch[1]; m = mtch[2]; d = mtch[3]; // y2k notes: two digit years less than 50 are treated as 20XX, greater than 50 are treated as 19XX - if (parseInt(y) < 50) y = '20'+y; else y = '19'+y; + if (y.length == 2) + if (parseInt(y) < 50) y = '20'+y; else y = '19'+y; if (m.length == 1) m = '0'+m; if (d.length == 1) d = '0'+d; dt1 = y+m+d; @@ -379,7 +380,8 @@ sorttable = { mtch = b[0].match(sorttable.YYMMDD_RE); if (mtch) { y = mtch[1]; m = mtch[2]; d = mtch[3]; - if (parseInt(y) < 50) y = '20'+y; else y = '19'+y; + if (y.length == 2) + if (parseInt(y) < 50) y = '20'+y; else y = '19'+y; if (m.length == 1) m = '0'+m; if (d.length == 1) d = '0'+d; dt2 = y+m+d; diff --git a/xslt/tellico2html.xsl b/xslt/tellico2html.xsl index b87ef75..f63c36f 100644 --- a/xslt/tellico2html.xsl +++ b/xslt/tellico2html.xsl @@ -115,10 +115,7 @@ - @@ -557,7 +554,10 @@ - + + + + diff --git a/xslt/unixref2tellico.xsl b/xslt/unixref2tellico.xsl index b997cac..9b25c44 100644 --- a/xslt/unixref2tellico.xsl +++ b/xslt/unixref2tellico.xsl @@ -46,9 +46,12 @@ - - - + + + + + + -- cgit v1.2.3