bug 3156 followup Fix display of LTFL content when not displaying it in tabs.
authorChris Catalfo <ccatalfo@gmail.com>
Tue, 28 Apr 2009 12:36:29 +0000 (12:36 +0000)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 28 Apr 2009 12:57:59 +0000 (07:57 -0500)
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.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl

index 5e9019e..c4123e8 100644 (file)
 <!-- 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
+               <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div
+               <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div
+               <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div
        <!-- /TMPL_UNLESS -->
        <span class="results_summary">
         <span class="label">Reviews from LibraryThing.com:</span>