| Lines 7-14
          
      
      
        Link Here | 
        
          | 7 |  | 7 |  | 
        
          | 8 | <style type="text/css"> | 8 | <style type="text/css"> | 
        
          | 9 |     #fileuploadstatus,#fileuploadfailed,#jobpanel,#jobstatus,#jobfailed { display : none; } | 9 |     #fileuploadstatus,#fileuploadfailed,#jobpanel,#jobstatus,#jobfailed { display : none; } | 
            
              | 10 | 	#fileuploadstatus,#jobstatus { margin:.4em; } |  |  | 
            
              | 11 |     #fileuploadprogress,#jobprogress { width:150px;height:10px;border:1px solid #666;background:url('[% interface %]/[% theme %]/img/progress.png') -300px 0px no-repeat; } | 
        
          | 12 | </style> | 10 | </style> | 
        
          | 13 |  | 11 |  | 
        
          | 14 | <script type="text/javascript"> | 12 | <script type="text/javascript"> | 
  
    | Lines 89-95
          $(document).ready(function(){
      
      
        Link Here | 
        
          | 89 | <ul> | 87 | <ul> | 
        
          | 90 | 	<li>Select an image file or ZIP file to upload. The tool will accept images in GIF, JPEG, PNG, and XPM formats.</li> | 88 | 	<li>Select an image file or ZIP file to upload. The tool will accept images in GIF, JPEG, PNG, and XPM formats.</li> | 
        
          | 91 | </ul> | 89 | </ul> | 
          
            
              | 92 | <form method="post" action="[% SCRIPT_NAME %]" id="uploadfile" enctype="multipart/form-data"> | 90 | <form method="post" action="/cgi-bin/koha/tools/upload-cover-image.pl" id="uploadfile" enctype="multipart/form-data"> | 
        
          | 93 | <fieldset class="rows" id="uploadform"> | 91 | <fieldset class="rows" id="uploadform"> | 
        
          | 94 | <legend>Upload images</legend> | 92 | <legend>Upload images</legend> | 
        
          | 95 | <ol> | 93 | <ol> | 
  
    | Lines 104-111
          $(document).ready(function(){
      
      
        Link Here | 
        
          | 104 | </fieldset> | 102 | </fieldset> | 
        
          | 105 |  | 103 |  | 
        
          | 106 |     <div id="uploadpanel"> | 104 |     <div id="uploadpanel"> | 
          
            
              | 107 |         <div id="fileuploadstatus">Upload progress: | 105 |         <div id="fileuploadstatus" class="progress_panel">Upload progress: | 
            
              | 108 |             <progress min="0" max="100" value="0" id="fileuploadprogress"> | 106 |             <progress max="100" value="0" id="fileuploadprogress"> | 
        
          | 109 |             </progress> | 107 |             </progress> | 
        
          | 110 |             <span class="fileuploadpercent">0</span>% | 108 |             <span class="fileuploadpercent">0</span>% | 
        
          | 111 |         </div> | 109 |         </div> | 
  
    | Lines 113-119
          $(document).ready(function(){
      
      
        Link Here | 
        
          | 113 |     </div> | 111 |     </div> | 
        
          | 114 | </form> | 112 | </form> | 
        
          | 115 |  | 113 |  | 
          
            
              | 116 |     <form method="post" id="processfile" action="[% SCRIPT_NAME %]" enctype="multipart/form-data"> | 114 |     <form method="post" id="processfile" action="/cgi-bin/koha/tools/upload-cover-image.pl" enctype="multipart/form-data"> | 
        
          | 117 | <fieldset class="rows"> | 115 | <fieldset class="rows"> | 
        
          | 118 |         <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" /> | 116 |         <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" /> | 
        
          | 119 |         <input type="hidden" name="runinbackground" id="runinbackground" value="" /> | 117 |         <input type="hidden" name="runinbackground" id="runinbackground" value="" /> | 
  
    | Lines 128-134
          $(document).ready(function(){
      
      
        Link Here | 
        
          | 128 |       </li> | 126 |       </li> | 
        
          | 129 |       <li class="radio"> | 127 |       <li class="radio"> | 
        
          | 130 |         [% IF (filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] | 128 |         [% IF (filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] | 
          
            
              | 131 |         <label for="imagefile">Image file</label> | 129 |         <label for="image">Image file</label> | 
        
          | 132 |       </li> | 130 |       </li> | 
        
          | 133 |       <li class="radio"> | 131 |       <li class="radio"> | 
        
          | 134 |         [% IF ( filetype == 'image' ) %]<span id="bibnum">[% ELSE %]<span id="bibnum" style="display: none">[% END %]<label for="biblionumber">Enter cover biblionumber: </label><input type="text" id="biblionumber" name="biblionumber" value="[% biblionumber %]" size="15" /></span> | 132 |         [% IF ( filetype == 'image' ) %]<span id="bibnum">[% ELSE %]<span id="bibnum" style="display: none">[% END %]<label for="biblionumber">Enter cover biblionumber: </label><input type="text" id="biblionumber" name="biblionumber" value="[% biblionumber %]" size="15" /></span> | 
  
    | Lines 145-154
          $(document).ready(function(){
      
      
        Link Here | 
        
          | 145 |     </ol> | 143 |     </ol> | 
        
          | 146 |   </fieldset> | 144 |   </fieldset> | 
        
          | 147 |   <fieldset class="action"><input type="submit" value="Process images" /></fieldset> | 145 |   <fieldset class="action"><input type="submit" value="Process images" /></fieldset> | 
            
              | 148 |  |  |  | 
            
              | 149 |        <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> | 
            
              | 150 |      <div id="jobfailed"></div></div> | 
            
              | 151 |  | 
        
          | 152 | </form> | 146 | </form> | 
        
          | 153 |  | 147 |  | 
        
          | 154 | </div> | 148 | </div> |