Minahito
minah****@users*****
2006年 2月 2日 (木) 18:06:35 JST
Index: xoops2jp/html/modules/pm/templates/viewpmsg.html diff -u xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.6 xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.7 --- xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.6 Wed Dec 28 23:34:50 2005 +++ xoops2jp/html/modules/pm/templates/viewpmsg.html Thu Feb 2 18:06:35 2006 @@ -1,7 +1,7 @@ <h4 style='text-align:center;'><{$xoops_pagetitle}></h4> <br /> -<a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$currentUser->getVar("uid")}>"><{$smarty.const._PM_PROFILE}></a> +<a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$currentUser->get("uid")}>"><{$smarty.const._PM_PROFILE}></a> <span style="font-weight:bold;">»»</span> <{$smarty.const._PM_INBOX}><br /><br /> <table border="0" cellspacing="1" cellpadding="4" width="100%" class="outer"> @@ -28,7 +28,7 @@ <{foreach name=viewpm item=pm from=$pmObjects}> <tr style="text-align:left;" class="<{cycle values="odd,even"}>"> <td valign="top" width="2%" style="text-align:center;"> - <input type="checkbox" id="msg_id[]" name="msg_id[]" value="<{$pm->getVar("msg_id")}>" /> + <input type="checkbox" id="msg_id[]" name="msg_id[]" value="<{$pm->get("msg_id")}>" /> </td> <td valign="top" width="5%" style="text-align:center;"> <{if $pm->isRead()}> @@ -38,17 +38,17 @@ <{/if}> </td> <td valign="top" width="5%" style="text-align:center;"> - <img src="<{$smarty.const.XOOPS_URL}>/images/subject/<{$pm->getVar('msg_image', 'E')}>" alt='' /> + <img src="<{$smarty.const.XOOPS_URL}>/images/subject/<{$pm->get('msg_image')|escape}>" alt='' /> </td> <td valign="middle" width="10%"> - <{$pm->getVar("from_userid")|xoops_user:"uname"}> + <{$pm->get("from_userid")|xoops_user:"uname"}> </td> <td valign="middle"> - <a href="./index.php?action=read&msg_id=<{$pm->getVar('msg_id')}>"><{$pm->getVar("subject")}></a> + <a href="./index.php?action=read&msg_id=<{$pm->get('msg_id')}>"><{$pm->getVar("subject")}></a> </td> </td> <td valign="middle"> - <{$pm->getVar("msg_time")|xoops_formattimestamp}> + <{$pm->get("msg_time")|xoops_formattimestamp}> </td> </tr> <{/foreach}>