ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE/branches/stable-2.10.x/webapp/modules/ktai/templates/h_message_box.tpl @ 4382

Last change on this file since 4382 was 4382, checked in by ogawa, 13 years ago

#1329:merged r4317, r4318, r4320

File size: 5.8 KB
Line 
1({$inc_ktai_header|smarty:nodefaults})
2
3<table width="100%"><tr><td align="center" bgcolor="#({$ktai_color_config.bg_02})">
4<font color="#({$ktai_color_config.font_05})"><a name="top">
5({if $box == 'trash'})ごみ箱({elseif $box != 'outbox'})受信箱({else})送信箱({/if})</a></font><br>
6</td></tr>
7<tr><td bgcolor="#({$ktai_color_config.bg_03})" align="center">
8<font color="#({$ktai_color_config.color_24})">メッセージリスト</font><br>
9</td></tr></table>
10({if !$total_num})
11メッセージはありません。
12({else})
13<center>
14({$pager.start})件~({$pager.end})件を表示
15</center>
16
17({if $box == 'trash'})
18
19({capture name="pager"})
20({if $is_prev_t || $is_next_t})
21<center>
22({if $is_prev_t})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=trash&amp;page_t=({$page_t-1})&amp;({$tail})" accesskey="4">[i:128]前を表示</a> ({/if})
23({if $is_next_t})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=trash&amp;page_t=({$page_t+1})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
24</center>
25({/if})
26({/capture})
27
28<hr color="#({$ktai_color_config.border_02})">
29<table width="100%">
30({foreach from=$c_message_trash_list item=c_message_trash})
31<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
32({$c_message_trash.r_datetime|date_format:"%Y/%m/%d %H:%M"})<br>
33<a href="({t_url m=ktai a=page_h_message})&amp;target_c_message_id=({$c_message_trash.c_message_id})&amp;({$tail})">({$c_message_trash.subject|default:"&nbsp;"|t_truncate:50:""})</a>(({$c_message_trash.nickname|t_truncate:17:""|default:"&nbsp;"})さん)
34({if $c_message_trash.c_member_id_to != $u})<font color="#({$ktai_color_config.font_06})">(★)</font>({/if})
35</td></tr>
36<tr><td bgcolor="#({$ktai_color_config.bg_07})">
37<hr color="#({$ktai_color_config.border_02})">
38</td></tr>
39({/foreach})
40</table>
41※送信済メッセージ…<font color="#({$ktai_color_config.font_06})">(★)</font>
42<br>
43
44({$smarty.capture.pager|smarty:nodefaults})
45
46({elseif $box != 'outbox'})
47({capture name="pager"})
48({if $is_prev_r || $is_next_r})
49<center>
50({if $is_prev_r})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;page_r=({$page_r-1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})" accesskey="4">[i:128]前を表示</a> ({/if})
51({if $is_next_r})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;page_r=({$page_r+1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
52</center>
53({/if})
54({/capture})
55
56<hr color="#({$ktai_color_config.border_02})">
57<table width="100%">
58({foreach from=$c_message_received_list item=c_message_received})
59<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
60({$c_message_received.r_datetime|date_format:"%Y/%m/%d %H:%M"})<br>
61<a href="({t_url m=ktai a=page_h_message})&amp;target_c_message_id=({$c_message_received.c_message_id})&amp;({$tail})">({$c_message_received.subject|default:"&nbsp;"|t_truncate:50:""})</a>(({$c_message_received.nickname|t_truncate:17:""|default:"&nbsp;"})さん)
62</td></tr>
63<tr><td bgcolor="#({$ktai_color_config.bg_07})">
64<hr color="#({$ktai_color_config.border_02})">
65</td></tr>
66({/foreach})
67</table>
68
69({$smarty.capture.pager|smarty:nodefaults})
70
71({else})
72({capture name="pager"})
73({if $is_prev_s || $is_next_s})
74<center>
75({if $is_prev_s})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;page_s=({$page_s-1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})" accesskey="4">[i:128]前を表示</a> ({/if})
76({if $is_next_s})<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;page_s=({$page_s+1})({if $keyword})&amp;keyword=({$keyword})({/if})&amp;({$tail})" accesskey="6">[i:130]次を表示</a>({/if})
77</center>
78({/if})
79({/capture})
80<hr color="#({$ktai_color_config.border_02})">
81<table width="100%">
82({foreach from=$c_message_sent_list item=c_message_sent})
83<tr><td bgcolor="#({cycle values="`$ktai_color_config.bg_06`,`$ktai_color_config.bg_07`"})">
84({$c_message_sent.r_datetime|date_format:"%Y/%m/%d %H:%M"})<br>
85<a href="({t_url m=ktai a=page_h_message})&amp;target_c_message_id=({$c_message_sent.c_message_id})&amp;({$tail})">({$c_message_sent.subject|default:"&nbsp;"|t_truncate:50:""})</a>(({$c_message_sent.nickname|t_truncate:17:""|default:"&nbsp;"})さん)<br>
86</td></tr>
87<tr><td bgcolor="#({$ktai_color_config.bg_07})">
88<hr color="#({$ktai_color_config.border_02})">
89</td></tr>
90({/foreach})
91</table>
92
93({$smarty.capture.pager|smarty:nodefaults})
94({/if})
95
96({/if})
97
98({if $box != 'trash'})
99<table width="100%">
100<tr><td bgcolor="#({$ktai_color_config.color_27})" align="center">
101<font color="#({$ktai_color_config.color_28})">メッセージ検索</font><br>
102</td></tr>
103</table>
104<font color="#({$ktai_color_config.font_06})">キーワード:</font><br>
105({t_form _method=get m=ktai a=page_h_message_box})
106<input type="hidden" name="ksid" value="({$PHPSESSID})">
107<input type="hidden" name="box" value="({$box})">
108<input type="text" name="keyword" value="({$keyword})">
109<center>
110<input type="submit" value="検索する">
111</center>
112</form>
113({/if})
114
115<hr color="#({$ktai_color_config.border_01})">
116({if $box == 'trash'})
117<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;({$tail})">送信箱</a><br>
118<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;({$tail})">受信箱</a><br>
119({elseif $box != 'outbox'})
120<a href="({t_url m=ktai a=page_h_message_box})&amp;box=outbox&amp;({$tail})">送信箱</a><br>
121<a href="({t_url m=ktai a=page_h_message_box})&amp;box=trash&amp;({$tail})">ごみ箱</a><br>
122({else})
123<a href="({t_url m=ktai a=page_h_message_box})&amp;box=inbox&amp;({$tail})">受信箱</a><br>
124<a href="({t_url m=ktai a=page_h_message_box})&amp;box=trash&amp;({$tail})">ごみ箱</a><br>
125({/if})
126<a href="({t_url m=ktai a=page_h_message_send})&amp;({$tail})">メッセージを書く</a><br>
127({$inc_ktai_footer|smarty:nodefaults})
Note: See TracBrowser for help on using the repository browser.