Dotclear


Ignore:
Timestamp:
10/30/12 07:53:18 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add max file size upload limit for flat import, fixes #1232

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/importExport/inc/class.dc.import.flat.php

    r907 r939  
    184184          '<p>'.sprintf(__('This will import a single blog backup as new content in the current blog: %s.'),html::escapeHTML($this->core->blog->name)).'</p>'. 
    185185           
    186           '<p><label for="up_single_file">'.__('Upload a backup file').'</label>'. 
     186          '<p><label for="up_single_file">'.__('Upload a backup file'). 
     187          ' ('.sprintf(__('Maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'.'</label>'. 
    187188          '<input type="file" id="up_single_file" name="up_single_file" size="20" />'. 
    188189          '</p>'; 
     
    212213               '<p>'.__('This will reset all the content of your database, except users.').'</p>'. 
    213214                
    214                '<p><label for="up_full_file">'.__('Upload a backup file').'</label>'. 
     215               '<p><label for="up_full_file">'.__('Upload a backup file'). 
     216               ' ('.sprintf(__('Maximum size %s'),files::size(DC_MAX_UPLOAD_SIZE)).')'.'</label>'. 
    215217               '<input type="file" id="up_full_file" name="up_full_file" size="20" />'. 
    216218               '</p>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map