koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-MARCdetail.tmpl,1.5


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-MARCdetail.tmpl,1.5,1.5.2.1
Date: Thu, 10 Mar 2005 07:52:40 -0800

Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16975/koha-tmpl/opac-tmpl/css/en

Modified Files:
      Tag: rel_2_2
        opac-MARCdetail.tmpl 
Log Message:
* adding glass to opac marc detail.
* changing glasses behaviour : It now appears only on subfields that have a 
"link" value. Avoid useless glasses and removes nothing. **** WARNING **** : if 
you don't change you MARC parameters, glasses DISAPPEAR, because no subfields 
have a link value. So you MUST "reactivate" them manually. If you want to 
enable the search glass on field 225$a (collection in UNIMARC), just put 225a 
to "link" field (Koha >> parameters >> framework >> 225 field >> subfield >> 
modify $a >> enter 225a in link input field (without quotes or anything else)
* fixing bug with libopac

Index: opac-MARCdetail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-MARCdetail.tmpl,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -r1.5 -r1.5.2.1
*** opac-MARCdetail.tmpl        3 Jan 2005 11:09:33 -0000       1.5
--- opac-MARCdetail.tmpl        10 Mar 2005 15:52:37 -0000      1.5.2.1
***************
*** 65,71 ****
--- 65,73 ----
        <div name="0XX" id="0XX" class="tab" style="visibility:visible">
                <!-- TMPL_LOOP name="0XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 75,78 ****
--- 77,85 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 82,88 ****
--- 89,97 ----
        <div name="1XX" id="1XX" class="tab">
                <!-- TMPL_LOOP name="1XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 92,95 ****
--- 101,109 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 99,105 ****
--- 113,121 ----
        <div name="2XX" id="2XX" class="tab">
                <!-- TMPL_LOOP name="2XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 109,112 ****
--- 125,133 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 116,122 ****
--- 137,145 ----
        <div name="3XX" id="3XX" class="tab">
                <!-- TMPL_LOOP name="3XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 126,129 ****
--- 149,157 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 133,139 ****
--- 161,169 ----
        <div name="4XX" id="4XX" class="tab">
                <!-- TMPL_LOOP name="4XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 143,146 ****
--- 173,181 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 150,156 ****
--- 185,193 ----
        <div name="5XX" id="5XX" class="tab">
                <!-- TMPL_LOOP name="5XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 160,163 ****
--- 197,205 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 167,173 ****
--- 209,217 ----
        <div name="6XX" id="6XX" class="tab">
                <!-- TMPL_LOOP name="6XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 177,180 ****
--- 221,229 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 184,190 ****
--- 233,241 ----
        <div name="7XX" id="7XX" class="tab">
                <!-- TMPL_LOOP name="7XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 194,197 ****
--- 245,253 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 201,207 ****
--- 257,265 ----
        <div name="8XX" id="8XX" class="tab">
                <!-- TMPL_LOOP name="8XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 211,214 ****
--- 269,277 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->
***************
*** 218,224 ****
--- 281,289 ----
        <div name="9XX" id="9XX" class="tab">
                <!-- TMPL_LOOP name="9XX" -->
+                       <!-- TMPL_IF name="tag" -->
                                <p class="MARCtag">
                                        <!-- TMPL_VAR name="tag" -->
                                </p>
+                       <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP name="subfield" -->
                                <p>
***************
*** 228,231 ****
--- 293,301 ----
                                        </label>
                                        <!-- TMPL_VAR name="marc_value" -->
+                                       <!-- TMPL_IF name="link" -->
+                                               <a 
href="search.marc/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" 
-->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" 
ESCAPE=URL -->">
+                                                       <img border="0" 
src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/<!-- 
TMPL_VAR NAME="lang" -->/images/filefind.png" height="15" title="Search on <!-- 
TMPL_VAR name="marc_value" -->">
+                                               </a>
+                                       <!-- /TMPL_IF -->
                                </p>
                        <!-- /TMPL_LOOP -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]