mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
Add multiple member agreements
- 가입 약관, 개인정보처리방침 등을 5개까지 추가할 수 있음 - 약관마다 각각 필수 또는 선택을 지정할 수 있음 - 모든 필수 약관에 동의해야 가입 가능 - 기본 스킨은 수정함. 서드파티 스킨에는 여전히 약관 1개만 표시됨 - 서드파티 스킨 사용시 동의 하나만 선택해도 전체 동의로 간주
This commit is contained in:
parent
20f924678a
commit
11c04c5a26
19 changed files with 251 additions and 72 deletions
|
|
@ -318,6 +318,7 @@
|
|||
.xm .signin #warning{margin-right:-14px}
|
||||
.xm .signin #warning>p{margin:10px 0}
|
||||
.xm .agreement{border:1px solid #ddd;padding:15px 15px 10px 15px;border-radius:5px;background:#f8f8f8;margin-bottom:15px}
|
||||
.xm .agreement>.title{padding: 0 0 10px 0;margin:0 0 10px 0;border-bottom:1px dotted #ccc; font-size:16px;font-weight:bold}
|
||||
.xm .agreement>.text{max-height:200px;overflow:auto}
|
||||
.xm .agreement>.confirm{padding:10px 0 0 0;margin:10px 0 0 0;border-top:1px dotted #ccc}
|
||||
@media all and (max-width:480px){.xm .signin{margin:0;width:100%}}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,18 @@
|
|||
<input type="hidden" name="act" value="procMemberInsert" />
|
||||
<input type="hidden" name="xe_validator_id" value="modules/member/skins" />
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('act','dispMemberInfo')}" />
|
||||
<div class="agreement" cond="$member_config->agreement">
|
||||
<div class="agreement" loop="$member_config->agreements => $i, $agreement" cond="$agreement->type !== 'disabled'">
|
||||
<div class="title">
|
||||
{$agreement->title}
|
||||
<block cond="$agreement->type === 'required'">({$lang->cmd_required})</block>
|
||||
<block cond="$agreement->type === 'optional'">({$lang->cmd_optional})</block>
|
||||
</div>
|
||||
<div class="text">
|
||||
{$member_config->agreement}
|
||||
{$agreement->content}
|
||||
</div>
|
||||
<div class="confirm">
|
||||
<label for="accept_agree">
|
||||
<input type="checkbox" name="accept_agreement" value="Y" id="accept_agree" />
|
||||
<label for="accept_agreement_{$i}">
|
||||
<input type="checkbox" name="accept_agreement[{$i}]" value="Y" id="accept_agreement_{$i}" />
|
||||
{$lang->about_accept_agreement}
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue