파일 용량 제한 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7925 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-11-26 09:16:09 +00:00
parent fe7291f26d
commit de33d86683
11 changed files with 71 additions and 3 deletions

View file

@ -390,11 +390,17 @@ var xeed_path = '{$editor_path}';
var auto_saved_msg = '{$lang->msg_auto_saved}';
var oEditor = editorStart_xe('{$editor_sequence}', '{$editor_primary_key_name}', '{$editor_content_key_name}', '{$editor_height}', '{$colorset}', '{$content_style}', '{$content_font}', '{$content_font_size}');
// upload settings
try {
oEditor.setOption('allowed_filesize', '{$file_config->allowed_filesize}');
oEditor.setOption('allowed_filetypes', '{$file_config->allowed_filetypes}');
} catch(e){}
window.lang = jQuery.extend(window.lang||{}, {
<!--@foreach($lang->edit as $key=>$val)-->
<!--@if(strpos($key,'autosave')===0)-->'{$key}':'{$val}',<!--@end-->
<!--@end-->
'_':'_'
'upload_not_enough_quota':'{$lang->edit->upload_not_enough_quota}'
});
//]]></script>
<!-- // Activate Editor -->