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 id="doc3" class="yui-t2">
22 <div class="yui-u first">
23 <h1>Upload Koha Plugin</h1>
25 <div class="dialog alert">
26 [% FOREACH ERROR IN ERRORS %]
27 [% IF ( ERROR.NOTKPZ ) %]<li><b>The upload file does not appear to be a kpz file. The extension is not '.kpz'.</b></li>
28 [% ELSIF ( ERROR.NOWRITETEMP ) %]<li><b>This script is not able to create/write to the necessary temporary directory.</b></li>
29 [% ELSIF ( ERROR.EMPTYUPLOAD ) %]<li><b>The upload file appears to be empty.</b></li>
30 [% ELSIF ( ERROR.UZIPFAIL ) %]<li><b>[% ERROR.UZIPFAIL %] failed to unpack.<br />Please verify the integrity of the zip file and retry.</b></li>
31 [% 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>
32 [% ELSE %]<li><b>[% ERROR.CORERR %] An unknown error has occurred.<br />Please review the error log for more details.</b></li>[% END %]
36 <form method="post" action="/cgi-bin/koha/plugins/plugins-upload.pl" enctype="multipart/form-data">
37 <fieldset class="brief">
38 <div class="hint"><b>NOTE:</b> Only KPZ file format is supported.</div>
41 <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
45 <fieldset class="action">
46 <input type="hidden" name="op" value="Upload" />
47 <input type="submit" value="Upload" class="submit" />
55 [% INCLUDE 'intranet-bottom.inc' %]