[Koha-patches] [PATCH] bug 3156 Fix display of LTFL content when not displaying it in tabs.

Chris Catalfo ccatalfo at gmail.com
Mon Apr 27 21:26:42 CEST 2009


LTFL content needs to appear in div rather than span elements.  This patch simply replaces the LTFL span elements with divs to fix Bug 3156: LTFL content not displaying if LibraryThingForLibrariesTabbedView sys pref is Off.
---
 .../opac-tmpl/prog/en/modules/opac-detail.tmpl     |    6 +++---
 1 files changed, 3 insertions(+), 3 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 5e9019e..e1b88f1 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
@@ -189,9 +189,9 @@
 <!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
 <!-- TMPL_IF NAME="LibraryThingForLibrariesID"> 
 	<!-- TMPL_UNLESS NAME = "LibraryThingForLibrariesTabbedView" -->
-		<span class="results_summary"><span id="ltfl_related" class="ltfl"></span></span> 
-		<span class="results_summary"><span id="ltfl_similars" class="ltfl"></span></span> 
-		<span class="results_summary"><span id="ltfl_tagbrowse" class="ltfl"></span></span> 
+		<span class="results_summary"><div id="ltfl_related" class="ltfl"></div></span> 
+		<span class="results_summary"><div id="ltfl_similars" class="ltfl"></div></span> 
+		<span class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></span> 
 	<!-- /TMPL_UNLESS -->
 	<span class="results_summary">
         <span class="label">Reviews from LibraryThing.com:</span>	
-- 
1.5.4.3




More information about the Koha-patches mailing list