Browse Source

Bug 17793: Make sysprefs search show on all Admin pages

This patch is amended to use the sysprefs search on all Administration
pages that do not have their own custom search.

To test:
1) Go to Administration
2) Notice Catalogue search at the top - seems out of place.
3) Apply patch and refresh page.
4) Notice admin / sysprefs search now shows and is more appropriate.
5) Confirm searching for sysprefs still works

This patch affects the following pages:
- admin-home.pl
- audio_alerts.pl
- authtypes.pl
- auth_tag_structure.pl
- authorised_values.pl
- biblio_framework.pl
- marctagstructure.pl
- branch_transfer_limits.pl
- branches.pl
- checkmarc.pl
- classsources.pl
- columns_settings.pl
- didyoumean.pl
- edi_accounts.pl
- edi_ean_accounts.pl
- fieldmapping.pl
- item_circulation_alerts.pl
- items_search_fields.pl
- items_search_field.pl
- item_types.pl
- koha2marklinks.pl
- matching-rules.pl
- oai_sets.pl
- oai_set_mappings.pl
- patron-attr-types.pl
- smart-rules.pl
- transport-cost-matrix.pl
- sms_providers.pl

Sponsored-by: Catalyst IT

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
17.05.x
Aleisha Amohia 6 years ago
committed by Kyle M Hall
parent
commit
16414374aa
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
  2. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt
  3. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt
  4. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt
  5. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt
  6. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt
  7. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt
  8. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
  9. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt
  10. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt
  11. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt
  12. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt
  13. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt
  14. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt
  15. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/fieldmapping.tt
  16. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt
  17. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_field.tt
  18. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt
  19. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt
  20. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt
  21. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt
  22. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt
  23. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt
  24. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt
  25. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt
  26. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
  27. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt
  28. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt

@ -5,7 +5,7 @@
</head>
<body id="admin_admin-home" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Administration</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt

@ -11,7 +11,7 @@
<body id="admin_audio_alerts" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Audio alerts</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt

@ -23,7 +23,7 @@
</head>
<body id="admin_auth_tag_structure" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
<a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> &rsaquo;

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

@ -55,7 +55,7 @@ $(document).ready(function() {
</head>
<body id="admin_authorised_values" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %] <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a> &rsaquo; [% IF ( action_modify ) %]Modify authorized value[% END %]
[% IF ( action_add_value ) %]New authorized value[% END %]
[% IF ( action_add_category ) %]New category[% END %][% END %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt

@ -28,7 +28,7 @@
<body id="admin_authtypes" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt

@ -22,7 +22,7 @@
</head>
<body id="admin_biblio_framework" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt

@ -45,7 +45,7 @@
</head>
<body id="admin_branch_transfer_limits" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Set library checkin and transfer policy</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt

@ -56,7 +56,7 @@ tinyMCE.init({
</head>
<body id="admin_branches" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/checkmarc.tt

@ -5,7 +5,7 @@
</head>
<body id="admin_checkmarc" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; MARC check
[% IF ( total ) %]: [% total %] errors found[% ELSE %] : Configuration OK![% END %]</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt

@ -21,7 +21,7 @@
<body id="admin_classsources" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt

@ -105,7 +105,7 @@
</head>
<body id="admin_tables" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Columns settings</div>
<div id="doc3" class="yui-t2">

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt

@ -70,7 +70,7 @@
</head>
<body id="admin_didyoumean" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Did you mean?</div>
<div id="doc3" class="yui-t2">

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt

@ -15,7 +15,7 @@
</head>
<body id="admin_edi_acct" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt

@ -15,7 +15,7 @@
</head>
<body id="admin_edi_ean" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/fieldmapping.tt

@ -18,7 +18,7 @@ $(document).ready(function() {
<body id="admin_fieldmapping" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Keyword to MARC mapping</div>
<div id="doc3" class="yui-t2">
<div id="yui-main">

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/item_circulation_alerts.tt

@ -88,7 +88,7 @@ $(function(){
</head>
<body id="admin_item_circulation_alerts" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Item circulation alerts </div>
<div id="doc3" class="yui-t1">

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_field.tt

@ -5,7 +5,7 @@
</head>
<body id="admin_itemssearchfields" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/items_search_fields.tt

@ -9,7 +9,7 @@
</head>
<body id="admin_itemssearchfields" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt

@ -58,7 +58,7 @@ Data deleted
</head>
<body id="admin_itemtypes" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF op == 'add_form' %]
[% IF itemtype %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt

@ -20,7 +20,7 @@ $(document).ready(function() {
<body id="admin_koha2marclinks" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( add_form ) %] <a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC Mapping</a> &rsaquo; Connect [% tablename %].[% kohafield %] to a MARC subfield[% END %]
[% IF ( else ) %]Koha to MARC mapping[% tagfield %][% END %]</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt

@ -32,7 +32,7 @@ $(document).ready(function() {
</head>
<body id="admin_marctagstructure" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt

@ -203,7 +203,7 @@ function CheckRuleForm(f) {
</head>
<body id="admin_matching-rules" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( display_list ) %]Record matching rules[% ELSE %]<a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a>[% END %]
[% IF ( matching_rule_form ) %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt

@ -41,7 +41,7 @@ function hideDialogBox() {
<body id="admin_oai_set_mappings" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; <a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% id %]">OAI set mappings</a></div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt

@ -43,7 +43,7 @@ $(document).ready(function() {
<body id="admin_oai_sets" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( op_new ) %]<a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; Add a new OAI set[% ELSIF ( op_mod ) %]<a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; Edit OAI set '[% spec %]'[% ELSE %] OAI sets configuration[% END %]</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt

@ -26,7 +26,7 @@ $(document).ready(function() {
</head>
<body id="admin_patron-attr-types" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( display_list ) %]Patron attribute types[% ELSE %]<a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a>[% END %]
[% IF ( attribute_type_form ) %]

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt

@ -111,7 +111,7 @@ $(document).ready(function() {
</head>
<body id="admin_smart-rules" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Circulation and fine rules</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt

@ -14,7 +14,7 @@
<body id="admin_sms_providers" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; SMS cellular providers</div>

2
koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt

@ -67,7 +67,7 @@ $(document).ready(function(){
</head>
<body id="admin_transport_cost_matrix" class="admin">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; Transport cost matrix</div>

Loading…
Cancel
Save