Minahito
minah****@users*****
2006年 7月 27日 (木) 18:42:53 JST
Index: xoops2jp/html/modules/pm/templates/readpmsg.html diff -u xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.14 xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.15 --- xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.14 Wed Jul 5 11:37:06 2006 +++ xoops2jp/html/modules/pm/templates/readpmsg.html Thu Jul 27 18:42:53 2006 @@ -3,52 +3,54 @@ <a href="<{$xoops_url}>/userinfo.php?uid=<{$thisUser->getShow('uid')}>"><{$smarty.const._PM_PROFILE}></a> »» <{/if}> <a href="index.php"><{$smarty.const._PM_INBOX}></a> »» <{$privMessage->getShow('subject')}> -<table class="outer" border="0" cellpadding="4" cellspacing="1" width="100%"> - <tr> - <th <{if $sendUser->hasAvatar()}>colspan="2"<{/if}>><{$smarty.const._MD_PM_LANG_MESSAGE_DETAIL}></th> - </tr> - <tr class="even"> - <{if $sendUser->hasAvatar()}> - <td valign="top" style="text-align:center;" rowspan="3"> - <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$sendUser->getShow('uid')}>"><img src="<{$sendUser->getAvatarUrl()}>" alt="<{$sendUser->getShow('uname')}>" title="<{$sendUser->getShow('uname')}>" /></a> - <{if $sendUser->getShow('user_from')}> - <br /> <{$sendUser->getShow('user_from')}> +<form action='./index.php?action=Read' method='post' name='delete<{$privMessage->getShow('msg_id')}>'> + <table class="outer" border="0" cellpadding="4" cellspacing="1" width="100%"> + <tr> + <th <{if $sendUser->hasAvatar()}>colspan="2"<{/if}>><{$smarty.const._MD_PM_LANG_MESSAGE_DETAIL}></th> + </tr> + <tr class="even"> + <{if $sendUser->hasAvatar()}> + <td valign="top" style="text-align:center;" rowspan="3"> + <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$sendUser->getShow('uid')}>"><img src="<{$sendUser->getAvatarUrl()}>" alt="<{$sendUser->getShow('uname')}>" title="<{$sendUser->getShow('uname')}>" /></a> + <{if $sendUser->getShow('user_from')}> + <br /> <{$sendUser->getShow('user_from')}> + <{/if}> + </td> + <{/if}> + <td><{$smarty.const._PM_FROMC}><a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$sendUser->getShow('uid')}>"><{$sendUser->getShow('uname')}></a> + <!--- TODO Online Information ---> + </td> + </tr> + <tr class="even"> + <td><{$smarty.const._PM_SENTC}><{$privMessage->get("msg_time")|xoops_formattimestamp}></td> + </tr> + <tr class="even"> + <td><{$smarty.const._MD_PM_LANG_SUBJECTC}><img src="<{$xoops_url}>/images/subject/<{$privMessage->getShow('msg_image')}>" alt='' title='' /> <b><{$privMessage->getShow('subject')}></b></td> + </tr> + <tr class="'odd"> + <td colspan="2"> + <{$privMessage->getShow('msg_text')}><br /><br /> + </td> + </tr> + <tr class="foot"> + <td <{if $sendUser->hasAvatar()}>colspan="2"<{/if}> style="text-align:left;"> + <!--- TODO check postr. See original readpmsg ---> + <a href='#' onclick="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?reply=1&msg_id=<{$privMessage->getShow("msg_id")}>','pmlite',450,380);"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$smarty.const._PM_REPLY}>" title="<{$smarty.const._PM_REPLY}>" /></a> + <input type="hidden" name="delete" value="1" /> <!--- << check ---> + <input type="hidden" name="msg_id" value="<{$privMessage->getShow('msg_id')}>" /> + <a href="#<{$privMessage->getShow('msg_id')}>" onclick='javascript:document.delete<{$privMessage->getShow("msg_id")}>.submit();'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$smarty.const._PM_DELETE}>" title="<{$smarty.const._PM_DELETE}>" /></a> + </td> + </tr> + <tr> + <td <{if $sendUser->hasAvatar()}>colspan="2"<{/if}> style="text-align:right;"> + <{if $previousMessage}> + <a href="index.php?action=read&msg_id=<{$previousMessage->getShow('msg_id')}>"><{$smarty.const._PM_PREVIOUS}></a> + <{/if}> + <{if $nextMessage}> + <{if $previousMessage}> | <{/if}> + <a href="index.php?action=read&msg_id=<{$nextMessage->getShow('msg_id')}>"><{$smarty.const._PM_NEXT}></a> <{/if}> </td> - <{/if}> - <td><{$smarty.const._PM_FROMC}><a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$sendUser->getShow('uid')}>"><{$sendUser->getShow('uname')}></a> - <!--- TODO Online Information ---> - </td> - </tr> - <tr class="even"> - <td><{$smarty.const._PM_SENTC}><{$privMessage->get("msg_time")|xoops_formattimestamp}></td> - </tr> - <tr class="even"> - <td><{$smarty.const._MD_PM_LANG_SUBJECTC}><img src="<{$xoops_url}>/images/subject/<{$privMessage->getShow('msg_image')}>" alt='' title='' /> <b><{$privMessage->getShow('subject')}></b></td> - </tr> - <tr class="'odd"> - <td colspan="2"> - <{$privMessage->getShow('msg_text')}><br /><br /> - </td> - </tr> - <tr class="foot"> - <td <{if $sendUser->hasAvatar()}>colspan="2"<{/if}> style="text-align:left;"> - <!--- TODO check postr. See original readpmsg ---> - <a href='#' onclick="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?reply=1&msg_id=<{$privMessage->getShow("msg_id")}>','pmlite',450,380);"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$smarty.const._PM_REPLY}>" title="<{$smarty.const._PM_REPLY}>" /></a> - <input type="hidden" name="delete" value="1" /> <!--- << check ---> - <input type="hidden" name="msg_id" value="<{$privMessage->getShow('msg_id')}>" /> - <a href="#<{$privMessage->getShow('msg_id')}>" onclick='javascript:document.delete<{$privMessage->getShow("msg_id")}>.submit();'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$smarty.const._PM_DELETE}>" title="<{$smarty.const._PM_DELETE}>" /></a> - </td> - </tr> - <tr> - <td <{if $sendUser->hasAvatar()}>colspan="2"<{/if}> style="text-align:right;"> - <{if $previousMessage}> - <a href="index.php?action=read&msg_id=<{$previousMessage->getShow('msg_id')}>"><{$smarty.const._PM_PREVIOUS}></a> - <{/if}> - <{if $nextMessage}> - <{if $previousMessage}> | <{/if}> - <a href="index.php?action=read&msg_id=<{$nextMessage->getShow('msg_id')}>"><{$smarty.const._PM_NEXT}></a> - <{/if}> - </td> - </tr> -</table> + </tr> + </table> +</form>