[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en opac-authoritie... [rel_2_2]
From: |
paul poulain |
Subject: |
[Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en opac-authoritie... [rel_2_2] |
Date: |
Wed, 15 Mar 2006 10:43:14 +0000 |
CVSROOT: /cvsroot/koha
Module name: koha
Branch: rel_2_2
Changes by: paul poulain <address@hidden> 06/03/15 10:43:14
Added files:
koha-tmpl/opac-tmpl/css/en: opac-authoritiesdetail.tmpl
opac-authorities-home.tmpl
opac-authoritiessearchresultlist.tmpl
Log message:
porting authorities headings to css templates
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiesdetail.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-authorities-home.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiessearchresultlist.tmpl?only_with_tag=rel_2_2&rev=1.1.2.1
Patches:
Index: koha/koha-tmpl/opac-tmpl/css/en/opac-authorities-home.tmpl
diff -u /dev/null
koha/koha-tmpl/opac-tmpl/css/en/opac-authorities-home.tmpl:1.1.2.1
--- /dev/null Wed Mar 15 10:43:14 2006
+++ koha/koha-tmpl/opac-tmpl/css/en/opac-authorities-home.tmpl Wed Mar 15
10:43:14 2006
@@ -0,0 +1,50 @@
+ <!-- TMPL_INCLUDE NAME="opac-top.inc" -->
+<div id="mainbloc">
+
+<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 for="mainentry">Main entry</label>
+ <input type="hidden" name="marclist"
value="mainentry">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <select name="operator">
+ <option
value="contains">contains</option>
+ <option value="start">start by</option>
+ </select>
+ <input type="text" id="mainentry" name="value"
value="<!-- TMPL_VAR NAME="value" -->">
+ </p>
+ <p>
+ <label for="anywhere">Anywhere</label>
+ <input type="hidden" name="marclist" value="">
+ <input type="hidden" name="and_or" value="and">
+ <input type="hidden" name="excluding" value="">
+ <select name="operator">
+ <option
value="contains">contains</option>
+ <option value="start">start by</option>
+ </select>
+ <input type="text" id="anywhere" name="value"
value="<!-- TMPL_VAR NAME="value" -->">
+ </p>
+ <p>
+ <input type="submit" value="Start search"
class="submit">
+ </p>
+ </div>
+ </form>
+</div>
+</div>
+<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
Index: koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiesdetail.tmpl
diff -u /dev/null
koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiesdetail.tmpl:1.1.2.1
--- /dev/null Wed Mar 15 10:43:14 2006
+++ koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiesdetail.tmpl Wed Mar 15
10:43:14 2006
@@ -0,0 +1,43 @@
+ <!-- TMPL_INCLUDE NAME="opac-top.inc" -->
+<div id="mainbloc">
+
+<div class="bloc20">
+ <h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR
name="authtypetext" -->)</h1>
+ <a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit</a>
+ <!-- TMPL_UNLESS name="count" -->
+ <a href="javascript:confirm_deletion()">Delete</a>
+ <!-- /TMPL_UNLESS -->
+ <a href="javascript:Dopop('detailprint.pl?authid=<!-- TMPL_VAR
NAME="authid" -->')">Print</a>
+ <a
href="../search.marc/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="count" -->
biblios</a>
+</div>
+
+<div name="0XX" id="0XX" class="tab" style="visibility:visible">
+ <!-- TMPL_LOOP NAME="0XX" -->
+ <p class="MARCtag">
+ <!-- TMPL_VAR NAME="tag" -->
+ </p>
+ <!-- TMPL_LOOP NAME="subfield" -->
+ <p>
+ <label class="labelsubfield">
+ <!-- TMPL_VAR NAME="marc_subfield" -->
+ <!-- TMPL_VAR NAME="marc_lib" --></label>
+ <!-- TMPL_VAR NAME="marc_value" -->
+ </p>
+ <!-- /TMPL_LOOP -->
+ <!-- /TMPL_LOOP -->
+</div>
+</div>
+<script language="JavaScript" type="text/javascript">
+
+function confirm_deletion() {
+ var is_confirmed = confirm('Are you sure you want to delete this
authority?');
+ if (is_confirmed) {
+ window.location="authorities-home.pl?op=delete&authid=<!--
TMPL_VAR NAME="authid" -->";
+ }
+}
+function Dopop(link) {
+
newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
+}
+</script>
+</body>
+</html>
Index: koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiessearchresultlist.tmpl
diff -u /dev/null
koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiessearchresultlist.tmpl:1.1.2.1
--- /dev/null Wed Mar 15 10:43:14 2006
+++ koha/koha-tmpl/opac-tmpl/css/en/opac-authoritiessearchresultlist.tmpl
Wed Mar 15 10:43:14 2006
@@ -0,0 +1,85 @@
+ <!-- TMPL_INCLUDE NAME="opac-top.inc" -->
+<div id="mainbloc">
+
+<div id="main">
+ <h1>Authority search results</h1>
+ <div id="pages">
+ <!-- TMPL_IF name="displayprev" -->
+ <a href="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="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="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>
+ <!-- TMPL_UNLESS name="isEDITORS" -->
+ <th width="10%"># of Bib Records</th>
+ <!-- /TMPL_UNLESS -->
+ <th width="70%">Authorized Headings</th>
+ <th width="10%">Type of Heading</th>
+ <th width="10%">Full Authorized Heading</th>
+ </tr>
+ <!-- TMPL_LOOP NAME="result" -->
+ <tr>
+ <!-- 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"
--></a> <!-- TMPL_VAR NAME="used" -->
+ </td>
+ <!-- /TMPL_UNLESS -->
+ <td><!-- TMPL_VAR NAME="summary"
--></td>
+
+ <td>
+ <!-- TMPL_VAR NAME="authtype" -->
+ </td>
+ <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="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="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="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" -->
+
+<script language="JavaScript" type="text/javascript" >
+function confirm_deletion(id) {
+ var is_confirmed = confirm('Are you sure you want to delete this
authority?');
+ if (is_confirmed) {
+ window.location="authorities-home.pl?op=delete&authid="+id;
+ }
+}
+</script>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en opac-authoritie... [rel_2_2],
paul poulain <=