koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha cataloguing/addbiblio-nomarc.pl cataloguin... [rel_3_0]


From: Antoine Farnault
Subject: [Koha-cvs] koha cataloguing/addbiblio-nomarc.pl cataloguin... [rel_3_0]
Date: Tue, 26 Sep 2006 16:05:05 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        06/09/26 16:05:05

Modified files:
        cataloguing    : addbiblio-nomarc.pl additem-nomarc.pl 
Added files:
        koha-tmpl/intranet-tmpl/prog/en/cataloguing: 
                                                     addbiblio-nomarc.tmpl 
                                                     additem-nomarc.tmpl 

Log message:
        adding missing template & fix wrong link on scripts.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/cataloguing/addbiblio-nomarc.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1&r2=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/cataloguing/additem-nomarc.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.4&r2=1.4.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio-nomarc.tmpl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem-nomarc.tmpl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1

Patches:
Index: cataloguing/addbiblio-nomarc.pl
===================================================================
RCS file: /sources/koha/koha/cataloguing/Attic/addbiblio-nomarc.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -b -r1.1 -r1.1.2.1
--- cataloguing/addbiblio-nomarc.pl     17 Jan 2006 16:40:54 -0000      1.1
+++ cataloguing/addbiblio-nomarc.pl     26 Sep 2006 16:05:05 -0000      1.1.2.1
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: addbiblio-nomarc.pl,v 1.1 2006/01/17 16:40:54 tipaul Exp $
+# $Id: addbiblio-nomarc.pl,v 1.1.2.1 2006/09/26 16:05:05 toins Exp $
 
 #
 # TODO
@@ -26,6 +26,9 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 # $Log: addbiblio-nomarc.pl,v $
+# Revision 1.1.2.1  2006/09/26 16:05:05  toins
+# adding missing template & fix wrong link on scripts.
+#
 # Revision 1.1  2006/01/17 16:40:54  tipaul
 # moving acqui.simple directory to cataloguing, as acqui.simple contains 
cataloguing scripts...
 #
