Dotclear


Ignore:
Timestamp:
06/11/13 21:27:42 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Correction de l'upload sous firefox; ajout de bouton de statut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r1144 r1145  
    697697            <p class="name">{%=file.name%}</p> 
    698698            {% if (file.error) { %} 
    699                 <div><span class="label label-important">'.__('Error:').'</span> {%=file.error%}</div> 
     699                <div><span class="label label-error">'.__('Error:').'</span> {%=file.error%}</div> 
    700700            {% } %} 
    701701        </td> 
     
    708708        <td> 
    709709            {% if (!o.files.error && !i && !o.options.autoUpload) { %} 
    710                 <button class="btn btn-primary start"> 
    711                     <i class="icon-upload icon-white"></i> 
    712                     <span>'.__('Send').'</span> 
    713                 </button> 
     710                <input type="submit" class="button start" value="'.__('Send').'"/> 
    714711            {% } %} 
    715712        </td> 
     
    737734            <span class="size">{%=o.formatFileSize(file.size)%}</span> 
    738735        </td> 
     736        <td> 
     737            {% if (file.error) { %} 
     738            <span class="upload-status error"></span> 
     739            {% } else { %} 
     740            <span class="upload-status ok"></span> 
     741            {% } %} 
     742        </td> 
    739743    </tr> 
    740744{% } %} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map