From 0088c5da53a56f44ec435f88a56b67ae99616a4d Mon Sep 17 00:00:00 2001 From: Christopher Hall Date: Mon, 29 Nov 2010 09:59:30 +1300 Subject: [PATCH] Bug 5462: fixed current preferences tab highlighting bug created by dashfix Signed-off-by: Colin Campbell --- admin/systempreferences.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc | 8 ++++---- .../{enhanced-content.pref => enhanced_content.pref} | 0 .../admin/preferences/{i18n-l10n.pref => i18n_l10n.pref} | 0 .../admin/preferences/{local-use.pref => local_use.pref} | 0 .../preferences/{staff-client.pref => staff_client.pref} | 6 +++--- .../preferences/{web-services.pref => web_services.pref} | 0 7 files changed, 8 insertions(+), 8 deletions(-) rename koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/{enhanced-content.pref => enhanced_content.pref} (100%) rename koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/{i18n-l10n.pref => i18n_l10n.pref} (100%) rename koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/{local-use.pref => local_use.pref} (100%) rename koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/{staff-client.pref => staff_client.pref} (98%) rename koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/{web-services.pref => web_services.pref} (100%) diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index 2ed39139f0..b33c7ece4c 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -787,7 +787,7 @@ if ( $op eq 'add_form' ) { $row_data->{delete} = "$script_name?op=delete_confirm&searchfield=" . $results->[$i]{'variable'}; push( @loop_data, $row_data ); } - $tab = ( $tab ? $tab : "local-use" ); + $tab = ( $tab ? $tab : "local_use" ); $template->param( loop => \@loop_data, $tab => 1 ); if ( $offset > 0 ) { my $prevpage = $offset - $pagesize; 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 6def13246f..4e0d0b080f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc @@ -6,15 +6,15 @@
  • Cataloging
  • Circulation
  • Creators
  • -
  • Enhanced Content
  • -
  • I18N/L10N
  • +
  • Enhanced Content
  • +
  • I18N/L10N
  • Local Use
  • Logs
  • OPAC
  • Patrons
  • Searching
  • Serials
  • -
  • Staff Client
  • -
  • Web Services
  • +
  • Staff Client
  • +
  • Web Services
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref rename to koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n-l10n.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n-l10n.pref rename to koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/local-use.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/local_use.pref similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/local-use.pref rename to koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/local_use.pref diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref similarity index 98% rename from koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref rename to koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref index ab546f1bed..0d7fedcf7f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff-client.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref @@ -45,18 +45,18 @@ Staff Client: - pref: intranetuserjs type: textarea class: code - - + - - Show biblio records on result page in the staff client - pref: XSLTResultsDisplay choices: yes: using XSLT stylesheets. no: normally. - - + - - Show item details pages in the staff client - pref: XSLTDetailsDisplay choices: yes: using XSLT stylesheets. - no: normally. + no: normally. - - Use the Yahoo UI libraries - pref: yuipath diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web-services.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref similarity index 100% rename from koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web-services.pref rename to koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/web_services.pref -- 2.20.1