From 42b58a7e52f454e968224f3e51d7710c13e3e6df Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 27 May 2009 13:10:43 -0500 Subject: [PATCH] bug 1933: started work fixing IntranetBiblioDefaultView syspref Signed-off-by: Galen Charlton --- admin/systempreferences.pl | 3 +++ installer/data/mysql/en/mandatory/sysprefs.sql | 1 + .../mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 77d26942c8..65269bcdbb 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -121,6 +121,9 @@ $tabsysprefs{DefaultClassificationSource} = "Cataloguing"; $tabsysprefs{RoutingSerials} = "Cataloguing"; $tabsysprefs{'item-level_itypes'} = "Cataloguing"; $tabsysprefs{OpacSuppression} = "Cataloguing"; +$tabsysprefs{viewMARC} = "Cataloguing"; +$tabsysprefs{viewLabeledMARC} = "Cataloguing"; +$tabsysprefs{viewISBD} = "Cataloguing"; # Circulation $tabsysprefs{maxoutstanding} = "Circulation"; diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql b/installer/data/mysql/en/mandatory/sysprefs.sql index 25b845c48c..3d1a7a6e92 100644 --- a/installer/data/mysql/en/mandatory/sysprefs.sql +++ b/installer/data/mysql/en/mandatory/sysprefs.sql @@ -31,6 +31,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IndependantBranches',0,'If ON, increases security between libraries',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('insecure',0,'If ON, bypasses all authentication. Be careful!',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView','normal','IntranetBiblioDefaultView','',''); +INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView','normal','IntranetBiblioDefaultView','normal|marc|isbd|labeled_marc','Choice'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('intranetcolorstylesheet','','Define the color stylesheet to use in the Staff Client','50','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetmainUserblock','','Add a block of HTML that will display on the intranet home page','70|10','Textarea'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetNav','','Use HTML tabs to add navigational links to the left-hand navigational bar in the Staff Client','70|10','Textarea'); 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 08cbe11a62..2d9a0999f8 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 @@ -34,7 +34,7 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('hide_marc', '0', 'Si ce paramètre est positionné, les code des champs et sous-champs MARC sont cachés, on ne voit que les libellés.', '', 'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IndependantBranches', '0', 'Si ce paramètre est à "Oui", chaque site est indépendant au niveau de ses acquisitions, de son catalogage, de l''inscription de ses lecteurs...', '', 'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('insecure', '0', 'Ce paramètre, s''il est positionné à "Oui", permet d''utiliser Koha sans mot de passe. A utiliser avec précaution. Devrait être à "Non" normalement', '', 'YesNo'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView', 'marc', 'Ce paramètre définit la vue par défaut affichée à l''interface professionnelle. Habituellement, c''est "marc"', 'normal|marc|isbd', 'Choice'); +INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetBiblioDefaultView', 'marc', 'Ce paramètre définit la vue par défaut affichée à l''interface professionnelle. Habituellement, c''est "marc"', 'normal|marc|isbd|labeled_marc', 'Choice'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('intranetcolorstylesheet', '', 'Ce paramètre permet de définir un jeu de couleur alternatif dans l''interface professionnelle', '50', 'free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetmainUserblock','','Ajouter un bloc de code HTML qui sera affiché sur la page d''accueil de l''interface professionnelle','70|10','Textarea'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('IntranetNav', '', 'Ce paramètre contient du code HTML, qui est mis au début de la barre de navigation, sur la gauche, dans l''interface professionnelle', '70|10', 'Textarea'); -- 2.20.1