From 5f7946e4d8520744774ef912ca158f411a0c63be Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 5 May 2010 14:25:58 -0400 Subject: [PATCH] Further fixes for Bug 4208, Many submit buttons are not translatable in 3.2 Again, not a fix for a submit button problem, but for a problem with TMPL_IFs nested inside tags, a practice which will break the translation script. Signed-off-by: Galen Charlton --- .../prog/en/modules/opac-detail.tmpl | 63 ++++++++++++++++--- .../prog/en/modules/opac-opensearch.tmpl | 7 ++- .../prog/en/modules/opac-readingrecord.tmpl | 5 +- .../prog/en/modules/opac-results.tmpl | 19 ++++-- .../opac-tmpl/prog/en/modules/opac-user.tmpl | 14 ++++- 5 files changed, 88 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index a494f4f61e..2c1f9d4fd9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -264,22 +264,39 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - Series Information: &type=series&num=1&client=&upc=&oclc=">Click to open in new window + Series Information: + + &type=series&num=1&client=&upc=&oclc=">Click to open in new window + + &type=series&num=1&client=&upc=&oclc=">Click to open in new window + - Audiovisual Profile: /avprofile.html&client=&upc=&oclc=&type=xw10">Click to open in new window + Audiovisual Profile: + /avprofile.html&client=&upc=&oclc=&type=xw10">Click to open in new window + + /avprofile.html&client=&upc=&oclc=&type=xw10">Click to open in new window + - Fiction Notes: /fiction.html&client=&upc=&oclc=&type=xw10">Click to open in new window + Fiction Notes: + /fiction.html&client=&upc=&oclc=&type=xw10">Click to open in new window + + /fiction.html&client=&upc=&oclc=&type=xw10">Click to open in new window + - Awards: &type=awards&client=&upc=&oclc=">Click to open in new window + Awards: + + &type=awards&client=&upc=&oclc=">Click to open in new window + &type=awards&client=&upc=&oclc=">Click to open in new window + @@ -409,7 +426,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () { &shelfbrowse_itemnumber=#shelfbrowser"> .01._AA75_PU_PU-5_.jpg" alt="" />No cover image available - /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" />No cover image available + + + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + No cover image available
" class="" id="gbs-thumbnail-preview">
No cover image available See Baker & Taylor" />No cover image available @@ -422,7 +443,13 @@ YAHOO.util.Event.onContentReady("furtherm", function () { .01._AA75_PU_PU-5_.jpg" alt="" />No cover image available - /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" />No cover image available + + + + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + No cover image available +
" class="" id="gbs-thumbnail-preview">
No cover image available See Baker & Taylor" />No cover image available @@ -682,7 +709,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () { .01._AA75_PU_PU-5_.jpg" alt="" /> -/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail" /> + + +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> +No cover image available
"> by © @@ -708,7 +739,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () { ">.01._SS50_.jpg" /> -">/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + + + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + /SC.GIF&client=&upc=&oclc=&type=xw10" alt="" /> + No cover image available "> @@ -811,6 +846,14 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - - + + + + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl index 1b7fa66d42..402991b802 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tmpl @@ -36,7 +36,12 @@ /cgi-bin/koha/opac-MARCdetail.pl?biblionumber=/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=/cgi-bin/koha/opac-detail.pl?biblionumber= .01.TZZZZZZZ.jpg" alt="" /> -/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" /> + +/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" /> + +/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" /> + + ">See Baker & Taylor" />

By . diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl index fd655ce53a..70b27f6b31 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tmpl @@ -55,7 +55,10 @@ TMPL_ELSE -->Title ">See Baker & Taylor" />No cover image available -/SC.GIF&client=&upc=&oclc=&type=xw10" alt=""/> + + /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" /> + + /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" /> "> "> diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl index 967e79015c..aa9f45e167 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl @@ -506,10 +506,14 @@ $(document).ready(function(){ "> .01.TZZZZZZZ.jpg" alt="" class="thumbnail" />No cover image available - /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" />No cover image available -

" class="" id="gbs-thumbnail">
No cover image available - - ">See Baker & Taylor" />No cover image available + + /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" /> + + /SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" /> + +
" class="" id="gbs-thumbnail">
No cover image available + + ">See Baker & Taylor" />No cover image available @@ -542,6 +546,11 @@ $(document).ready(function(){ - + + + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl index 92a73d7803..1f3f38ba5b 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl @@ -226,7 +226,10 @@ $.tablesorter.addParser({ ">See Baker & Taylor" />No cover image available -/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> + +/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" /> + +/SC.GIF&client=&type=xw10&upc=&oclc=" alt="" class="thumbnail" /> @@ -298,8 +301,13 @@ $.tablesorter.addParser({ ">See Baker & Taylor" />No cover image available -/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> - + + +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> + +/SC.GIF&client=&upc=&oclc=&type=xw10" alt="" class="thumbnail"/> + + "> -- 2.39.5