I recommend that this patch be held until either a replacement or follow up is submitted which includes updates to all of the various langauge-based sysprefs.sql files. Failure to add/remove system preferences to/from these other files causes xt/syspref.t to fail.
Kind Regards, Chris 2010/12/7 Frédéric Demians <[email protected]> > > Signed-off-by: Frédéric Demians <[email protected]> > --- > installer/data/mysql/en/mandatory/sysprefs.sql | 1 + > .../prog/en/modules/admin/preferences/opac.pref | 6 ++++++ > 2 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql > b/installer/data/mysql/en/mandatory/sysprefs.sql > index d4fb9a2..d1f3256 100644 > --- a/installer/data/mysql/en/mandatory/sysprefs.sql > +++ b/installer/data/mysql/en/mandatory/sysprefs.sql > @@ -81,6 +81,7 @@ INSERT INTO `systempreferences` > (variable,value,explanation,options,type) VALUES > INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('opacstylesheet','','Enter a complete URL to use an alternate layout > stylesheet in OPAC','','free'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('opacthemes','prog','Define the current theme for the OPAC > interface.','','Themes'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('OpacTopissue',0,'If ON, enables the \'most popular items\' link on > OPAC. Warning, this is an EXPERIMENTAL feature, turning ON may overload your > server',NULL,'YesNo'); > +INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('OpacPublic',1,'Turn on/off public OPAC',NULL,'YesNo'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('opacuserjs','','Define custom javascript for inclusion in > OPAC','70|10','Textarea'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('opacuserlogin',1,'Enable or disable display of user login > features',NULL,'YesNo'); > INSERT INTO `systempreferences` (variable,value,explanation,options,type) > VALUES('patronimages',0,'Enable patron images for the Staff > Client',NULL,'YesNo'); > diff --git > a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref > b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref > index 55560d3..0bbcdf1 100644 > --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref > +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref > @@ -16,6 +16,12 @@ OPAC: > class: long > - as the name of the library on the OPAC. > - > + - pref: OpacPublic > + choices: > + yes: Enable > + no: Disable > + - "Koha OPAC as public. Private OPAC requires authentification > before accessing the OPAC." > + - > - pref: OpacMaintenance > choices: > yes: Show > -- > 1.7.3.2 > > _______________________________________________ > Koha-patches mailing list > [email protected] > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