@@ -50,7 +53,7 @@
 my $input = new CGI;
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     {
-        template_name   => "acqui.simple/addbiblio-nomarc.tmpl",
+        template_name   => "cataloguing/addbiblio-nomarc.tmpl",
         query           => $input,
         type            => "intranet",
         authnotrequired => 0,

Index: cataloguing/additem-nomarc.pl
===================================================================
RCS file: /sources/koha/koha/cataloguing/Attic/additem-nomarc.pl,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -b -r1.4 -r1.4.2.1
--- cataloguing/additem-nomarc.pl       27 Jul 2006 13:52:49 -0000      1.4
+++ cataloguing/additem-nomarc.pl       26 Sep 2006 16:05:05 -0000      1.4.2.1
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: additem-nomarc.pl,v 1.4 2006/07/27 13:52:49 toins Exp $
+# $Id: additem-nomarc.pl,v 1.4.2.1 2006/09/26 16:05:05 toins Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -20,6 +20,9 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 # $Log: additem-nomarc.pl,v $
+# Revision 1.4.2.1  2006/09/26 16:05:05  toins
+# adding missing template & fix wrong link on scripts.
+#
 # Revision 1.4  2006/07/27 13:52:49  toins
 # 1 sub renamed and cleaned.
 #
@@ -172,7 +175,7 @@
         my $input = new CGI;
         my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
             {
-                template_name   => "acqui.simple/additem-nomarc.tmpl",
+                template_name   => "cataloguing/additem-nomarc.tmpl",
                 query           => $input,
                 type            => "intranet",
                 authnotrequired => 0,

Index: koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio-nomarc.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio-nomarc.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio-nomarc.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ koha-tmpl/intranet-tmpl/prog/en/cataloguing/addbiblio-nomarc.tmpl   26 Sep 
2006 16:05:05 -0000      1.1.2.1
@@ -0,0 +1,32 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: Add a 
Non-MARC Record<!-- TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
+
+
+
+<!-- TMPL_IF name="ERROR" -->
+Please Specify a Title
+<!-- /TMPL_IF -->
+
+<form action="savebiblio.pl" method="post">
+
+<table>
+       <caption>Adding a new bibliographic record</caption>
+       <tr><th scope="row"><label for="title">Title: *</label></th><td><input 
name="title" id="title" type="text" size="40" /> * Required</td>
+</tr>
+<tr><th scope="row"><label for="subtitle">Subtitle:</label></th><td><input 
name="subtitle" id="subtitle" type="text" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="author">Author:</label></th><td><input 
name="author" id="author" type="text" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="seriestitle">Series Title:</label><br>
+<i>(if applicable)</i></th><td><input name="seriestitle" type="text" 
id="seriestitle" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="copyrightdate">Copyright 
Date:</label></th><td><input id="copyrightdate" name="copyrightdate" 
type="text" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="abstract">Abstract:</label></th><td><textarea 
cols="30" id="abstract" rows="6" name="abstract"></textarea></td>
+</tr>
+<tr><th scope="row"><label for="bib-notes">Notes:</label></th><td><textarea 
cols="30" rows="6" id="bib-notes" name="notes"></textarea></td>
+</tr>
+</table>
+<input type="submit" value="Add Record" />
+
+</form>
+<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->

Index: koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem-nomarc.tmpl
===================================================================
RCS file: koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem-nomarc.tmpl
diff -N koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem-nomarc.tmpl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ koha-tmpl/intranet-tmpl/prog/en/cataloguing/additem-nomarc.tmpl     26 Sep 
2006 16:05:05 -0000      1.1.2.1
@@ -0,0 +1,113 @@
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: Add a items 
for <!-- TMPL_INCLUDE NAME="doc-head-close-addbiblio.inc" -->
+
+<!-- TMPL_IF NAME="NOBARCODE" -->
+You must give the item a barcode
+<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="NOBIBLIOITEM" -->
+You must create a new group for your item to be
+added to<!-- /TMPL_IF -->
+
+<!-- TMPL_IF NAME="BARCODEINUSE" -->
+Sorry, that barcode is already in use<!-- /TMPL_IF -->
+
+<h2>Add items for <!-- TMPL_VAR NAME="TITLE" --></h2>
+
+<table>
+       <caption>Bibliographic Details</caption>
+<tr><th scope="row">Author:</th><td><!-- TMPL_VAR NAME="AUTHOR" --></td></tr>
+<tr><th scope="row">Copyright:</th><td><!-- TMPL_VAR NAME="COPYRIGHT" 
--></td></tr>
+<tr><th scope="row">Series Title:</th><td><!-- TMPL_VAR NAME="SERIES" 
--></td></tr>
+<tr><th scope="row">Notes:</th><td><!-- TMPL_VAR NAME="NOTES" --></td></tr>
+
+<!-- TMPL_LOOP NAME="BIBITEMS" -->
+<tr><th scope="row">Biblioitem Number: </th><td><!-- TMPL_VAR 
NAME="biblioitemnumber" --></td></tr>
+<tr><th scope="row">Item Type: </th><td><!-- TMPL_VAR NAME="itemtype" 
--></td></tr>
+<tr><th scope="row">ISBN:</th><td><!-- TMPL_VAR NAME="isbn" --></td></tr>
+<tr><th scope="row">Dewey:</th><td><!-- TMPL_VAR NAME="dewey" --></td></tr>
+<tr><th scope="row">Publisher:</th><td><!-- TMPL_VAR NAME="publishercode" 
--></td></tr>
+<tr><th scope="row">Place:</th><td><!-- TMPL_VAR NAME="place" --></td></tr>
+<tr><th scope="row">Date:</th><td><!-- TMPL_VAR NAME="publicationyear" 
--></td></tr>
+
+<!-- TMPL_LOOP NAME="ITEMS -->
+<tr><th scope="row">Item:</th><td><!-- TMPL_VAR NAME="barcode" --></td></tr>
+<tr><th scope="row">Home Branch:</th><td><!-- TMPL_VAR NAME="homebranch" 
--></td></tr>
+<tr><th scope="row">Notes:</th><td><!-- TMPL_VAR NAME="itemnotes" --></td></tr>
+<!-- /TMPL_LOOP -->
+
+<!-- /TMPL_LOOP -->
+</table>
+
+
+<form action="saveitem.pl" method="post">
+<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="BIBNUM" 
-->" />
+<table>
+<caption>Add New Item</caption>
+<tr><th scope="row"><label for="barcode">Item Barcode:</label></th><td><input 
type="text" id="barcode" name="barcode" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="homebranch">Branch:</label></th><td><select 
name="homebranch" id="branch">
+<!-- TMPL_LOOP NAME="BRANCHES" -->
+<option value="<!-- TMPL_VAR NAME="branchcode" -->"><!-- TMPL_VAR 
NAME="branchname" --></option>
+<!-- /TMPL_LOOP -->
+</select></td>
+</tr>
+<tr><th scope="row"><label for="replacementprice">Replacement 
Price:</label></th><td><input type="text" name="replacementprice" 
id="replacementprice" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="itemnotes">Notes:</label></th><td><textarea 
name="itemnotes" id="itemnotes" cols="30" rows="6"></textarea></td>
+</tr>
+<tr>
+<th colspan="2" >Add to existing group</td>
+</tr>
+<tr><th scope="row"><label for="biblioitemnumber">Biblioitem 
Number:</label></th><td><select name="biblioitemnumber" id="biblioitemnumber">
+<!-- TMPL_LOOP NAME="BIBITEMS" -->
+    <option value="<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR 
NAME="itemtype" --></option>
+<!-- /TMPL_LOOP -->
+</select></td></tr>
+</table>
+<input type="submit" name="existinggroup"
+value="Add New Item to Existing Group" />
+<table>
+<caption>OR Add to a new
+Group:</caption>
+<tr><th scope="row"><label for="itemtype">Item Type:</label></th><td><select 
name="itemtype" id="itemtype">
+<!-- TMPL_LOOP NAME="ITEMTYPES" -->
+<option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR 
NAME="description" --></option>
+<!-- /TMPL_LOOP -->
+</select></td>
+</tr>
+<tr><th scope="row"><label for="isbn">ISBN:</label></th><td><input type="text" 
name="isbn" id="isbn" size="40" /></td>
+</tr>
+<tr><th scope="row"><label 
for="publishercode">Publisher:</label></th><td><input type="text" 
name="publishercode" id="publishercode" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="publicationyear">Publication 
Year:</label></th><td><input type="text" name="publicationyear" 
id="publicationyear" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="place">Place of 
Publication:</label></th><td><input type="text" name="place" id="place" 
size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="illus">Illustrator:</label></th><td><input 
type="text" name="illus" id="illus" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="url">Website URL:</label></th><td><input 
type="text" name="url" id="url" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="dewey">Dewey:</label></th><td><input 
type="text" name="dewey" id="dewey" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="subclass">Dewey 
Subclass:</label></th><td><input type="text" name="subclass" id="subclass" 
size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="issn">ISSN:</label></th><td><input type="text" 
name="issn" id="issn" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="lccn">LCCN:</label></th><td><input type="text" 
name="lccn" id="lccn" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="volume">Volume:</label></th><td><input 
type="text" name="volume" id="volume" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="number">Number:</label></th><td><input 
type="text" name="number" id="number" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="volumeddesc">Volume 
Description:</label></th><td><input type="text" name="volumeddesc" 
id="volumeddesc" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="pages">Pages:</label></th><td><input 
type="text" name="pages" id="pages" size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="size">Size:</label></th><td><input name="size" 
size="40" /></td>
+</tr>
+<tr><th scope="row"><label for="notes">Notes:</label></th><td><textarea 
cols="30" rows="6" name="notes" id="notes"></textarea></td>
+</tr>
+</table>
+<input type="submit" name="newgroup" value="Add New Item to New Group">
+</form>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->




reply via email to

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