Bug 11638: Remove HTML from addbiblio.pl
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 2 May 2014 21:38:20 +0000 (18:38 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 3 Jul 2014 18:01:10 +0000 (15:01 -0300)
commitf001cc32a3ce42262b37c6c22fe8ecbd0c32f966
treeb82a39f18bf7ae8660e071377ac8e8d76de817d0
parenta3c9c4b11db62bee5d98624528c524a09a0b93b0
Bug 11638: Remove HTML from addbiblio.pl

This patch extracts variables with HTML from addbiblio.pl
and an instance of CGI::scrolling_list

As it changes how MARC editor show input fields, I prefer
not add patches for other cases mentioned on Comment #1

To test:
1. Verify there are no regressions on MARC editor
Add/Edit records, modify values
2. Update translation file for a language,
check new string 'Tag editor'

About the error message on error when deleting biblio,
it must be localized but the script is not trying to
use a template file, only prints a basic html and aborts.
Perhaps a way of handling errors more gracefully is needed,
but again it need to be solved on it's own bug.

Updated test plan

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt