Commit graph

274 commits

Author SHA1 Message Date
tipaul
3df7bdc5d3 For instance, the return date does not rely on the borrower expiration date. A systempref will be added in Koha, to modify return date calculation schema :
* ReturnBeforeExpiry = yes => return date can't be after expiry date
* ReturnBeforeExpiry = no  => return date can be after expiry date
2005-07-28 08:38:15 +00:00
hdl
552d398bf7 Adding page to display log views.
can be called by admin/viewlog.pl
Works with C4/Log.pm
uses action_logs table
2005-07-20 16:09:03 +00:00
hdl
979940ecba Modifying branch Selection : Now Superlibrarians are always able to see ALL branches budget, not simple librarians. 2005-07-12 13:59:38 +00:00
hdl
b734534b18 Add branch selection and filter for budgets and funds.
May be too much... Funds could be enough....

It works provided you update your base adding branchcode both in aqbookfund AND aqbudget.
If selection in budget is not needed, I shall remove.
2005-07-06 17:47:22 +00:00
tipaul
5e44e797eb synch'ing 2.2 and head 2005-06-20 13:15:46 +00:00
tipaul
d989e33d88 improving systempref selector :
* showing active tab better
* removing useless filter form
* adding some systemprefs to their correct tab
2005-06-20 13:12:11 +00:00
hdl
03e820d08c Displaying system preferences by category 2005-06-17 16:37:00 +00:00
genjimoto
22b8970807 script to edit the item subcategory table. 2005-06-02 03:31:16 +00:00
genjimoto
67cd0be3ed script to edit the category table. 2005-06-02 03:08:22 +00:00
genjimoto
cb0562abd2 script to edit the media type table. 2005-06-02 02:37:32 +00:00
tipaul
4dea4ae494 synch'ing 2.2 and head 2005-05-04 08:50:48 +00:00
doxulting
e576fa725b Adding a parameter to allow acces to people with management flag 2005-03-23 09:41:50 +00:00
doxulting
38cef54bd4 Adding a parameter to allow acces to people with management flag 2005-03-23 09:40:42 +00:00
doxulting
89318ac905 Adding a parameter to allow acces to people with management flag 2005-03-23 09:29:30 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
oleonard
5f48b7b932 - formatting currency values
- fixing table row color toggle, and moving color values to the template (requires update to template)
2005-02-17 17:56:58 +00:00
oleonard
2f6a47427c Adding id attributes to script-generated form fields to allow more flexible interface (tying label for attribute to input's id allows label to be clicked to transfer focus to the form field) 2005-02-14 22:07:59 +00:00
oleonard
2bc14941ff Adding id attributes to CGI-generated form inputs so that HTML labels can transfer focus to the appropriate field. 2005-02-11 19:59:41 +00:00
oleonard
f1500dd369 Updating table row color toggle to pass variable to the template instead of HTML value. Works now with CSS. 2005-02-11 16:24:11 +00:00
oleonard
01a2fe5e79 Switching from building 'edit' link in the script to building it in the template itself by creating edit_tagfield and edit_frameworkcode variables to pass to the template.
A change to the template is also required.
2005-02-10 22:42:56 +00:00
oleonard
262c959992 Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template) 2005-01-20 20:20:57 +00:00
oleonard
ae427924d7 Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template) 2005-01-20 18:48:12 +00:00
oleonard
91cce6c60a Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template) 2005-01-20 17:37:56 +00:00
oleonard
7f377d39ac Moving HTML markup to the template 2005-01-10 21:33:54 +00:00
tipaul
b02dc10f6e * partial support of the "linkage" MARC feature : if you enter a "link" on a MARC subfield, the magnifying glass won't search on the field, but on the linked field. I agree it's a partial support. Will be improved, but I need to investigate MARC21 & UNIMARC diffs on this topic. 2005-01-03 12:56:30 +00:00
tipaul
a6ce64229e bugfix for CVS installations of Koha & modperl 2004-12-08 10:41:38 +00:00
tipaul
56ab39361e fixes from A. Tarallo, for mod_perl compliance 2004-12-03 16:50:39 +00:00
tipaul
da14df0aed when deleting an itemtype, don't check issuingrules, but delete them too 2004-12-02 16:37:33 +00:00
oleonard
64d656ab31 Adding branchname to output for deletion confirmation screen (Bug 552) 2004-11-30 17:40:46 +00:00
tipaul
56d54d3d28 bugfix : returning to tag after modifying the tag. 2004-10-04 20:37:14 +00:00
tipaul
da5c8dd25b fixes for notforloan management 2004-09-13 15:20:28 +00:00
rangi
fbdf670fc7 Changing next_page to nextpage to match prevpage and all the templates seem to expect nextpage 2004-08-25 21:35:33 +00:00
tipaul
726c0565e8 various bugfixes 2004-08-18 16:05:14 +00:00
doxulting
0c3e1dd11b Some minor debug changes 2004-07-30 13:55:58 +00:00
doxulting
f122180117 Beginning of serial commit 2004-07-30 13:54:27 +00:00
doxulting
b1136e8813 Authorities 2004-07-08 10:15:59 +00:00
doxulting
4a8ae6a31b New stuff for authorities 2004-07-06 13:15:11 +00:00
doxulting
cb6e87e420 debugged framework interface. Frameworks for ensmp are ready too 2004-06-25 09:17:49 +00:00
tipaul
6ffc27d72f bugfixes 2004-06-17 08:18:42 +00:00
tipaul
5cf0a788a1 MARC authority management (continued) 2004-06-10 08:58:34 +00:00
tipaul
af996a21e8 * frameworks and itemtypes are independant
* bugfixes in authority types & framework management (mainly deletion)
2004-06-03 10:01:28 +00:00
tipaul
bc2b9b7c6e improving systempreferences to show lists, radio button where applicable (was partially done by ?, buttemplate was not done) 2004-05-28 13:43:25 +00:00
tipaul
ebd963a04d pagesize set to 100 (every systempref on the same html page) 2004-05-28 08:24:55 +00:00
tipaul
59ae3d902f hidding hidden & isurl constraints into MARC subfield structure 2004-05-28 08:24:14 +00:00
tipaul
a9f96d62d6 MARC authorities management (1st draft) 2004-05-28 08:23:03 +00:00
doxulting
4ac706ccbe attention la base ne contient peut etre pas toutes les colonnes (maxissueqty dans issuingrules par exmple) 2004-05-24 12:16:19 +00:00
tipaul
88e67b8d3e framework management : 1 MARC framework for each itemtype 2004-05-18 15:22:10 +00:00
tipaul
703eca0aa5 issuingrules : the new script to manage issuing rules (issuing number & length by branch / itemtype / borrower type) 2004-05-06 14:51:22 +00:00
tipaul
a4157fd8d2 continuing code cleaning & reordering 2004-05-04 16:15:56 +00:00
tipaul
8a6df5b308 (merged in issuingrules) 2004-05-04 15:32:35 +00:00
tipaul
1e0d19e820 removed (replaced by issuingrules.pl, script to come) 2004-05-04 15:24:34 +00:00
tipaul
3779ef4e29 *** empty log message *** 2004-04-14 19:44:33 +00:00
acli
bc5c478a57 Make "Edit subfields" a template variable. This change should not affect
old templates.
2004-03-28 08:42:20 +00:00
tipaul
73953baf99 *** empty log message *** 2004-03-24 10:42:35 +00:00
tipaul
b0cf7df697 synch'ing with 2.0 branch 2004-03-16 13:39:50 +00:00
acli
fc4a43fcd0 Make the page headings translatable while trying not to break old templates 2004-03-11 05:42:55 +00:00
tipaul
3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
tipaul
7457de546a synch'ing with rel_2_0 version 2004-01-12 16:55:05 +00:00
oleonard
097c494a59 Changes to generated HTML to allow proper validation (&, quoted attributes, etc.) 2003-12-30 20:56:16 +00:00
oleonard
c88f1bbb91 Changes to generated HTML to allow proper validation 2003-12-30 19:59:02 +00:00
oleonard
8cb1182ddb Changes to generated HTML to allow proper validation (&) 2003-12-30 17:47:10 +00:00
oleonard
b1eb0ed3a3 Changes to generated HTML to allow proper validation (&, quoted attributes, etc.) 2003-12-30 16:45:52 +00:00
oleonard
33678d2e4b Changes to generated HTML to allow proper validation (&, quoted attributes, etc.) 2003-12-30 16:16:26 +00:00
tipaul
f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul
34701939ab fix for #577 2003-10-21 15:47:06 +00:00
tipaul
518d879544 moving & templating charges to admin part of Koha 2003-10-06 13:40:49 +00:00
tipaul
02381a2301 fix for 525 (If itemtype is not set, we get a broken more detail page) and translation to french 2003-09-04 15:03:00 +00:00
tipaul
48c2fefd1c demo mode added 2003-08-01 14:23:52 +00:00
wolfpac444
d0559ec4cf Fixed Bug #542 2003-07-18 13:34:14 +00:00
slef
bdd6346c90 change show columns to use biblioitems bnotes too 2003-07-15 23:09:18 +00:00
tipaul
0ded1ac11e small fixes for thesaurus modification & removed useless "toponly" in templates 2003-07-10 14:11:46 +00:00
tipaul
1f349f1a92 Checking that all fields mapped to the item marc field (995 in UNIMARC) are mapped to a field in items SQL-table.
Previously, you had a warning only if fields mapped to item SQL-table was in more than 1 item marc field.
2003-07-04 13:24:52 +00:00
tipaul
c3a71778ea fix for #471 2003-07-04 13:17:32 +00:00
tipaul
bae44ceac7 (partial ?) fix for #512 2003-07-02 13:51:31 +00:00
tipaul
71817b0ab1 fixing bug in thesaurus entry modification 2003-07-02 12:49:43 +00:00
tipaul
4ed42893e8 fix for #473 2003-06-24 10:26:17 +00:00
tipaul
eeef872737 small fix to add subtitles and subject in mappable fields. 2003-06-20 16:26:12 +00:00
plugz
a4e5a8d358 FIX: Can offset display result 2003-06-20 12:59:19 +00:00
sergerenaux
ca7bec7639 *** empty log message *** 2003-06-17 09:30:56 +00:00
tipaul
5e3ed3cbad fixes for #395 2003-06-13 14:41:32 +00:00
tipaul
e363ddc14b fixes for bookfunds & budget. Should work now. I fix #223, #424 2003-06-13 13:46:01 +00:00
rangi
0dd1c92971 Small change to make branches order by branchcode in the list 2003-06-13 11:54:39 +00:00
tonnesen
6c203041b1 Using "boolean_preference()" call to get current status of YesNo type system
preferences.
2003-06-11 18:57:18 +00:00
tonnesen
53084f1a8c Fixed bug #35. System preference settings now give selectable options where
appropriate.
2003-06-11 18:45:36 +00:00
tipaul
d8ed149e5f 1st draft for budget reordering
DOES NOT WORK.
But it's time for week end for me, so bugfix will wait until tuesday :-)
2003-06-06 14:50:35 +00:00
wolfpac444
9a9028c462 Fixed bug #252 2003-06-02 03:56:53 +00:00
wolfpac444
ac14b50092 Fixed bug that occurs when no branch information is entered (Bug #467) 2003-05-27 05:44:41 +00:00
tipaul
73bed78699 support for subtitles, additional authors, subject. 2003-05-19 13:49:08 +00:00
tipaul
66d43cb3c1 fixes for #130, 377 2003-05-13 15:43:17 +00:00
tipaul
3aae53c4e1 authentication fixes 2003-05-06 14:55:39 +00:00
tipaul
7629ac3f62 fix for #254 2003-05-02 16:18:51 +00:00
tipaul
26543b430e really proud of this commit :-)
z3950 search and import seems to works fine.
Let me explain how :
* a "search z3950" button is added in the addbiblio template.
* when clicked, a popup appears and z3950/search.pl is called
* z3950/search.pl calls addz3950search in the DB
* the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
* as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
* when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled

