Commit graph

20 commits

Author SHA1 Message Date
arensb
dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
tipaul
3c30f8b69e templating modifications to rspect finlay structure 2002-10-02 16:26:14 +00:00
arensb
01e1912093 Added PODs.
Removed a bunch of trailing whitespace.
Fixed &mkheadr to match the documentation.
2002-09-22 04:04:22 +00:00
pate
500b95460e adding POD from Andres Arensburger 2002-09-20 12:49:47 +00:00
dnmeid
adf1769e43 Added getpathtotemplate-function 2002-09-17 12:42:52 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
tipaul
9fb81afb85 Now, the API...
Database.pm and Output.pm are almost not modified (var test...)

Biblio.pm is almost completly rewritten.

WHAT DOES IT ??? ==> END of Hitchcock suspens

1st, it does... nothing...
Every old API should be there. So if MARC-stuff is not done, the behaviour is EXACTLY the same (if there is no added bug, of course). So, if you use normal acquisition, you won't find anything new neither on screen or old-DB tables ...

All old-API functions have been cloned. for example, the "newbiblio" sub, now has become :
* a "newbiblio" sub, with the same parameters. It just call a sub named OLDnewbiblio
* a "OLDnewbiblio" sub, which is a copy/paste of the previous newbiblio sub. Then, when you want to add the MARC-DB stuff, you can modify the newbiblio sub without modifying the OLDnewbiblio one. If we correct a bug in 1.2 in newbiblio, we can do the same in main branch by correcting OLDnewbiblio.
* The MARC stuff is usually done through a sub named MARCxxx where xxx is the same as OLDxxx. For example, newbiblio calls MARCnewbiblio. the MARCxxx subs use a MARC::Record as parameter.
The last thing to solve was to manage biblios through real MARC import : they must populate the old-db, but must populate the MARC-DB too, without loosing information (if we go from MARC::Record to old-data then back to MARC::Record, we loose A LOT OF ROWS). To do this, there are subs beginning by "ALLxxx" : they manage datas with MARC::Record datas. they call OLDxxx sub too (to populate old-DB), but MARCxxx subs too, with a complete MARC::Record ;-)

In Biblio.pm, there are some subs that permits to build a old-style record from a MARC::Record, and the opposite. There is also a sub finding a MARC-bibid from a old-biblionumber and the opposite too.
Note we have decided with steve that a old-biblio <=> a MARC-Biblio.
2002-07-24 16:11:37 +00:00
tonnesen
e30b2ea968 use warnings breaks perl 5.005 2002-07-08 16:45:34 +00:00
tipaul
ec25ca4dfd bugfix from merging 2002-07-04 12:28:54 +00:00
tipaul
057fd6af5c merging 1.2 and main branches 2002-07-03 12:41:01 +00:00
amillar
3b184ab85d Fix warning about use of undefined variable, found when endmenu
called from marcimport.pl
2002-05-21 06:15:41 +00:00
truth_nz
cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
rangi
1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
truth_nz
3e3b57dedf Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 01:07:36 +00:00
saas
ffc98bebe4 Correct spelling - aquisitions to acquisitions 2002-04-21 04:45:21 +00:00
pate
0376493cd4 refactored slashifyDate function out of inline code, created C4/Koha.pm
to hold it and wrote tests for it, started marking other places for
potential refactoring.
2002-04-08 23:44:43 +00:00
rangi
dea0fd150d Added a line to Ouput.pm to enable circulation to use its own includes
Changed the look of circulation.pl to the green/yellow colours

Note: Steve, i added another variable $backgroundimage that sets the background image for the main tables, so it should be straightforward to change the look back to the colours you had if you want to
2001-01-31 21:38:43 +00:00
tonnesen
8b421dd4cc Renamed koha.conf config entry from "path" to "includes", which is more
meaningful in the koha.conf file.
2001-01-05 17:47:20 +00:00
tonnesen
1c9ef0371f Added support for moving path=... variable to /etc/koha.conf 2001-01-05 16:30:45 +00:00
rangi
d0374d0037 Initial revision 2000-12-19 23:45:51 +00:00