mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1136 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6cd8ae62bb
commit
6de6b03a5e
7 changed files with 18 additions and 5 deletions
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
// 첨부파일의 기본 설정 저장
|
||||
$config->allowed_filesize = '2';
|
||||
$config->allowed_attach_size = '2';
|
||||
$config->allowed_filetypes = '*.*';
|
||||
$oModuleController->insertModuleConfig('file', $config);
|
||||
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@
|
|||
**/
|
||||
function procFileAdminInsertConfig() {
|
||||
// 기본 정보를 받음
|
||||
$args = Context::gets('allowed_filesize','allowed_filetypes');
|
||||
$args = Context::gets('allowed_filesize','allowed_attach_size','allowed_filetypes');
|
||||
|
||||
// module Controller 객체 생성하여 입력
|
||||
$oModuleController = &getController('module');
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
$config = $oModuleModel->getModuleConfig('file');
|
||||
|
||||
if(!$config->allowed_filesize) $config->allowed_filesize = '2';
|
||||
if(!$config->allowed_attach_size) $config->allowed_attach_size = '3';
|
||||
if(!$config->allowed_filetypes) $config->allowed_filetypes = '*.*';
|
||||
return $config;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,11 +12,13 @@
|
|||
$lang->is_valid = '유효';
|
||||
$lang->is_stand_by = '대기';
|
||||
$lang->file_list = '첨부 파일 목록';
|
||||
$lang->allowed_filesize = '허용 첨부 용량';
|
||||
$lang->allowed_filesize = '파일당 허용 용량';
|
||||
$lang->allowed_attach_size = '문서당 허용 용량';
|
||||
$lang->allowed_filetypes = '허용 첨부 파일 확장자';
|
||||
|
||||
$lang->about_allowed_filesize = '관리자를 제외한 사용자는 정하신 용량만 첨부할 수 있습니다';
|
||||
$lang->about_allowed_filetypes = '관리자를 제외한 사용자는 정하신 확장자만 첨부할 수 있습니다.<br />( *.jpg;*.gif; 와 같이 정하시면 됩니다)';
|
||||
$lang->about_allowed_filesize = '하나의 파일에 대해 최고 용량을 지정할 수 있습니다. (관리자는 제외)';
|
||||
$lang->about_allowed_attach_size = '하나의 문서에 첨부할 수 있는 최고 용량을 지정할 수 있습니다. (관리자는 제외)';
|
||||
$lang->about_allowed_filetypes = '허용한 확장자만 첨부할 수 있습니다. "*.확장자"로 지정할 수 있고 ";" 으로 여러개 지정이 가능합니다.<br />ex) *.* or *.jpg;*.gif;<br />(관리자는 제외)';
|
||||
|
||||
$lang->cmd_delete_checked_file = '선택항목 삭제';
|
||||
$lang->cmd_move_to_document = '문서로 이동';
|
||||
|
|
|
|||
|
|
@ -10,6 +10,13 @@
|
|||
<tr>
|
||||
<td>{$lang->about_allowed_filesize}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->allowed_attach_size}</th>
|
||||
<td><input type="text" name="allowed_attach_size" value="{$config->allowed_attach_size}" />MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_allowed_attach_size}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->allowed_filetypes}</th>
|
||||
<td><input type="text" name="allowed_filetypes" value="{$config->allowed_filetypes}" /></td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue