mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Add files upload option in member editor
This commit is contained in:
parent
bac8a0ab9d
commit
def55840c5
5 changed files with 21 additions and 2 deletions
|
|
@ -117,6 +117,7 @@ $lang->cmd_view_scrapped_document = '스크랩 보기';
|
|||
$lang->cmd_view_saved_document = '저장함 보기';
|
||||
$lang->cmd_send_email = '메일 보내기';
|
||||
$lang->cmd_modify_nickname_log = '닉네임 변경 기록';
|
||||
$lang->cmd_member_file_upload = '서명에 파일 첨부 사용';
|
||||
$lang->msg_email_not_exists = '이메일 주소가 존재하지 않습니다.';
|
||||
$lang->msg_alreay_scrapped = '이미 스크랩된 게시물입니다.';
|
||||
$lang->msg_cart_is_null = '대상을 선택해주세요.';
|
||||
|
|
@ -164,6 +165,7 @@ $lang->msg_admin_ip_not_allowed = '접속하신 IP 주소에서는 관리자 로
|
|||
$lang->about_rechecked_password = '회원의 정보를 안전하게 보호하기 위해 비밀번호를 다시 한번 확인 합니다.';
|
||||
$lang->about_user_id = '회원 ID는 3~20자 사이의 영문+숫자로 이루어져야 하며 영문으로 시작해야 합니다.';
|
||||
$lang->about_password = '비밀번호는 6~20자로 되어야 합니다.';
|
||||
$lang->about_member_file_upload = '회원정보의 서명에 파일을 첨부할 수 있도록 합니다.';
|
||||
$lang->cmd_config_password_strength = '비밀번호 보안수준';
|
||||
$lang->cmd_password_hashing_algorithm = '비밀번호 암호화 알고리듬';
|
||||
$lang->cmd_password_hashing_work_factor = '비밀번호 암호화 소요시간';
|
||||
|
|
|
|||
|
|
@ -173,7 +173,8 @@ class memberAdminController extends member
|
|||
'password_hashing_algorithm',
|
||||
'password_hashing_work_factor',
|
||||
'password_hashing_auto_upgrade',
|
||||
'update_nickname_log'
|
||||
'update_nickname_log',
|
||||
'member_allow_fileupload'
|
||||
);
|
||||
|
||||
if(!array_key_exists($args->password_hashing_algorithm, Rhymix\Framework\Password::getSupportedAlgorithms()))
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ class memberModel extends member
|
|||
|
||||
if(!$config->signature_editor_skin || $config->signature_editor_skin == 'default') $config->signature_editor_skin = 'ckeditor';
|
||||
if(!$config->sel_editor_colorset) $config->sel_editor_colorset = 'moono';
|
||||
if(!$config->member_allow_fileupload) $config->member_allow_fileupload = 'N';
|
||||
|
||||
if($config->redirect_mid)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -314,7 +314,14 @@ class memberView extends member
|
|||
$option = new stdClass();
|
||||
$option->primary_key_name = 'member_srl';
|
||||
$option->content_key_name = 'signature';
|
||||
$option->allow_fileupload = true;
|
||||
if($member_config->member_allow_fileupload === 'Y')
|
||||
{
|
||||
$option->allow_fileupload = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$option->allow_fileupload = false;
|
||||
}
|
||||
$option->enable_autosave = false;
|
||||
$option->enable_default_component = true;
|
||||
$option->enable_component = false;
|
||||
|
|
|
|||
|
|
@ -92,6 +92,14 @@
|
|||
<p class="x_help-inline">{$lang->about_member_sync}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->cmd_member_file_upload}</label>
|
||||
<div class="x_controls">
|
||||
<label for="member_allow_fileupload_y" class="x_inline"><input type="radio" name="member_allow_fileupload" id="member_allow_fileupload_y" value="Y" checked="checked"|cond="$config->member_allow_fileupload == 'Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="member_allow_fileupload_n" class="x_inline"><input type="radio" name="member_allow_fileupload" id="member_allow_fileupload_n" value="N" checked="checked"|cond="$config->member_allow_fileupload != 'Y'" /> {$lang->cmd_no}</label>
|
||||
<p class="x_help-block">{$lang->about_member_file_upload}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnArea x_clearfix">
|
||||
<span class="x_pull-right"><input class="x_btn x_btn-primary" type="submit" value="{$lang->cmd_save}" /></span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue