From: Chris Nighswonger Date: Thu, 7 Jan 2010 03:53:41 +0000 (-0500) Subject: [28/30] Adding sample data for Label and Patron Card Creators X-Git-Tag: v3.02.00-alpha~45^2~13^2~8 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=e616ba1be0a538c5fc26407a3711ce6c505bf322;p=koha.git [28/30] Adding sample data for Label and Patron Card Creators Also removing obsoleted sample labels data. --- diff --git a/installer/data/mysql/en/optional/sample_creator_data.sql b/installer/data/mysql/en/optional/sample_creator_data.sql new file mode 100644 index 0000000000..bcd610a183 --- /dev/null +++ b/installer/data/mysql/en/optional/sample_creator_data.sql @@ -0,0 +1,34 @@ +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; + +LOCK TABLES `creator_layouts` WRITE; +/*!40000 ALTER TABLE `creator_layouts` DISABLE KEYS */; +INSERT INTO `creator_layouts` VALUES (17,'CODE39',1,'BIBBAR','Label Test',0,'TR',3,'POINT',0,'L','title, author, isbn, issn, itemtype, barcode, callnumber','','Labels'),(18,'CODE39',1,'BAR','DEFAULT',0,'TR',3,'POINT',0,'L','title, author, isbn, issn, itemtype, barcode, callnumber','','Labels'),(19,'CODE39',1,'BAR','DEFAULT',0,'TR',3,'POINT',0,'L','title, author, isbn, issn, itemtype, barcode, callnumber','','Labels'),(20,'CODE39',1,'BAR','Test Layout',0,'TR',10,'POINT',0,'L','barcode',' + + + + <firstname> <surname> + + Branch: <branchcode> + + Expires: August 31, 2010 + + +','Patroncards'); +/*!40000 ALTER TABLE `creator_layouts` ENABLE KEYS */; +UNLOCK TABLES; + + +LOCK TABLES `creator_templates` WRITE; +/*!40000 ALTER TABLE `creator_templates` DISABLE KEYS */; +INSERT INTO `creator_templates` VALUES (1,1,'Avery 5160 | 1 x 2-5/8','3 columns, 10 rows of labels',8.5,11,2.63,1,0.139,0,0.35,0.23,3,10,0.13,0,'INCH','Labels'),(7,13,'Demco WS14942260','1\" X 1.5\" Spine Label | Setup for up to four lines of text',8.5,11,1.5,1,0.236,0,0.5,0.25,5,10,0.0625,0,'INCH','Labels'),(12,14,'Demco WS14942260','1\" X 1.5\" Spine Label | Setup for five lines of text',8.5,11,1.5,1,0.139,0,0.53,0.3,5,10,0.0625,0,'INCH','Labels'),(22,0,'DEFAULT TEMPLATE 01','Default description',0,5,0,0,0,0,0,0,0,0,0,0,'POINT','Labels'),(23,16,'HB-PC0001','A template for home brewed patron card forms',8.5,11,3.1875,1.9375,0,0,0.6875,0.875,2,4,0.4375,0.1875,'INCH','Patroncards'); +/*!40000 ALTER TABLE `creator_templates` ENABLE KEYS */; +UNLOCK TABLES; + +LOCK TABLES `printers_profile` WRITE; +/*!40000 ALTER TABLE `printers_profile` DISABLE KEYS */; +INSERT INTO `printers_profile` VALUES (1,'Library Laser',1,'Bypass',-2,9,3,0,'POINT','Labels'),(11,'Library Laser',1,'Tray 1',0,0,0,0,'POINT','Labels'),(16,'Test Printer 01',23,'Test Bin',0,0,0,0,'POINT','Patroncards'); +/*!40000 ALTER TABLE `printers_profile` ENABLE KEYS */; +UNLOCK TABLES; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; diff --git a/installer/data/mysql/en/optional/sample_creator_data.txt b/installer/data/mysql/en/optional/sample_creator_data.txt new file mode 100644 index 0000000000..0c7f62ff24 --- /dev/null +++ b/installer/data/mysql/en/optional/sample_creator_data.txt @@ -0,0 +1 @@ +Sample Label and Patron Card Data diff --git a/installer/data/mysql/en/optional/sample_labels.sql b/installer/data/mysql/en/optional/sample_labels.sql deleted file mode 100644 index c0fdd13942..0000000000 --- a/installer/data/mysql/en/optional/sample_labels.sql +++ /dev/null @@ -1,21 +0,0 @@ --- Label Templates -LOCK TABLES `labels_templates` WRITE; -/*!40000 ALTER TABLE `labels_templates` DISABLE KEYS */; -INSERT INTO `labels_templates` VALUES -(1,0,'Avery 5160 | 1 x 2-5/8', '3 columns, 10 rows of labels', 8.5, 11, 2.63, 1, 0.139, 0, 0.35, 0.23, 3, 10, 0.13, 0, 'INCH'), -(2,0,'Gaylord 8511 Spine Label','Prints only the left-hand column of a Gaylord 8511.', 8.5, 11, 1, 1.25, 0.6, 0.5, 0, 0, 1, 8, 0, 0, 'INCH'), -(3,0,'Avery 5460 vertical', '', 3.625, 5.625, 1.5, 0.75, 0.38, 0.35, 2, 7, 2, 1, 0.25, 0, 'INCH'), -(4,0,'Avery 5460 spine labels', '', 5.625, 3.625, 0.75, 1.5, 0.35, 0.31, 7, 2, 1, 0, 0.25, 0, 'INCH'), -(5,0,'Avery 8163', '2rows x 5 rows', 8.5, 11, 4, 2, 0, 0, 0.5, 0.17, 2, 5, 0.2, 0.01, 'INCH'), -(6,0,'cards', 'Avery 5160 | 1 x 2-5/8 : 1 x 2-5/8\" [3x10] : equivalent: Gaylord JD-ML3000', 8.5, 11, 2.75, 1.05, 0, 0, 0.25, 0, 3, 10, 0.2, 0.01, 'INCH'), -(7,0,'Demco WS14942260', '1\" X 1.5\" Spine Label', 8.5, 11, 1.5, 1, 0.236, 0, 0.4, 0.25, 5, 10, 0.0625, 0, 'INCH'); -/*!40000 ALTER TABLE `labels_templates` ENABLE KEYS */; -UNLOCK TABLES; -LOCK TABLES `labels_layouts` WRITE; -/*!40000 ALTER TABLE `labels_layouts` DISABLE KEYS */; -INSERT INTO `labels_layouts` VALUES -(1,'CODE39','BIBBAR', 'biblio and barcode', 0, 'TR',7,0,'L','title, author, itemcallnumber'), -(2,'CODE39','BIB', 'spine', 0, 'TR',3,1,'L','itemcallnumber'), -(3,'CODE39','BARBIB', 'barcode and biblio', 0, 'TR',3,1,'L','title, author, itemcallnumber'); -/*!40000 ALTER TABLE `labels_layouts` ENABLE KEYS */; -UNLOCK TABLES; diff --git a/installer/data/mysql/en/optional/sample_labels.txt b/installer/data/mysql/en/optional/sample_labels.txt deleted file mode 100644 index 2018fc64f0..0000000000 --- a/installer/data/mysql/en/optional/sample_labels.txt +++ /dev/null @@ -1,9 +0,0 @@ -Some sample labels: - -Avery 5160 | 1 x 2-5/8 -Gaylord 8511 Spine Label -Avery 5460 - vertical -Avery 5460 - spine labels -Avery 8163 - 2rows x 5 rows -cards Avery 5160 | 1 x 2-5/8 : 1 x 2-5/8" [3x10] : equivalent: Gaylord JD-ML3000 -Demco WS14942260 | 1" X 1.5" Spine Label