[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-authoriti... [rel_3_0]
From: |
paul poulain |
Subject: |
[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-authoriti... [rel_3_0] |
Date: |
Mon, 30 Oct 2006 10:09:24 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: paul poulain <tipaul> 06/10/30 10:09:24
Added files:
koha-tmpl/opac-tmpl/prog/en: opac-authorities-home.tmpl
opac-authoritiessearchresultlist.tmpl
Log message:
reintroducing authorities search in OPAC (rel_2_2 feature)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-authorities-home.tmpl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
Patches:
Index: opac-authorities-home.tmpl
===================================================================
RCS file: opac-authorities-home.tmpl
diff -N opac-authorities-home.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ opac-authorities-home.tmpl 30 Oct 2006 10:09:24 -0000 1.1.2.1
@@ -0,0 +1,66 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName"
--> -- Library Catalog
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<div id="main">
+
+<h1>Authority search</h1>
+
+<div id="bloc60">
+ <form name="f" action="/cgi-bin/koha/opac-authorities-home.pl"
method="post">
+ <input type="hidden" name="op" value="do_search">
+ <input type="hidden" name="type" value="opac">
+ <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR
NAME="nbstatements" -->">
+ <div class="details">
+ <h2>Search on
+ <select name="authtypecode">
+ <!-- TMPL_LOOP NAME="authtypesloop" -->
+ <!-- TMPL_IF name="selected" --><option
value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR
NAME="authtypetext" --></option>
+ <!-- TMPL_ELSE --><option value="<!-- TMPL_VAR
NAME="value" -->"> <!-- TMPL_VAR NAME="authtypetext" --></option>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ </select>
+ </h2>
+ <p>
+ <label class="label100">Main entry ($a only)</label>
+ <select name="operator">
+ <option value="contains">contains</option>
+ <option value="start">start by</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR
NAME="value" -->">
+ <input type="hidden" name="marclist" value="$a">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>
+ <label class="label100">Main entry</label>
+ <select name="operator">
+ <option value="contains">contains</option>
+ <option value="start">start by</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR
NAME="value" -->">
+ <input type="hidden" name="marclist" value="mainentry">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>
+ <label class="label100">Anywhere</label>
+ <select name="operator">
+ <option value="contains">contains</option>
+ <option value="start">start by</option>
+ </select>
+ <input type="text" name="value" value="<!-- TMPL_VAR
NAME="value" -->">
+ <input type="hidden" name="marclist" value="">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ </p>
+ <p>(add % at the end of your word if you want to use
right-truncation : <b>theor%</b> will find theory & theories)</p>
+ <p>
+ <input type="submit" value="Start search"
class="submit">
+ </p>
+ </div>
+ </form>
+</div>
+</div>
+<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
Index: opac-authoritiessearchresultlist.tmpl
===================================================================
RCS file: opac-authoritiessearchresultlist.tmpl
diff -N opac-authoritiessearchresultlist.tmpl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ opac-authoritiessearchresultlist.tmpl 30 Oct 2006 10:09:24 -0000
1.1.2.1
@@ -0,0 +1,78 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName"
--> -- Library Catalog
+<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
+<!--TMPL_INCLUDE NAME="navigation.inc" -->
+
+<div id="main">
+ <h1>Authority search results</h1>
+ <div id="pages">
+ <!-- TMPL_IF name="displayprev" -->
+ <a
href="opac-authorities-home.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=opac&op=do_search&authtypecode=<!-- TMPL_VAR
name="authtypecode" -->">
+ <<
+ </a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF name="highlight" -->
+ <span class="current"><!-- TMPL_VAR
NAME="number" --></span>
+ <!-- TMPL_ELSE -->
+ <a
href="opac-authorities-home.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=opac&op=do_search&authtypecode=<!-- TMPL_VAR
name="authtypecode" -->"><!-- TMPL_VAR NAME="number" --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a
href="opac-authorities-home.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=opac&op=do_search&authtypecode=<!-- TMPL_VAR
name="authtypecode" -->">>></a>
+ <!-- /TMPL_IF -->
+ </div>
+ <div id="results">
+ <!-- TMPL_IF name="total" -->
+ <b>Results <!-- TMPL_VAR NAME="from" --> to <!--
TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
+ <!-- TMPL_ELSE -->
+ No results found.<br>
+ <!-- /TMPL_IF -->
+ </div>
+
+<div class="searchresults">
+ <table>
+ <tr>
+ <th width="70%">Authorized Headings</th>
+ <th width="10%">Type of Heading</th>
+ <!-- TMPL_UNLESS name="isEDITORS" -->
+ <th width="10%">Bib Records</th>
+ <!-- /TMPL_UNLESS -->
+ <th width="10%">Full Authorized Heading</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="result" -->
+ <tr>
+ <td><!-- TMPL_VAR NAME="summary"
--></td>
+
+ <td>
+ <!-- TMPL_VAR NAME="authtype" -->
+ </td>
+ <!-- TMPL_UNLESS name="isEDITORS" -->
+ <td>
+ <a
href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&marclist=<!--
TMPL_VAR NAME="biblio_fields" -->&operator==&value=<!-- TMPL_VAR
NAME="authid" -->&and_or=and&excluding="><!-- TMPL_VAR NAME="used" -->
biblios</a>
+ </td>
+ <!-- /TMPL_UNLESS -->
+ <td>
+ <a
href="opac-authoritiesdetail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">View
Full Heading</a>
+ </td>
+ </tr>
+ <!-- /TMPL_LOOP -->
+ </table>
+ </div>
+ <div id="resultnumber">
+ <p>
+ <!-- TMPL_IF name="displayprev" -->
+ <a
href="opac-authorities-home.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=opac&op=do_search&authtypecode=<!-- TMPL_VAR
name="authtypecode" -->"><<</a>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_LOOP NAME="numbers" -->
+ <!-- TMPL_IF name="highlight" --><span
class="current"><!-- TMPL_VAR NAME="number" --></span><!-- TMPL_ELSE -->
+ <a
href="opac-authorities-home.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=opac&op=do_search&authtypecode=<!-- TMPL_VAR
name="authtypecode" -->"><!-- TMPL_VAR NAME="number" --></a>
+ <!-- /TMPL_IF -->
+ <!-- /TMPL_LOOP -->
+ <!-- TMPL_IF name="displaynext" -->
+ <a
href="opac-authorities-home.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=opac&op=do_search&authtypecode=<!-- TMPL_VAR
name="authtypecode" -->">>></a>
+ <!-- /TMPL_IF -->
+ </p>
+ </div>
+</div>
+<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-authoriti... [rel_3_0],
paul poulain <=