From 319bd94491ad8ca8301c1b5a5242c191e423e16a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 5 May 2010 14:22:39 -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. --- .../opac-tmpl/prog/en/modules/opac-detail.tmpl | 63 ++++++++++++++++--- .../opac-tmpl/prog/en/modules/opac-opensearch.tmpl | 7 ++- .../prog/en/modules/opac-readingrecord.tmpl | 5 +- .../opac-tmpl/prog/en/modules/opac-results.tmpl | 19 ++++-- koha-tmpl/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 a494f4f..2c1f9d4 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 1b7fa66..402991b 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 fd655ce..70b27f6 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 967e790..aa9f45e 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 92a73d7..1f3f38b 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"/> + + "> -- 1.7.0.4