Commit graph

11 commits

Author SHA1 Message Date
acli
6157f1842b Convenience function to check for 1/0/true/false/on/off/yes/no 2003-02-06 06:15:00 +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
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
tonnesen
a0df2d5ea3 Added a couple of tests. 2002-10-24 04:12:10 +00:00
tonnesen
d0a060afb5 Added some more functionality to Shelf.pm (including the ability to actually
create a new shelf) and started a test script (Shelf.t)
2002-10-23 23:32:47 +00:00
arensb
cef449e3fa Removed the dependency on Set::Scalar. 2002-10-12 06:08:28 +00:00
tonnesen
04dd31fa07 47 files to go, 47 files to go, take one down, pass it around...
46 files to go.
2002-06-20 18:17:51 +00:00
tonnesen
67a59666c3 Added checking for option to run unsafe database tests. The idea is that tests
that attempt to modify the library database will _not_ be run unless the
environment variable DoUnsafeDBTests is set to 1.  This allows people on
production systems to run the tests without any fear of data corruption, while
developers can run the full suite of tests on a standard sample database.
2002-06-01 05:46:08 +00:00
pate
90a0599814 quick updates/corrections 2002-05-31 22:46:59 +00:00
tonnesen
14d422a951 Skeleton test file for Catalogue.pm. Fails miserably so far. :) 2002-05-31 22:17:12 +00:00
pate
d9adf8154f updated testing 2002-05-31 20:35:54 +00:00