improvements to the language of the installer

moved borrower categories defaults for English into a separate sql file
This commit is contained in:
kados 2007-03-18 02:16:23 +00:00
parent efb989f8db
commit 1682e779d5
4 changed files with 15 additions and 5 deletions

View file

@ -117,10 +117,10 @@ function Hide(link) {
</p> </p>
<!--/TMPL_IF--> <!--/TMPL_IF-->
<!--TMPL_IF Name="addframeworks"--> <!--TMPL_IF Name="addframeworks"-->
<h2 align="center">Data added</h2> <h2 align="center">Results of installation:</h2>
<p>Language :<!--TMPL_VAR Name="fwklanguage"--></p> <p>Language :<!--TMPL_VAR Name="fwklanguage"--></p>
<!--TMPL_LOOP Name="list"--> <!--TMPL_LOOP Name="list"-->
<h3> <!--TMPL_VAR Name="level"--></h3> <h3><!--TMPL_VAR Name="level"--> data added</h3>
<p> <p>
<ul> <ul>
<!--TMPL_LOOP Name="fwklist"--> <!--TMPL_LOOP Name="fwklist"-->
@ -131,7 +131,6 @@ function Hide(link) {
<!--/TMPL_LOOP--> <!--/TMPL_LOOP-->
<p>Installation complete.<br/> <p>Installation complete.<br/>
<p>Click on Finish to complete and load the Koha Staff Interface. <p>Click on Finish to complete and load the Koha Staff Interface.
The installer will be disabled for security reasons.
<form name="finish"> <form name="finish">
<input type="hidden" name="step" value="3" /> <input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="finish" /> <input type="hidden" name="op" value="finish" />

View file

@ -0,0 +1,4 @@
INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES ('PATRON','patron',12,100,18,NULL,NULL,'0.000000',0,NULL,'0.000000','A');
INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES ('CHILD','child',12,18,0,NULL,NULL,'0.000000',0,NULL,'0.000000','C');
INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES ('INST','institution',12,100,0,NULL,NULL,'0.000000',0,NULL,'0.000000','I');
INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES ('PROF','professional',12,100,18,NULL,NULL,'0.000000',0,NULL,'0.000000','P');

View file

@ -0,0 +1 @@
Default borrower categories: Adult Patron, Child, Institution, Professional. You can add additional categories after installation.

View file

@ -1,4 +1,10 @@
INSERT INTO `branches` (branchcode, branchname) VALUES ('MAIN','Main Library'); INSERT INTO `branches` (branchcode, branchname) VALUES ('MAIN','Main Library');
INSERT INTO `currency` (currency, rate) VALUES ('USD', 1.0); INSERT INTO `currency` (currency, rate) VALUES ('USD', 1.0);
INSERT INTO `z3950servers` (`host`, `port`, `db`, `userid`, `password`, `name`, `id`, `checked`, `rank`, `syntax`) VALUES ('z3950.loc.gov',7090,'Voyager','','','LIBRARY OF CONGRESS',1,0,2,'USMARC'),('amicus.collectionscanada.ca',210,'NL','','','AMICUS',2,0,3,'USMARC'),('66.213.78.76',9999,'NPLKoha','','','NELSONVILLE PUBLIC LIBRARY',3,0,4,'USMARC');
INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES ('PATRON','patron',20,100,10,NULL,NULL,'0.000000',0,NULL,'0.000000','A'); INSERT INTO `z3950servers` (`host`, `port`, `db`, `userid`, `password`, `name`, `id`, `checked`, `rank`, `syntax`) VALUES
('z3950.loc.gov',7090,'Voyager','','','LIBRARY OF CONGRESS',1,1,2,'USMARC'),
('amicus.collectionscanada.ca',210,'NL','','','AMICUS',2,1,3,'USMARC'),
('66.213.78.76',9999,'NPLKoha','','','NELSONVILLE PUBLIC LIBRARY',3,0,4,'USMARC');