* finish task#913.

This commit is contained in:
chencongzhi520@gmail.com
2012-11-20 03:23:45 +00:00
parent b255513ac3
commit c585fb83e5
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ $lang->file->delete = 'Delete';
$lang->file->export2CSV = 'Export CSV';
$lang->file->ajaxUpload = 'AJAX: upload file from editor';
$lang->file->label = 'Title: ';
$lang->file->maxUploadSize = "The max upload size is <span class='red'>%s</span>";
$lang->file->errorNotExists = "<span class='red'>The directory '%s' is no exist</span>";
$lang->file->errorCanNotWrite = "<span class='red'>The directory '%s' is unwritable, please change it's permission. Command in linux:sudo -R chmod 777 '%s'</span>";
+1
View File
@@ -17,6 +17,7 @@ $lang->file->delete = '删除附件';
$lang->file->export2CSV = '导出CSV';
$lang->file->ajaxUpload = '接口:编辑器上传附件';
$lang->file->label = '标题:';
$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>";
+1
View File
@@ -12,6 +12,7 @@
</div>
EOT;
for($i = 1; $i <= $fileCount; $i ++) echo str_replace('$i', $i, $fileRow);
printf($lang->file->maxUploadSize, ini_get('upload_max_filesize'));
?>
</div>
<script language='javascript'>