* fix bug: show the max upload size of php setting.
This commit is contained in:
@@ -19,7 +19,12 @@ EOT;
|
||||
* Show the upload max filesize of config.
|
||||
*/
|
||||
maxUploadInfo = "(<?php printf($lang->file->maxUploadSize, ini_get('upload_max_filesize'));?>)";
|
||||
$(document).ready(function(){ $('.fileBox').parent().parent().parent().find('th').append(maxUploadInfo); });
|
||||
$(function()
|
||||
{
|
||||
parentTag = $('#fileform').parent();
|
||||
if(parentTag.attr('tagName') == 'TD') parentTag.parent().find('th').append(maxUploadInfo);
|
||||
if(parentTag.attr('tagName') == 'FIELDSET') parentTag.find('legend').append(maxUploadInfo);
|
||||
});
|
||||
|
||||
/**
|
||||
* Set the width of the file form.
|
||||
|
||||
Reference in New Issue
Block a user