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

Changeset 6297


Ignore:
Timestamp:
Apr 4, 2008, 3:29:50 PM (11 years ago)
Author:
nakasone
Message:

#2037:h_message.tpl の messageDetailBox(メッセージ詳細ボックス)をXHTML+CSS化した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/templates/h_message.tpl

    r6102 r6297  
    2727<div id="Center">
    2828
    29 ({* #2037 *})<!-- ******ここから:メッセージ表示欄****** -->
    30 ({* #2037 *})<table border="0" cellspacing="0" cellpadding="0" style="width:520px;margin:0px auto;" class="border_07">
    31 ({* #2037 *})<tr>
    32 ({* #2037 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    33 ({* #2037 *})<td style="width:506px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    34 ({* #2037 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    35 ({* #2037 *})</tr>
    36 ({* #2037 *})<tr>
    37 ({* #2037 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    38 ({* #2037 *})<td class="bg_01" align="center">
    39 ({* #2037 *})<!-- *ここから:メッセージ表示欄>内容* -->
    40 ({* #2037 *})({*ここから:header*})
    41 ({* #2037 *})<!-- ここから:小タイトル -->
    42 ({* #2037 *})<table border="0" cellspacing="0" cellpadding="0" style="width:506px;" class="border_01">
    43 ({* #2037 *})<tr>
    44 ({* #2037 *})<td style="width:36px;" class="bg_06"><img src="({t_img_url_skin filename=content_header_1})" style="width:30px;height:20px;" class="dummy" /></td>
    45 ({* #2037 *})<td style="width:468px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">メッセージの詳細</span></td>
    46 ({* #2037 *})</tr>
    47 ({* #2037 *})</table>
    48 ({* #2037 *})<!-- ここまで:小タイトル -->
    49 ({* #2037 *})({*ここまで:header*})
    50 ({* #2037 *})({*ここから:body*})
    51 ({* #2037 *})<!-- ここから:主内容 -->
    52 ({* #2037 *})
    53 ({* #2037 *})<table border="0" cellspacing="0" cellpadding="0" class="border_01" style="width: 504px;">
    54 ({* #2037 *})<tr>
    55 ({* #2037 *})<td style="width:340px;height:2em;" class="bg_03" align="left">
    56 ({* #2037 *})<div class="padding_s">
    57 ({* #2037 *})({if $prev_c_message_id})
    58 ({* #2037 *})<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>
    59 ({* #2037 *})({/if})
    60 ({* #2037 *})</div>
    61 ({* #2037 *})</td>
    62 ({* #2037 *})<td style="width:340px;height:2em;" class="bg_03" align="right">
    63 ({* #2037 *})<div class="padding_s">
    64 ({* #2037 *})({if $next_c_message_id})
    65 ({* #2037 *})<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>
    66 ({* #2037 *})({/if})
    67 ({* #2037 *})</div>
    68 ({* #2037 *})</td>
    69 ({* #2037 *})</tr>
    70 ({* #2037 *})</table>
    71 ({* #2037 *})
    72 ({* #2037 *})<table border="0" cellspacing="0" cellpadding="0" style="width:504px;">
    73 ({* #2037 *})({*********})
    74 ({* #2037 *})<tr>
    75 ({* #2037 *})<td style="height:1px;" class="bg_01" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    76 ({* #2037 *})</tr>
    77 ({* #2037 *})({*********})
    78 ({* #2037 *})<tr>
    79 ({* #2037 *})<td style="width:1px;" class="bg_01" rowspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    80 ({* #2037 *})<td style="width:110px;" align="center" rowspan="5" class="bg_03">
    81 ({* #2037 *})
    82 ({* #2037 *})<div class="padding_s">
    83 ({* #2037 *})
    84 ({* #2037 *})<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})">
    85 ({* #2037 *})<img src="({t_img_url filename=$c_message.image_filename_disp w=120 h=120 noimg=no_image})" /></a>
    86 ({* #2037 *})
    87 ({* #2037 *})</div>
    88 ({* #2037 *})
    89 ({* #2037 *})</td>
    90 ({* #2037 *})<td style="width:1px;" class="bg_01" rowspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    91 ({* #2037 *})<td style="width:63px;" class="bg_05" align="right">
    92 ({* #2037 *})
    93 ({* #2037 *})<div class="padding_s">
    94 ({* #2037 *})
    95 ({* #2037 *})({if $c_message.is_received})
    96 ({* #2037 *})差出人 :
    97 ({* #2037 *})({else})
    98 ({* #2037 *})宛 先 :
    99 ({* #2037 *})({/if})
    100 ({* #2037 *})
    101 ({* #2037 *})</div>
    102 ({* #2037 *})
    103 ({* #2037 *})</td>
    104 ({* #2037 *})<td style="width:330px;" class="bg_05" align="left">
    105 ({* #2037 *})
    106 ({* #2037 *})<div class="padding_s">
    107 ({* #2037 *})
    108 ({* #2037 *})({if $c_message.is_received})
    109 ({* #2037 *})<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>
    110 ({* #2037 *})({else})
    111 ({* #2037 *})<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>
    112 ({* #2037 *})({/if})
    113 ({* #2037 *})
    114 ({* #2037 *})</div>
    115 ({* #2037 *})
    116 ({* #2037 *})</td>
    117 ({* #2037 *})<td style="width:1px;" class="bg_01" rowspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    118 ({* #2037 *})</tr>
    119 ({* #2037 *})({*********})
    120 ({* #2037 *})<tr>
    121 ({* #2037 *})<td style="height:1px;" class="bg_01" colspan="2"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    122 ({* #2037 *})</tr>
    123 ({* #2037 *})({*********})
    124 ({* #2037 *})<tr>
    125 ({* #2037 *})<td class="bg_05" align="right">
    126 ({* #2037 *})
    127 ({* #2037 *})<div class="padding_s">
    128 ({* #2037 *})
    129 ({* #2037 *})日 付 :
    130 ({* #2037 *})
    131 ({* #2037 *})</div>
    132 ({* #2037 *})
    133 ({* #2037 *})</td>
    134 ({* #2037 *})<td class="bg_05" align="left">
    135 ({* #2037 *})
    136 ({* #2037 *})<div class="padding_s">
    137 ({* #2037 *})
    138 ({* #2037 *})({$c_message.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})
    139 ({* #2037 *})
    140 ({* #2037 *})</div>
    141 ({* #2037 *})
    142 ({* #2037 *})</td>
    143 ({* #2037 *})</tr>
    144 ({* #2037 *})({*********})
    145 ({* #2037 *})<tr>
    146 ({* #2037 *})<td style="height:1px;" class="bg_01" colspan="2"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    147 ({* #2037 *})</tr>
    148 ({* #2037 *})({*********})
    149 ({* #2037 *})<tr>
    150 ({* #2037 *})<td class="bg_05" align="right">
    151 ({* #2037 *})
    152 ({* #2037 *})<div class="padding_s">
    153 ({* #2037 *})
    154 ({* #2037 *})件 名 :
    155 ({* #2037 *})
    156 ({* #2037 *})</div>
    157 ({* #2037 *})
    158 ({* #2037 *})</td>
    159 ({* #2037 *})<td class="bg_05" align="left">
    160 ({* #2037 *})
    161 ({* #2037 *})<div class="padding_s">
    162 ({* #2037 *})
    163 ({* #2037 *})({$c_message.subject})
    164 ({* #2037 *})
    165 ({* #2037 *})</div>
    166 ({* #2037 *})
    167 ({* #2037 *})</td>
    168 ({* #2037 *})</tr>
    169 ({* #2037 *})({*********})
    170 ({* #2037 *})<tr>
    171 ({* #2037 *})<td style="height:1px;" class="bg_01" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot" /></td>
    172 ({* #2037 *})</tr>
    173 ({* #2037 *})({*********})
    174 ({* #2037 *})<tr>
    175 ({* #2037 *})<td align="left" valign="top" colspan="6" class="bg_02">
    176 ({* #2037 *})
    177 ({* #2037 *})<div class="padding_w_m">
    178 ({* #2037 *})
    179 ({* #2037 *})({if $c_message.image_filename_1||$c_message.image_filename_2||$c_message.image_filename_3})
    180 ({* #2037 *})({if $c_message.image_filename_1})<span class="padding_s"><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})" /></a></span>({/if})
    181 ({* #2037 *})({if $c_message.image_filename_2})<span class="padding_s"><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})" /></a></span>({/if})
    182 ({* #2037 *})({if $c_message.image_filename_3})<span class="padding_s"><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})" /></a></span>({/if})
    183 ({* #2037 *})<br /><br />
    184 ({* #2037 *})({/if})
    185 ({* #2037 *})
    186 ({* #2037 *})({$c_message.body|nl2br|t_url2cmd:'message'|t_cmd:'message'})
    187 ({* #2037 *})
    188 ({* #2037 *})</div>
    189 ({* #2037 *})
    190 ({* #2037 *})</td>
    191 ({* #2037 *})</tr>
    192 ({* #2037 *})({*********})
    193 ({* #2037 *})</table>
    194 ({* #2037 *})<!-- ここまで:主内容 -->
    195 ({* #2037 *})({*ここまで:body*})
    196 ({* #2037 *})({*ここから:footer*})
    197 ({* #2037 *})<!-- ここから:コマンド? -->
    198 ({* #2037 *})<table border="0" cellspacing="0" cellpadding="0" class="border_01" style="width: 504px;">
    199 ({* #2037 *})<tr>
    200 ({* #2037 *})<td style="width:340px;height:2em;" class="bg_03" align="left">
    201 ({* #2037 *})
    202 ({* #2037 *})<div class="padding_s">
    203 ({* #2037 *})
    204 ({* #2037 *})({t_form_block m=pc a=do_h_message_box_delete_message})
    205 ({* #2037 *})
    206 ({* #2037 *})<input type="hidden" name="c_message_id[]" value=({$c_message.c_message_id}) />
    207 ({* #2037 *})<input type="hidden" name="box" value="({$box})" />
    208 ({* #2037 *})
    209 ({* #2037 *})({if $box == 'trash'})
    210 ({* #2037 *})<input type="submit" class="input_submit" name="move" value="元に戻す" />
    211 ({* #2037 *})({/if})
    212 ({* #2037 *})<input type="submit" class="input_submit" name="remove" value="削 除" />
    213 ({* #2037 *})
    214 ({* #2037 *})({/t_form_block})
    215 ({* #2037 *})
    216 ({* #2037 *})</div>
    217 ({* #2037 *})
    218 ({* #2037 *})</td>
    219 ({* #2037 *})<td style="width:164px;" class="bg_03" align="right">
    220 ({* #2037 *})
    221 ({* #2037 *})<div class="padding_s">
    222 ({* #2037 *})
    223 ({* #2037 *})({if ($box == 'inbox' || !$box) && $c_message.c_member_nickname_from})
    224 ({* #2037 *})({t_form_block m=pc a=page_f_message_send})
    225 ({* #2037 *})<input type="hidden" name="target_c_message_id" value="({$c_message.c_message_id})" />
    226 ({* #2037 *})<input type="hidden" name="jyusin_c_message_id" value="({$jyusin_c_message_id})" />
    227 ({* #2037 *})<input type="hidden" name="target_c_member_id" value="({$c_message.c_member_id_from})" />
    228 ({* #2037 *})<input name="hensin2" type="submit" class="input_submit" value=" 返信する " />
    229 ({* #2037 *})({/t_form_block})
    230 ({* #2037 *})({/if})
    231 ({* #2037 *})
    232 ({* #2037 *})</div>
    233 ({* #2037 *})
    234 ({* #2037 *})</td>
    235 ({* #2037 *})</tr>
    236 ({* #2037 *})</table>
    237 ({* #2037 *})<!-- ここまで:コマンド? -->
    238 ({* #2037 *})({*ここまで:footer*})
    239 ({* #2037 *})<!-- *ここまで:メッセージ表示欄>>内容* -->
    240 ({* #2037 *})</td>
    241 ({* #2037 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    242 ({* #2037 *})</tr>
    243 ({* #2037 *})<tr>
    244 ({* #2037 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    245 ({* #2037 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    246 ({* #2037 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square" /></td>
    247 ({* #2037 *})</tr>
    248 ({* #2037 *})</table>
    249 ({* #2037 *})<!-- ******ここまで:メッセージ表示欄****** -->
     29({* {{{ messageDetailBox *})
     30<div class="dparts messageDetailBox"><div class="parts">
     31<div class="partsHeading"><h3>メッセージの詳細</h3></div>
     32<div class="pagerRelative">
     33({if $prev_c_message_id})
     34<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>
     35({/if})
     36({if $next_c_message_id})
     37<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>
     38({/if})
     39</div>
     40
     41<table>
     42<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})">
     43<img src="({t_img_url filename=$c_message.image_filename_disp w=120 h=120 noimg=no_image})" alt="" /></a></td>
     44<th>({if $c_message.is_received})差出人({else})宛 先({/if})</th>
     45<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>
     46({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>
     47</tr><tr>
     48<th>日付</th>
     49<td>({$c_message.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</td>
     50</tr><tr>
     51<th>件名</th>
     52<td>({$c_message.subject})</td>
     53</tr>
     54</table>
     55
     56<div class="block">
     57({if $c_message.image_filename_1||$c_message.image_filename_2||$c_message.image_filename_3})
     58<ul class="photo">
     59<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>
     60<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>
     61<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>
     62</ul>
     63({/if})
     64<p class="text">({$c_message.body|nl2br|t_url2cmd:'message'|t_cmd:'message'})</p>
     65</div>
     66
     67<div class="operation">
     68<form action="./" method="post" class="delete">
     69<fieldset>
     70<input type="hidden" name="m" value="pc" />
     71<input type="hidden" name="a" value="do_h_message_box_delete_message" />
     72<input type="hidden" name="sessid" value="({$PHPSESSID})" />
     73<input type="hidden" name="c_message_id[]" value="({$c_message.c_message_id})" />
     74<input type="hidden" name="box" value="({$box})" />
     75<ul class="moreInfo button">
     76({if $box == 'trash'})
     77<li><input type="submit" class="input_submit" name="move" value="元に戻す" /></li>
     78({/if})
     79<li><input type="submit" class="input_submit" name="remove" value="削 除" /></li>
     80</ul>
     81</fieldset>
     82</form>
     83({if ($box == 'inbox' || !$box) && $c_message.c_member_nickname_from})
     84<form action="./" method="post" class="send">
     85<fieldset>
     86<input type="hidden" name="m" value="pc" />
     87<input type="hidden" name="a" value="page_f_message_send" />
     88<input type="hidden" name="target_c_message_id" value="({$c_message.c_message_id})" />
     89<input type="hidden" name="jyusin_c_message_id" value="({$jyusin_c_message_id})" />
     90<input type="hidden" name="target_c_member_id" value="({$c_message.c_member_id_from})" />
     91<ul class="moreInfo button">
     92<li><input name="hensin2" type="submit" class="input_submit" value=" 返信する " /></li>
     93</ul>
     94</fieldset>
     95</form>
     96({/if})
     97</div>
     98
     99</div></div>
     100({* }}} *})
    250101
    251102</div><!-- Center -->
Note: See TracChangeset for help on using the changeset viewer.