Note :
* character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
* the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
2003-04-29 16:48:25 +00:00
wolfpac444
72f32f7ff7 *** empty log message *** 2003-04-13 05:54:18 +00:00
wolfpac444
758054a1b6 Bug fixes 2003-04-13 03:11:44 +00:00
wolfpac444
60b1489fe5 Fixed bug #299 2003-04-10 04:05:18 +00:00
wolfpac444
55b5cb1d1c Fixed a silly little typo ;-] 2003-04-08 17:08:37 +00:00
tipaul
bc9bf7850e fix for #222 2003-04-08 12:01:24 +00:00
tipaul
41560e80b8 fix for #184 2003-04-07 12:13:41 +00:00
wolfpac444
6419ed7c78 Added "toggle" color functionality to the templates 2003-04-05 03:35:09 +00:00
wolfpac444
e4d7a39bab Fixed the dates in aqbudget.pl 2003-04-05 03:19:33 +00:00
wolfpac444
2810acfb2a Templating... 2003-04-05 01:36:06 +00:00
wolfpac444
45dbf4d7b9 Templating... 2003-04-05 00:51:57 +00:00
wolfpac444
ab1294b661 Templating... 2003-04-05 00:35:37 +00:00
wolfpac444
fcbdef09f0 Templating... 2003-04-05 00:12:43 +00:00
wolfpac444
7dc774ec29 Templating... 2003-04-04 23:38:43 +00:00
wolfpac444
d35645d3c0 Minor fixes. 2003-04-04 22:39:45 +00:00
wolfpac444
d5cf2dfbb1 Templating... 2003-04-04 21:56:44 +00:00
wolfpac444
b845dac9a8 Templating... 2003-04-02 09:47:51 +00:00
wolfpac444
606cba8feb Changed "Date of Birth Required" to "Age Required" and removed the misleading examples. 2003-03-25 05:23:36 +00:00
tipaul
81e5ddd39c bugfix 214 : can enter stopwords separated by space or , 2003-03-18 11:58:49 +00:00
tipaul
09fbc6d33a template modifications => the templates now uses common default theme icon set. 2003-03-04 16:13:35 +00:00
wolfpac444
590956b49d Fixed &C4Connect problem and formating 2003-02-25 04:19:33 +00:00
wolfpac444
36a53b773b *** empty log message *** 2003-02-25 03:18:45 +00:00
tipaul
fa0f51d9c2 Support for 000 -> 010 fields.
Those fields doesn't have subfields.
In koha, we will use a specific "trick" : fields <10 will have a "virtual" subfield : "@".
Note it's only virtual : when rebuilding the MARC::Record, the koha API handle correctly "@" subfields => the resulting MARC record has a 00x field without subfield.
2003-02-12 11:01:04 +00:00
acli
01c8a830ca Missed setbranchinfo when SQL statements were converted to use ? 2003-02-09 08:31:04 +00:00
acli
338d829484 Converted the categories field in the default listing to a TMPL_LOOP + a
boolean TMPL_VAR
2003-02-09 07:55:13 +00:00
acli
d16adad21d Partial (incomplete) fix for bug 180 2003-02-09 07:41:22 +00:00
acli
0b48a8edf6 Trying to fix bug 130 here; corresponding changes will need to be made to
the templates
2003-02-09 06:56:43 +00:00
acli
13739fb5e3 Use ? for variables in all SQL statements 2003-02-09 06:39:07 +00:00
acli
76d997dfc2 Noted most likely correct tab size
Fixed some strange indentation
Noted stuff that needs to be fixed
Partial stub for "add new branch category" action
2003-02-09 06:14:32 +00:00
tipaul
98d746e42e small bugfix (execute with ?) 2003-02-05 15:52:24 +00:00
acli
0732091547 Make sure the total number of matching itemtypes is counted correctly;
counting categoryitems is unreliable (Bug 199)

Make a note near the begining that the file has 4-space tabs, and add
Local variables at the end for Emacs people
2003-02-05 04:20:14 +00:00
tipaul
5147ddfe45 templating itemtypes 2003-02-04 15:11:10 +00:00
acli
52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00
acli
d16a9737d6 Handle non-latin1 charsets 2003-02-02 04:57:47 +00:00
tipaul
0333765bed bugfix for bugzilla #160 2003-01-28 13:04:08 +00:00
acli
4f3f0faadc Handle non-latin1 charsets 2003-01-26 04:23:34 +00:00
tipaul
4095d0d087 *** empty log message *** 2003-01-21 14:01:52 +00:00
tipaul
e0a3a53e5b add in parameters a "check marc" link.
this script checks MARC parameters and try to detect tome errors in configuration.
currently checks 7 differents things.

The 1.3.3 MARC21 parameters fails miserabily to this test : 3 errors !!!
2003-01-21 13:45:37 +00:00
tipaul
61368cb390 # cleaning 2003-01-20 13:48:50 +00:00
acli
125c7f9c7e Handle meta tags for non-latin1 charsets 2003-01-20 07:39:27 +00:00
acli
ea50c2acb6 Preliminary fix of the CGI.pm problem of always assuming that everything is
in ISO-8859-1.

A new C4::Charset module (tentative name) has been created to guess the
charset of a piece of HTML markup. The CGI programs will be modified to use
this module as they are encountered during translation.
2003-01-19 06:15:44 +00:00
tipaul
492ca6fcc6 small bugfix to search on >= and not > 2002-12-18 10:56:41 +00:00
tipaul
73cd4c6081 small bugfix to avoid empty list at beginning 2002-12-18 10:55:16 +00:00
tipaul
d066b4cfdc bugfix for #143 : deletion ask for confirmation of the asked-for-deletion subfield, not for another one ! 2002-12-18 10:45:48 +00:00
tipaul
eaab1def1a bugfix to bug 142
But : modification of the behaviour : when you select 200 as search string in tag screen, the tags >200 are shown. Not only the 200 tag.
I think it's more logic and better.
2002-12-18 10:38:59 +00:00
tipaul
5f3749d437 adding authentification with Auth.pm
(note : i want to stay the 1st commiter in december as in november :-) )
2002-12-10 17:35:27 +00:00
tipaul
9123905d5d many bugfixes from Dombes Abbey tests 2002-12-10 13:29:32 +00:00
tipaul
19f65cfd12 bugfix for bug N°135.
Note : yes, checks are performed only on client side.
I agree this is not very secure, but it's a rarely  modified value and koha 2.0 will need :
* IE5+ or Mozilla/Netscape 6+
* javascript enabled.

Maybe the best solution would be to include in *.inc files a test for javascript activated and refuse acces if it's not.
2002-12-02 15:55:19 +00:00
tipaul
6d929790ff bugfixes and improvments 2002-12-02 14:59:50 +00:00
tipaul
e0d4e702c3 road to 1.3.2 2002-11-19 12:32:22 +00:00
tipaul
a4c791f56c small bugfix 2002-11-18 09:42:54 +00:00
lavide
a628f878e5 templating this file and modify it so that all the budgets are on the screen
but for this moment only on budget by bookfund because there is primary key for bookfundid in aqbookfund and in aqbudget tables
2002-11-16 21:40:53 +00:00
lavide
c82e185ace add links to aqbudget.pl 2002-11-16 21:37:03 +00:00
tipaul
ebb6609879 *** empty log message *** 2002-11-12 16:41:12 +00:00
lavide
f8c08a6f69 fix that i had forgotten to template for $op=delete_confirm
and delete_confirmed
2002-11-11 08:36:44 +00:00
lavide
eb3336f193 : ----------------------------------------------------------------------
ii code for templating this script but there is now to add (tommorow) a line that modify the aqbudget table too
2002-11-10 21:29:59 +00:00
lavide
8afe6ff214 fix problem that only one branches was on the screenbr 2002-11-09 17:37:01 +00:00
tonnesen
dd934bdd4d Merging from rel-1-2 to trunk 2002-10-28 21:45:38 +00:00
tipaul
72f8328b0a road to 1.3.1
thesaurus / authorities support
2002-10-26 17:57:18 +00:00