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