Added magic RCS comment.
[koha.git] / acqui.simple / addbiblio.pl
1 #!/usr/bin/perl
2
3 # $Id$
4
5 #
6 # TODO
7 #
8 # Add info on biblioitems and items already entered as you enter new ones
9 #
10
11
12 # Copyright 2000-2002 Katipo Communications
13 #
14 # This file is part of Koha.
15 #
16 # Koha is free software; you can redistribute it and/or modify it under the
17 # terms of the GNU General Public License as published by the Free Software
18 # Foundation; either version 2 of the License, or (at your option) any later
19 # version.
20 #
21 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
22 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
23 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
24 #
25 # You should have received a copy of the GNU General Public License along with
26 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
27 # Suite 330, Boston, MA  02111-1307 USA
28
29 use CGI;
30 use strict;
31 use C4::Output;
32
33
34 my $input = new CGI;
35 my $error = $input->param('error');
36
37 print $input->header;
38 print startpage();
39 print startmenu('acquisitions');
40
41 print << "EOF";
42 <FONT SIZE=6><em>Adding a new Biblio</em></FONT><br>
43
44 <table bgcolor="#ffcc00" width="80%" cellpadding="5">
45 <tr>
46 <td><FONT SIZE=5>Section One: Copyright Information </font></td>
47 </tr>
48 </table>
49 EOF
50
51 if ($error eq "notitle") {
52     print << "EOF";
53 <p />
54 <center>
55 <font color="#FF0000">Please Specify a Title</font>
56 </center>
57 EOF
58 } # if
59
60 print << "EOF";
61 <FORM action="savebiblio.pl" method="post">
62 <table align="center">
63 <tr>
64 <td>Title: *</td>
65 <td><INPUT name="title" size="40" /></td>
66 </tr>
67 <tr>
68 <td>Subtitle:</td>
69 <td><INPUT name="subtitle" size="40" /></td>
70 </tr>
71 <tr>
72 <td>Author:</td>
73 <td><INPUT name="author" size="40" /></td>
74 </tr>
75     <tr valign="top">
76         <td>Series Title:<br />
77         <i>(if applicable)</i></td>
78         <td><INPUT name="seriestitle" size="40" /></td>
79     </tr>
80 <tr>
81 <td>Copyright Date:</td>
82 <td><INPUT name="copyrightdate" size="40" /></td>
83 </tr>
84 <tr valign="top">
85 <td>Abstract:</td>
86 <td><textarea cols="30" rows="6" name="abstract"></textarea></td>
87 </tr>
88     <tr valign="top">
89         <td>Notes:</td>
90         <td><textarea cols="30" rows="6" name="notes"></textarea></td>
91     </tr>
92 <tr valign="top">
93 <td colspan="2"><center><input type="submit" value="Submit"></center></td>
94 </tr>
95 </table>
96 </FORM>
97 * Required
98 EOF
99
100 print endmenu();
101 print endpage();