[xoops-cvslog 3426] CVS update: xoops2jp/html/modules/pm/templates

Back to archive index

Minahito minah****@users*****
2006年 7月 5日 (水) 11:37:06 JST


Index: xoops2jp/html/modules/pm/templates/viewpmsg.html
diff -u xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.10 xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.11
--- xoops2jp/html/modules/pm/templates/viewpmsg.html:1.1.2.10	Tue Jul  4 18:50:07 2006
+++ xoops2jp/html/modules/pm/templates/viewpmsg.html	Wed Jul  5 11:37:06 2006
@@ -45,7 +45,7 @@
         <{$pm->get("from_userid")|xoops_user:"uname"}>
       </td>
       <td valign="middle">
-        <a href="./index.php?action=read&amp;msg_id=<{$pm->get('msg_id')}>"><{$pm->getVar("subject")}></a>
+        <a href="./index.php?action=read&amp;msg_id=<{$pm->get('msg_id')}>"><{$pm->getShow('subject')}></a>
       </td>
       </td>
       <td valign="middle">
Index: xoops2jp/html/modules/pm/templates/readpmsg.html
diff -u xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.13 xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.14
--- xoops2jp/html/modules/pm/templates/readpmsg.html:1.1.2.13	Thu Apr 13 00:11:20 2006
+++ xoops2jp/html/modules/pm/templates/readpmsg.html	Wed Jul  5 11:37:06 2006
@@ -1,8 +1,8 @@
 <h4><{$xoops_pagetitle}></h4>
 <{if $feature.user.profile}>
-  <a href="<{$xoops_url}>/userinfo.php?uid=<{$thisUser->getVar('uid')}>"><{$smarty.const._PM_PROFILE}></a> &raquo;&raquo; 
+  <a href="<{$xoops_url}>/userinfo.php?uid=<{$thisUser->getShow('uid')}>"><{$smarty.const._PM_PROFILE}></a> &raquo;&raquo; 
 <{/if}>
-<a href="index.php"><{$smarty.const._PM_INBOX}></a> &raquo;&raquo; <{$privMessage->getVar('subject')}>
+<a href="index.php"><{$smarty.const._PM_INBOX}></a> &raquo;&raquo; <{$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>
@@ -10,44 +10,44 @@
   <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->getVar('uid')}>"><img src="<{$sendUser->getAvatarUrl()}>" alt="<{$sendUser->getVar('uname')}>" title="<{$sendUser->getVar('uname')}>" /></a>
-        <{if $sendUser->getVar('user_from')}>
-          <br /> <{$sendUser->getVar('user_from')}>
+        <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->getVar('uid')}>"><{$sendUser->getVar('uname')}></a>
+    <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->getVar("msg_time")|xoops_formattimestamp}></td>
+    <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->getVar('msg_image')}>" alt='' title='' />&nbsp;<b><{$privMessage->getVar('subject')}></b></td>
+    <td><{$smarty.const._MD_PM_LANG_SUBJECTC}><img src="<{$xoops_url}>/images/subject/<{$privMessage->getShow('msg_image')}>" alt='' title='' />&nbsp;<b><{$privMessage->getShow('subject')}></b></td>
   </tr>
   <tr class="'odd">
     <td colspan="2">
-      <{$privMessage->getVar('msg_text')}><br /><br />
+      <{$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&amp;msg_id=<{$privMessage->getVar("msg_id")}>','pmlite',450,380);"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$smarty.const._PM_REPLY}>" title="<{$smarty.const._PM_REPLY}>" /></a>
+      <a href='#' onclick="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?reply=1&amp;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->getVar('msg_id')}>" />
-      <a href="#<{$privMessage->getVar('msg_id')}>" onclick='javascript:document.delete<{$privMessage->getVar("msg_id")}>.submit();'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$smarty.const._PM_DELETE}>" title="<{$smarty.const._PM_DELETE}>" /></a>
+      <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&amp;msg_id=<{$previousMessage->getVar('msg_id')}>"><{$smarty.const._PM_PREVIOUS}></a>
+        <a href="index.php?action=read&amp;msg_id=<{$previousMessage->getShow('msg_id')}>"><{$smarty.const._PM_PREVIOUS}></a>
       <{/if}>
       <{if $nextMessage}>
         <{if $previousMessage}> | <{/if}>
-        <a href="index.php?action=read&amp;msg_id=<{$nextMessage->getVar('msg_id')}>"><{$smarty.const._PM_NEXT}></a>
+        <a href="index.php?action=read&amp;msg_id=<{$nextMessage->getShow('msg_id')}>"><{$smarty.const._PM_NEXT}></a>
       <{/if}>
     </td>
   </tr>
Index: xoops2jp/html/modules/pm/templates/pmlite.html
diff -u xoops2jp/html/modules/pm/templates/pmlite.html:1.1.2.7 xoops2jp/html/modules/pm/templates/pmlite.html:1.1.2.8
--- xoops2jp/html/modules/pm/templates/pmlite.html:1.1.2.7	Wed Jun 14 01:12:54 2006
+++ xoops2jp/html/modules/pm/templates/pmlite.html	Wed Jul  5 11:37:06 2006
@@ -15,31 +15,29 @@
       <td class="head" width="25%"><{$smarty.const._PM_TO}></td>
       <td class="even">
         <{if $send_type==0}>
-          <{if $actionForm->getVar('to_userid')}>
-            <{$actionForm->getVar('to_userid')|xoops_user:"uname"}>
-            <input type="hidden" name="to_userid" value="<{$actionForm->getVar('to_userid')}>" />
+          <{if $actionForm->get('to_userid')}>
+            <{$actionForm->get('to_userid')|xoops_user:"uname"}>
+            <{xoops_input type=hidden name=to_userid value=$actionForm->get('to_userid')}>
           <{else}>
-            <select name="to_userid" ID="Select1">
-            <{foreach item=user from=$userList}>
-              <option value="<{$user->getVar('uid')}>"><{$user->getVar('uname')}></option>
-            <{/foreach}>
+            <select name="to_userid">
+              <{xoops_optionsArray value=uid label=uname from=$userList default=$actionForm->get('to_userid')}>
             </select>
           <{/if}>
         <{else}>
-          <{xoops_input name=to_uname value=$actionForm->getVar('to_uname')}>
+          <{xoops_input name=to_uname value=$actionForm->get('to_uname')}>
         <{/if}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._PM_SUBJECTC}></td>
       <td class="even">
-        <{xoops_input name=subject size=30 maxlength=100 id=Text1 value=$actionForm->getVar('subject')}>
+        <{xoops_input name=subject size=30 maxlength=100 id=Text1 value=$actionForm->get('subject')}>
       </td>
     </tr>
     <tr valign="top">
       <td class="head"><{$smarty.const._PM_MESSAGEC}></td>
       <td class="even">
-        <{xoops_dhtmltarea cols=37 rows=8 name=message value=$actionForm->getVar('message')}>
+        <{xoops_dhtmltarea cols=37 rows=8 name=message value=$actionForm->get('message')}>
       </td>
     </tr>
     <tr>


xoops-cvslog メーリングリストの案内
Back to archive index