Bug 9032: (follow-up) Plackify opac-shareshelf.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 28 Feb 2014 20:41:09 +0000 (21:41 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 20 Apr 2014 21:03:34 +0000 (21:03 +0000)
commitbdd50b3593c1f0b31e54ed19762034ac46951426
treefe20ff1e67421514d8fbea3ea616c1991f4741b6
parentc52b202c992e498d76dca5cb2f034839d9aeaecd
Bug 9032: (follow-up) Plackify opac-shareshelf.pl

Plackified opac-shareshelf by moving global my variables into hashref
and explicitly passing paramters to the subroutines that
opac-shareshelf.pl uses.

Slightly changed base64ord and base64chr functions to more generic ones.

This patch also corrects the version of the GPL statement.

Test plan:
Verify if sending an share invitation still works (under prog theme).

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
opac/opac-shareshelf.pl