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

(-)a/admin/import_export_framework.pl (-2 / +2 lines)
Lines 46-53 unless ($authenticated) { Link Here
46
    exit 0;
46
    exit 0;
47
}
47
}
48
48
49
my $frameworkcode = $input->param('frameworkcode') || '';
49
my $framework_name = $input->param('frameworkcode') || 'default';
50
my $framework_name = $frameworkcode || 'default';
50
my $frameworkcode = ($framework_name eq 'default') ? q{} : $framework_name;
51
my $action = $input->param('action') || 'export';
51
my $action = $input->param('action') || 'export';
52
52
53
## Exporting
53
## Exporting
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-2 / +1 lines)
Lines 189-195 Link Here
189
              </div>
189
              </div>
190
              <form action="/cgi-bin/koha/admin/import_export_framework.pl" name="form_i_default" id="form_i_default" method="post" enctype="multipart/form-data" class="form_import">
190
              <form action="/cgi-bin/koha/admin/import_export_framework.pl" name="form_i_default" id="form_i_default" method="post" enctype="multipart/form-data" class="form_import">
191
                <div class="modal-body">
191
                <div class="modal-body">
192
                  <input type="hidden" name="frameworkcode" value="" />
192
                  <input type="hidden" name="frameworkcode" value="default" />
193
                  <input type="hidden" name="action" value="import" />
193
                  <input type="hidden" name="action" value="import" />
194
                  <p><label for="file_import_default">Upload file:</label> <input type="file" name="file_import_default" id="file_import_default" class="input_import" /></p>
194
                  <p><label for="file_import_default">Upload file:</label> <input type="file" name="file_import_default" id="file_import_default" class="input_import" /></p>
195
                    <div id="importing_default" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
195
                    <div id="importing_default" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
196
- 

Return to bug 18111