* improve wording
* add to new system preferences editor

Signed-off-by: Galen Charlton <[email protected]>
---
 installer/data/mysql/en/mandatory/sysprefs.sql     |    2 +-
 .../1-Obligatoire/unimarc_standard_systemprefs.sql |    2 +-
 installer/data/mysql/updatedatabase.pl             |    2 +-
 .../en/modules/admin/preferences/cataloguing.pref  |    7 +++++++
 kohaversion.pl                                     |    2 +-
 5 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql 
b/installer/data/mysql/en/mandatory/sysprefs.sql
index 318342a..dc52237 100644
--- a/installer/data/mysql/en/mandatory/sysprefs.sql
+++ b/installer/data/mysql/en/mandatory/sysprefs.sql
@@ -276,4 +276,4 @@ INSERT INTO `systempreferences` 
(variable,value,explanation,options,type) VALUES
 INSERT INTO `systempreferences` (variable,value,explanation,options,type) 
VALUES ('RoutingListAddReserves','1','If ON the patrons on routing lists are 
automatically added to holds on the issue.','','YesNo');
 INSERT INTO `systempreferences` (variable,value,options,explanation,type) 
VALUES ( 'OpacAddMastheadLibraryPulldown', '0', '', 'Adds a pulldown menu to 
select the library to search on the opac masthead.', 'YesNo' );
 INSERT INTO systempreferences VALUES ('ImageLimit',5,'','Limit images stored 
in the database by the Patron Card image manager to this number.','Integer');
-INSERT INTO `systempreferences` (variable,value,options,explanation,type) 
VALUES ('SpineLabelShowPrintOnBibDetails', '0', '', 'If turned on, a "Print 
Label" link will appear for each item catalogue/detail.pl to print each items 
spinelabel.', 'YesNo');
+INSERT INTO `systempreferences` (variable,value,options,explanation,type) 
VALUES ('SpineLabelShowPrintOnBibDetails', '0', '', 'If turned on, a "Print 
Label" link will appear for each item on the bib details page in the staff 
interface.', 'YesNo');
diff --git 
a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql 
b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
index c21cbb4..ca0d072 100644
--- a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
+++ b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
@@ -279,4 +279,4 @@ INSERT INTO `systempreferences` 
(variable,value,options,explanation,type) VALUES
 INSERT INTO  systempreferences VALUES ('ImageLimit',5,'','Limiter le nombre 
d''images stockées en base pour la photo Lecteur à cette taille.','Integer');
 INSERT INTO `systempreferences` (variable,value,explanation,options,type) 
VALUES ('OPACPatronDetails','1','Si désactivé, l''affichage détaillé des 
données adhérents est désactivé à l''OPAC.','','YesNo');
 INSERT INTO `systempreferences` (variable,value,explanation,options,type) 
VALUES ('OPACFinesTab','1','Si désactivé, l''onglet Amende est désactivé à 
l''OPAC.','','YesNo');
-INSERT INTO `systempreferences` (variable,value,options,explanation,type) 
VALUES ('SpineLabelShowPrintOnBibDetails', '0', '', 'If turned on, a "Print 
Label" link will appear for each item catalogue/detail.pl to print each items 
spinelabel.', 'YesNo');
+INSERT INTO `systempreferences` (variable,value,options,explanation,type) 
VALUES ('SpineLabelShowPrintOnBibDetails', '0', '', 'If turned on, a "Print 
Label" link will appear for each item on the bib details page in the staff 
interface.', 'YesNo');
diff --git a/installer/data/mysql/updatedatabase.pl 
b/installer/data/mysql/updatedatabase.pl
index d5b621e..f44c257 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -3393,7 +3393,7 @@ if (C4::Context->preference("Version") < 
TransformToNum($DBversion)) {
 
 $DBversion = '3.01.00.112';
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
-       $dbh->do("INSERT INTO `systempreferences` 
(variable,value,options,explanation,type) VALUES 
('SpineLabelShowPrintOnBibDetails', '0', '', 'If turned on, a \"Print Label\" 
link will appear for each item catalogue/detail.pl to print each items 
spinelabel.', 'YesNo');");
+       $dbh->do("INSERT INTO `systempreferences` 
(variable,value,options,explanation,type) VALUES 
('SpineLabelShowPrintOnBibDetails', '0', '', 'If turned on, a \"Print Label\" 
link will appear for each item on the bib details page in the staff 
interface.', 'YesNo');");
        print "Upgrade done ( added Show Spine Label Printer on Bib Items 
Details preferences )\n";
     SetVersion ($DBversion);
 }
diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref 
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
index 5bdc1e6..4bb248d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref
@@ -25,6 +25,13 @@ Cataloging:
             - (Enter in columns from the <code>biblio</code>, 
<code>biblioitems</code> or <code>items</code> tables, surrounded by &lt; and 
&gt;.)
             - pref: SpineLabelFormat
               type: textarea
+        -
+            - pref: SpineLabelShowPrintOnBibDetails
+              choices:
+                  yes: Display
+                  no:  "Don't display"
+            - buttons on the bib details page to print item spine labels.
+        -
     Record Structure:
         -
             - Interpret and store MARC records in the
diff --git a/kohaversion.pl b/kohaversion.pl
index 45747e6..5cfd314 100644
--- a/kohaversion.pl
+++ b/kohaversion.pl
@@ -10,7 +10,7 @@
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.01.00.111';
+    our $VERSION = '3.01.00.112';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install
-- 
1.6.3.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to