From: Joshua Ferraro Date: Fri, 20 Jun 2008 23:38:10 +0000 (-0500) Subject: fix for 1913: Remove opaclargeimage system preference X-Git-Tag: v3.00.00-stableRC1~16 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=66b2a15f13e67089d51c90ee1230d61bcf44d56a;p=koha_fer fix for 1913: Remove opaclargeimage system preference --- diff --git a/C4/Auth.pm b/C4/Auth.pm index 3426953221..f986542d2e 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -331,7 +331,6 @@ sub get_template_and_user { opaccredits => "" . C4::Context->preference("opaccredits"), opacheader => "" . C4::Context->preference("opacheader"), opaclanguagesdisplay => "". C4::Context->preference("opaclanguagesdisplay"), - opaclargeimage => "" . C4::Context->preference("opaclargeimage"), opaclayoutstylesheet => "". C4::Context->preference("opaclayoutstylesheet"), opacreadinghistory => C4::Context->preference("opacreadinghistory"), opacsmallimage => "" . C4::Context->preference("opacsmallimage"), @@ -770,7 +769,6 @@ sub checkauth { INPUTS => \@inputs, suggestion => C4::Context->preference("suggestion"), virtualshelves => C4::Context->preference("virtualshelves"), - opaclargeimage => C4::Context->preference("opaclargeimage"), LibraryName => C4::Context->preference("LibraryName"), opacuserlogin => C4::Context->preference("opacuserlogin"), OpacNav => C4::Context->preference("OpacNav"), diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index b90d463304..d7a22e6d1d 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -248,7 +248,6 @@ my %tabsysprefs; $tabsysprefs{LibraryName}="OPAC"; $tabsysprefs{opaccolorstylesheet}="OPAC"; $tabsysprefs{opaccredits}="OPAC"; - $tabsysprefs{opaclargeimage}="OPAC"; $tabsysprefs{opaclayoutstylesheet}="OPAC"; $tabsysprefs{OpacNav}="OPAC"; $tabsysprefs{opacsmallimage}="OPAC"; diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql b/installer/data/mysql/en/mandatory/sysprefs.sql index 32a8c2d4c9..61042630ac 100755 --- a/installer/data/mysql/en/mandatory/sysprefs.sql +++ b/installer/data/mysql/en/mandatory/sysprefs.sql @@ -68,7 +68,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccolorstylesheet','colors.css','Define the color stylesheet to use in the OPAC','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaccredits','','Define HTML Credits at the bottom of the OPAC page','70|10','Textarea'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opacheader','','Add HTML to be included as a custom header in the OPAC','30|10','Textarea'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclargeimage','','Define a URL to an image to display instead of the Koha logo on OPAC',NULL,'free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclayoutstylesheet','opac.css','Enter the name of the layout CSS stylesheet to use in the OPAC','','free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacMaintenance',0,'If ON, enables maintenance warning in OPAC','','YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OpacMainUserBlock','Welcome to Koha...\r\n
','A user-defined block of HTML in the main content area of the opac main page','50|20','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 81e54e085c..8cd3826273 100755 --- a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql +++ b/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql @@ -177,7 +177,6 @@ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OAI-PMH:Subset','itemtype=\'BOOK\'','Exprime le sous ensemble des éléments de la table biblioitem à exporter (expérimental)',NULL,'Free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('language','fr-FR','Définit les langues accessibles dans l''interface professionnelle',NULL,'Languages'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opacheader','','HTML spécifique à ajouter à l''OPAC','30|10','Textarea'); -INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('opaclargeimage','','Définit l''URL d''une image à afficher au lieu du logo Koha à l''OPAC',NULL,'free'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('QueryAutoTruncate',1,'Si activé, la troncature est activée par défaut',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('QueryRemoveStopwords',0,'Si activé, les mots vides listés dans l''interface d''administration sont supprimés des requètes',NULL,'YesNo'); INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('CircControl',"ItemHomeLibrary",'Précise la bibliothèque qui contrôle les règles de prêt et d''amende',"PickupLibrary|PatronLibrary|ItemHomeLibrary",'Choice');