From 141313666f0eadcd133b91ad2e3920f0107264a9 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Tue, 13 Jul 2010 09:18:50 +1200 Subject: [PATCH] Bug 3756: Adding the ability to have localuse systempreferences Squashed commit of the following: commit d42198bfadff20f40c38b3d9bc7f210ecc372e7c Author: Chris Nighswonger Date: Mon Jul 12 16:48:16 2010 -0400 Bug 3756 [4/?] new sys prefs - no way to add a new local use preference Fixing Global Administration link commit 060a52bc8d9da1d83387455967ca05292e5987b9 Author: Chris Nighswonger Date: Mon Jul 12 16:45:07 2010 -0400 Bug 3756 [3/?] new sys prefs - no way to add a new local use preference Hiding non-local sysprefs commit d63858e13037fa91f18bc248ab770d757e31153c Author: Chris Nighswonger Date: Mon Jul 12 16:44:40 2010 -0400 Bug 3756 [2/?]new sys prefs - no way to add a new local use preference Fixing a typo commit 5b23a615018e049b1e11dbc10b131ecb30dfc6ab Author: Chris Nighswonger Date: Mon Jul 12 15:52:04 2010 -0400 Bug 3756 new sys prefs - no way to add a new local use preference A quick and dirty fix Signed-off-by: Chris Cormack Signed-off-by: Galen Charlton --- admin/systempreferences.pl | 31 +++++++++++++++++++ .../prog/en/includes/prefs-menu.inc | 2 +- .../prog/en/includes/sysprefs-menu.inc | 30 +++++++++--------- .../prog/en/modules/admin/admin-home.tmpl | 2 +- 4 files changed, 48 insertions(+), 17 deletions(-) diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 9e90d617ce..9191ecf450 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -95,8 +95,39 @@ $tabsysprefs{Intranet_includes} = "Admin"; $tabsysprefs{AutoLocation} = "Admin"; $tabsysprefs{DebugLevel} = "Admin"; $tabsysprefs{SessionStorage} = "Admin"; + +# This script is depricated so all of these prefs are lumped here to avoid their being displayed in the local use prefs tab + $tabsysprefs{noItemTypeImages} = "Admin"; $tabsysprefs{OPACBaseURL} = "Admin"; +$tabsysprefs{AnonymousPatron} = "Admin"; +$tabsysprefs{casAuthentication} = "Admin"; +$tabsysprefs{casLogout} = "Admin"; +$tabsysprefs{casServerUrl} = "Admin"; +$tabsysprefs{Disable_Dictionary} = "Admin"; +$tabsysprefs{EnableOpacSearchHistory} = "Admin"; +$tabsysprefs{'ILS-DI:AuthorizedIPs'} = "Admin"; +$tabsysprefs{Intranetbookbag} = "Admin"; +$tabsysprefs{maxitemsinSearchResults} = "Admin"; +$tabsysprefs{noOPACUserLogin} = "Admin"; +$tabsysprefs{'OAI-PMH:ConfFile'} = "Admin"; +$tabsysprefs{OpacAddMastheadLibraryPulldown} = "Admin"; +$tabsysprefs{opaclargeimage} = "Admin"; +$tabsysprefs{OpacPrivacy} = "Admin"; +$tabsysprefs{OPACXSLTDetailsDisplay} = "Admin"; +$tabsysprefs{OPACXSLTResultsDisplay} = "Admin"; +$tabsysprefs{PDFFontType} = "Admin"; +$tabsysprefs{PINESISBN} = "Admin"; +$tabsysprefs{PrintNoticesMaxLines} = "Admin"; +$tabsysprefs{ReservesControlBranch} = "Admin"; +$tabsysprefs{ResultsDisplay} = "Admin"; +$tabsysprefs{NoReturnSetLost} = "Admin"; +$tabsysprefs{SearchURL} = "Admin"; +$tabsysprefs{ShowPictures} = "Admin"; +$tabsysprefs{soundon} = "Admin"; +$tabsysprefs{SpineLabelShowPrintOnBibDetails} = "Admin"; +$tabsysprefs{WebBasedSelfCheckHeader} = "Admin"; +$tabsysprefs{WebBasedSelfCheckTimeout} = "Admin"; # Authorities $tabsysprefs{authoritysep} = "Authorities"; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc index 2716ec876c..b72e305ee5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc @@ -8,7 +8,7 @@
  • Creators
  • Enhanced Content
  • I18N/L10N
  • -
  • Local Use
  • +
  • Local Use
  • Logs
  • OPAC
  • Patrons
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-menu.inc index 6e535a5ac1..3b2fea47b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/sysprefs-menu.inc @@ -1,20 +1,20 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tmpl index 05ca4e4433..afa2a35801 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tmpl @@ -18,7 +18,7 @@
    -

    Global system preferences

    +

    Global system preferences

    Manage global system preferences like MARC flavor, date format, administrator email, and templates.

    " /> -- 2.39.5