* finish task#1065.
This commit is contained in:
@@ -18,7 +18,7 @@ $lang->file->delete = '删除附件';
|
||||
$lang->file->export2CSV = '导出CSV';
|
||||
$lang->file->ajaxUpload = '接口:编辑器上传附件';
|
||||
$lang->file->label = '标题:';
|
||||
$lang->file->maxUploadSize = "最大可上传附件:<span class='red'>%s</span>";
|
||||
$lang->file->maxUploadSize = "<span class='red'>%s</span>";
|
||||
|
||||
$lang->file->errorNotExists = "<span class='red'>文件夹 '%s' 不存在</span>";
|
||||
$lang->file->errorCanNotWrite = "<span class='red'>文件夹 '%s' 不可写,请改变文件夹的权限。在linux中输入指令:sudo chmod -R 777 '%s'</span>";
|
||||
|
||||
@@ -11,11 +11,16 @@
|
||||
<input type='button' onclick='delFile(this)' class='icon-delete' value=' '></input>
|
||||
</div>
|
||||
EOT;
|
||||
printf($lang->file->maxUploadSize, ini_get('upload_max_filesize'));
|
||||
for($i = 1; $i <= $fileCount; $i ++) echo str_replace('$i', $i, $fileRow);
|
||||
?>
|
||||
</div>
|
||||
<script language='javascript'>
|
||||
/**
|
||||
* 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); });
|
||||
|
||||
/**
|
||||
* Set the width of the file form.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user