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

source: OpenPNE/trunk/webapp/modules/pc/templates/h_message.tpl @ 7233

Last change on this file since 7233 was 7233, checked in by ebihara, 12 years ago

#2399:日記以外の場所でも自分のアルバム小窓・アルバム画像小窓であればURLを変換するようにした

File size: 5.0 KB
Line 
1<div id="LayoutB">
2
3<div id="Left">
4
5({* {{{ sideNav *})
6<div class="parts sideNav">
7
8<div class="item pageNav"><ul>
9({if $box != "inbox"})<li><a href="({t_url m=pc a=page_h_message_box})&amp;box=inbox">受信メッセージ</a></li>
10({else})<li class="looking"><a href="({t_url m=pc a=page_h_message_box})&amp;box=inbox">受信メッセージ</a></li>
11({/if})
12({if $box != "outbox"})<li><a href="({t_url m=pc a=page_h_message_box})&amp;box=outbox">送信済みメッセージ</a></li>
13({else})<li class="looking"><a href="({t_url m=pc a=page_h_message_box})&amp;box=outbox">送信済みメッセージ</a></li>
14({/if})
15({if $box != "savebox"})<li><a href="({t_url m=pc a=page_h_message_box})&amp;box=savebox">下書き</a></li>
16({else})<li class="looking"><a href="({t_url m=pc a=page_h_message_box})&amp;box=savebox">下書き</a></li>
17({/if})
18({if $box != "trash"})<li><a href="({t_url m=pc a=page_h_message_box})&amp;box=trash">ごみ箱</a></li>
19({else})<li class="looking"><a href="({t_url m=pc a=page_h_message_box})&amp;box=trash">ごみ箱</a></li>
20({/if})
21</ul></div>
22
23</div>
24({* }}} *})
25
26</div><!-- Left -->
27<div id="Center">
28
29({* {{{ messageDetailBox *})
30<div class="dparts messageDetailBox"><div class="parts">
31<div class="partsHeading"><h3>メッセージの詳細</h3></div>
32
33({if $prev_c_message_id || $next_c_message_id})
34<div class="pagerRelative">
35({if $prev_c_message_id})<p class="prev"><a href="({t_url m=pc a=page_h_message})&amp;target_c_message_id=({$prev_c_message_id})&amp;({if $box == 'outbox'})box=({$box})({else})jyusin_c_message_id=({$prev_c_message_id})({/if})">前を表示</a></p>({/if})
36({if $next_c_message_id})<p class="next"><a href="({t_url m=pc a=page_h_message})&amp;target_c_message_id=({$next_c_message_id})&amp;({if $box == 'outbox'})box=({$box})({else})jyusin_c_message_id=({$next_c_message_id})({/if})">次を表示</a></p>({/if})
37</div>
38({/if})
39
40<table>
41<tr><td class="photo" rowspan="3"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({if $c_message.is_received})({$c_message.c_member_id_from})({else})({$c_message.c_member_id_to})({/if})">
42<img src="({t_img_url filename=$c_message.image_filename_disp w=120 h=120 noimg=no_image})" alt="" /></a></td>
43<th>({if $c_message.is_received})差出人({else})宛 先({/if})</th>
44<td>({if $c_message.is_received})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$c_message.c_member_id_from})">({$c_message.c_member_nickname_from})</a>
45({else})<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$c_message.c_member_id_to})">({$c_message.c_member_nickname_to})</a>({/if})</td>
46</tr><tr>
47<th>日付</th>
48<td>({$c_message.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</td>
49</tr><tr>
50<th>件名</th>
51<td>({$c_message.subject})</td>
52</tr>
53</table>
54
55<div class="block">
56({if $c_message.image_filename_1||$c_message.image_filename_2||$c_message.image_filename_3})
57<ul class="photo">
58<li>({if $c_message.image_filename_1})<a href="({t_img_url filename=$c_message.image_filename_1})" target="_blank"><img src="({t_img_url filename=$c_message.image_filename_1 w=120 h=120})" alt="" /></a>({/if})</li>
59<li>({if $c_message.image_filename_2})<a href="({t_img_url filename=$c_message.image_filename_2})" target="_blank"><img src="({t_img_url filename=$c_message.image_filename_2 w=120 h=120})" alt="" /></a>({/if})</li>
60<li>({if $c_message.image_filename_3})<a href="({t_img_url filename=$c_message.image_filename_3})" target="_blank"><img src="({t_img_url filename=$c_message.image_filename_3 w=120 h=120})" alt="" /></a>({/if})</li>
61</ul>
62({/if})
63<p class="text">({$c_message.body|nl2br|t_url2cmd:'message':$c_message.c_member_id_from|t_cmd:'message'})</p>
64</div>
65
66({if $c_message.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})
67<div class="block attachFile"><ul>
68<li><a href="({t_url m=pc a=do_h_message_file_download})&amp;target_c_message_id=({$c_message.c_message_id})&amp;sessid=({$PHPSESSID})">({$c_message.original_filename})</a></li>
69</ul></div>
70({/if})
71
72<div class="operation">
73({t_form_block m=pc a=do_h_message_box_delete_message _attr='class="delete"'})
74<input type="hidden" name="c_message_id[]" value="({$c_message.c_message_id})" />
75<input type="hidden" name="box" value="({$box})" />
76<ul class="moreInfo button">
77({if $box == 'trash'})
78<li><input type="submit" class="input_submit" name="move" value="元に戻す" /></li>
79({/if})
80<li><input type="submit" class="input_submit" name="remove" value="削 除" /></li>
81</ul>
82({/t_form_block})
83({if ($box == 'inbox' || !$box) && $c_message.c_member_nickname_from})
84({t_form_block m=pc a=page_f_message_send _attr='class="send"'})
85<input type="hidden" name="target_c_message_id" value="({$c_message.c_message_id})" />
86<input type="hidden" name="jyusin_c_message_id" value="({$jyusin_c_message_id})" />
87<input type="hidden" name="target_c_member_id" value="({$c_message.c_member_id_from})" />
88<ul class="moreInfo button">
89<li><input type="submit" class="input_submit" name="hensin2" value="返信する" /></li>
90</ul>
91({/t_form_block})
92({/if})
93</div>
94
95</div></div>
96({* }}} *})
97
98</div><!-- Center -->
99</div><!-- LayoutB -->
Note: See TracBrowser for help on using the repository browser.