[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc dict
From: |
Henri-Damien LAURENT |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc dictionary.tmpl,1.1,1.2 |
Date: |
Mon, 02 May 2005 08:39:33 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25849/koha-tmpl/intranet-tmpl/default/en/search.marc
Modified Files:
dictionary.tmpl
Log Message:
Improving output:
Should be a good start point for choosing what to display.
Index: dictionary.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc/dictionary.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** dictionary.tmpl 2 May 2005 06:25:01 -0000 1.1
--- dictionary.tmpl 2 May 2005 15:39:28 -0000 1.2
***************
*** 67,74 ****
<div class="bloc100">
<h2 class="catalogue">Dictionary Search results</h2>
<div id="resultlist">
<table>
<tr>
! <th colspan="2">Authorities</th>
</tr>
<tr>
--- 67,96 ----
<div class="bloc100">
<h2 class="catalogue">Dictionary Search results</h2>
+ <!-- TMPL_IF NAME="authresult" -->
+ <div id="resultnumber">
+ <p><!-- TMPL_IF NAME="displayprev" -->
+ <a class="resultnumber"
href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev"
-->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&search=<!--
TMPL_VAR NAME="search" ESCAPE=URL-->&resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage"
-->&type=intranet&op=do_search"><<Previous</a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF NAME="highlight" -->
+ <span class="highlight"><!--
TMPL_VAR NAME="number" --></span>
+ <!-- TMPL_ELSE -->
+ <a class="resultnumber"
href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom"
-->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&search=<!--
TMPL_VAR NAME="search" ESCAPE=URL -->&resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search"><!-- TMPL_VAR
NAME="number" --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF NAME="displaynext" -->
+ <a class="resultnumber"
href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext"
-->&marclist=<!-- TMPL_VAR NAME="marclist" -->&search=<!-- TMPL_VAR
NAME="search" -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">Next>></a>
+ <!-- /TMPL_IF -->
+ </p>
+ <p class="resultcount">
+ <!-- TMPL_IF NAME="nbresults" -->
+ Results <!-- TMPL_VAR NAME="from" -->
to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --><!--
TMPL_ELSE -->No results found.
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
<div id="resultlist">
<table>
<tr>
! <th colspan="2"
class="authority">Authorities</th>
</tr>
<tr>
***************
*** 79,102 ****
<tr>
<td><!-- TMPL_VAR
NAME="summary" --></td>
! <td><!-- TMPL_VAR NAME="used"
--> times</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div id="resultnumber">
- <p><!-- TMPL_IF NAME="displayprev" -->
- <a class="resultnumber"
href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev"
-->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&search=<!--
TMPL_VAR NAME="search" ESCAPE=URL-->&resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage"
-->&type=intranet&op=do_search"><<Previous</a>
- <!-- /TMPL_IF -->
- <!-- TMPL_LOOP NAME="numbers" -->
- <!-- TMPL_IF NAME="highlight" -->
- <span class="highlight"><!--
TMPL_VAR NAME="number" --></span>
- <!-- TMPL_ELSE -->
- <a class="resultnumber"
href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom"
-->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&search=<!--
TMPL_VAR NAME="search" ESCAPE=URL -->&resultsperpage=<!-- TMPL_VAR
NAME="resultsperpage" -->&type=intranet&op=do_search"><!-- TMPL_VAR
NAME="number" --></a>
- <!-- /TMPL_IF -->
- <!-- /TMPL_LOOP -->
- <!-- TMPL_IF NAME="displaynext" -->
- <a class="resultnumber"
href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext"
-->&marclist=<!-- TMPL_VAR NAME="marclist" -->&search=<!-- TMPL_VAR
NAME="search" -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage"
-->&type=intranet&op=do_search">Next>></a>
- <!-- /TMPL_IF -->
- </p>
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
--- 101,115 ----
<tr>
<td><!-- TMPL_VAR
NAME="summary" --></td>
! <td>
! <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=and&excluding=" class="button authority"><!--
TMPL_VAR NAME="used" --> biblio(s)
! </td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
+ <!-- TMPL_ELSE -->
+ <h3 class="authority">No results in Authorities</h3>
+ <!-- /TMPL_IF -->
<div id="resultnumber">
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
***************
*** 158,161 ****
--- 171,193 ----
</tr>
<!-- /TMPL_LOOP -->
+ <!-- TMPL_LOOP NAME="catresult" -->
+ <tr>
+ <td<!-- TMPL_IF NAME="even" -->
class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_IF
name="MARC_ON" -->
+ <a
class="transparent resultlist" href="search.pl?type=<!-- TMPL_VAR NAME="type"
ESCAPE="URL" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE="URL"
-->&operator=contains&op=do_search&and_or=and&value='<!--
TMPL_VAR Name=value ESCAPE="URL" -->'&excluding="><!-- TMPL_VAR
NAME="value" --></a>
+ <!-- TMPL_ELSE
-->
+ <a
class="transparent resultlist" href="search.pl?bib=<!-- TMPL_VAR
NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="value" --></a>
<!-- /TMPL_IF -->
+ </td>
+ <td align="center" <!-- TMPL_IF
NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
+ <!-- TMPL_VAR NAME="count" -->
+ </td>
+ <td <!-- TMPL_IF NAME="even"
-->class="hilighted"<!-- /TMPL_IF -->>
+
+ </td>
+ <td <!-- TMPL_IF NAME="even"
-->class="hilighted"<!-- /TMPL_IF -->>
+
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
</table>
</div>
***************
*** 183,187 ****
</div>
! <!-- /TMPL_IF -->
</div>
--- 215,219 ----
</div>
! <!-- /TMPL_IF -->
</div>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc dictionary.tmpl,1.1,1.2,
Henri-Damien LAURENT <=