Merge remote-tracking branch 'kc/new/bug_6458' into kcmaster
authorChris Cormack <chrisc@catalyst.net.nz>
Tue, 13 Sep 2011 22:14:54 +0000 (10:14 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 13 Sep 2011 22:14:54 +0000 (10:14 +1200)
debian/scripts/koha-upgrade-to-3.4
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/css/intranet-print.css [deleted file]
koha-tmpl/intranet-tmpl/prog/en/css/intranet.css [deleted file]
koha-tmpl/intranet-tmpl/prog/en/css/intranet2.css [deleted file]
koha-tmpl/intranet-tmpl/prog/en/css/intranet2popup.css [deleted file]
koha-tmpl/intranet-tmpl/prog/en/css/pages/addbiblio.css [deleted file]
koha-tmpl/intranet-tmpl/prog/en/css/staff-global2.css [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt

index 45650c1..190d841 100755 (executable)
@@ -37,7 +37,7 @@ Koha will be upgraded for the following instances: $TO_UPGRADE
 This may take some time to run. Go make a coffee.
 EOH
 
-for name in "$TO_UPGRADE"
+for name in $TO_UPGRADE
 do
     echo "Upgrading $name..."
     sudo -u "$name-koha" -H \
index 32343a9..aef59ce 100644 (file)
@@ -95,13 +95,13 @@ CREATE TABLE `auth_types` (
 --
 
 DROP TABLE IF EXISTS `authorised_values`;
-CREATE TABLE `authorised_values` (
-  `id` int(11) NOT NULL auto_increment,
-  `category` varchar(10) NOT NULL default '',
-  `authorised_value` varchar(80) NOT NULL default '',
-  `lib` varchar(80) default NULL,
-  `lib_opac` VARCHAR(80) default NULL,
-  `imageurl` varchar(200) default NULL,
+CREATE TABLE `authorised_values` ( -- stores values for authorized values categories and values
+  `id` int(11) NOT NULL auto_increment, -- unique key, used to identify the authorized value
+  `category` varchar(10) NOT NULL default '', -- key used to identify the authorized value category
+  `authorised_value` varchar(80) NOT NULL default '', -- code use to identify the authorized value
+  `lib` varchar(80) default NULL, -- authorized value description as printed in the staff client
+  `lib_opac` VARCHAR(80) default NULL, -- authorized value description as printed in the OPAC
+  `imageurl` varchar(200) default NULL, -- authorized value URL
   PRIMARY KEY  (`id`),
   KEY `name` (`category`),
   KEY `lib` (`lib`),
@@ -113,19 +113,19 @@ CREATE TABLE `authorised_values` (
 --
 
 DROP TABLE IF EXISTS `biblio`;
-CREATE TABLE `biblio` (
-  `biblionumber` int(11) NOT NULL auto_increment,
-  `frameworkcode` varchar(4) NOT NULL default '',
-  `author` mediumtext,
-  `title` mediumtext,
-  `unititle` mediumtext,
-  `notes` mediumtext,
-  `serial` tinyint(1) default NULL,
+CREATE TABLE `biblio` ( -- table that stores bibliographic information
+  `biblionumber` int(11) NOT NULL auto_increment, -- unique identifier assigned to each bibliographic record
+  `frameworkcode` varchar(4) NOT NULL default '', -- foriegn key from the biblio_framework table to identify which framework was used in cataloging this record
+  `author` mediumtext, -- statement of responsibility from MARC record (100 in MARC21)
+  `title` mediumtext, -- title (without the subtitle) from the MARC record (245 in MARC21)
+  `unititle` mediumtext, -- uniform title (without the subtitle) from the MARC record (240 in MARC21)
+  `notes` mediumtext, -- values from the general notes field in the MARC record (500 in MARC21) split by bar (|)
+  `serial` tinyint(1) default NULL, -- foreign key, linking to the subscriptionid in the serial table
   `seriestitle` mediumtext,
-  `copyrightdate` smallint(6) default NULL,
-  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
-  `datecreated` DATE NOT NULL,
-  `abstract` mediumtext,
+  `copyrightdate` smallint(6) default NULL, -- publication or copyright date from the MARC record
+  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this record was last touched
+  `datecreated` DATE NOT NULL, -- the date this record was added to Koha
+  `abstract` mediumtext, -- summary from the MARC record (520 in MARC21)
   PRIMARY KEY  (`biblionumber`),
   KEY `blbnoidx` (`biblionumber`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -193,73 +193,73 @@ CREATE TABLE `biblioitems` (
 --
 
 DROP TABLE IF EXISTS `borrowers`;
-CREATE TABLE `borrowers` (
-  `borrowernumber` int(11) NOT NULL auto_increment,
-  `cardnumber` varchar(16) default NULL,
-  `surname` mediumtext NOT NULL,
-  `firstname` text,
-  `title` mediumtext,
-  `othernames` mediumtext,
-  `initials` text,
-  `streetnumber` varchar(10) default NULL,
-  `streettype` varchar(50) default NULL,
-  `address` mediumtext NOT NULL,
-  `address2` text,
-  `city` mediumtext NOT NULL,
-  `state` text default NULL,
-  `zipcode` varchar(25) default NULL,
-  `country` text,
-  `email` mediumtext,
-  `phone` text,
-  `mobile` varchar(50) default NULL,
-  `fax` mediumtext,
-  `emailpro` text,
-  `phonepro` text,
-  `B_streetnumber` varchar(10) default NULL,
-  `B_streettype` varchar(50) default NULL,
-  `B_address` varchar(100) default NULL,
-  `B_address2` text default NULL,
-  `B_city` mediumtext,
-  `B_state` text default NULL,
-  `B_zipcode` varchar(25) default NULL,
-  `B_country` text,
-  `B_email` text,
-  `B_phone` mediumtext,
-  `dateofbirth` date default NULL,
-  `branchcode` varchar(10) NOT NULL default '',
-  `categorycode` varchar(10) NOT NULL default '',
-  `dateenrolled` date default NULL,
-  `dateexpiry` date default NULL,
-  `gonenoaddress` tinyint(1) default NULL,
-  `lost` tinyint(1) default NULL,
-  `debarred` tinyint(1) default NULL,
-  `contactname` mediumtext,
-  `contactfirstname` text,
-  `contacttitle` text,
-  `guarantorid` int(11) default NULL,
-  `borrowernotes` mediumtext,
-  `relationship` varchar(100) default NULL,
-  `ethnicity` varchar(50) default NULL,
-  `ethnotes` varchar(255) default NULL,
-  `sex` varchar(1) default NULL,
-  `password` varchar(30) default NULL,
-  `flags` int(11) default NULL,
-  `userid` varchar(30) default NULL,
-  `opacnote` mediumtext,
-  `contactnote` varchar(255) default NULL,
-  `sort1` varchar(80) default NULL,
-  `sort2` varchar(80) default NULL,
-  `altcontactfirstname` varchar(255) default NULL,
-  `altcontactsurname` varchar(255) default NULL,
-  `altcontactaddress1` varchar(255) default NULL,
-  `altcontactaddress2` varchar(255) default NULL,
-  `altcontactaddress3` varchar(255) default NULL,
-  `altcontactstate` text default NULL,
-  `altcontactzipcode` varchar(50) default NULL,
-  `altcontactcountry` text default NULL,
-  `altcontactphone` varchar(50) default NULL,
-  `smsalertnumber` varchar(50) default NULL,
-  `privacy` integer(11) DEFAULT '1' NOT NULL,
+CREATE TABLE `borrowers` ( -- this table includes information about your patrons/borrowers/members
+  `borrowernumber` int(11) NOT NULL auto_increment, -- primary key, Koha assigned ID number for patrons/borrowers
+  `cardnumber` varchar(16) default NULL, -- unique key, library assigned ID number for patrons/borrowers
+  `surname` mediumtext NOT NULL, -- patron/borrower's last name (surname)
+  `firstname` text, -- patron/borrower's first name
+  `title` mediumtext, -- patron/borrower's title, for example: Mr. or Mrs.
+  `othernames` mediumtext, -- any other names associated with the patron/borrower
+  `initials` text, -- initials for your patron/borrower
+  `streetnumber` varchar(10) default NULL, -- the house number for your patron/borrower's primary address
+  `streettype` varchar(50) default NULL, -- the street type (Rd., Blvd, etc) for your patron/borrower's primary address
+  `address` mediumtext NOT NULL, -- the first address line for your patron/borrower's primary address
+  `address2` text, -- the second address line for your patron/borrower's primary address
+  `city` mediumtext NOT NULL, -- the city or town for your patron/borrower's primary address
+  `state` text default NULL, -- the state or province for your patron/borrower's primary address
+  `zipcode` varchar(25) default NULL, -- the zip or postal code for your patron/borrower's primary address
+  `country` text, -- the country for your patron/borrower's primary address
+  `email` mediumtext, -- the primary email address for your patron/borrower's primary address
+  `phone` text, -- the primary phone number for your patron/borrower's primary address
+  `mobile` varchar(50) default NULL, -- the other phone number for your patron/borrower's primary address
+  `fax` mediumtext, -- the fax number for your patron/borrower's primary address
+  `emailpro` text, -- the secondary email addres for your patron/borrower's primary address
+  `phonepro` text, -- the secondary phone number for your patron/borrower's primary address
+  `B_streetnumber` varchar(10) default NULL, -- the house number for your patron/borrower's alternate address
+  `B_streettype` varchar(50) default NULL, -- the street type (Rd., Blvd, etc) for your patron/borrower's alternate address
+  `B_address` varchar(100) default NULL, -- the first address line for your patron/borrower's alternate address
+  `B_address2` text default NULL, -- the second address line for your patron/borrower's alternate address
+  `B_city` mediumtext, -- the city or town for your patron/borrower's alternate address
+  `B_state` text default NULL, -- the state for your patron/borrower's alternate address
+  `B_zipcode` varchar(25) default NULL, -- the zip or postal code for your patron/borrower's alternate address
+  `B_country` text, -- the country for your patron/borrower's alternate address
+  `B_email` text, -- the patron/borrower's alternate email address
+  `B_phone` mediumtext, -- the patron/borrower's alternate phone number
+  `dateofbirth` date default NULL, -- the patron/borrower's date of birth (YYYY-MM-DD)
+  `branchcode` varchar(10) NOT NULL default '', -- foreign key from the branches table, includes the code of the patron/borrower's home branch
+  `categorycode` varchar(10) NOT NULL default '', -- foreign key from the categories table, includes the code of the patron category
+  `dateenrolled` date default NULL, -- date the patron was added to Koha (YYYY-MM-DD)
+  `dateexpiry` date default NULL, -- date the patron/borrower's card is set to expire (YYYY-MM-DD)
+  `gonenoaddress` tinyint(1) default NULL, -- set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address
+  `lost` tinyint(1) default NULL, -- set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card
+  `debarred` tinyint(1) default NULL, -- set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as being restricted
+  `contactname` mediumtext, -- used for children and profesionals to include surname or last name of guarentor or organization name
+  `contactfirstname` text, -- used for children to include first name of guarentor
+  `contacttitle` text, -- used for children to include title (Mr., Mrs., etc) of guarentor
+  `guarantorid` int(11) default NULL, -- borrowernumber used for children or professionals to link them to guarentors or organizations
+  `borrowernotes` mediumtext, -- a note on the patron/borroewr's account that is only visible in the staff client
+  `relationship` varchar(100) default NULL, -- used for children to include the relationship to their guarentor
+  `ethnicity` varchar(50) default NULL, -- unused in Koha
+  `ethnotes` varchar(255) default NULL, -- unused in Koha
+  `sex` varchar(1) default NULL, -- patron/borrower's gender
+  `password` varchar(30) default NULL, -- patron/borrower's encrypted password
+  `flags` int(11) default NULL, -- will include a number associated with the staff member's permissions
+  `userid` varchar(30) default NULL, -- patron/borrower's opac and/or staff client log in
+  `opacnote` mediumtext, -- a note on the patron/borrower's account that is visible in the OPAC and staff client
+  `contactnote` varchar(255) default NULL, -- a note related to the patron/borrower's alternate address
+  `sort1` varchar(80) default NULL, -- a field that can be used for any information unique to the library
+  `sort2` varchar(80) default NULL, -- a field that can be used for any information unique to the library
+  `altcontactfirstname` varchar(255) default NULL, -- first name of alternate contact for the patron/borrower
+  `altcontactsurname` varchar(255) default NULL, -- surname or last name of the alternate contact for the patron/borrower
+  `altcontactaddress1` varchar(255) default NULL, -- the first address line for the alternate contact for the patron/borrower
+  `altcontactaddress2` varchar(255) default NULL, -- the second address line for the alternate contact for the patron/borrower
+  `altcontactaddress3` varchar(255) default NULL, -- the third address line for the alternate contact for the patron/borrower
+  `altcontactstate` text default NULL, -- the city and state for the alternate contact for the patron/borrower
+  `altcontactzipcode` varchar(50) default NULL, -- the zipcode for the alternate contact for the patron/borrower
+  `altcontactcountry` text default NULL, -- the country for the alternate contact for the patron/borrower
+  `altcontactphone` varchar(50) default NULL, -- the phone number for the alternate contact for the patron/borrower
+  `smsalertnumber` varchar(50) default NULL, -- the mobile phone number where the patron/borrower would like to receive notices (if SNS turned on)
+  `privacy` integer(11) DEFAULT '1' NOT NULL, -- patron/borrower's privacy settings related to their reading history
   UNIQUE KEY `cardnumber` (`cardnumber`),
   PRIMARY KEY `borrowernumber` (`borrowernumber`),
   KEY `categorycode` (`categorycode`),
@@ -275,15 +275,15 @@ CREATE TABLE `borrowers` (
 --
 
 DROP TABLE IF EXISTS `borrower_attribute_types`;
-CREATE TABLE `borrower_attribute_types` (
-  `code` varchar(10) NOT NULL,
-  `description` varchar(255) NOT NULL,
-  `repeatable` tinyint(1) NOT NULL default 0,
-  `unique_id` tinyint(1) NOT NULL default 0,
-  `opac_display` tinyint(1) NOT NULL default 0,
-  `password_allowed` tinyint(1) NOT NULL default 0,
-  `staff_searchable` tinyint(1) NOT NULL default 0,
-  `authorised_value_category` varchar(10) default NULL,
+CREATE TABLE `borrower_attribute_types` ( -- definitions for custom patron fields known as extended patron attributes
+  `code` varchar(10) NOT NULL, -- unique key used to identify each custom field
+  `description` varchar(255) NOT NULL, -- description for each custom field
+  `repeatable` tinyint(1) NOT NULL default 0, -- defines whether one patron/borrower can have multiple values for this custom field  (1 for yes, 0 for no)
+  `unique_id` tinyint(1) NOT NULL default 0, -- defines if this value needs to be unique (1 for yes, 0 for no)
+  `opac_display` tinyint(1) NOT NULL default 0, -- defines if this field is visible to patrons on their account in the OPAC (1 for yes, 0 for no)
+  `password_allowed` tinyint(1) NOT NULL default 0, -- defines if it is possible to associate a password with this custom field (1 for yes, 0 for no)
+  `staff_searchable` tinyint(1) NOT NULL default 0, -- defines if this field is searchable via the patron search in the staff client (1 for yes, 0 for no)
+  `authorised_value_category` varchar(10) default NULL, -- foreign key from authorised_values that links this custom field to an authorized value category
   PRIMARY KEY  (`code`),
   KEY `auth_val_cat_idx` (`authorised_value_category`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -293,11 +293,11 @@ CREATE TABLE `borrower_attribute_types` (
 --
 
 DROP TABLE IF EXISTS `borrower_attributes`;
-CREATE TABLE `borrower_attributes` (
-  `borrowernumber` int(11) NOT NULL,
-  `code` varchar(10) NOT NULL,
-  `attribute` varchar(64) default NULL,
-  `password` varchar(64) default NULL,
+CREATE TABLE `borrower_attributes` ( -- values of custom patron fields known as extended patron attributes linked to patrons/borrowers
+  `borrowernumber` int(11) NOT NULL, -- foreign key from the borrowers table, defines which patron/borrower has this attribute
+  `code` varchar(10) NOT NULL, -- foreign key from the borrower_attribute_types table, defines which custom field this value was entered for
+  `attribute` varchar(64) default NULL, -- custom patron field value
+  `password` varchar(64) default NULL, -- password associated with this field
   KEY `borrowernumber` (`borrowernumber`),
   KEY `code_attribute` (`code`, `attribute`),
   CONSTRAINT `borrower_attributes_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`)
@@ -306,6 +306,10 @@ CREATE TABLE `borrower_attributes` (
     ON DELETE CASCADE ON UPDATE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `branch_item_rules`
+--
+
 DROP TABLE IF EXISTS `branch_item_rules`;
 CREATE TABLE `branch_item_rules` (
   `branchcode` varchar(10) NOT NULL,
@@ -324,11 +328,11 @@ CREATE TABLE `branch_item_rules` (
 --
 
 DROP TABLE IF EXISTS `branchcategories`;
-CREATE TABLE `branchcategories` (
-  `categorycode` varchar(10) NOT NULL default '',
-  `categoryname` varchar(32),
-  `codedescription` mediumtext,
-  `categorytype` varchar(16),
+CREATE TABLE `branchcategories` ( -- information related to library/branch groups
+  `categorycode` varchar(10) NOT NULL default '', -- unique identifier for the library/branch group
+  `categoryname` varchar(32), -- name of the library/branch group
+  `codedescription` mediumtext, -- longer description of the library/branch group
+  `categorytype` varchar(16), -- says whether this is a search group or a properties group
   PRIMARY KEY  (`categorycode`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -337,24 +341,24 @@ CREATE TABLE `branchcategories` (
 --
 
 DROP TABLE IF EXISTS `branches`;
-CREATE TABLE `branches` (
-  `branchcode` varchar(10) NOT NULL default '',
-  `branchname` mediumtext NOT NULL,
-  `branchaddress1` mediumtext,
-  `branchaddress2` mediumtext,
-  `branchaddress3` mediumtext,
-  `branchzip` varchar(25) default NULL,
-  `branchcity` mediumtext,
-  `branchstate` mediumtext,
-  `branchcountry` text,
-  `branchphone` mediumtext,
-  `branchfax` mediumtext,
-  `branchemail` mediumtext,
-  `branchurl` mediumtext,
-  `issuing` tinyint(4) default NULL,
-  `branchip` varchar(15) default NULL,
-  `branchprinter` varchar(100) default NULL,
-  `branchnotes` mediumtext,
+CREATE TABLE `branches` ( -- information about your libraries or branches are stored here
+  `branchcode` varchar(10) NOT NULL default '', -- a unique key assigned to each branch
+  `branchname` mediumtext NOT NULL, -- the name of your library or branch
+  `branchaddress1` mediumtext, -- the first address line of for your library or branch
+  `branchaddress2` mediumtext, -- the second address line of for your library or branch
+  `branchaddress3` mediumtext, -- the third address line of for your library or branch
+  `branchzip` varchar(25) default NULL, -- the zip or postal code for your library or branch
+  `branchcity` mediumtext, -- the city or province for your library or branch
+  `branchstate` mediumtext, -- the state for your library or branch
+  `branchcountry` text, -- the county for your library or branch
+  `branchphone` mediumtext, -- the primary phone for your library or branch
+  `branchfax` mediumtext, -- the fax number for your library or branch
+  `branchemail` mediumtext, -- the primary email address for your library or branch
+  `branchurl` mediumtext, -- the URL for your library or branch's website
+  `issuing` tinyint(4) default NULL, -- unused in Koha
+  `branchip` varchar(15) default NULL, -- the IP address for your library or branch
+  `branchprinter` varchar(100) default NULL, -- unused in Koha
+  `branchnotes` mediumtext, -- notes related to your library or branch
   UNIQUE KEY `branchcode` (`branchcode`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -363,9 +367,9 @@ CREATE TABLE `branches` (
 --
 
 DROP TABLE IF EXISTS `branchrelations`;
-CREATE TABLE `branchrelations` (
-  `branchcode` varchar(10) NOT NULL default '',
-  `categorycode` varchar(10) NOT NULL default '',
+CREATE TABLE `branchrelations` ( -- this table links libraries/branches to groups
+  `branchcode` varchar(10) NOT NULL default '', -- foreign key from the branches table to identify the branch
+  `categorycode` varchar(10) NOT NULL default '', -- foreign key from the branchcategories table to identify the group
   PRIMARY KEY  (`branchcode`,`categorycode`),
   KEY `branchcode` (`branchcode`),
   KEY `categorycode` (`categorycode`),
@@ -525,12 +529,12 @@ CREATE TABLE `default_circ_rules` (
 --
 
 DROP TABLE IF EXISTS `cities`;
-CREATE TABLE `cities` (
-  `cityid` int(11) NOT NULL auto_increment,
-  `city_name` varchar(100) NOT NULL default '',
-  `city_state` VARCHAR( 100 ) NULL DEFAULT NULL,
-  `city_country` VARCHAR( 100 ) NULL DEFAULT NULL,
-  `city_zipcode` varchar(20) default NULL,
+CREATE TABLE `cities` ( -- authorized values for cities/states/countries to choose when adding/editing a patron/borrower
+  `cityid` int(11) NOT NULL auto_increment, -- unique identifier added by Koha
+  `city_name` varchar(100) NOT NULL default '', -- name of the city
+  `city_state` VARCHAR( 100 ) NULL DEFAULT NULL, -- name of the state/province
+  `city_country` VARCHAR( 100 ) NULL DEFAULT NULL, -- name of the country
+  `city_zipcode` varchar(20) default NULL, -- zip or postal code
   PRIMARY KEY  (`cityid`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -582,19 +586,19 @@ CREATE TABLE `currency` (
 --
 
 DROP TABLE IF EXISTS `deletedbiblio`;
-CREATE TABLE `deletedbiblio` (
-  `biblionumber` int(11) NOT NULL default 0,
-  `frameworkcode` varchar(4) NOT NULL default '',
-  `author` mediumtext,
-  `title` mediumtext,
-  `unititle` mediumtext,
-  `notes` mediumtext,
-  `serial` tinyint(1) default NULL,
+CREATE TABLE `deletedbiblio` ( -- stores information about bibliographic records that have been deleted
+  `biblionumber` int(11) NOT NULL auto_increment, -- unique identifier assigned to each bibliographic record
+  `frameworkcode` varchar(4) NOT NULL default '', -- foriegn key from the biblio_framework table to identify which framework was used in cataloging this record
+  `author` mediumtext, -- statement of responsibility from MARC record (100 in MARC21)
+  `title` mediumtext, -- title (without the subtitle) from the MARC record (245 in MARC21)
+  `unititle` mediumtext, -- uniform title (without the subtitle) from the MARC record (240 in MARC21)
+  `notes` mediumtext, -- values from the general notes field in the MARC record (500 in MARC21) split by bar (|)
+  `serial` tinyint(1) default NULL, -- foreign key, linking to the subscriptionid in the serial table
   `seriestitle` mediumtext,
-  `copyrightdate` smallint(6) default NULL,
-  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
-  `datecreated` DATE NOT NULL,
-  `abstract` mediumtext,
+  `copyrightdate` smallint(6) default NULL, -- publication or copyright date from the MARC record
+  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this record was last touched
+  `datecreated` DATE NOT NULL, -- the date this record was added to Koha
+  `abstract` mediumtext, -- summary from the MARC record (520 in MARC21)
   PRIMARY KEY  (`biblionumber`),
   KEY `blbnoidx` (`biblionumber`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -649,74 +653,74 @@ CREATE TABLE `deletedbiblioitems` (
 --
 
 DROP TABLE IF EXISTS `deletedborrowers`;
-CREATE TABLE `deletedborrowers` (
-  `borrowernumber` int(11) NOT NULL default 0,
-  `cardnumber` varchar(16) NOT NULL default '',
-  `surname` mediumtext NOT NULL,
-  `firstname` text,
-  `title` mediumtext,
-  `othernames` mediumtext,
-  `initials` text,
-  `streetnumber` varchar(10) default NULL,
-  `streettype` varchar(50) default NULL,
-  `address` mediumtext NOT NULL,
-  `address2` text,
-  `city` mediumtext NOT NULL,
-  `state` text default NULL,
-  `zipcode` varchar(25) default NULL,
-  `country` text,
-  `email` mediumtext,
-  `phone` text,
-  `mobile` varchar(50) default NULL,
-  `fax` mediumtext,
-  `emailpro` text,
-  `phonepro` text,
-  `B_streetnumber` varchar(10) default NULL,
-  `B_streettype` varchar(50) default NULL,
-  `B_address` varchar(100) default NULL,
-  `B_address2` text default NULL,
-  `B_city` mediumtext,
-  `B_state` text default NULL,
-  `B_zipcode` varchar(25) default NULL,
-  `B_country` text,
-  `B_email` text,
-  `B_phone` mediumtext,
-  `dateofbirth` date default NULL,
-  `branchcode` varchar(10) NOT NULL default '',
-  `categorycode` varchar(10) default NULL,
-  `dateenrolled` date default NULL,
-  `dateexpiry` date default NULL,
-  `gonenoaddress` tinyint(1) default NULL,
-  `lost` tinyint(1) default NULL,
-  `debarred` tinyint(1) default NULL,
-  `contactname` mediumtext,
-  `contactfirstname` text,
-  `contacttitle` text,
-  `guarantorid` int(11) default NULL,
-  `borrowernotes` mediumtext,
-  `relationship` varchar(100) default NULL,
-  `ethnicity` varchar(50) default NULL,
-  `ethnotes` varchar(255) default NULL,
-  `sex` varchar(1) default NULL,
-  `password` varchar(30) default NULL,
-  `flags` int(11) default NULL,
-  `userid` varchar(30) default NULL,
-  `opacnote` mediumtext,
-  `contactnote` varchar(255) default NULL,
-  `sort1` varchar(80) default NULL,
-  `sort2` varchar(80) default NULL,
-  `altcontactfirstname` varchar(255) default NULL,
-  `altcontactsurname` varchar(255) default NULL,
-  `altcontactaddress1` varchar(255) default NULL,
-  `altcontactaddress2` varchar(255) default NULL,
-  `altcontactaddress3` varchar(255) default NULL,
-  `altcontactstate` text default NULL,
-  `altcontactzipcode` varchar(50) default NULL,
-  `altcontactcountry` text default NULL,
-  `altcontactphone` varchar(50) default NULL,
-  `smsalertnumber` varchar(50) default NULL,
-  `privacy` integer(11) DEFAULT '1' NOT NULL,
-  KEY `borrowernumber` (`borrowernumber`),
+CREATE TABLE `deletedborrowers` ( -- stores data related to the patrons/borrowers you have deleted
+  `borrowernumber` int(11) NOT NULL default 0, -- primary key, Koha assigned ID number for patrons/borrowers
+  `cardnumber` varchar(16) default NULL, -- unique key, library assigned ID number for patrons/borrowers
+  `surname` mediumtext NOT NULL, -- patron/borrower's last name (surname)
+  `firstname` text, -- patron/borrower's first name
+  `title` mediumtext, -- patron/borrower's title, for example: Mr. or Mrs.
+  `othernames` mediumtext, -- any other names associated with the patron/borrower
+  `initials` text, -- initials for your patron/borrower
+  `streetnumber` varchar(10) default NULL, -- the house number for your patron/borrower's primary address
+  `streettype` varchar(50) default NULL, -- the street type (Rd., Blvd, etc) for your patron/borrower's primary address
+  `address` mediumtext NOT NULL, -- the first address line for your patron/borrower's primary address
+  `address2` text, -- the second address line for your patron/borrower's primary address
+  `city` mediumtext NOT NULL, -- the city or town for your patron/borrower's primary address
+  `state` text default NULL, -- the state or province for your patron/borrower's primary address
+  `zipcode` varchar(25) default NULL, -- the zip or postal code for your patron/borrower's primary address
+  `country` text, -- the country for your patron/borrower's primary address
+  `email` mediumtext, -- the primary email address for your patron/borrower's primary address
+  `phone` text, -- the primary phone number for your patron/borrower's primary address
+  `mobile` varchar(50) default NULL, -- the other phone number for your patron/borrower's primary address
+  `fax` mediumtext, -- the fax number for your patron/borrower's primary address
+  `emailpro` text, -- the secondary email addres for your patron/borrower's primary address
+  `phonepro` text, -- the secondary phone number for your patron/borrower's primary address
+  `B_streetnumber` varchar(10) default NULL, -- the house number for your patron/borrower's alternate address
+  `B_streettype` varchar(50) default NULL, -- the street type (Rd., Blvd, etc) for your patron/borrower's alternate address
+  `B_address` varchar(100) default NULL, -- the first address line for your patron/borrower's alternate address
+  `B_address2` text default NULL, -- the second address line for your patron/borrower's alternate address
+  `B_city` mediumtext, -- the city or town for your patron/borrower's alternate address
+  `B_state` text default NULL, -- the state for your patron/borrower's alternate address
+  `B_zipcode` varchar(25) default NULL, -- the zip or postal code for your patron/borrower's alternate address
+  `B_country` text, -- the country for your patron/borrower's alternate address
+  `B_email` text, -- the patron/borrower's alternate email address
+  `B_phone` mediumtext, -- the patron/borrower's alternate phone number
+  `dateofbirth` date default NULL, -- the patron/borrower's date of birth (YYYY-MM-DD)
+  `branchcode` varchar(10) NOT NULL default '', -- foreign key from the branches table, includes the code of the patron/borrower's home branch
+  `categorycode` varchar(10) NOT NULL default '', -- foreign key from the categories table, includes the code of the patron category
+  `dateenrolled` date default NULL, -- date the patron was added to Koha (YYYY-MM-DD)
+  `dateexpiry` date default NULL, -- date the patron/borrower's card is set to expire (YYYY-MM-DD)
+  `gonenoaddress` tinyint(1) default NULL, -- set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address
+  `lost` tinyint(1) default NULL, -- set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card
+  `debarred` tinyint(1) default NULL, -- set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as being restricted
+  `contactname` mediumtext, -- used for children and profesionals to include surname or last name of guarentor or organization name
+  `contactfirstname` text, -- used for children to include first name of guarentor
+  `contacttitle` text, -- used for children to include title (Mr., Mrs., etc) of guarentor
+  `guarantorid` int(11) default NULL, -- borrowernumber used for children or professionals to link them to guarentors or organizations
+  `borrowernotes` mediumtext, -- a note on the patron/borroewr's account that is only visible in the staff client
+  `relationship` varchar(100) default NULL, -- used for children to include the relationship to their guarentor
+  `ethnicity` varchar(50) default NULL, -- unused in Koha
+  `ethnotes` varchar(255) default NULL, -- unused in Koha
+  `sex` varchar(1) default NULL, -- patron/borrower's gender
+  `password` varchar(30) default NULL, -- patron/borrower's encrypted password
+  `flags` int(11) default NULL, -- will include a number associated with the staff member's permissions
+  `userid` varchar(30) default NULL, -- patron/borrower's opac and/or staff client log in
+  `opacnote` mediumtext, -- a note on the patron/borrower's account that is visible in the OPAC and staff client
+  `contactnote` varchar(255) default NULL, -- a note related to the patron/borrower's alternate address
+  `sort1` varchar(80) default NULL, -- a field that can be used for any information unique to the library
+  `sort2` varchar(80) default NULL, -- a field that can be used for any information unique to the library
+  `altcontactfirstname` varchar(255) default NULL, -- first name of alternate contact for the patron/borrower
+  `altcontactsurname` varchar(255) default NULL, -- surname or last name of the alternate contact for the patron/borrower
+  `altcontactaddress1` varchar(255) default NULL, -- the first address line for the alternate contact for the patron/borrower
+  `altcontactaddress2` varchar(255) default NULL, -- the second address line for the alternate contact for the patron/borrower
+  `altcontactaddress3` varchar(255) default NULL, -- the third address line for the alternate contact for the patron/borrower
+  `altcontactstate` text default NULL, -- the city and state for the alternate contact for the patron/borrower
+  `altcontactzipcode` varchar(50) default NULL, -- the zipcode for the alternate contact for the patron/borrower
+  `altcontactcountry` text default NULL, -- the country for the alternate contact for the patron/borrower
+  `altcontactphone` varchar(50) default NULL, -- the phone number for the alternate contact for the patron/borrower
+  `smsalertnumber` varchar(50) default NULL, -- the mobile phone number where the patron/borrower would like to receive notices (if SNS turned on)
+  `privacy` integer(11) DEFAULT '1' NOT NULL, -- patron/borrower's privacy settings related to their reading history  KEY `borrowernumber` (`borrowernumber`),
+  KEY borrowernumber (borrowernumber),
   KEY `cardnumber` (`cardnumber`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -939,19 +943,18 @@ CREATE TABLE `import_items` (
 --
 
 DROP TABLE IF EXISTS `issues`;
-CREATE TABLE `issues` (
-  `borrowernumber` int(11),
-  `itemnumber` int(11),
-  `date_due` date default NULL,
-  `branchcode` varchar(10) default NULL,
+CREATE TABLE `issues` ( -- information related to check outs or issues
+  `borrowernumber` int(11), -- foreign key, linking this to the borrowers table for the patron this item was checked out to
+  `itemnumber` int(11), -- foreign key, linking this to the items table for the item that was checked out
+  `date_due` date default NULL, -- date the item is due (yyyy-mm-dd)
+  `branchcode` varchar(10) default NULL, -- foreign key, linking to the branches table for the location the item was checked out
   `issuingbranch` varchar(18) default NULL,
-  `returndate` date default NULL,
-  `lastreneweddate` date default NULL,
+  `returndate` date default NULL, -- date the item was returned, will be NULL until moved to old_issues
+  `lastreneweddate` date default NULL, -- date the item was last renewed
   `return` varchar(4) default NULL,
-  `renewals` tinyint(4) default NULL,
-  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
-  `issuedate` date default NULL,
-  PRIMARY KEY (`itemnumber`),
+  `renewals` tinyint(4) default NULL, -- lists the number of times the item was renewed
+  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- the date and time this record was last touched
+  `issuedate` date default NULL, -- date the item was checked out or issued
   KEY `issuesborridx` (`borrowernumber`),
   KEY `bordate` (`borrowernumber`,`timestamp`),
   CONSTRAINT `issues_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE RESTRICT ON UPDATE CASCADE,
@@ -1049,13 +1052,13 @@ CREATE TABLE `items` (
 --
 
 DROP TABLE IF EXISTS `itemtypes`;
-CREATE TABLE `itemtypes` (
-  `itemtype` varchar(10) NOT NULL default '',
-  `description` mediumtext,
-  `rentalcharge` double(16,4) default NULL,
-  `notforloan` smallint(6) default NULL,
-  `imageurl` varchar(200) default NULL,
-  `summary` text,
+CREATE TABLE `itemtypes` ( -- defines the item types
+  `itemtype` varchar(10) NOT NULL default '', -- unique key, a code associated with the item type
+  `description` mediumtext, -- a plain text explanation of the item type
+  `rentalcharge` double(16,4) default NULL, -- the amount charged when this item is checked out/issued
+  `notforloan` smallint(6) default NULL, -- 1 if the item is not for loan, 0 if the item is available for loan
+  `imageurl` varchar(200) default NULL, -- URL for the item type icon
+  `summary` text, -- information from the summary field, may include HTML
   PRIMARY KEY  (`itemtype`),
   UNIQUE KEY `itemtype` (`itemtype`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -1159,12 +1162,12 @@ CREATE TABLE `creator_templates` (
 --
 
 DROP TABLE IF EXISTS `letter`;
-CREATE TABLE `letter` (
-  `module` varchar(20) NOT NULL default '',
-  `code` varchar(20) NOT NULL default '',
-  `name` varchar(100) NOT NULL default '',
-  `title` varchar(200) NOT NULL default '',
-  `content` text,
+CREATE TABLE `letter` ( -- table for all notice templates in Koha
+  `module` varchar(20) NOT NULL default '', -- Koha module that triggers this notice
+  `code` varchar(20) NOT NULL default '', -- unique identifier for this notice
+  `name` varchar(100) NOT NULL default '', -- plain text name for this notice
+  `title` varchar(200) NOT NULL default '', -- subject line of the notice
+  `content` text, -- body text for the notice
   PRIMARY KEY  (`module`,`code`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1340,18 +1343,18 @@ CREATE TABLE `nozebra` (
 --
 
 DROP TABLE IF EXISTS `old_issues`;
-CREATE TABLE `old_issues` (
-  `borrowernumber` int(11) default NULL,
-  `itemnumber` int(11) default NULL,
-  `date_due` date default NULL,
-  `branchcode` varchar(10) default NULL,
+CREATE TABLE `old_issues` ( -- lists items that were checked out and have been returned
+  `borrowernumber` int(11) default NULL, -- foreign key, linking this to the borrowers table for the patron this item was checked out to
+  `itemnumber` int(11) default NULL, -- foreign key, linking this to the items table for the item that was checked out
+  `date_due` date default NULL, -- date the item is due (yyyy-mm-dd)
+  `branchcode` varchar(10) default NULL, -- foreign key, linking to the branches table for the location the item was checked out
   `issuingbranch` varchar(18) default NULL,
-  `returndate` date default NULL,
-  `lastreneweddate` date default NULL,
+  `returndate` date default NULL, -- date the item was returned
+  `lastreneweddate` date default NULL, -- date the item was last renewed
   `return` varchar(4) default NULL,
-  `renewals` tinyint(4) default NULL,
-  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
-  `issuedate` date default NULL,
+  `renewals` tinyint(4) default NULL, -- lists the number of times the item was renewed
+  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- the date and time this record was last touched
+  `issuedate` date default NULL, -- date the item was checked out or issued
   KEY `old_issuesborridx` (`borrowernumber`),
   KEY `old_issuesitemidx` (`itemnumber`),
   KEY `old_bordate` (`borrowernumber`,`timestamp`),
@@ -1399,14 +1402,14 @@ CREATE TABLE `old_reserves` (
 --
 
 DROP TABLE IF EXISTS `opac_news`;
-CREATE TABLE `opac_news` (
-  `idnew` int(10) unsigned NOT NULL auto_increment,
-  `title` varchar(250) NOT NULL default '',
-  `new` text NOT NULL,
-  `lang` varchar(25) NOT NULL default '',
-  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP,
-  `expirationdate` date default NULL,
-  `number` int(11) default NULL,
+CREATE TABLE `opac_news` ( -- data from the news tool
+  `idnew` int(10) unsigned NOT NULL auto_increment, -- unique identifier for the news article
+  `title` varchar(250) NOT NULL default '', -- title of the news article
+  `new` text NOT NULL, -- the body of your news article
+  `lang` varchar(25) NOT NULL default '', -- location for the article (koha is the staff client, slip is the circulation receipt and language codes are for the opac)
+  `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP, -- pulibcation date and time
+  `expirationdate` date default NULL, -- date the article is set to expire or no longer be visible
+  `number` int(11) default NULL, -- the order in which this article appears in that specific location
   PRIMARY KEY  (`idnew`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1415,18 +1418,18 @@ CREATE TABLE `opac_news` (
 --
 
 DROP TABLE IF EXISTS `overduerules`;
-CREATE TABLE `overduerules` (
-  `branchcode` varchar(10) NOT NULL default '',
-  `categorycode` varchar(10) NOT NULL default '',
-  `delay1` int(4) default NULL,
-  `letter1` varchar(20) default NULL,
-  `debarred1` varchar(1) default 0,
-  `delay2` int(4) default NULL,
-  `debarred2` varchar(1) default 0,
-  `letter2` varchar(20) default NULL,
-  `delay3` int(4) default NULL,
-  `letter3` varchar(20) default NULL,
-  `debarred3` int(1) default 0,
+CREATE TABLE `overduerules` ( -- overdue notice status and triggers
+  `branchcode` varchar(10) NOT NULL default '', -- foreign key from the branches table to define which branch this rule is for (if blank it's all libraries)
+  `categorycode` varchar(10) NOT NULL default '', -- foreign key from the categories table to define which patron category this rule is for
+  `delay1` int(4) default NULL, -- number of days after the item is overdue that the first notice is sent
+  `letter1` varchar(20) default NULL, -- foreign key from the letter table to define which notice should be sent as the first notice
+  `debarred1` varchar(1) default 0, -- is the patron restricted when the first notice is sent (1 for yes, 0 for no)
+  `delay2` int(4) default NULL, -- number of days after the item is overdue that the second notice is sent
+  `debarred2` varchar(1) default 0, -- is the patron restricted when the second notice is sent (1 for yes, 0 for no)
+  `letter2` varchar(20) default NULL, -- foreign key from the letter table to define which notice should be sent as the second notice
+  `delay3` int(4) default NULL, -- number of days after the item is overdue that the third notice is sent
+  `letter3` varchar(20) default NULL, -- foreign key from the letter table to define which notice should be sent as the third notice
+  `debarred3` int(1) default 0, -- is the patron restricted when the third notice is sent (1 for yes, 0 for no)
   PRIMARY KEY  (`branchcode`,`categorycode`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1495,14 +1498,14 @@ CREATE TABLE `printers_profile` (
 --
 
 DROP TABLE IF EXISTS `repeatable_holidays`;
-CREATE TABLE `repeatable_holidays` (
-  `id` int(11) NOT NULL auto_increment,
-  `branchcode` varchar(10) NOT NULL default '',
-  `weekday` smallint(6) default NULL,
-  `day` smallint(6) default NULL,
-  `month` smallint(6) default NULL,
-  `title` varchar(50) NOT NULL default '',
-  `description` text NOT NULL,
+CREATE TABLE `repeatable_holidays` ( -- information for the days the library is closed
+  `id` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `branchcode` varchar(10) NOT NULL default '', -- foreign key from the branches table, defines which branch this closing is for
+  `weekday` smallint(6) default NULL, -- day of the week (0=Sunday, 1=Monday, etc) this closing is repeated on
+  `day` smallint(6) default NULL, -- day of the month this closing is on
+  `month` smallint(6) default NULL, -- month this closing is in
+  `title` varchar(50) NOT NULL default '', -- title of this closing
+  `description` text NOT NULL, -- description for this closing
   PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1511,14 +1514,14 @@ CREATE TABLE `repeatable_holidays` (
 --
 
 DROP TABLE IF EXISTS `reports_dictionary`;
-CREATE TABLE reports_dictionary (
-   `id` int(11) NOT NULL auto_increment,
-   `name` varchar(255) default NULL,
-   `description` text,
-   `date_created` datetime default NULL,
-   `date_modified` datetime default NULL,
-   `saved_sql` text,
-   `area` int(11) default NULL,
+CREATE TABLE reports_dictionary ( -- definitions (or snippets of SQL) stored for use in reports
+   `id` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+   `name` varchar(255) default NULL, -- name for this definition
+   `description` text, -- description for this definition
+   `date_created` datetime default NULL, -- date and time this definition was created
+   `date_modified` datetime default NULL, -- date and time this definition was last modified
+   `saved_sql` text, -- SQL snippet for us in reports
+   `area` int(11) default NULL, -- Koha module this definition is for (1 = Circulation, 2 = Catalog, 3 = Patrons, 4 = Acquistions, 5 = Accounts)
    PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1573,13 +1576,13 @@ CREATE TABLE `reserves` (
 --
 
 DROP TABLE IF EXISTS `reviews`;
-CREATE TABLE `reviews` (
-  `reviewid` int(11) NOT NULL auto_increment,
-  `borrowernumber` int(11) default NULL,
-  `biblionumber` int(11) default NULL,
-  `review` text,
-  `approved` tinyint(4) default NULL,
-  `datereviewed` datetime default NULL,
+CREATE TABLE `reviews` ( -- patron opac comments
+  `reviewid` int(11) NOT NULL auto_increment, -- unique identifier for this comment
+  `borrowernumber` int(11) default NULL, -- foreign key from the borrowers table defining which patron left this comment
+  `biblionumber` int(11) default NULL, -- foreign key from the biblio table defining which bibliographic record this comment is for
+  `review` text, -- the body of the comment
+  `approved` tinyint(4) default NULL, -- whether this comment has been approved by a librarian (1 for yes, 0 for no)
+  `datereviewed` datetime default NULL, -- the date the comment was left
   PRIMARY KEY  (`reviewid`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1588,9 +1591,9 @@ CREATE TABLE `reviews` (
 --
 
 DROP TABLE IF EXISTS `roadtype`;
-CREATE TABLE `roadtype` (
-  `roadtypeid` int(11) NOT NULL auto_increment,
-  `road_type` varchar(100) NOT NULL default '',
+CREATE TABLE `roadtype` ( -- road types defined in administration and used in patron management
+  `roadtypeid` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha for each road type
+  `road_type` varchar(100) NOT NULL default '', -- text for road type
   PRIMARY KEY  (`roadtypeid`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1681,15 +1684,15 @@ CREATE TABLE sessions (
 --
 
 DROP TABLE IF EXISTS `special_holidays`;
-CREATE TABLE `special_holidays` (
-  `id` int(11) NOT NULL auto_increment,
-  `branchcode` varchar(10) NOT NULL default '',
-  `day` smallint(6) NOT NULL default 0,
-  `month` smallint(6) NOT NULL default 0,
-  `year` smallint(6) NOT NULL default 0,
-  `isexception` smallint(1) NOT NULL default 1,
-  `title` varchar(50) NOT NULL default '',
-  `description` text NOT NULL,
+CREATE TABLE `special_holidays` ( -- non repeatable holidays/library closings
+  `id` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `branchcode` varchar(10) NOT NULL default '', -- foreign key from the branches table, defines which branch this closing is for
+  `day` smallint(6) NOT NULL default 0, -- day of the month this closing is on
+  `month` smallint(6) NOT NULL default 0, -- month this closing is in
+  `year` smallint(6) NOT NULL default 0, -- year this closing is in
+  `isexception` smallint(1) NOT NULL default 1, -- is this a holiday exception to a repeatable holiday (1 for yes, 0 for no)
+  `title` varchar(50) NOT NULL default '', -- title for this closing
+  `description` text NOT NULL, -- description of this closing
   PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1698,17 +1701,17 @@ CREATE TABLE `special_holidays` (
 --
 
 DROP TABLE IF EXISTS `statistics`;
-CREATE TABLE `statistics` (
-  `datetime` datetime default NULL,
-  `branch` varchar(10) default NULL,
-  `proccode` varchar(4) default NULL,
-  `value` double(16,4) default NULL,
-  `type` varchar(16) default NULL,
+CREATE TABLE `statistics` ( -- information related to transactions (circulation and fines) in Koha
+  `datetime` datetime default NULL, -- date and time of the transaction
+  `branch` varchar(10) default NULL, -- foreign key, branch where the transaction occurred
+  `proccode` varchar(4) default NULL, -- proceedure code 
+  `value` double(16,4) default NULL, -- monetary value associated with the transaction
+  `type` varchar(16) default NULL, -- transaction type (locause, issue, return, renew, writeoff, payment, Credit*)
   `other` mediumtext,
   `usercode` varchar(10) default NULL,
-  `itemnumber` int(11) default NULL,
-  `itemtype` varchar(10) default NULL,
-  `borrowernumber` int(11) default NULL,
+  `itemnumber` int(11) default NULL, -- foreign key from the items table, links transaction to a specific item
+  `itemtype` varchar(10) default NULL, -- foreign key from the itemtypes table, links transaction to a specific item type
+  `borrowernumber` int(11) default NULL, -- foreign key from the borrowers table, links transaction to a specific borrower
   `associatedborrower` int(11) default NULL,
   KEY `timeidx` (`datetime`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -1805,11 +1808,11 @@ CREATE TABLE `subscriptionhistory` (
 --
 
 DROP TABLE IF EXISTS `subscriptionroutinglist`;
-CREATE TABLE `subscriptionroutinglist` (
-  `routingid` int(11) NOT NULL auto_increment,
-  `borrowernumber` int(11) NOT NULL,
-  `ranking` int(11) default NULL,
-  `subscriptionid` int(11) NOT NULL,
+CREATE TABLE `subscriptionroutinglist` ( -- information related to the routing lists attached to subscriptions
+  `routingid` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `borrowernumber` int(11) NOT NULL, -- foreign key from the borrowers table, defines with patron is on the routing list
+  `ranking` int(11) default NULL, -- where the patron stands in line to receive the serial
+  `subscriptionid` int(11) NOT NULL, -- foreign key from the subscription table, defines which subscription this routing list is for
   PRIMARY KEY  (`routingid`),
   UNIQUE (`subscriptionid`, `borrowernumber`),
   CONSTRAINT `subscriptionroutinglist_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`)
@@ -1823,38 +1826,38 @@ CREATE TABLE `subscriptionroutinglist` (
 --
 
 DROP TABLE IF EXISTS `suggestions`;
-CREATE TABLE `suggestions` (
-  `suggestionid` int(8) NOT NULL auto_increment,
-  `suggestedby` int(11) NOT NULL default 0,
-  `suggesteddate` date NOT NULL default 0,
-  `managedby` int(11) default NULL,
-  `manageddate` date default NULL,
-   acceptedby INT(11) default NULL,
-   accepteddate date default NULL,
-   rejectedby INT(11) default NULL,
-   rejecteddate date default NULL,
-  `STATUS` varchar(10) NOT NULL default '',
-  `note` mediumtext,
-  `author` varchar(80) default NULL,
-  `title` varchar(80) default NULL,
-  `copyrightdate` smallint(6) default NULL,
-  `publishercode` varchar(255) default NULL,
-  `date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
+CREATE TABLE `suggestions` ( -- purchase suggestions
+  `suggestionid` int(8) NOT NULL auto_increment, -- unique identifier assigned automatically by Koha
+  `suggestedby` int(11) NOT NULL default 0, -- borrowernumber for the person making the suggestion, foreign key linking to the borrowers table
+  `suggesteddate` date NOT NULL default 0, -- date the suggestion was submitted
+  `managedby` int(11) default NULL, -- borrowernumber for the librarian managing the suggestion, foreign key linking to the borrowers table
+  `manageddate` date default NULL, -- date the suggestion was updated
+   acceptedby INT(11) default NULL, -- borrowernumber for the librarian who accepted the suggestion, foreign key linking to the borrowers table
+   accepteddate date default NULL, -- date the suggestion was marked as accepted
+   rejectedby INT(11) default NULL, -- borrowernumber for the librarian who rejected the suggestion, foreign key linking to the borrowers table
+   rejecteddate date default NULL, -- date the suggestion was marked as rejected
+  `STATUS` varchar(10) NOT NULL default '', -- suggestion status (ASKED, CHECKED, ACCEPTED, or REJECTED)
+  `note` mediumtext, -- note entered on the suggestion
+  `author` varchar(80) default NULL, -- author of the suggested item
+  `title` varchar(80) default NULL, -- title of the suggested item
+  `copyrightdate` smallint(6) default NULL, -- copyright date of the suggested item
+  `publishercode` varchar(255) default NULL, -- publisher of the suggested item
+  `date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,  -- date and time the suggestion was updated
   `volumedesc` varchar(255) default NULL,
   `publicationyear` smallint(6) default 0,
-  `place` varchar(255) default NULL,
-  `isbn` varchar(30) default NULL,
+  `place` varchar(255) default NULL, -- publication place of the suggested item
+  `isbn` varchar(30) default NULL, -- isbn of the suggested item
   `mailoverseeing` smallint(1) default 0,
-  `biblionumber` int(11) default NULL,
-  `reason` text,
-   budgetid INT(11),
-   branchcode VARCHAR(10) default NULL,
-   collectiontitle text default NULL,
-   itemtype VARCHAR(30) default NULL,
-       quantity SMALLINT(6) default NULL,
-       currency VARCHAR(3) default NULL,
-       price DECIMAL(28,6) default NULL,
-       total DECIMAL(28,6) default NULL,
+  `biblionumber` int(11) default NULL, -- foreign key linking the suggestion to the biblio table after the suggestion has been ordered
+  `reason` text, -- reason for making the suggestion
+   budgetid INT(11), -- foreign key linking the suggested budget to the aqbudgets table
+   branchcode VARCHAR(10) default NULL, -- foreign key linking the suggested branch to the branches table
+   collectiontitle text default NULL, -- collection name for the suggested item
+   itemtype VARCHAR(30) default NULL, -- suggested item type 
+       quantity SMALLINT(6) default NULL, -- suggested quantity to be purchased
+       currency VARCHAR(3) default NULL, -- suggested currency for the suggested price
+       price DECIMAL(28,6) default NULL, -- suggested price
+       total DECIMAL(28,6) default NULL, -- suggested total cost (price*quantity updated for currency)
   PRIMARY KEY  (`suggestionid`),
   KEY `suggestedby` (`suggestedby`),
   KEY `managedby` (`managedby`)
@@ -1865,12 +1868,12 @@ CREATE TABLE `suggestions` (
 --
 
 DROP TABLE IF EXISTS `systempreferences`;
-CREATE TABLE `systempreferences` (
-  `variable` varchar(50) NOT NULL default '',
-  `value` text,
-  `options` mediumtext,
-  `explanation` text,
-  `type` varchar(20) default NULL,
+CREATE TABLE `systempreferences` ( -- global system preferences
+  `variable` varchar(50) NOT NULL default '', -- system preference name
+  `value` text, -- system preference values
+  `options` mediumtext, -- options for multiple choice system preferences
+  `explanation` text, -- descriptive text for the system preference
+  `type` varchar(20) default NULL, -- type of question this preference asks (multiple choice, plain text, yes or no, etc)
   PRIMARY KEY  (`variable`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1958,13 +1961,13 @@ CREATE TABLE `userflags` (
 --
 
 DROP TABLE IF EXISTS `virtualshelves`;
-CREATE TABLE `virtualshelves` (
-  `shelfnumber` int(11) NOT NULL auto_increment,
-  `shelfname` varchar(255) default NULL,
-  `owner` varchar(80) default NULL,
-  `category` varchar(1) default NULL,
-  `sortfield` varchar(16) default NULL,
-  `lastmodified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
+CREATE TABLE `virtualshelves` ( -- information about lists (or virtual shelves) 
+  `shelfnumber` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `shelfname` varchar(255) default NULL, -- name of the list
+  `owner` varchar(80) default NULL, -- foriegn key linking to the borrowers table (using borrowernumber) for the creator of this list
+  `category` varchar(1) default NULL, -- type of list (public [2], private [1] or open [3])
+  `sortfield` varchar(16) default NULL, -- the field this list is sorted on
+  `lastmodified` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time the list was last modified
   PRIMARY KEY  (`shelfnumber`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -1973,11 +1976,11 @@ CREATE TABLE `virtualshelves` (
 --
 
 DROP TABLE IF EXISTS `virtualshelfcontents`;
-CREATE TABLE `virtualshelfcontents` (
-  `shelfnumber` int(11) NOT NULL default 0,
-  `biblionumber` int(11) NOT NULL default 0,
+CREATE TABLE `virtualshelfcontents` ( -- information about the titles in a list (or virtual shelf)
+  `shelfnumber` int(11) NOT NULL default 0, -- foreign key linking to the virtualshelves table, defines the list that this record has been added to
+  `biblionumber` int(11) NOT NULL default 0, -- foreign key linking to the biblio table, defines the bib record that has been added to the list
   `flags` int(11) default NULL,
-  `dateadded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `dateadded` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- date and time this bib record was added to the list
   KEY `shelfnumber` (`shelfnumber`),
   KEY `biblionumber` (`biblionumber`),
   CONSTRAINT `virtualshelfcontents_ibfk_1` FOREIGN KEY (`shelfnumber`) REFERENCES `virtualshelves` (`shelfnumber`) ON DELETE CASCADE ON UPDATE CASCADE,
@@ -1989,22 +1992,22 @@ CREATE TABLE `virtualshelfcontents` (
 --
 
 DROP TABLE IF EXISTS `z3950servers`;
-CREATE TABLE `z3950servers` (
-  `host` varchar(255) default NULL,
-  `port` int(11) default NULL,
-  `db` varchar(255) default NULL,
-  `userid` varchar(255) default NULL,
-  `password` varchar(255) default NULL,
-  `name` mediumtext,
-  `id` int(11) NOT NULL auto_increment,
-  `checked` smallint(6) default NULL,
-  `rank` int(11) default NULL,
-  `syntax` varchar(80) default NULL,
-  `icon` text,
+CREATE TABLE `z3950servers` ( -- connection information for the Z39.50 targets used in cataloging
+  `host` varchar(255) default NULL, -- target's host name
+  `port` int(11) default NULL, -- port number used to connect to target
+  `db` varchar(255) default NULL, -- target's database name
+  `userid` varchar(255) default NULL, -- username needed to log in to target
+  `password` varchar(255) default NULL, -- password needed to log in to target
+  `name` mediumtext, -- name given to the target by the library
+  `id` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `checked` smallint(6) default NULL, -- whether this target is checked by default  (1 for yes, 0 for no)
+  `rank` int(11) default NULL, -- where this target appears in the list of targets
+  `syntax` varchar(80) default NULL, -- marc format provided by this target
+  `icon` text, -- unused in Koha
   `position` enum('primary','secondary','') NOT NULL default 'primary',
   `type` enum('zed','opensearch') NOT NULL default 'zed',
-  `encoding` text default NULL,
-  `description` text NOT NULL,
+  `encoding` text default NULL, -- characters encoding provided by this target
+  `description` text NOT NULL, -- unused in Koha
   PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -2024,6 +2027,10 @@ CREATE TABLE `zebraqueue` (
   KEY `zebraqueue_lookup` (`server`, `biblio_auth_number`, `operation`, `done`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `services_throttle`
+--
+
 DROP TABLE IF EXISTS `services_throttle`;
 CREATE TABLE `services_throttle` (
   `service_type` varchar(10) NOT NULL default '',
@@ -2031,9 +2038,12 @@ CREATE TABLE `services_throttle` (
   PRIMARY KEY  (`service_type`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `language_subtag_registry`
 -- http://www.w3.org/International/articles/language-tags/
-
 -- RFC4646
+--
+
 DROP TABLE IF EXISTS language_subtag_registry;
 CREATE TABLE language_subtag_registry (
         subtag varchar(25),
@@ -2045,9 +2055,13 @@ CREATE TABLE language_subtag_registry (
         KEY `subtag` (`subtag`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `language_rfc4646_to_iso639`
 -- TODO: add suppress_scripts
 -- this maps three letter codes defined in iso639.2 back to their
 -- two letter equivilents in rfc4646 (LOC maintains iso639+)
+--
+
 DROP TABLE IF EXISTS language_rfc4646_to_iso639;
 CREATE TABLE language_rfc4646_to_iso639 (
         rfc4646_subtag varchar(25),
@@ -2057,6 +2071,10 @@ CREATE TABLE language_rfc4646_to_iso639 (
         KEY `rfc4646_subtag` (`rfc4646_subtag`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `language_descriptions`
+--
+
 DROP TABLE IF EXISTS language_descriptions;
 CREATE TABLE language_descriptions (
         subtag varchar(25),
@@ -2069,7 +2087,11 @@ CREATE TABLE language_descriptions (
         KEY `subtag_type_lang` (`subtag`, `type`, `lang`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `language_script_bidi`
 -- bi-directional support, keyed by script subcode
+--
+
 DROP TABLE IF EXISTS language_script_bidi;
 CREATE TABLE language_script_bidi (
         rfc4646_subtag varchar(25), -- script subtag, Arab, Hebr, etc.
@@ -2077,8 +2099,12 @@ CREATE TABLE language_script_bidi (
         KEY `rfc4646_subtag` (`rfc4646_subtag`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `language_script_mapping`
 -- TODO: need to map language subtags to script subtags for detection
 -- of bidi when script is not specified (like ar, he)
+--
+
 DROP TABLE IF EXISTS language_script_mapping;
 CREATE TABLE language_script_mapping (
         language_subtag varchar(25),
@@ -2086,6 +2112,10 @@ CREATE TABLE language_script_mapping (
         KEY `language_subtag` (`language_subtag`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `permissions`
+--
+
 DROP TABLE IF EXISTS `permissions`;
 CREATE TABLE `permissions` (
   `module_bit` int(11) NOT NULL DEFAULT 0,
@@ -2096,6 +2126,10 @@ CREATE TABLE `permissions` (
     ON DELETE CASCADE ON UPDATE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `serialitems`
+--
+
 DROP TABLE IF EXISTS `serialitems`;
 CREATE TABLE `serialitems` (
        `itemnumber` int(11) NOT NULL,
@@ -2106,6 +2140,10 @@ CREATE TABLE `serialitems` (
        CONSTRAINT `serialitems_sfk_2` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE CASCADE ON UPDATE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
+--
+-- Table structure for table `user_permissions`
+--
+
 DROP TABLE IF EXISTS `user_permissions`;
 CREATE TABLE `user_permissions` (
   `borrowernumber` int(11) NOT NULL DEFAULT 0,
@@ -2275,13 +2313,13 @@ CREATE TABLE `item_circulation_alert_preferences` (
 -- Table structure for table `messages`
 --
 DROP TABLE IF EXISTS `messages`;
-CREATE TABLE `messages` (
-  `message_id` int(11) NOT NULL auto_increment,
-  `borrowernumber` int(11) NOT NULL,
-  `branchcode` varchar(10) default NULL,
-  `message_type` varchar(1) NOT NULL,
-  `message` text NOT NULL,
-  `message_date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+CREATE TABLE `messages` ( -- circulation messages left via the patron's check out screen
+  `message_id` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `borrowernumber` int(11) NOT NULL, -- foreign key linking this message to the borrowers table
+  `branchcode` varchar(10) default NULL, -- foreign key linking the message to the branches table
+  `message_type` varchar(1) NOT NULL, -- whether the message is for the librarians (L) or the patron (B)
+  `message` text NOT NULL, -- the text of the message
+  `message_date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, -- the date and time the message was written
   PRIMARY KEY (`message_id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
@@ -2606,12 +2644,12 @@ CREATE TABLE `aqorders_items` (
 --
 
 DROP TABLE IF EXISTS `fieldmapping`;
-CREATE TABLE `fieldmapping` (
-  `id` int(11) NOT NULL auto_increment,
-  `field` varchar(255) NOT NULL,
-  `frameworkcode` char(4) NOT NULL default '',
-  `fieldcode` char(3) NOT NULL,
-  `subfieldcode` char(1) NOT NULL,
+CREATE TABLE `fieldmapping` ( -- koha to keyword mapping
+  `id` int(11) NOT NULL auto_increment, -- unique identifier assigned by Koha
+  `field` varchar(255) NOT NULL, -- keyword to be mapped to (ex. subtitle)
+  `frameworkcode` char(4) NOT NULL default '', -- foreign key from the biblio_framework table to link this mapping to a specific framework
+  `fieldcode` char(3) NOT NULL, -- marc field number to map to this keyword
+  `subfieldcode` char(1) NOT NULL, -- marc subfield associated with the fieldcode to map to this keyword
   PRIMARY KEY  (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/intranet-print.css b/koha-tmpl/intranet-tmpl/prog/en/css/intranet-print.css
deleted file mode 100644 (file)
index 33b4cd7..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-body {
-    font-family : Verdana, Geneva, Arial, sans-serif;
-    font-size : .9em;
-}
-
-table {
-    border-collapse : inherit;
-    border : 1px solid #CCCCCC;
-    margin : 1em 0;
-}
-
-caption {
-    font-size : 140%;
-    text-align : left;
-    font-weight : bold;
-}
-
-td,th {
-    /*border-left : 1px solid #CCCCCC;
-    border-bottom : 1px solid #CCCCCC;*/
-    border : 1px solid #CCCCCC;
-    padding : 5px;
-}
-
-th {
-    background-color : #CCCCCC;
-    border-left : 1px solid #999999;
-    border-bottom : 1px solid #999999;
-}
-
-th[scope=row] {
-    background-color : #EEEEEE;
-    text-align : right;
-}
-
-input {
-    font-size:0.9em;
-}
-
-select {
-    font-size:0.9em;
-}
-
-input[type=submit], input[type=button], input[type=reset] {
-    background-color : #6699CC;
-    color : #FFFFFF;
-    font-size : 1em;
-    font-weight : bold;
-}
-
-.searchresults table tr:hover{
-    background-color: #CCFFFF;
-}
-
-tr.highlight td, tr.highlight th {
-    background-color : #EEEEEE;
-}
-
-.here {
-    color: black;
-    text-decoration:none;
-}
-
-#problem {
-    color: red;
-    background-color:white;
-    font-weight : bold;
-}
-
-#admin_stopwords_select UL {
-   width: 600px;
-}
-
-#admin_stopwords_select UL LI {
-   white-space: nowrap;
-}
-
-legend {
-    font-size:120%;
-    font-weight:bold;
-}
-
-.problem {
-    color: white;
-    background-color:red;
-    font-weight : bold;
-}
-
-/* css styles for reserves color alerts */
-.onloan {
-    background-color: #FFED3D;
-}
-
-.reserved {
-    background-color: #8EBAFF;
-}
-
-.transfered {
-    background-color: #F9FF9A;
-}
-
-.inwait {
-    background-color: #33CC99;
-}
-
-.other {
-    background-color: #FF0000;
-}
-
-.available {
-    background-color: white;
-}
-
-.unavailable {
-    background-color: #FFED3D;
-}
-
-.hasexpirated {
-    text-decoration: line-through;
-}
-
-/* style for search terms in catalogsearch */
-.term {
-    background-color:yellow;
-}
-
-/* end of css styles for reserves color alerts */
-
-/* MAIN MENU STYLES */
-#mainmenu {
-display:none;
-}
-
-/* submenus styles */
-#submenu {
-    display:none;
-}
-/*Action button*/
-#action {
-    display:none;
-}
-
-/* Main body style */
-#main {
-    margin-left:0%;
-}
-
-/* facets bloc */
-#facets {
-    display:none;
-}
-
-/* the USER information block */
-#librarian_information {
-    display:none;
-}
-
-/* css style for reregistration alert */
-
-.reregistrinfo {
-    color: #6699cc;
-    font-weight : bold;
-    background-color : #eeeeee;
-}
-/* MARC editor */
-
-/* styles for the 11 buttons that the user can click on */
-/* the design of the active tab button (only 1 at a given time)*/
-.tab_active {
-    color: #6699CC;
-    background-color : #CCCCCC;
-    font-size : 1em;
-    border: 2px inset;
-    font-weight : bold;
-    text-decoration:none;
-    display: inline;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-#onlinehelp {
-    display:none;
-}
-
-/* the design of the INactives tab buttons (all other tabs) */
-.tab_inactive {
-    background-color : #6699CC;
-    color : #FFFFFF;
-    font-size : 1em;
-    font-weight : bold;
-    display:inline;
-    border: 2px outset;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
-#tabs a {
-    color:white;
-    text-decoration:none;
-    padding-right:10px;
-    padding-left:10px;
-}
-
-/* specify that we to do when the mouse is on 1 button */
-#tabs a:hover {
-    border: 2px inset;
-}
-
-#tabs {
-    margin-top:45px;
-    margin-bottom:5px;
-}
-
-/* styles for the 11 content blocks */
-/* the property for hidden tabs */
-.content_hidden {
-    height:0px; /* you propably don't need to change this one */
-    visibility:hidden; /* you propably don't need to change this one */
-    display:none;
-}
-
-/* the property for the displayed tab */
-.content_visible {
-    height:0px; /* you propably don't need to change this one */
-    visibility:visible; /* you propably don't need to change this one */
-    display:block;
-}
-
-.lineSelected {
-    background-color:yellow;
-}
-.DoNotPrint {
-    display:none;
-}
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/intranet.css b/koha-tmpl/intranet-tmpl/prog/en/css/intranet.css
deleted file mode 100644 (file)
index a2a9a70..0000000
+++ /dev/null
@@ -1,491 +0,0 @@
-body {
-    font-family : Verdana, Geneva, Arial, sans-serif;
-    font-size : .9em;
-    background-color:white;
-}
-
-h2 {
-    display:block;
-    clear:left;
-/*     float:none; */
-}
-table {
-    border-collapse : inherit;
-    border : 1px solid #CCCCCC;
-    margin : 1em 0;
-    border-collapse:collapse;
-}
-
-caption {
-    font-size : 140%;
-    text-align : left;
-    font-weight : bold;
-}
-
-td,th {
-    /*border-left : 1px solid #CCCCCC;
-    border-bottom : 1px solid #CCCCCC;*/
-    border : 1px solid #CCCCCC;
-    padding : 5px;
-}
-
-th {
-    background-color : #CCCCCC;
-    border-left : 1px solid #999999;
-    border-bottom : 1px solid #999999;
-}
-
-th[scope=row] {
-    background-color : #EEEEEE;
-    text-align : right;
-}
-
-p {
-    margin:0px 0px 0px 0px;
-}
-input {
-    font-size:0.9em;
-}
-
-select {
-    font-size:0.9em;
-}
-
-input[type=submit], input[type=button], input[type=reset] {
-    background: url( /intranet-tmpl/prog/img/fade-butt.png );
-    border: 3px double #999;
-    border-left-color: #ccc;
-    border-top-color: #ccc;
-    color: #333;
-    padding: 0.25em;
-}
-
-label {
-    font-style:italic;
-    vertical-align:top;
-    display:block;
-    float:left;
-/*     text-align:right; */
-    width:10em;
-    margin-right:0.2em;
-}
-
-p {
-clear:left;
-}
-.searchresults table tr:hover{
-    background-color: #CCFFFF;
-}
-
-tr.highlight td, tr.highlight th {
-    background-color : #EEEEEE;
-}
-
-.here {
-    color: black;
-    text-decoration:none;
-}
-
-#problem {
-    color: red;
-    background-color:white;
-    font-weight : bold;
-    margin:10px;
-}
-
-#admin_stopwords_select UL {
-   width: 600px;
-}
-
-#admin_stopwords_select UL LI {
-   white-space: nowrap;
-}
-
-legend {
-    font-size:120%;
-    font-weight:bold;
-}
-
-.problem {
-    color: white;
-    background-color:red;
-    font-weight : bold;
-    margin:10px;
-}
-
-/* css styles for reserves color alerts */
-.onloan {
-    background-color: #FFED3D;
-}
-
-.reserved {
-    background-color: #8EBAFF;
-}
-
-.transfered {
-    background-color: #F9FF9A;
-}
-
-.inwait {
-    background-color: #33CC99;
-}
-
-.other {
-    background-color: #FF0000;
-}
-
-.available {
-    background-color: white;
-}
-
-.unavailable {
-    background-color: #FFED3D;
-}
-
-.hasexpirated {
-    text-decoration: line-through;
-}
-
-/* style for search terms in catalogsearch */
-.term {
-    background-color:yellow;
-}
-
-/* end of css styles for reserves color alerts */
-
-/* the Koha logo (top left) */
-#kohalogo {
-    position:absolute;
-    left:20px;
-    top:20px;
-}
-
-/* MAIN MENU STYLES */
-#mainmenu {
-    display:block;
-    position:fixed;
-/*     float:left; */
-    font-weight : normal;
-    margin-right: 5px;
-    padding-right: 5px;
-    border-right:1px solid black;
-    font-size:0.9em;
-}
-
-#mainmenu a {
-    display:block;
-    margin-bottom:0px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:bold;
-    color:black;
-}
-
-
-#mainmenu a:hover {
-    display:block;
-    margin-bottom:0px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:bold;
-    background-color:#6699CC;
-    color:white;
-}
-
-#mainmenu ul a {
-    display:block;
-    margin-bottom:5px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:normal;
-    color:black;
-}
-
-#mainmenu ul a:hover {
-    display:block;
-    margin-bottom:5px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:normal;
-    background-color:#6699CC;
-    color:white;
-}
-
-#mainmenu ul {
-    list-style-type: none;
-    padding-left:20px;
-    margin-bottom:0px;
-    margin-top:0px;
-}
-
-#mainmenu li {
-    list-style-type: none;
-    padding-left:0px;
-    margin-left:0px;
-    margin-bottom:0px;
-    margin-top:0px;
-}
-
-#mainmenu label {
-    width:4em;
-}
-
-/* submenus styles */
-#submenu {
-    margin-left:25%;
-}
-
-#submenu a {
-    margin:5px;
-    text-decoration:none;
-    color:#6699CC;
-}
-
-#submenu a:hover {
-    margin:5px;
-    background-color:#6699CC;
-    color:white;
-}
-
-/*Action button*/
-#action {
-    /*float:right;*/
-}
-
-#action a {
-    background-color: #6699CC;
-    color:white;
-    font-size : 0.8em;
-    border: 2px outset;
-    font-weight : bold;
-    margin:5px 0px 0px 0px;
-    padding:3px;
-    text-decoration:none;
-    display:inline;
-}
-
-#action a:hover {
-    border: 2px inset;
-    color: #6699CC;
-    background-color:white;
-}
-
-/*edit action*/
-#action .edit {
-       display:inline;
-       margin-right:5px;
-}
-
-#action .edit a {
-    background-color : #6699CC;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .edit a:hover {
-    border: 2px inset;
-    color: #6699CC;
-    background-color:white;
-}
-
-#action .view {
-       display:inline;
-       margin-right:5px;
-}
-
-#action .view a {
-    background-color : #CECEFF;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .view a:hover {
-    border: 2px inset;
-    color: #CECEFF;
-    background-color:white;
-}
-
-#action .others {
-       display:inline;
-       margin-right:5px;
-}
-
-#action .others a {
-    background-color : #6699AA;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .others a:hover {
-    border: 2px inset;
-    color: #6699AA;
-    background-color:white;
-}
-
-/* Main body style */
-#main {
-    margin-left:25%;
-}
-
-/* facets bloc */
-#facets {
-    position:absolute;
-    right:1em;
-}
-
-#facets dl {
-    background-color:white;
-    margin:0px;
-}
-
-#facets dt {
-    text-align:right;
-    font-weight:bold;
-}
-
-#facets dd {
-    border:1px solid #CCCCCC;
-}
-/* bulkedit bloc */
-/*#bulkedit {
-    margin-top: 15px;
-    margin-left: 15px;
-    border:1px solid #CCCCCC;
-}
-
-#bulkedit h2 {
-    background-color:#CCCCCC;
-    margin:0px;
-    padding:0px;
-    font-size:1.1em;
-}*/
-
-/* the USER information block */
-#librarian_information {
-/*     position:absolute; */
-    float:right;
-    font-size:10pt;
-}
-
-/* css style for reregistration alert */
-
-.reregistrinfo {
-    color: #6699cc;
-    font-weight : bold;
-    background-color : #eeeeee;
-}
-/* MARC editor */
-
-/* styles for the 11 buttons that the user can click on */
-/* the design of the active tab button (only 1 at a given time)*/
-.tab_active {
-    color: #6699CC;
-    background-color : #CCCCCC;
-    font-size : 1em;
-    border: 2px inset;
-    font-weight : bold;
-    text-decoration:none;
-    display: inline;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-#onlinehelp {
-    float:right;
-}
-
-/* the design of the INactives tab buttons (all other tabs) */
-.tab_inactive {
-    background-color : #6699CC;
-    color : #FFFFFF;
-    font-size : 1em;
-    font-weight : bold;
-    display:inline;
-    border: 2px outset;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
-#tabs a {
-    color:white;
-    text-decoration:none;
-    padding-right:10px;
-    padding-left:10px;
-}
-
-/* specify that we to do when the mouse is on 1 button */
-#tabs a:hover {
-    border: 2px inset;
-}
-
-#tabs {
-    margin-top:45px;
-    margin-bottom:5px;
-}
-
-/* styles for the 11 content blocks */
-/* the property for hidden tabs */
-.content_hidden {
-    height:0px; /* you propably don't need to change this one */
-    visibility:hidden; /* you propably don't need to change this one */
-    display:none;
-}
-
-/* the property for the displayed tab */
-.content_visible {
-    height:0px; /* you propably don't need to change this one */
-    visibility:visible; /* you propably don't need to change this one */
-    display:block;
-}
-
-/* the style of tag description */
-p.tag {
-    font-weight:bold;
-}
-/* the style of subfield paragraph */
-p.subfield {
-    
-}
-
-
-
-.lineSelected {
-    background-color:yellow;
-}
-
-
-/* display more informations with css layer */
-a.info {
-    position: relative;
-    text-decoration: none;
-    color: black;
-    border-bottom: 1px gray dotted;
-}
-
-a.info span {
-    display: none;
-    width:300px;
-}
-
-a.info:hover {
-    background: none; /* correcting IE bug*/
-    z-index: 500;
-}
-a.info:hover span {
-    display: inline;
-    position: absolute;
-    top: 2em;
-    right: 1em;
-    background: orange;
-    text-align: center;
-    color: white;
-    padding: 2px;
-}
-
-fieldset {
-        border : 1px solid #374b73;
-        display: inline;
-        float:left;
-        vertical-align:top;
-}
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/intranet2.css b/koha-tmpl/intranet-tmpl/prog/en/css/intranet2.css
deleted file mode 100644 (file)
index 8b30047..0000000
+++ /dev/null
@@ -1,665 +0,0 @@
-body {
-    font-family : Verdana, Geneva, Arial, sans-serif;
-    font-size : .9em;
-    color:#494949;
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-    background-repeat:repeat-x;
-    background-color:#EDF5FA;
-}
-
-h1 {
-    margin:0px;
-}
-h2 {
-    display:block;
-    clear:left;
-    margin:0px 0px 10px 10px;
-}
-
-h3 {
-    display:block;
-    clear:left;
-    margin:0px 0px 0px 10px;
-}
-
-table {
-    border-collapse : inherit;
-    border : 1px solid #CCCCCC;
-    margin : 1em 0 1em 20px;
-    margin-right : 5%;
-    border-collapse:collapse;
-}
-
-caption {
-    font-size : 140%;
-    text-align : left;
-    font-weight : bold;
-}
-
-td,th {
-    /*border-left : 1px solid #CCCCCC;
-    border-bottom : 1px solid #CCCCCC;*/
-    border : 1px solid #CCCCCC;
-    padding : 5px;
-}
-
-th {
-    background-color : #CCCCCC;
-    border-left : 1px solid #999999;
-    border-bottom : 1px solid #999999;
-}
-
-th[scope=row] {
-    background-color : #EEEEEE;
-    text-align : right;
-}
-
-p {
-    margin:0px 0px 0px 20px;
-}
-input {
-    font-size:0.9em;
-}
-
-select {
-    font-size:0.9em;
-}
-
-fieldset {
-    border : 1px solid #bbb;
-    display: inline;
-    vertical-align: top;
-}
-
-input[type=submit], input[type=button], input[type=reset] {
-    border:0px;
-    color: #0072b9;
-    font-weight:bold;
-    background: url( /intranet-tmpl/prog/img/bg-tab.png );
-    font-size : 0.8em;
-    padding:3px;
-    text-decoration:none;
-    display:inline;
-    cursor:pointer;
-    margin-left:20px;
-}
-
-label {
-    font-style:italic;
-    vertical-align:top;
-    display:block;
-    float:left;
-    width:10em;
-    margin-right:0.2em;
-}
-
-p {
-clear:left;
-}
-
-a {
-    text-decoration:none;
-    color:#027ac6;
-}
-a:hover {
-    text-decoration:underline;
-    color:#0072b9;
-}
-.searchresults table tr:hover{
-    background-color: #CCFFFF;
-}
-
-tr.highlight td, tr.highlight th {
-    background-color : #EEEEEE;
-}
-
-.here {
-    color: black;
-    text-decoration:none;
-}
-
-.click{
-    cursor:pointer;
-    color: #027ac6;/*blue*/
-}
-.click:hover{   
-    text-decoration:underline;
-}
-
-#problem {
-    color: red;
-    background-color:white;
-    font-weight : bold;
-    margin:10px;
-}
-
-#admin_stopwords_select UL {
-   width: 600px;
-}
-
-#admin_stopwords_select UL LI {
-   white-space: nowrap;
-}
-
-legend {
-    font-size:120%;
-    font-weight:bold;
-}
-
-.problem {
-    color: white;
-    background-color:red;
-    font-weight : bold;
-    margin:10px;
-}
-
-.toogle{
-       background-color:#ffffcc;
-}
-
-.pages{
-       margin:.7em;
-}
-/* css styles for reserves color alerts */
-.onloan {
-    background-color: #FFED3D;
-}
-
-.reserved {
-    background-color: #8EBAFF;
-}
-
-.transfered {
-    background-color: #F9FF9A;
-}
-
-.inwait {
-    background-color: #33CC99;
-}
-
-.other {
-    background-color: #FF0000;
-}
-
-.available {
-    font-size:0.75em;
-}
-
-.unavailable {
-    background-color: #FFED3D;
-    font-size:0.75em;
-}
-
-.hasexpirated {
-    text-decoration: line-through;
-}
-
-/* style for search terms in catalogsearch */
-.term {
-    background-color:yellow;
-}
-
-/* end of css styles for reserves color alerts */
-
-/* the Koha logo (top left) */
-#kohalogo {
-    position:fixed;
-    left:20px;
-    top:10px;
-}
-
-#kohalogo h3 {
-    padding-top:5px;
-    margin-left:0px;
-}
-#kohalogo h3 a {
-    color:white;
-}
-/* MAIN MENU STYLES */
-#mainmenu {
-    display:block;
-    position:fixed;
-    font-weight : normal;
-    margin-top:30px;
-    margin-right: 5px;
-    padding-right: 5px;
-    font-size:0.9em;
-}
-
-#mainmenu a {
-    display:block;
-    margin-bottom:0px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:bold;
-    color:#027ac6;
-}
-
-
-#mainmenu a:hover {
-    display:block;
-    margin-bottom:0px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:bold;
-    background-color:#027ac6;
-    color:white;
-}
-
-#mainmenu ul a {
-    display:block;
-    margin-bottom:5px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:normal;
-    color:#027ac6;
-}
-
-#mainmenu ul a:hover {
-    display:block;
-    margin-bottom:5px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:normal;
-    background-color:#027ac6;
-    color:white;
-}
-
-#mainmenu ul {
-    list-style-type: none;
-    padding-left:20px;
-    margin-bottom:0px;
-    margin-top:0px;
-    color:#027ac6;
-}
-
-#mainmenu li {
-    list-style-type: none;
-    padding-left:0px;
-    margin-left:0px;
-    margin-bottom:0px;
-    margin-top:0px;
-    color:#027ac6;
-}
-
-#mainmenu label {
-    width:4em;
-}
-
-#mainmenu h3 {
-    color:white;
-    font-size:1.2em;
-    margin:10px 0px 10px 0px ;
-}
-
-#mainmenu input {
-    border:0px;
-    border-bottom:1px solid #027ac6;
-}
-#mainmenu input[type=submit], input[type=button], input[type=reset] {
-    margin-left:0px;
-    border-bottom:0px;
-}
-
-
-/* submenus styles */
-#submenu {
-    position:absolute;
-    top:10px;
-    left:220px;
-}
-
-#submenu a {
-    margin:5px;
-    text-decoration:none;
-    color:white;
-}
-
-#submenu a:hover {
-    margin:5px;
-    background-color:white;
-    color:#027ac6;
-}
-
-/*Action button*/
-#action {
-    float:right;
-}
-
-#action a {
-    color: #0072b9;
-    font-weight:bold;
-    background: url( /intranet-tmpl/prog/img/bg-tab.png );
-    font-size : 0.8em;
-    padding:3px;
-    margin-bottom:2px;
-    text-decoration:none;
-    display:block;
-}
-
-/*edit action*/
-#action .edit {
-    display:inline;
-    margin-bottom:10px;
-}
-
-#action .edit a {
-    background:none;
-    background-color : #0072b9;
-    color : white;
-}
-
-#action .edit a:hover {
-    cursor:pointer;
-}
-
-#action .view {
-       display:inline;
-       margin-bottom:5px;
-}
-
-#action .view a {
-    background:none;
-    background-color : #5ab5ee;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .view a:hover {
-    cursor:pointer;
-}
-
-#action .others {
-    display:inline;
-    margin-bottom:5px;
-}
-
-#action .others a {
-    background:none;
-    background-color : #2385C2;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .others a:hover {
-    cursor:pointer;
-}
-
-/* Main body style */
-#main {
-    margin-left:220px;
-    margin-top:75px;
-    padding:5px;
-    padding-bottom:100px;
-    background-color:white;
-    border:1px solid #bbb;
-}
-
-/* facets bloc */
-#facets {
-    position:absolute;
-    right:1em;
-}
-
-#facets dl {
-    background-color:white;
-    margin:0px;
-}
-
-#facets dt {
-    text-align:right;
-    font-weight:bold;
-}
-
-#facets dd {
-    border:1px solid #CCCCCC;
-}
-
-/* the USER information block */
-#librarian_information {
-/*     position:absolute; */
-    float:right;
-    font-size:10pt;
-}
-
-/* css style for reregistration alert */
-
-.reregistrinfo {
-    color: #6699cc;
-    font-weight : bold;
-    background-color : #eeeeee;
-}
-/* MARC editor */
-
-/* styles for the 11 buttons that the user can click on */
-/* the design of the active tab button (only 1 at a given time)*/
-.tab_active {
-    color: #6699CC;
-    background-color : #CCCCCC;
-    font-size : 1em;
-    border: 2px inset;
-    font-weight : bold;
-    text-decoration:none;
-    display: inline;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-
-/* the online help button */
-#onlinehelp {
-    position:absolute;
-    top:0px;
-    right:0px;
-}
-#onlinehelp a {
-        color:white;
-}
-
-/* the login box */
-#login {
-    font-size:0.7em;
-}
-
-/* the design of the INactives tab buttons (all other tabs) */
-.tab_inactive {
-    background-color : #6699CC;
-    color : #FFFFFF;
-    font-size : 1em;
-    font-weight : bold;
-    display:inline;
-    border: 2px outset;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
-#tabs a {
-    color:white;
-    text-decoration:none;
-    padding-right:1.2em;
-    padding-left:1.2em;
-    -moz-border-radius:4px;
-}
-
-/* specify that we to do when the mouse is on 1 button */
-#tabs a:hover {
-    border: 2px inset;
-}
-
-#tabs {
-    margin-top:35px;
-    margin-bottom:10px;
-}
-
-/* styles for the 11 content blocks */
-/* the property for hidden tabs */
-.content_hidden {
-    visibility:hidden; /* you propably don't need to change this one */
-    display:none;
-}
-
-/* the property for the displayed tab */
-.content_visible {
-    visibility:visible; /* you propably don't need to change this one */
-    display:block;
-}
-
-.lineSelected {
-    background-color:yellow;
-}
-
-/* display more informations with css layer */
-a.info {
-    position: relative;
-    text-decoration: none;
-    color: black;
-    border-bottom: 1px gray dotted;
-}
-
-a.info span {
-    display: none;
-    width:300px;
-}
-
-a.info:hover {
-    background: none; /* correcting IE bug*/
-    z-index: 500;
-}
-a.info:hover span {
-    display: inline;
-    position: absolute;
-    top: 2em;
-    right: 1em;
-    background: orange;
-    text-align: center;
-    color: white;
-    padding: 2px;
-}
-
-/* the itemtype list (in adv search) */
-#itemtypelist {
-    width:700px;
-}
-#itemtypelist td {
-    border : 0px;
-    margin : 0px;
-    padding: 5px;
-    border-collapse:collapse;
-    border: 1px solid white;
-    background-color:#CCCCCC;
-    vertical-align:top;
-}
-
-#itemtypelist p {
-    margin:0px;
-}
-
-/* MARC Editor stylesheet */
-
-/* the style of tag description */
-div.tag_title {
-    font-weight:bold;
-    cursor:pointer;
-}
-
-div.tag_title span {
-    display:inline;
-    font-size:1em;
-    color : #027ac6;
-}
-
-div.tag_title a:hover{
-    text-decoration:none;
-}
-
-
-.subfield_line{
-    margin-left:1.1em;
-}
-
-.CursorHelp{
-    cursor:help;
-}
-
-.buttonDot{
-    cursor:help;
-}
-
-.buttonUp {
-    cursor: crosshair;
-    color: grey;
-    font-size: .8em;
-}
-
-.labelsubfield{
-    min-width:210px;
-    display:inline;
-}
-
-.subfield_mandatory{
-    color:red;
-}
-
-.subfield_not_filled {
-    width:506px;
-    color:darkblue;
-    background-color:#ffe5ed;
-    border:1px solid #ffe5ed;
-    border-bottom:1px solid red;
-    padding:0.15em;
-}
-
-.line_not_filled{
-    margin-left:1.1em;
-    background-color:#ffe5ed;
-    border:1px solid red;
-}
-
-.indicator{
-    width:20px;
-    color:darkblue;
-    background-color: #ffffff;
-    border:1px dotted #a4cde6;
-    padding:0.15em;
-}
-
-.indicator:focus {
-    background-color:#fdfde3;
-    border-bottom:1px solid darkblue;
-    width:20px;
-    color:darkblue;
-}
-
-.input_marceditor {
-    width:506px;
-    color:darkblue;
-    background-color:#ffffff;
-    border:1px solid #ffffff;
-    border-bottom:1px solid lightgray;
-    padding:0.15em;
-}
-
-.input_marceditor:focus{
-    background-color:#fdfde3;
-    border-bottom:1px solid darkblue;
-    width:506px;
-    color:darkblue;
-}
-
-.tag{
-    padding-bottom:1.1em;
-/*     border-bottom:1px dotted #a4cde6; */
-}
-
-.buttonPlus {
-    cursor: crosshair;
-    color: grey; 
-    font-size: 80%;
-}
-
-/*.flat{
-    border:0px;
-}*/
-
-/* End of Marc Editor stylesheet */
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/intranet2popup.css b/koha-tmpl/intranet-tmpl/prog/en/css/intranet2popup.css
deleted file mode 100644 (file)
index 3ba849f..0000000
+++ /dev/null
@@ -1,551 +0,0 @@
-body {
-    font-family : Verdana, Geneva, Arial, sans-serif;
-    font-size : .9em;
-    color:#494949;
-    background-color:#EDF5FA;
-}
-
-h1 {
-    margin:0px;
-}
-h2 {
-    display:block;
-    clear:left;
-    margin:0px 0px 10px 10px;
-}
-
-h3 {
-    display:block;
-    clear:left;
-    margin:0px 0px 0px 10px;
-}
-
-table {
-    border-collapse : inherit;
-    border : 1px solid #CCCCCC;
-    margin : 1em 0 1em 20px;
-    margin-right : 5%;
-    border-collapse:collapse;
-}
-
-caption {
-    font-size : 140%;
-    text-align : left;
-    font-weight : bold;
-}
-
-td,th {
-    /*border-left : 1px solid #CCCCCC;
-    border-bottom : 1px solid #CCCCCC;*/
-    border : 1px solid #CCCCCC;
-    padding : 5px;
-}
-
-th {
-    background-color : #CCCCCC;
-    border-left : 1px solid #999999;
-    border-bottom : 1px solid #999999;
-}
-
-th[scope=row] {
-    background-color : #EEEEEE;
-    text-align : right;
-}
-
-p {
-    margin:0px 0px 0px 20px;
-}
-input {
-    font-size:0.9em;
-}
-
-select {
-    font-size:0.9em;
-}
-
-fieldset {
-        border : 1px solid #bbb;
-        display: inline;
-        vertical-align: top;
-}
-
-input[type=submit], input[type=button], input[type=reset] {
-    border:0px;
-    color: #0072b9;
-    font-weight:bold;
-    background: url( /intranet-tmpl/prog/img/bg-tab.png );
-    font-size : 0.8em;
-    padding:3px;
-    text-decoration:none;
-    display:inline;
-    cursor:pointer;
-    margin-left:20px;
-}
-
-label {
-    font-style:italic;
-    vertical-align:top;
-    display:block;
-    float:left;
-/*     text-align:right; */
-    width:10em;
-    margin-right:0.2em;
-}
-
-p {
-clear:left;
-}
-
-a {
-    text-decoration:none;
-    color:#027ac6;
-}
-a:hover {
-    text-decoration:underline;
-    color:#0072b9;
-}
-.searchresults table tr:hover{
-    background-color: #CCFFFF;
-}
-
-tr.highlight td, tr.highlight th {
-    background-color : #EEEEEE;
-}
-
-.here {
-    color: black;
-    text-decoration:none;
-}
-
-#problem {
-    color: red;
-    background-color:white;
-    font-weight : bold;
-    margin:10px;
-}
-
-#admin_stopwords_select UL {
-   width: 600px;
-}
-
-#admin_stopwords_select UL LI {
-   white-space: nowrap;
-}
-
-legend {
-    font-size:120%;
-    font-weight:bold;
-}
-
-.problem {
-    color: white;
-    background-color:red;
-    font-weight : bold;
-    margin:10px;
-}
-
-/* css styles for reserves color alerts */
-.onloan {
-    background-color: #FFED3D;
-}
-
-.reserved {
-    background-color: #8EBAFF;
-}
-
-.transfered {
-    background-color: #F9FF9A;
-}
-
-.inwait {
-    background-color: #33CC99;
-}
-
-.other {
-    background-color: #FF0000;
-}
-
-.available {
-    font-size:0.75em;
-}
-
-.unavailable {
-    background-color: #FFED3D;
-    font-size:0.75em;
-}
-
-.hasexpirated {
-    text-decoration: line-through;
-}
-
-/* style for search terms in catalogsearch */
-.term {
-    background-color:yellow;
-}
-
-/* end of css styles for reserves color alerts */
-
-/* the Koha logo (top left) */
-#kohalogo {
-    position:fixed;
-    left:20px;
-    top:10px;
-}
-
-#kohalogo h3 {
-    padding-top:5px;
-    margin-left:0px;
-}
-#kohalogo h3 a {
-    color:white;
-}
-/* MAIN MENU STYLES */
-#mainmenu {
-    display:block;
-    position:fixed;
-    font-weight : normal;
-    margin-top:30px;
-    margin-right: 5px;
-    padding-right: 5px;
-    font-size:0.9em;
-}
-
-#mainmenu a {
-    display:block;
-    margin-bottom:0px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:bold;
-    color:#027ac6;
-}
-
-
-#mainmenu a:hover {
-    display:block;
-    margin-bottom:0px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:bold;
-    background-color:#027ac6;
-    color:white;
-}
-
-#mainmenu ul a {
-    display:block;
-    margin-bottom:5px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:normal;
-    color:#027ac6;
-}
-
-#mainmenu ul a:hover {
-    display:block;
-    margin-bottom:5px;
-    padding-left :5px;
-    text-decoration:none;
-    font-weight:normal;
-    background-color:#027ac6;
-    color:white;
-}
-
-#mainmenu ul {
-    list-style-type: none;
-    padding-left:20px;
-    margin-bottom:0px;
-    margin-top:0px;
-    color:#027ac6;
-}
-
-#mainmenu li {
-    list-style-type: none;
-    padding-left:0px;
-    margin-left:0px;
-    margin-bottom:0px;
-    margin-top:0px;
-    color:#027ac6;
-}
-
-#mainmenu label {
-    width:4em;
-}
-
-#mainmenu h3 {
-    color:white;
-    font-size:1.2em;
-    margin:10px 0px 10px 0px ;
-}
-
-#mainmenu input {
-    border:0px;
-    border-bottom:1px solid #027ac6;
-}
-#mainmenu input[type=submit], input[type=button], input[type=reset] {
-    margin-left:0px;
-    border-bottom:0px;
-}
-
-
-/* submenus styles */
-#submenu {
-    position:absolute;
-    top:10px;
-    left:220px;
-}
-
-#submenu a {
-    margin:5px;
-    text-decoration:none;
-    color:white;
-}
-
-#submenu a:hover {
-    margin:5px;
-    background-color:white;
-    color:#027ac6;
-}
-
-/*Action button*/
-#action {
-    float:right;
-}
-
-#action a {
-    color: #0072b9;
-    font-weight:bold;
-    background: url( /intranet-tmpl/prog/img/bg-tab.png );
-    font-size : 0.8em;
-    padding:3px;
-    margin-bottom:2px;
-    text-decoration:none;
-    display:block;
-}
-
-/*edit action*/
-#action .edit {
-    display:inline;
-    margin-bottom:10px;
-}
-
-#action .edit a {
-    background:none;
-    background-color : #0072b9;
-    color : white;
-}
-
-#action .edit a:hover {
-    cursor:pointer;
-}
-
-#action .view {
-       display:inline;
-       margin-bottom:5px;
-}
-
-#action .view a {
-    background:none;
-    background-color : #5ab5ee;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .view a:hover {
-    cursor:pointer;
-}
-
-#action .others {
-    display:inline;
-    margin-bottom:5px;
-}
-
-#action .others a {
-    background:none;
-    background-color : #2385C2;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .others a:hover {
-    cursor:pointer;
-}
-
-/* Main body style */
-#main {
-    margin-left:220px;
-    margin-top:75px;
-    padding:5px;
-    padding-bottom:100px;
-    background-color:white;
-    border:1px solid #bbb;
-}
-
-/* facets bloc */
-#facets {
-    position:absolute;
-    right:1em;
-}
-
-#facets dl {
-    background-color:white;
-    margin:0px;
-}
-
-#facets dt {
-    text-align:right;
-    font-weight:bold;
-}
-
-#facets dd {
-    border:1px solid #CCCCCC;
-}
-
-/* the USER information block */
-#librarian_information {
-/*     position:absolute; */
-    float:right;
-    font-size:10pt;
-}
-
-/* css style for reregistration alert */
-
-.reregistrinfo {
-    color: #6699cc;
-    font-weight : bold;
-    background-color : #eeeeee;
-}
-/* MARC editor */
-
-/* styles for the 11 buttons that the user can click on */
-/* the design of the active tab button (only 1 at a given time)*/
-.tab_active {
-    color: #6699CC;
-    background-color : #CCCCCC;
-    font-size : 1em;
-    border: 2px inset;
-    font-weight : bold;
-    text-decoration:none;
-    display: inline;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-
-/* the online help button */
-#onlinehelp {
-    position:absolute;
-    top:0px;
-    right:0px;
-}
-#onlinehelp a {
-        color:white;
-}
-
-/* the login box */
-#login {
-    font-size:0.7em;
-}
-
-/* the design of the INactives tab buttons (all other tabs) */
-.tab_inactive {
-    background-color : #6699CC;
-    color : #FFFFFF;
-    font-size : 1em;
-    font-weight : bold;
-    display:inline;
-    border: 2px outset;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
-#tabs a {
-    color:white;
-    text-decoration:none;
-    padding-right:10px;
-    padding-left:10px;
-}
-
-/* specify that we to do when the mouse is on 1 button */
-#tabs a:hover {
-    border: 2px inset;
-}
-
-#tabs {
-    margin-top:45px;
-    margin-bottom:5px;
-}
-
-/* styles for the 11 content blocks */
-/* the property for hidden tabs */
-.content_hidden {
-    visibility:hidden; /* you propably don't need to change this one */
-    display:none;
-}
-
-/* the property for the displayed tab */
-.content_visible {
-    visibility:visible; /* you propably don't need to change this one */
-    display:block;
-}
-
-/* the style of tag description */
-p.tag {
-    font-weight:bold;
-}
-/* the style of subfield paragraph */
-p.subfield {
-    
-}
-
-
-
-.lineSelected {
-    background-color:yellow;
-}
-
-
-/* display more informations with css layer */
-a.info {
-    position: relative;
-    text-decoration: none;
-    color: black;
-    border-bottom: 1px gray dotted;
-}
-
-a.info span {
-    display: none;
-    width:300px;
-}
-
-a.info:hover {
-    background: none; /* correcting IE bug*/
-    z-index: 500;
-}
-a.info:hover span {
-    display: inline;
-    position: absolute;
-    top: 2em;
-    right: 1em;
-    background: orange;
-    text-align: center;
-    color: white;
-    padding: 2px;
-}
-
-/* the itemtype list (in adv search) */
-#itemtypelist {
-    width:700px;
-}
-#itemtypelist td {
-    border : 0px;
-    margin : 0px;
-    padding: 5px;
-    border-collapse:collapse;
-    border: 1px solid white;
-    background-color:#CCCCCC;
-    vertical-align:top;
-}
-
-#itemtypelist p {
-    margin:0px;
-}
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/pages/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/pages/addbiblio.css
deleted file mode 100644 (file)
index 20e7416..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-/* addbiblio.css */
-
-/* MARC editor */
-
-/* styles for the 11 buttons that the user can click on */
-/* the design of the active tab button (only 1 at a given time)*/
-.tab_active {
-    color: #6699CC;
-    background-color : #CCCCCC;
-    font-size : 1em;
-    border: 2px inset;
-    font-weight : bold;
-    text-decoration:none;
-    display: inline;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-#onlinehelp {
-    float:right;
-}
-
-/* the design of the INactives tab buttons (all other tabs) */
-.tab_inactive {
-    background-color : #6699CC;
-    color : #FFFFFF;
-    font-size : 1em;
-    font-weight : bold;
-    display:inline;
-    border: 2px outset;
-    text-decoration:none;
-    margin-left:10px;
-}
-
-/* the button of INactive tabs : we need this one to have white color on links, otherwise, default a look will be choosen */
-#tabs a {
-    color:white;
-    text-decoration:none;
-    padding-right:10px;
-    padding-left:10px;
-}
-
-/* specify that we to do when the mouse is on 1 button */
-#tabs a:hover {
-    border: 2px inset;
-}
-
-#tabs {
-    margin-top:45px;
-    margin-bottom:5px;
-}
-
-/* styles for the 11 content blocks */
-/* the property for hidden tabs */
-.content_hidden {
-    height:0px; /* you propably don't need to change this one */
-    visibility:hidden; /* you propably don't need to change this one */
-    display:none;
-}
-
-/* the property for the displayed tab */
-.content_visible {
-    height:0px; /* you propably don't need to change this one */
-    visibility:visible; /* you propably don't need to change this one */
-    display:block;
-}
-
-/* the style of tag description */
-p.tag {
-    font-weight:bold;
-}
-/* the style of subfield paragraph */
-p.subfield {
-    
-}
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global2.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global2.css
deleted file mode 100644 (file)
index f03659a..0000000
+++ /dev/null
@@ -1,575 +0,0 @@
-@import url( /intranet-tmpl/prog/en/lib/yui/reset-fonts-grids.css) all;
-
-a, a:link, a:visited, a:active {
-    text-decoration:none;
-    color:#027ac6;
-}
-
-a:hover {
-    text-decoration:underline;
-    color:#0072b9;
-    }
-
-body {
-    text-align : left;
-    background-color:#EDF5FA;
-    color:#494949;
-}
-
-form {
-       display : inline;
-}
-
-h1 {
-    margin-top:0.5em;
-    margin-bottom:0.5em;
-    font-size : 182%;
-    font-weight : bold;
-}
-
-h2 {
-    margin-top:0.3em;
-    margin-bottom:0.3em;
-    font-size : 167%;
-    font-weight : bold;
-}
-
-h3 {
-       font-size : 153.9%;
-       font-weight : bold;
-}
-
-h4 {
-       font-size : 138.5%;     
-       font-weight : bold;
-}
-
-h5 {
-       font-size : 123.1%;     
-       font-weight : bold;
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-    background-repeat:repeat-x;
-    color:white;}
-
-h6 {
-       font-size : 93%;
-       font-weight : bold;
-}
-
-strong {
-       font-weight : bold;
-}
-
-em {
-       font-style : italic;
-}
-
-input[type=submit], input[type=button], input[type=reset] {
-    border:0px;
-    color: #0072b9;
-    font-weight:bold;
-    background: url( /intranet-tmpl/prog/img/bg-tab.png );
-    font-size : 0.8em;
-    padding:3px;
-    text-decoration:none;
-    display:inline;
-    cursor:pointer;
-    margin-left:20px;
-}
-
-#hd {
-}
-
-#navigation {
-       border-right : 1px solid #BCBCBC;
-}
-
-#navigation li {
-       font-weight : bold;
-}
-
-#navigation li li {
-       font-weight : normal;
-}
-
-#navigation input {
-       font-size : 85%;
-}
-
-#ft {
-}
-
-.yui-u {
-}
-
-#doc3 {
-       padding-top : 1em;
-       background-color:white;
-}
-
-#login  {
-       position : absolute;
-       top : 3px;
-       right : .5em;
-}
-
-#login a {
-
-}
-
-ul {
-       padding-left : 1.1em;
-}
-
-li {
-       
-       list-style-type : disc;
-}
-
-#header {
-    border-bottom : 1px solid #494949;
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-    color:#494949;
-}
-#header a {
-    color:white;
-}
-
-
-#header:after { /* clearing without presentational markup, IE gets extra treatment */
-    display: block;
-    clear: both;
-    content: " ";
-}
-
-#sitetitle {
-/*     background-image : url("../../img/koha-logo-black.png");
-       background-position : 5px 2px;
-       background-repeat : no-repeat;
-       float : left;
-       height : 54px;
-       padding-left : 50px;*/
-       border-bottom : 1px solid #E8E8E8;
-}
-
-#sitetitle h1 {
-       display : inline;
-       line-height : 54px;
-}
-
-#sitetitle h1 a {
-       text-decoration : none;
-}
-
-#toplevelnav {
-       float : left;
-       line-height : 2em;
-}
-
-#submenu {
-    margin : 0 0 .5em 0;
-    padding : 10px 0 0 0;
-    margin-top:10px;
-}
-
-#submenu ul {
-    margin : 0;
-    display:inline;
-}
-
-#submenu ul li {
-    padding : 0px 5px 0px 5px;
-    background-color:#027ac6;
-    color:white;
-    display:inline;
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-}
-
-#submenu ul li a {
-    color:white;
-}
-
-/*#toplevelnav ul {
-       margin : 0;
-       padding : 0;
-}
-
-#toplevelnav li, #submenu li {
-       display : inline;
-       border-right : 1px solid #E8E8E8;
-       padding : 0 .5em;
-       white-space : nowrap;
-}
-
-#toplevelnav li:last-child, #submenu li:last-child {
-       border : 0;
-}*/
-
-table {
-    border-collapse : collapse;
-    border-top : 1px solid #BCBCBC;
-    border-right : 1px solid #BCBCBC;
-}
-
-th {
-    color:white;
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-    background-repeat:repeat-x;
-    border-bottom : 1px solid #BCBCBC;
-    border-left : 1px solid #BCBCBC;
-    padding : .5em;
-}
-
-td {
-    background-color : White;
-    border-bottom : 1px solid #BCBCBC;
-    border-left : 1px solid #BCBCBC;
-    padding : .5em;
-}
-
-th {
-       background-color : #E8E8E8;
-       font-weight : bold;
-}
-
-td.highlight {
-       background-color : #F3F3F3;
-}
-
-caption {
-       font-size : 153.9%;
-       font-weight : bold;
-}
-
-span.problem {
-       background-color : #FFFFCC;
-       color : #990000;
-       font-weight : bold;
-       line-height : 1.7em;
-}
-
-fieldset {
-       border : 2px solid #EEEEEE;
-       margin : 1em;
-       padding : 1em;
-}
-
-legend {
-       font-size : 138.5%;
-       font-weight : bold;
-       margin : 0 0 0 -1em;
-       padding : 0;
-}
-
-#breadcrumbs {
-       background-color : #F3F3F3;
-       border-bottom : 1px solid #E8E8E8;
-       clear : both;
-       font-size : 90%;
-       padding :.2em .5em .4em .5em;
-}
-
-#commonsearch {
-       display : inline;
-}
-
-
-div#header_search {
-       background-image : url("../../img/koha-logo-medium.gif");
-       background-position : .5em .5em;
-       background-repeat : no-repeat;
-       float: left;
-       padding-left : 14.2em;
-       margin: 1em 0 1.5em 0;
-}
-
-div#header_search input {
-       font-size : 1.3em;
-}
-
-div#header_search ul.link-tabs {
-       font-family : Arial, Geneva, sans-serif;
-       margin-bottom : -4px;
-}
-
-div#header_search ul.link-tabs li.on a,
-div#header_search ul.link-tabs li a,
-div#header_search ul.link-tabs li.off a {
-       padding : 0.1em .5em .2em .5em;
-}
-
-div#circ_search,div#catalog_search,div#patron_search {
-       border : 0;
-       border-bottom : 1px solid #FF9900;
-       padding : 0 0 .2em 0;
-}
-
-/* Panel-Switch Tabs */
-ul.link-tabs {
-       list-style-type: none;
-       margin: 1px 0 9px 5px;
-       padding: 0;
-}
-
-ul.link-tabs li {
-       display: inline;
-       padding: 0px;
-}
-
-ul.link-tabs li a {
-       border-bottom: 1px solid #333333;
-       border-left : 1px solid #DDDDDD;
-       border-right : 1px solid #666666;
-       padding: .2em 1.2em .2em 1.2em;
-       text-decoration: none;
-}
-
-ul.link-tabs li.off a {
-       background-color: #FFFFFF;
-       border : 0;
-       margin-right : 1px;
-       text-decoration: underline;
-}
-
-ul.link-tabs li.off a:hover {
-       background-color: #FFFFEC;
-       border : 0;
-       margin-right : 0;
-       padding: .2em 1.2em .2em 1.2em;
-}
-
-ul.link-tabs li.on a {
-       background-color: #FFFFCC;
-       border-top: 1px solid #FFFFCC;
-       border-right: 1px solid #FF9900;
-       border-bottom: 1px solid #FF9900;
-       border-left: 1px solid #FFCC66;
-       font-weight : bold;
-}
-
-div#header_search .tip {
-       font-size: 93%;
-       color : Gray;
-}
-
-/* ClickMenu Overrides */
-
-div.cmDiv
-{
-       border: 0;
-       background-color: #F3F3F3;
-}
-
-
-.clickMenu li.more a {
-       background-image: url("../../img/more-arrow.gif");
-       background-position: right;
-       background-repeat: no-repeat;
-       padding-right : 13px;
-}
-
-.clickMenu li.more li a {
-       background-image : none;
-       padding-right : 0;
-}
-
-.clickMenu
-{
-       margin: 0;
-       padding: 0;
-       cursor: default;
-}
-.clickMenu, .clickMenu ul
-{
-       list-style: none;
-}
-.clickMenu ul
-{
-    margin: 0;
-    padding: 2px;
-    border: 0;
-    background-color: #F3F3F3;
-    min-width: 100px; /* ie doesnt know this :/ */
-    //float: left;/*ie again*/
-    //width: 100%;/*and again*/
-}
-.clickMenu div.outerbox
-{
-    display: none;
-    min-width: 106px; /* firefox produces animation-flickering when the box is bigger than this :/ */
-}
-.clickMenu div.inner
-{
-    //top: 20px; /* for ie */
-    left: 0;
-    margin: 0;
-}
-.clickMenu div.inner div.outerbox
-{
-    margin: 0;
-    left: 98px;
-    //left: 90px; /* for ie */
-    top: -3px;
-}
-.clickMenu li
-{
-    list-style-type : none;
-    position: relative;
-    padding: 0 20px 0 2px;
-    /*white-space: nowrap; does not really work in ie */
-}
-.clickMenu li.main
-{
-    float: left;
-    padding: 0 10px;
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-    //height: 20px; /* for ie */
-}
-.clickMenu li.main li
-{
-    z-index: 2;
-    min-width: 78px;
-    background-color: #2e8fcb;
-}
-.clickMenu li.hover
-{
-    z-index: 1 !important; /* the hover z-index has to be below the normal one the hovering items may be drawn over a submenu */
-    background-color : transparent;
-}
-.clickMenu img.liArrow
-{
-    position: absolute;
-    right: 5px;
-    top: 0.41em;
-}
-.clickMenu ul a {
-    cursor: default;
-}
-
-ul.innerBox a {
-    cursor : pointer;
-}
-
-ul.innerBox {
-    border: none;
-}
-
-div.yui-b {
-    border: 1px solid #dddddd;
-    padding:10px 0 10px 5px;
-    background:#e4eaee;
-}
-
-div.yui-b h5 {
-       font-size : 100%;
-    margin : .5em 0;
-}
-
-/*Action button*/
-#action {
-    float:right;
-}
-
-#action a {
-    color: #0072b9;
-    font-weight:bold;
-    background: url( /intranet-tmpl/prog/img/bg-tab.png );
-    font-size : 0.8em;
-    padding:3px;
-    margin-bottom:2px;
-    text-decoration:none;
-    display:block;
-}
-
-#action li {
-    list-style:none;
-}
-/*edit action*/
-#action .edit {
-    display:inline;
-    margin-bottom:10px;
-}
-
-#action .edit a {
-    background:none;
-    background-color : #0072b9;
-    color : white;
-}
-
-#action .edit a:hover {
-    cursor:pointer;
-}
-
-#action .view {
-       display:inline;
-       margin-bottom:5px;
-}
-
-#action .view a {
-    background:none;
-    background-color : #5ab5ee;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .view a:hover {
-    cursor:pointer;
-}
-
-#action .others {
-    display:inline;
-    margin-bottom:5px;
-}
-
-#action .others a {
-    background:none;
-    background-color : #2385C2;
-    color : white;
-    margin-top: 1px;
-}
-
-#action .others a:hover {
-    cursor:pointer;
-}
-
-
-
-
-div#toolbar {
-background:url(/intranet-tmpl/prog/img/bg-tab.png) repeat-x;
-background-color : #82badd;
-padding-bottom:0px;
-}
-
-ul.toolbar {
-}
-
-ul.toolbar li {
-       display : inline;
-       float : left;
-       list-style : none;
-}
-
-ul.toolbar li a {
-    background: url( /intranet-tmpl/prog/img/css_header.png );
-    background-repeat:repeat-x;
-    color:white;
-    border : 1px solid #F3F3F3;
-       display : block;
-       margin : 3px;
-       padding : 3px;
-       text-decoration : none;
-}
-
-ul.toolbar li a:hover {
-    background:none;
-    background-color : #FFFFCC;
-    color:#82badd;
-}
-
-ul.toolbar li:last-child a:hover {
-}
-
-ul.toolbar ul {
-       display : none;
-}
index f6d48ba..e11b598 100644 (file)
@@ -2,12 +2,19 @@
 <title>Koha &rsaquo; Reports &rsaquo; Guided Reports &rsaquo; Dictionary</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% INCLUDE 'calendar.inc' %]
+<style type="text/css">fieldset.rows table { clear: none; margin: 0;}</style>
 </head>
 <body>
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'circ-search.inc' %]
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided Reports Wizard</a>  &rsaquo; <strong> Dictionary </strong></div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; <a href="/cgi-bin/koha/reports/guided_reports.pl">Guided Reports Wizard</a> 
+[% IF ( new_dictionary ) %] &rsaquo; <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> &rsaquo; <strong>Name the new definition</strong>
+[% ELSIF ( step_2 ) %] &rsaquo; <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> &rsaquo; <strong>Step 2: Choose the area </strong> 
+[% ELSIF ( step_3 ) %] &rsaquo; <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> &rsaquo; <strong>Step 3: Choose columns </strong> 
+[% ELSIF ( step_4 ) %] &rsaquo; <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> &rsaquo; <strong>Step 4: Specify a value </strong> 
+[% ELSIF ( step_5 ) %] &rsaquo; <a href="/cgi-bin/koha/reports/dictionary.pl">Dictionary</a> &rsaquo; <strong>Step 5: Confirm definition</strong> 
+[% ELSE %]<strong> Dictionary </strong>[% END %]</div>
 
 <div id="doc3" class="yui-t2">
 
 [% END %]
 
 [% IF ( new_dictionary ) %]
+<h3>Add New Definition</h3>
 <form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
-
-<div class="toptabs">
-<ul class="ui-tabs-nav">
-       <li class="ui-tabs-selected"><span class="a">Step 1: Name</span></li>
-       <li><span class="a">Step 2: Area</span></li>
-       <li><span class="a">Step 3: Columns</span></li>
-       <li><span class="a">Step 4: Values</span></li>
-</ul>
-<div class="tabs-container">
-<fieldset class="rows"><legend>Add New Definition</legend><ol>
+<fieldset class="rows"><legend>Step 1 of 5: Name the new definition</legend><ol>
 <li>
 <label for="definition_name">Definition Name:</label>
 <input type="text" id="definition_name" name="definition_name" />
                                                                                                                                                                                                                                          
 <fieldset class="action"><input type="hidden" name="phase" value="New Term step 2" />
 <input name="submit" value="Next" type="submit" /></fieldset>
-</div>
-</div>
 </form>
 [% END %]
 
 [% IF ( step_2 ) %]
-<div class="toptabs">
-<ul class="ui-tabs-nav">
-       <li><span class="a">Step 1: Name</span></li>
-       <li class="ui-tabs-selected"><span class="a">Step 2: Area</span></li>
-       <li><span class="a">Step 3: Columns</span></li>
-       <li><span class="a">Step 4: Values</span></li>
-</ul>
-<div class="tabs-container">
+<h3>Add New Definition</h3>
 <form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
 <fieldset class="rows">
-<legend>Add New Definition</legend>
+<legend>Step 2 of 5: Choose the area</legend>
 <ol><li><input type="hidden" name="phase" value="New Term step 3" />
 <input type="hidden" name="definition_name" value="[% definition_name %]" />
 <input type="hidden" name="definition_description" value="[% definition_description %]" />
 </fieldset>                                                                            
 <fieldset class="action"><input name="submit" value="Next" type="submit" /></fieldset>
 </form>
-</div>
-</div>
 [% END %]
 
 [% IF ( step_3 ) %]
-<h1>Add New Definition</h1>
-<div class="toptabs">
-<ul class="ui-tabs-nav">
-       <li><span class="a">Step 1: Name</span></li>
-       <li><span class="a">Step 2: Area</span></li>
-       <li class="ui-tabs-selected"><span class="a">Step 3: Columns</span></li>
-       <li><span class="a">Step 4: Values</span></li>
-</ul>
-<div class="tabs-container">
+<h3>Add New Definition</h3>
 <form action="/cgi-bin/koha/reports/dictionary.pl" method="post">      
+<fieldset class="rows">
+<legend>Step 3 of 5: Choose columns</legend>
 <input type="hidden" name="area" value="[% area %]" />
 <input type="hidden" name="definition_name" value="[% definition_name %]" />
 <input type="hidden" name="definition_description" value="[% definition_description %]" />
 
-<table style="border: 0;"><tr><td><select id="availableColumns" name="oldcolumns2" size="25" style="width:200px;height:300px;">    
-[% FOREACH column IN columns %]                              
-[% IF ( column.table ) %]                                                                                                      
+<table style="border: 0;margin:1em;"><tr>
+<td style="border: 0;"><select id="availableColumns" name="oldcolumns2" size="25" style="width:200px;height:300px;">    
+[% FOREACH column IN columns %]
+[% IF ( column.table ) %]
 [% IF ( loop.first ) %]                              
 [% ELSE %]               
 </optgroup>        
 </optgroup>
 </select></td>
 
-<td><input type="button" name="Add" value="Add" class="button"  style="width : 6em; margin-bottom : .5em;" onclick="addColumn()" /><br /><input type="button" name="delete" value="&lt;&lt; Delete" class="button" style="width : 6em;"  onclick="delColumn()" />  </td>
+<td style="border: 0;"><input type="button" name="Add" value="Add" class="button"  style="width : 6em; margin-bottom : .5em;" onclick="addColumn()" /><br /><input type="button" name="delete" value="&lt;&lt; Delete" class="button" style="width : 6em;"  onclick="delColumn()" />  </td>
+
+<td style="border: 0;"><select id="selectedColumns" name="columns" size="25" style="width:200px;height:300px;"></select>     </td>   </tr></table>     
 
-<td><select id="selectedColumns" name="columns" size="25" style="width:200px;height:300px;"></select>     </td>   </tr></table>     
-         
-                                                                            
 <input type="hidden" name="phase" value="New Term step 4" />
-<input type="submit" name="submit" value="Next" />  
-</form>    
-</div>
-</div>
+</fieldset>
+<fieldset class="action"><input type="submit" name="submit" value="Next" /></fieldset>
+</form>
 [% END %]
 
 [% IF ( step_4 ) %]
-<h1>Add New Definition</h1>
-<div class="toptabs">
-<ul class="ui-tabs-nav">
-       <li><span class="a">Step 1: Name</span></li>
-       <li><span class="a">Step 2: Area</span></li>
-       <li><span class="a">Step 3: Columns</span></li>
-       <li class="ui-tabs-selected"><span class="a">Step 4: Values</span></li>
-</ul>
-<div class="tabs-container">
+<h3>Add New Definition</h3>
 <form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
+<fieldset class="rows">
+<legend>Step 4 of 5: Specify a value</legend>
 <input type="hidden" name="area" value="[% area %]" />
 <input type="hidden" name="definition_name" value="[% definition_name %]" />
 <input type="hidden" name="definition_description" value="[% definition_description %]" />
 
 [% FOREACH column IN columns %]
 <input type="hidden" name="criteria_column" value="[% column.name %]" />
-[% column.name %]
+<ol><li><span class="label">Column: </span> [% column.name %]</li>
 [% IF ( column.distinct ) %]
-<select name="[% column.name %]_value"> 
-[% FOREACH value IN column.values %]           
-<option value="[% value.availablevalues %]">[% value.availablevalues %]</option>      
-[% END %]   
-</select>
+       <li><label for="[% column.name %]_value">Choose: </label> <select id="[% column.name %]_value" name="[% column.name %]_value"> 
+               [% FOREACH value IN column.values %]
+                       <option value="[% value.availablevalues %]">[% value.availablevalues %]</option>
+               [% END %]
+       </select></li>
 [% END %]
 [% IF ( column.date ) %]
-<table>
-<tr valign="top">
-<td><input type="radio" name="[% column.name %]_all" value="all" />All dates</td>
-<td>OR</td>
-<td><input type="radio" name="dates" value="range" />Date range<br />
-<table>
-<tr>
-<td>Start of date range</td>
-<td><input type="text" size="10" id="[% column.name %]_start_value" name="[% column.name %]_start_value" value="" />      
-<img src="[% themelang %]/lib/calendar/cal.gif" id="buttonfrom1" style="cursor: pointer;"  />    
-<script type="text/javascript">                            
-Calendar.setup({             
-inputField     : "[% column.name %]_start_value",    
-ifFormat       : "[% DHTMLcalendar_dateformat %]",
-button         : "buttonfrom1",                            
-align          : "Tl"                  
-});
-</script>
-<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
-</td>
-</tr>
-<tr>
-<td>End of date range</td>
-<td>
-<input type="text" size="10" id="[% column.name %]_end_value" name="[% column.name %]_end_value" value="" />      
-<img src="[% themelang %]/lib/calendar/cal.gif" id="buttonfrom2" style="cursor: pointer;"  />
-<script type="text/javascript">                            
-Calendar.setup({             
-inputField     : "[% column.name %]_end_value",    
-ifFormat       : "[% DHTMLcalendar_dateformat %]",
-button         : "buttonfrom2",
-align          : "Tl"                  
-});
-</script>
-<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
-</td>
-</tr>
-</table></td>
-</tr>
-</table>
+       <li><span class="label">Choose: </span><table>
+       <tr valign="top">
+       <td><input type="radio" name="[% column.name %]_all" value="all" />All dates</td>
+       <td>OR</td>
+       <td><input type="radio" name="dates" value="range" />Date range<br />
+       <table>
+       <tr>
+       <td>Start of date range</td>
+       <td><input type="text" size="10" id="[% column.name %]_start_value" name="[% column.name %]_start_value" value="" />      
+       <img src="[% themelang %]/lib/calendar/cal.gif" id="buttonfrom1" style="cursor: pointer;"  />
+       <script type="text/javascript">
+       Calendar.setup({
+       inputField     : "[% column.name %]_start_value",
+       ifFormat       : "[% DHTMLcalendar_dateformat %]",
+       button         : "buttonfrom1",
+       align          : "Tl"
+       });
+       </script>
+       <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
+       </td>
+       </tr>
+       <tr>
+       <td>End of date range</td>
+       <td>
+       <input type="text" size="10" id="[% column.name %]_end_value" name="[% column.name %]_end_value" value="" />      
+       <img src="[% themelang %]/lib/calendar/cal.gif" id="buttonfrom2" style="cursor: pointer;"  />
+       <script type="text/javascript">
+       Calendar.setup({
+       inputField     : "[% column.name %]_end_value",
+       ifFormat       : "[% DHTMLcalendar_dateformat %]",
+       button         : "buttonfrom2",
+       align          : "Tl"
+       });
+       </script>
+       <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
+       </td>
+       </tr>
+       </table></td>
+       </tr>
+</table></li>
 [% END %]
 [% IF ( column.text ) %]
-<p>Search string matches <input type="text" size="13" name="[% column.name %]_value" /></p>
+       <li><label for="[% column.name %]_value">Search string matches: </label> <input type="text" size="13" name="[% column.name %]_value" /></li>
 [% END %]
 
 [% END %]
+</ol>
 <input type="hidden" name="phase" value="New Term step 5" />
-<input type="submit" name="submit" value="Next" />            
+</fieldset>
+<fieldset class="action">
+<input type="submit" name="submit" value="Next" />
+</fieldset>
 </form>
-</div>
-</div>
 [% END %]
 
 [% IF ( step_5 ) %]
-<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">      
+<form action="/cgi-bin/koha/reports/dictionary.pl" method="post">
 <input type="hidden" name="area" value="[% area %]" />    
 <input type="hidden" name="definition_name" value="[% definition_name %]" />           
 <input type="hidden" name="definition_description" value="[% definition_description %]" />
 <input type="hidden" name="columnstring" value="[% columnstring %]" />
 
-<h3>Confirm Definition</h3>
+<h3>Add New Definition</h3>
 
-<fieldset class="rows"><ol><li>
+<fieldset class="rows">
+<legend>Step 5 of 5: Confirm details</legend>
+<ol><li>
 <span class="label">Name:</span>
 [% definition_name %]
 </li>
@@ -274,9 +253,9 @@ align          : "Tl"
 <li>
 <span class="label">Area:</span>
 [% areaname %]
-</li></ol>
-
-<ol><li>
+</li>
+<li>
+<span class="label">Data:</span>
 <table>
 <tr>
 <th>Columns</th>