[Svn-src-all:1284] [version-2_5-dev 20173] #1012 MYページ:メール配信履歴一覧が表示されない
kotani
admin @ mail.ec-cube.net
2011年 2月 16日 (水) 16:57:41 JST
Subversion committed to /home/svn/open 20173
http://svn.ec-cube.net/open_trac/changeset/20173
┌────────────────────────────┐
│更新者 : kotani │
│更新日時: 2011-02-16 16:57:41 +0900 (水, 16 2月 2011)│
└────────────────────────────┘
Log:
--------------------------------------------------------
#1012 MYページ:メール配信履歴一覧が表示されない
* PHP側でデータ代入している変数名と、テンプレートファイル側で使っている変数名が違っていたため、テンプレートファイルを修正。
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_5-dev/data/Smarty/templates/default/mypage/history.tpl
U branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl
U branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl
変更: branches/version-2_5-dev/data/Smarty/templates/default/mypage/history.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/mypage/history.tpl 2011-02-16 06:46:09 UTC (rev 20172)
+++ branches/version-2_5-dev/data/Smarty/templates/default/mypage/history.tpl 2011-02-16 07:57:41 UTC (rev 20173)
@@ -195,12 +195,12 @@
<th>通知メール</th>
<th>件名</th>
</tr>
- <!--{section name=cnt loop=$arrMailHistory}-->
+ <!--{section name=cnt loop=$tpl_arrMailHistory}-->
<tr class="center">
- <td><!--{$arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
- <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
+ <td><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
+ <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
<td><!--{$arrMAILTEMPLATE[$key]|h}--></td>
- <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|h}--></a></td>
+ <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td>
</tr>
<!--{/section}-->
</table>
変更: branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl 2011-02-16 06:46:09 UTC (rev 20172)
+++ branches/version-2_5-dev/data/Smarty/templates/mobile/mypage/history.tpl 2011-02-16 07:57:41 UTC (rev 20173)
@@ -116,11 +116,11 @@
<hr>
■メール配信履歴一覧<br>
-<!--{section name=cnt loop=$arrMailHistory}-->
-<!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
-処理日:<!--{$arrMailHistory[cnt].send_date|sfDispDBDate|h}--><br>
+<!--{section name=cnt loop=$tpl_arrMailHistory}-->
+<!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
+処理日:<!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--><br>
通知メール:<!--{$arrMAILTEMPLATE[$key]|h}--><br>
件名:
-<a href="./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->"><!--{$arrMailHistory[cnt].subject|h}--></a><br>
+<a href="./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a><br>
<!--{/section}-->
<br>
変更: branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl 2011-02-16 06:46:09 UTC (rev 20172)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/mypage/history.tpl 2011-02-16 07:57:41 UTC (rev 20173)
@@ -195,12 +195,12 @@
<th>通知メール</th>
<th>件名</th>
</tr>
- <!--{section name=cnt loop=$arrMailHistory}-->
+ <!--{section name=cnt loop=$tpl_arrMailHistory}-->
<tr class="center">
- <td><!--{$arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
- <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
+ <td><!--{$tpl_arrMailHistory[cnt].send_date|sfDispDBDate|h}--></td>
+ <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
<td><!--{$arrMAILTEMPLATE[$key]|h}--></td>
- <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|h}--></a></td>
+ <td><a href="#" onclick="win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td>
</tr>
<!--{/section}-->
</table>
Svn-src-all メーリングリストの案内