]> git.koha-community.org Git - koha.git/commit
Bug 9108: Followup: send the dateformat value from C4::Auth
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 20 Nov 2012 10:44:39 +0000 (11:44 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 18 Jan 2013 02:59:30 +0000 (21:59 -0500)
commita469663d7b0993894582759235c2475f662c8da4
tree2dc74c3b0206690c6b42b14cd4662ab4287e9434
parent4c23d24f400a924745b61dd930dfce8df9b84032
Bug 9108: Followup: send the dateformat value from C4::Auth

- the dateformat value is send to all templates (from
  C4::Auth::get_template_and_user)
- remove all assignment of dateformat in all .pl files
- the DHTMLcalendar_dateformat variable is unused

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed conflicts:
 - opac/sco/sco-main.pl
 - reports/acquisitions_stats.pl
 - tools/cleanborrowers.pl

All tests pass, perlcritic problems appeared in some files
before and after these patches were applied.

Checked sorting in following pages:
- acqui/addorderiso2709.tt - list of staged imports in acq
- acqui/histsearch.tt - sorting of dates in acq search result list
- acqui/invoices.tt - billing date in list of invoices in acq
- acqui/lateorders.tt - list of late orders in acq
- acqui/ordered.tt - ordered titles and estimated costs for a fund
- acqui/parcels.tt - receive shipment page
- acqui/spent.tt - received titles and actual costs for a fund
...
- serials-search.tt - subscription search result list
...
- opac/sco/sco-main.tt - due dates in list of checked out items
- reports/acquisitions-stats.tt - date searches, display of dates
- tools/cleanborrowers.tt
- tools.holidays.tt - different views of dates library is closed,
  adding dates

Checked dates display according to system preference everywhere and
searching, entering dates etc. still worked as expected.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
52 files changed:
C4/Auth.pm
acqui/booksellers.pl
acqui/histsearch.pl
acqui/invoice.pl
acqui/invoices.pl
acqui/lateorders.pl
acqui/parcels.pl
acqui/supplier.pl
admin/aqbudgetperiods.pl
admin/aqcontract.pl
admin/categorie.pl
circ/circulation.pl
circ/overdue.pl
circ/pendingreserves.pl
circ/reserveratios.pl
circ/transferstoreceive.pl
circ/view_holdsqueue.pl
circ/waitingreserves.pl
labels/label-item-search.pl
members/memberentry.pl
members/moremember.pl
opac/opac-reserve.pl
opac/opac-search-history.pl
opac/opac-tags.pl
opac/opac-topissues.pl
opac/opac-user.pl
opac/sco/sco-main.pl
reports/acquisitions_stats.pl
reports/bor_issues_top.pl
reports/borrowers_out.pl
reports/borrowers_stats.pl
reports/cat_issues_top.pl
reports/dictionary.pl
reports/guided_reports.pl
reports/issues_avg_stats.pl
reports/issues_stats.pl
reports/reserves_stats.pl
reports/stats.screen.pl
reserve/request.pl
serials/checkexpiration.pl
serials/claims.pl
serials/subscription-add.pl
suggestion/suggestion.pl
tags/review.pl
tools/cleanborrowers.pl
tools/export.pl
tools/holidays.pl
tools/inventory.pl
tools/koha-news.pl
tools/modborrowers.pl
tools/scheduler.pl
tools/viewlog.pl