after an authority is added/modified, go to this fresh authority (instead of authorit...
[koha_gimpoz] / koha-tmpl / intranet-tmpl / default / en / authorities / searchresultlist.tmpl
index 586db07..de119b4 100644 (file)
@@ -3,27 +3,31 @@
        <h1 class="authority">Authority search results</h1>
        <div id="resultnumber">
                <p>
-                       <!-- TMPL_IF NAME=displayprev -->
-                               <a href=search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search>
-                                       <img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0>
+                       <!-- TMPL_IF name="displayprev" -->
+                               <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+                                       <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
                                </a>
                        <!-- /TMPL_IF -->
-                       <!-- TMPL_LOOP NAME=numbers -->
-                               <!-- TMPL_IF NAME=highlight -->
-                                       <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
+                       <!-- TMPL_LOOP NAME="numbers" -->
+                               <!-- TMPL_IF name="highlight" -->
+                                       <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
                                <!-- TMPL_ELSE -->
-                                       <a href=search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border=0></a>
+                                       <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+                                               <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
+                                       </a>
                                <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
-                       <!-- TMPL_IF NAME=displaynext -->
-                               <a href=search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
+                       <!-- TMPL_IF name="displaynext" -->
+                               <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+                                       <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
+                               </a>
                                <!-- /TMPL_IF -->
                </p>
                <p>
-                       <!-- TMPL_IF name=total -->
-                       &nbsp<b>Results <!-- TMPL_VAR name="from" --> to <!-- TMPL_VAR name="to" --> of <!-- TMPL_VAR name="total" --></b><br><br>
+                       <!-- TMPL_IF name="total" -->
+                       &nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
                        <!-- TMPL_ELSE -->
-                       &nbsp No results found.<br>
+                       &nbsp;No results found.<br>
                        <!-- /TMPL_IF -->
                </p>
        </div>
                <table>
                        <tr>
                                <th class="authority">Summary</th>
-                               <th class="authority">Used</th>
+                               <th class="authority">Used in</th>
                                <th class="authority">View</th>
                                <th class="authority">Delete</th>
                        </tr>
-                       <!-- TMPL_LOOP name="result" -->
+                       <!-- TMPL_LOOP NAME="result" -->
                                <tr>
-                                       <td><!-- TMPL_VAR name="summary" --></td>
-                                       <td><!-- TMPL_VAR name="used" --> <a href="../search.marc/search.pl?type=intranet&op=do_search&marclist=<!-- TMPL_VAR name="biblio_fields" -->&operator==&value=<!-- TMPL_VAR name="authid" -->&and_or=&excluding=">...</a></td>
+                                       <td><!-- TMPL_VAR NAME="summary" --></td>
+                                       <td><a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist='<!-- TMPL_VAR NAME="biblio_fields" -->'&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a></td>
                                        <td>
-                                               <a href="detail.pl?authid=<!-- TMPL_VAR name="authid" -->">
-                                                       <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR name="authid" -->" title="Authority number<!-- TMPL_VAR name="authid" -->">
+                                               <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
+                                                       <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">
                                                </a>
                                        </td>
                                        <td>
                                                <!-- TMPL_UNLESS name="used" -->
-                                               <a href="javascript:do_delete('authorities-home.pl?op=delete&authid=<!-- TMPL_VAR name="authid" -->')">
-                                                       <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
+                                               <a href="javascript:do_delete('authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->')">
+                                                       <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
                                                </a>
                                                <!-- /TMPL_UNLESS -->
                                        </td>
        </div>
        <div id="resultnumber">
                <p>
-                       <!-- TMPL_IF NAME=displayprev -->
-                       <a href=search.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><img src="/intranet-tmpl/default/images/numbers/prev.gif" border=0></a>
+                       <!-- TMPL_IF name="displayprev" -->
+                               <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+                                       <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+                               </a>
                        <!-- /TMPL_IF -->
-                       <!-- TMPL_LOOP NAME=numbers -->
-                               <!-- TMPL_IF NAME=highlight -->
-                               <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->-highlight.gif">
+                       <!-- TMPL_LOOP NAME="numbers" -->
+                               <!-- TMPL_IF name="highlight" -->
+                                       <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
                                <!-- TMPL_ELSE -->
-                               <a href=search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" border=0></a>
+                                       <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+                                               <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
+                                       </a>
                                <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
-                       <!-- TMPL_IF NAME=displaynext -->
-                       <a href=search.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&<!-- /TMPL_LOOP -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search><img src="/intranet-tmpl/default/images/numbers/next.gif" border=0></a>
+                       <!-- TMPL_IF name="displaynext" -->
+                               <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
+                                       <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
+                               </a>
                                <!-- /TMPL_IF -->
                </p>
        </div>