koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en includes/basket... [rel_2_2]


From: Antoine Farnault
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en includes/basket... [rel_2_2]
Date: Fri, 04 May 2007 16:46:13 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Antoine Farnault <toins>        07/05/04 16:46:13

Modified files:
        koha-tmpl/opac-tmpl/css/en/includes: basket.js 
        koha-tmpl/opac-tmpl/css/en: opac-addbookbybiblionumber.tmpl 
                                    opac-detail.tmpl 

Log message:
        synchronizing default & npl

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/includes/basket.js?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.4&r2=1.3.2.5
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/opac-addbookbybiblionumber.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.2&r2=1.1.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/opac-detail.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.15.2.25&r2=1.15.2.26

Patches:
Index: includes/basket.js
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/opac-tmpl/css/en/includes/Attic/basket.js,v
retrieving revision 1.3.2.4
retrieving revision 1.3.2.5
diff -u -b -r1.3.2.4 -r1.3.2.5
--- includes/basket.js  23 Sep 2005 09:56:54 -0000      1.3.2.4
+++ includes/basket.js  4 May 2007 16:46:13 -0000       1.3.2.5
@@ -355,3 +355,18 @@
        openerURL=dest+"?bib="+biblionumber;
        opener.document.location = openerURL;
 }
\ No newline at end of file
+
+//////////////////////////////////////////////////////////////
+///  vShelfAdd()  builds url string for multiple-biblio adds.
+
+function vShelfAdd(){
+        bibs= new Array;        var c_value = "";
+        if(document.myform.bibid.length > 0) {
+                for (var i=0; i < document.myform.bibid.length; i++) {
+                        if (document.myform.bibid[i].checked) {
+                                bibs.push("biblionumber=" +  
document.myform.bibid[i].value);
+                        }
+                }
+        return bibs.join("&");
+        }
+}

Index: opac-addbookbybiblionumber.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/opac-tmpl/css/en/Attic/opac-addbookbybiblionumber.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- opac-addbookbybiblionumber.tmpl     24 Aug 2005 17:49:59 -0000      1.1.2.2
+++ opac-addbookbybiblionumber.tmpl     4 May 2007 16:46:13 -0000       1.1.2.3
@@ -1,17 +1,27 @@
 <!-- TMPL_INCLUDE Name="popup-top.inc" -->
 <div id="mainbloc">
-<h1>Add book to bookshelf</h1> 
-<p><label>Title</label><!-- TMPL_VAR NAME="title" --></p>
-<p><label>Author</label><!-- TMPL_VAR NAME="author" --></p>
-<h2>Select bookshelf</h2>
+<h3>Add titles to a Virtual Shelf</h3>
+<div class="results">
+<ul>
+<!-- TMPL_LOOP NAME="biblioloop" -->
+<li><!-- TMPL_VAR NAME="title" --></li>
+<!-- /TMPL_LOOP -->
+</ul>
+</div>
 <form action="/cgi-bin/koha/opac-addbookbybiblionumber.pl" method="get">
        <p><label>Add to virtual shelf</label><!-- TMPL_VAR 
NAME="CGIbookshelves" --></p>
+    
 <h2>or add to a new bookshelf</h2>
        <p><input type="text" name="newbookshelf" maxlength=40 size=40>
+    <!-- TMPL_LOOP NAME="biblioloop" -->
+        <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR 
NAME="biblionumber" -->">
+    <!-- /TMPL_LOOP -->
        <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR 
NAME="biblionumber" -->">
                <select name="category">
+                       <!-- TMPL_IF NAME="opacuserlogin" -->
                        <option value="1">Private</option>
                        <option value="2">Public</option>
+            <!-- /TMPL_IF -->
                        <option value="3">Free</option>
                </select>
        </p>

Index: opac-detail.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/css/en/Attic/opac-detail.tmpl,v
retrieving revision 1.15.2.25
retrieving revision 1.15.2.26
diff -u -b -r1.15.2.25 -r1.15.2.26
--- opac-detail.tmpl    22 Sep 2006 15:55:39 -0000      1.15.2.25
+++ opac-detail.tmpl    4 May 2007 16:46:13 -0000       1.15.2.26
@@ -37,14 +37,21 @@
        <div id="bibliobloc">
        <h2><!-- TMPL_VAR NAME="title" --></h2>
                                <!-- TMPL_IF name="subtitles" -->
-                                       <p><label><b>Subtitle(s):</b> </label>
+                                       <p><label><b>Subtitle(s):</b></label>
                                        <!-- TMPL_LOOP name="subtitles" -->
                                                <!-- TMPL_VAR NAME="subtitle" 
--> ; 
                                        <!-- /TMPL_LOOP -->
                                        </p>
                                <!-- /TMPL_IF -->
                                <!-- TMPL_IF name="author" 
--><p><label><b>Author:</b> </label><!-- TMPL_VAR NAME="author" --></p><!-- 
/TMPL_IF -->
-                               <!-- TMPL_IF name="additional" 
--><p><label><b>Additional Author:</b></label><!-- TMPL_VAR NAME="additional" 
--></p><!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="additional" -->
+                <p>
+                    <label><b>Additional Author:</b></label><!-- TMPL_VAR 
NAME="additional" -->
+                </p>
+                <p>
+                    <!-- TMPL_LOOP NAME="ADDLAUTHORS" --><li 
class="addlauthor"><a 
href="/cgi-bin/koha/opac-search.pl?marclist=biblio.author&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=<!--
 TMPL_VAR NAME="author" -->&amp;op=do_search"><!-- TMPL_VAR NAME="author" 
--></a></li> <!-- /TMPL_LOOP -->
+                </p>
+            <!-- /TMPL_IF -->
                                <!-- TMPL_IF name="illus" 
--><p><label><b>Illus:</b></label><!-- TMPL_VAR name="illus" --></p><!-- 
/TMPL_IF -->
                                <p>
                                        <!-- TMPL_IF name="publishercode" 
--><label><b>Published by :</b></label><!-- /TMPL_IF --> <!-- TMPL_VAR 
NAME="publishercode" -->




reply via email to

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