1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Upload plugin › Plugins › Tools › Koha </title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
7 <body id="plugins_plugins_upload" class="plugins">
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'circ-search.inc' %]
11 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
14 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
17 <a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a>
20 <a href="#" aria-current="page">
27 <div class="container-fluid">
29 <div class="col-sm-6 col-sm-offset-3 col-md-6 col-md-offset-3">
31 <h1>Upload Koha plugin</h1>
33 <div class="dialog alert">
34 [% FOREACH ERROR IN ERRORS %]
35 [% IF ( ERROR.NOTKPZ ) %]<li><strong>The upload file does not appear to be a kpz file. The extension is not '.kpz'.</strong></li>
36 [% ELSIF ( ERROR.NOWRITETEMP ) %]<li><strong>This script is not able to create/write to the necessary temporary directory.</strong></li>
37 [% ELSIF ( ERROR.EMPTYUPLOAD ) %]<li><strong>The upload file appears to be empty.</strong></li>
38 [% ELSIF ( ERROR.UZIPFAIL ) %]<li><strong>[% ERROR.UZIPFAIL | html %] failed to unpack.<br />Please verify the integrity of the zip file and retry.</strong></li>
39 [% ELSIF ( ERROR.NOWRITEPLUGINS ) %]<li><strong>Cannot unpack file to the plugins directory.<br />Please verify that the Apache user can write to the plugins directory.</strong></li>
40 [% ELSE %]<li><strong>[% ERROR.CORERR | html %] An unknown error has occurred.<br />Please review the error log for more details.</strong></li>[% END %]
44 <form method="post" action="/cgi-bin/koha/plugins/plugins-upload.pl" enctype="multipart/form-data">
45 <fieldset class="brief">
46 <div class="hint"><strong>NOTE:</strong> Only KPZ file format is supported.</div>
49 <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
53 <fieldset class="action">
54 <input type="hidden" name="op" value="Upload" />
55 <input type="submit" value="Upload" class="submit" />
62 [% INCLUDE 'intranet-bottom.inc' %]