View | Details | Raw Unified | Return to bug 35570
Collapse All | Expand All

(-)a/about.pl (+7 lines)
Lines 357-362 if($tab eq 'sysinfo') { Link Here
357
            $warnILLConfiguration = 1;
357
            $warnILLConfiguration = 1;
358
        }
358
        }
359
359
360
        # Check if deprecated 'FreeForm' backend is installed
361
        my $available_backends = Koha::ILL::Request::Config->new->available_backends;
362
        if ( grep( /FreeForm/, @{$available_backends} ) ) {
363
            $template->param( ill_deprecated_backend_freeform_is_installed => 1 );
364
            $warnILLConfiguration = 1;
365
        }
366
360
        if ( !C4::Context->preference('ILLPartnerCode') ) {
367
        if ( !C4::Context->preference('ILLPartnerCode') ) {
361
            # partner code not defined
368
            # partner code not defined
362
            $template->param( ill_partner_code_not_defined => 1 );
369
            $template->param( ill_partner_code_not_defined => 1 );
(-)a/ill/ill-requests.pl (+6 lines)
Lines 72-77 $template->param( Link Here
72
    have_batch         => have_batch_backends($backends)
72
    have_batch         => have_batch_backends($backends)
73
);
73
);
74
74
75
if ( grep( /FreeForm/, @{$backends} ) ) {
76
    $template->param(
77
        ill_deprecated_backend_freeform_is_installed => 1,
78
    );
79
}
80
75
if ( $backends_available ) {
81
if ( $backends_available ) {
76
    # Establish what metadata enrichment plugins we have available
82
    # Establish what metadata enrichment plugins we have available
77
    my $enrichment_services = get_metadata_enrichment();
83
    my $enrichment_services = get_metadata_enrichment();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (+11 lines)
Lines 594-599 Link Here
594
                                </td>
594
                                </td>
595
                            </tr>
595
                            </tr>
596
                        [% END %]
596
                        [% END %]
597
                        [% IF ill_deprecated_backend_freeform_is_installed %]
598
                            <tr>
599
                                <th scope="row"><strong>Warning</strong> </th>
600
                                <td>
601
                                    <p>The ILL module is enabled, but the deprecated 'FreeForm' backend is installed.</p>
602
                                    <p>'FreeForm' has since become part of core Koha as 'Standard'.</p>
603
                                    <p>All 'FreeForm' ILL content should've been migrated to 'Standard' upon upgrading Koha to 24.05.</p>
604
                                    <p>To avoid confusion or redundancy, please uninstall the 'FreeForm' backend before using the ILL module.</p>
605
                                </td>
606
                            </tr>
607
                        [% END %]
597
                    [% END %]
608
                    [% END %]
598
609
599
                    [% IF weasyprint_missing %]
610
                    [% IF weasyprint_missing %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-2 / +1 lines)
Lines 125-131 Link Here
125
                    [% INCLUDE 'messages.inc' %]
125
                    [% INCLUDE 'messages.inc' %]
126
        [% END %]
126
        [% END %]
127
            <div id="interlibraryloans">
127
            <div id="interlibraryloans">
128
        [% IF !backends_available || !has_branch %]
128
        [% IF !backends_available || !has_branch || ill_deprecated_backend_freeform_is_installed %]
129
            <div class="alert alert-info">ILL module configuration problem. Take a look at the <a href="/cgi-bin/koha/about.pl?tab=sysinfo">about page</a></div>
129
            <div class="alert alert-info">ILL module configuration problem. Take a look at the <a href="/cgi-bin/koha/about.pl?tab=sysinfo">about page</a></div>
130
        [% ELSE %]
130
        [% ELSE %]
131
                [% INCLUDE 'ill-toolbar.inc' %]
131
                [% INCLUDE 'ill-toolbar.inc' %]
132
- 

Return to bug 35570