Minahito
minah****@users*****
2006年 11月 10日 (金) 15:19:37 JST
Index: xoops2jp/html/modules/user/templates/user_avatar_edit.html diff -u xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.14 xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.14.2.1 --- xoops2jp/html/modules/user/templates/user_avatar_edit.html:1.1.2.14 Mon Sep 25 18:42:00 2006 +++ xoops2jp/html/modules/user/templates/user_avatar_edit.html Fri Nov 10 15:19:37 2006 @@ -63,7 +63,11 @@ <tr> <{foreach item=obj from=$systemAvatars}> <td class="<{cycle values="odd,even" name="class"}>" style="text-align:center;"> - <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getShow('avatar_file')}>" alt="<{$obj->getShow('avatar_name')}>" title="<{$obj->getShow('avatar_name')}>"/><br /> + <{if $obj->get('avatar_id') == 0}> + <img src="<{$smarty.const.XOOPS_MODULE_URL}>/user/images/no_avatar.gif" alt="<{$obj->getShow('avatar_name')}>" title="<{$obj->getShow('avatar_name')}>"/><br /> + <{else}> + <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getShow('avatar_file')}>" alt="<{$obj->getShow('avatar_name')}>" title="<{$obj->getShow('avatar_name')}>"/><br /> + <{/if}> <{$obj->getShow('avatar_name')}><br /> <input name="avatar_id[<{$obj->getShow('avatar_id')}>]" type="submit" value="<{$smarty.const._MD_USER_LANG_SELECT}>" /> <{cycle name="table" values="</td>,</td>,</td>,</td></tr><tr>"}>