회원가입 설정에서 프로필사진을 사용할때에 출력

This commit is contained in:
BJRambo 2017-03-06 08:30:37 +09:00
parent de019fad0f
commit 3f716c566d
2 changed files with 3 additions and 2 deletions

View file

@ -116,6 +116,7 @@ class memberAdminView extends member
Context::set('member_list', $output->data);
Context::set('usedIdentifiers', $usedIdentifiers);
Context::set('page_navigation', $output->page_navigation);
Context::set('profileImageConfig', $config->profile_image);
$security = new Security();
$security->encodeHTML('member_list..user_name', 'member_list..nick_name', 'member_list..group_list..');

View file

@ -28,7 +28,7 @@
</caption>
<thead>
<tr>
<th scope="col" class="nowr">{$lang->profile_image}</th>
<th scope="col" class="nowr" cond="$profileImageConfig == 'Y'">{$lang->profile_image}</th>
<th scope="col" class="nowr">{$lang->email}</th>
<th scope="col" class="nowr" loop="$usedIdentifiers=>$name,$title">{$title}</th>
<th scope="col" class="nowr">{$lang->status}</th>
@ -44,7 +44,7 @@
<tbody>
<tr loop="$member_list=>$no,$member_info">
{@$member_info = get_object_vars($member_info)}
<td class="nowr">
<td class="nowr" cond="$profileImageConfig == 'Y'">
<!--@if($member_info['profile_image'])-->
<img src="{$member_info['profile_image']->src}" style="border-radius: 50%; border:1px solid #e0e0e0; padding:1px;width:40px; height:40px;" />
<!--@else-->