New sub to use by Circ2.pm . Allows one subfield of MARC holdings fields to be updated to use with branch transfer(holdingbranch) and onloan flag when set
modification: on itemtypes management screen, useless form are replaced by
simple links.
improvement: support of itemtype icons on prog template. The icons are
displayed on itemtypes management screen and on moremember screen.
improvement: use of pagination_bar on itemtypes management screen.
new: function were added in C4::Koha to manage itemtype image location
(local/remote). Warning: you must copy or symlink the itemtypeimg directory
from the opac template into the intranet template.
bug fixed: on admin/stopwords, the calculation of the number of pages to
display in the pagination bar was wrong on extreme case (when number of
items equals the pagesize). Calculation replaced by a generic function
getnbpages in C4::Koha. This function could be useful elsewhere than in
stpwords management screen and avoid calculation bugs as I did.
new: authorities in prog/en template, only partial import from default/en
template.
improved: C4::Output::pagination_bar builds an HTML pagination bar with no
language dependency. This function hugely simplifies templates and offers a
standard pagination method. This function also improves preformances.
improvement: id on each fieldset of circulation template.
template guideline compliance: on circulation template, selected status of
each option in date options (day/month/year) is managed by a
TMPL_IF/TMPL_ELSE outside the <option>.
bug fixed: on circulation template, today issues could not be renewed with
new reserve/renewscript.pl items list coming from HTTP request.
bug fixed: on return template, included template to close the <head> was
wrong.
bug fixed: on member/moremember template, renew items comply with new
reserve/renewscript.
simplification: deletion of useless input param look-up table in
reserve/renewscript.pl, direct use of CGI method.
kados [Fri, 31 Mar 2006 18:42:10 +0000 (18:42 +0000)]
A simple script that helps sync a rel_2_2 running repo with a
head repo (ie, copies over the right files, creates some symlinks,
etc.). It's not finished yet, but getting there (I'll be testing it
extensively today and tomorrow).
plg [Fri, 31 Mar 2006 15:31:44 +0000 (15:31 +0000)]
bug fixed: the issue timestamp had not the same format as the today's date
to which it was compared. The comparison separate issues on display between
today issues and older issues.
plg [Wed, 15 Mar 2006 11:21:56 +0000 (11:21 +0000)]
bug fixed: utf-8 data where not displayed correctly in screens. Supposing
your data are truely utf-8 encoded in your database, they should be
correctly displayed. "set names 'UTF8'" on mysql connection (C4/Context.pm)
is mandatory and "binmode" to utf8 (C4/Interface/CGI/Output.pm) seemed to
converted data twice, so it was removed.
kados [Wed, 8 Mar 2006 18:12:42 +0000 (18:12 +0000)]
Hopefully a fix for hdl's accented characters not working. NOTE: BY
DEFAULT, MARC::File::XML will turn UTF-8 into MARC-8 in the new_as_xml
method ... to keep it as UTF-8 you must specify a second parameter 'UTF-8'
oleonard [Fri, 3 Mar 2006 20:10:26 +0000 (20:10 +0000)]
New programmer templates for the OPAC. Markup has been pared down, but structure hasn't been updated according to new guidelines put forth by Paul on the mailing list (i.e. named blocks, etc).
tipaul [Fri, 3 Mar 2006 16:35:21 +0000 (16:35 +0000)]
commit for holidays and news management.
Contrib from Tümer Garip (from Turkey) :
* holiday :
in /tools/ the holiday.pl script let you define holidays (days where the library is closed), branch by branch. You can define 3 types of holidays :
- single day : only this day is closed
- repet weekly (like "sunday") : the day is holiday every week
- repet yearly (like "July, 4") : this day is closed every year.
You can also put exception :
- sunday is holiday, but "2006 March, 5th" the library will be open
The holidays are used for return date calculation : the return date is set to the next date where the library is open. A systempreference (useDaysMode) set ON (Calendar) or OFF (Normal) the calendar calculation.
hdl [Mon, 27 Feb 2006 18:15:41 +0000 (18:15 +0000)]
Adding getletters to Koha.pm :
allow to get a list of letters for a module.
overduerules is a tool relying on letter.pl
It will allow ppl to manage three levels of overdue thanks to a brand new overduenotice script to come out soon.
kados [Sat, 25 Feb 2006 22:47:37 +0000 (22:47 +0000)]
Changed to use new Zconn object in Context.pm. Not sure if the Zconn
should be set within the subroutine or should be passed in via the
script -- Chris, what do you think?