Bug 15758: Koha::Libraries - Remove GetBranchName
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / plugins / plugins-upload.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Tools &rsaquo; Plugins &rsaquo; Upload Plugin
3  </title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% INCLUDE 'calendar.inc' %]
6 </head>
7
8 <body id="plugins_plugins_upload" class="plugins">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'circ-search.inc' %]
11
12 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
13 &rsaquo; <a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a>
14 &rsaquo; Upload Plugins
15 </div>
16
17 <div id="doc3" class="yui-t2">
18     <div id="bd">
19         <div id="yui-main">
20     <div class="yui-b">
21         <div class="yui-g">
22             <div class="yui-u first">
23                 <h1>Upload Koha Plugin</h1>
24                 [% IF ( ERRORS ) %]
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 %]
33                     [% END %]
34                 </div>
35                 [% 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>
39                         <ol>
40                             <li>
41                                 <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
42                             </li>
43                         </ol>
44                     </fieldset>
45                     <fieldset class="action">
46                         <input type="hidden" name="op" value="Upload" />
47                         <input type="submit" value="Upload" class="submit" />
48                     </fieldset>
49                 </form>
50
51             </div>
52         </div>
53     </div>
54 </div>
55 [% INCLUDE 'intranet-bottom.inc' %]