Minahito
minah****@users*****
2006年 11月 16日 (木) 17:16:46 JST
Index: xoops2jp/html/modules/pm/templates/viewpmsg.html diff -u xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.12.2.2 xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.12.2.3 --- xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.12.2.2 Sat Nov 4 17:09:01 2006 +++ xoops2jp/html/modules/pm/templates/viewpmsg.html Thu Nov 16 17:16:46 2006 @@ -4,7 +4,7 @@ »» <{$smarty.const._MD_PM_LANG_INBOX}> <br /><br /> -<form name="prvmsg" method="post" action="./index.php?action=delete"> +<form name="prvmsg" method="post" action="<{$xoops_url}>/viewpmsg.php?action=delete"> <{xoops_token form=$actionForm}> <table border="0" cellspacing="1" cellpadding="4" width="100%" class="outer"> <tr style="text-align:center;" valign="middle"> @@ -43,7 +43,7 @@ <{$pm->get("from_userid")|xoops_user:"uname"}> </td> <td style="vertical-align:middle;"> - <a href="./index.php?action=read&msg_id=<{$pm->get('msg_id')}>"><{$pm->getShow('subject')}></a> + <a href="<{$xoops_url}>/readpmsg.php?msg_id=<{$pm->getShow('msg_id')}>"><{$pm->getShow('subject')}></a> </td> </td> <td style="text-align:center; vertical-align:middle;"> @@ -63,7 +63,7 @@ <{else}> <tr class="foot" style="text-align:left;"> <td colspan="6"> - <input type="button" class="formButton" onclick="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?send=1','pmlite',480,400);" value="<{$smarty.const._MD_PM_LANG__SEND}>" /> + <input type="button" class="formButton" onclick="javascript:openWithSelfMain('<{$xoops_url}>/pmlite.php?send=1','pmlite',480,400);" value="<{$smarty.const._MD_PM_LANG__SEND}>" /> </td> </tr> <{/if}> Index: xoops2jp/html/modules/pm/templates/pm_delete_one.html diff -u xoops2jp/html/modules/pm/templates/pm_delete_one.html:1.1.2.4.2.1 xoops2jp/html/modules/pm/templates/pm_delete_one.html:1.1.2.4.2.2 --- xoops2jp/html/modules/pm/templates/pm_delete_one.html:1.1.2.4.2.1 Fri Oct 13 20:28:24 2006 +++ xoops2jp/html/modules/pm/templates/pm_delete_one.html Thu Nov 16 17:16:46 2006 @@ -1,6 +1,6 @@ <div><b><{$smarty.const._MD_PM_MESSAGE_CONFIRM_DELETE_PM}></b></div> -<form method="post" action="./index.php?action=DeleteOne"> +<form method="post" action="<{$xoops_url}>/readpmsg.php?action=DeleteOne"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=msg_id value=$actionForm->get('msg_id')}> <table class="outer"> Index: xoops2jp/html/modules/pm/templates/readpmsg.html diff -u xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.16.2.2 xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.16.2.3 --- xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.16.2.2 Sat Nov 4 17:09:01 2006 +++ xoops2jp/html/modules/pm/templates/readpmsg.html Thu Nov 16 17:16:46 2006 @@ -5,7 +5,7 @@ <a href="index.php"><{$smarty.const._MD_PM_LANG_INBOX}></a> »» <{$privMessage->getShow('subject')}> -<form action='./index.php?action=Read' method='post' name='delete<{$privMessage->getShow('msg_id')}>'> +<form action='<{$xoops_url}>/readpmsg.php' 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> @@ -37,7 +37,7 @@ <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',480,400);"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$smarty.const._MD_PM_LANG_REPLY}>" title="<{$smarty.const._MD_PM_LANG_REPLY}>" /></a> + <a href='#' onclick="javascript:openWithSelfMain('<{$xoops_url}>/pmlite.php?reply=1&msg_id=<{$privMessage->getShow("msg_id")}>','pmlite',480,400);"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$smarty.const._MD_PM_LANG_REPLY}>" title="<{$smarty.const._MD_PM_LANG_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._MD_PM_LANG_DELETE}>" title="<{$smarty.const._MD_PM_LANG_DELETE}>" /></a> @@ -46,11 +46,11 @@ <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._MD_PM_LANG__PREVIOUS}></a> + <a href="<{$xoops_url}>/readpmsg.php?msg_id=<{$previousMessage->getShow('msg_id')}>"><{$smarty.const._MD_PM_LANG__PREVIOUS}></a> <{/if}> <{if $nextMessage}> <{if $previousMessage}> | <{/if}> - <a href="index.php?action=read&msg_id=<{$nextMessage->getShow('msg_id')}>"><{$smarty.const._MD_PM_LANG_NEXT}></a> + <a href="<{$xoops_url}>/readpmsg.php?msg_id=<{$nextMessage->getShow('msg_id')}>"><{$smarty.const._MD_PM_LANG_NEXT}></a> <{/if}> </td> </tr>