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

Changeset 5865


Ignore:
Timestamp:
Mar 19, 2008, 12:09:30 AM (13 years ago)
Author:
kiwa
Message:

#1946 9. topicDetailBox(トピック詳細ボックス)をXHTML+CSS化

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/c_topic_detail.tpl

    r5823 r5865  
    44
    55({* unknown *})({if !$err_msg})
    6 ({* #1946 *})<!-- ******ここから:トピック表示****** -->
    7 ({* #1946 *})<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
    8 ({* #1946 *})<tr>
    9 ({* #1946 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    10 ({* #1946 *})<td style="width:646px;" class="bg_00"><img src="./skin/dummy.gif" alt="dummy" style="width:566px;height:7px;" class="dummy"></td>
    11 ({* #1946 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    12 ({* #1946 *})</tr>
    13 ({* #1946 *})<tr>
    14 ({* #1946 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    15 ({* #1946 *})<td class="bg_01" align="center">
    16 ({* #1946 *})<!-- *ここから:トピック表示>内容* -->
    17 ({* #1946 *})({*ここから:header*})
    18 ({* #1946 *})<!-- ここから:小タイトル -->
    19 ({* #1946 *})<div class="border_01">
    20 ({* #1946 *})<table border="0" cellspacing="0" cellpadding="0" style="width:634px;">
    21 ({* #1946 *})<tr>
    22 ({* #1946 *})<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>
    23 ({* #1946 *})<td style="width:468px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">[({$c_commu.name})] トピック</span></td>
    24 ({* #1946 *})<td style="width:140px;" align="right" class="bg_06">&nbsp;</td>
    25 ({* #1946 *})</tr>
    26 ({* #1946 *})</table>
    27 ({* #1946 *})</div>
    28 ({* #1946 *})<!-- ここまで:小タイトル -->
    29 ({* #1946 *})({*ここまで:header*})
    30 ({* #1946 *})({*ここから:body*})
    31 ({* #1946 *})<!-- ここから:主内容 -->
    32 ({* #1946 *})<table border="0" cellspacing="0" cellpadding="0" style="width:634px;">
    33 ({* #1946 *})({*********})
    34 ({* #1946 *})<tr>
    35 ({* #1946 *})<td style="width:634px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    36 ({* #1946 *})</tr>
    37 ({* #1946 *})({*********})
    38 ({* #1946 *})<tr>
    39 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    40 ({* #1946 *})<td style="width:110px;" class="bg_03" align="center" valign="middle" rowspan="({if $c_topic.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})9({else})7({/if})">
    41 ({* #1946 *})
    42 ({* #1946 *})<div class="padding_s">
    43 ({* #1946 *})
    44 ({* #1946 *})({$c_topic.r_datetime|date_format:"%Y年%m月%d日"})<br>({$c_topic.r_datetime|date_format:"%H:%M"})
    45 ({* #1946 *})
    46 ({* #1946 *})</div>
    47 ({* #1946 *})
    48 ({* #1946 *})</td>
    49 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    50 ({* #1946 *})<td style="width:531px;height:30px;" class="bg_05" align="left" valign="middle">
    51 ({* #1946 *})<div class="padding_s">
    52 ({* #1946 *})
    53 ({* #1946 *})&nbsp;({$c_topic.name})
    54 ({* #1946 *})
    55 ({* #1946 *})</div>
    56 ({* #1946 *})</td>
    57 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    58 ({* #1946 *})</tr>
    59 ({* #1946 *})({*********})
    60 ({* #1946 *})<tr>
    61 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    62 ({* #1946 *})<td style="width:533px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    63 ({* #1946 *})</tr>
    64 ({* #1946 *})({*********})
    65 ({* #1946 *})<tr>
    66 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    67 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    68 ({* #1946 *})<td style="width:531px;height:30px;" class="bg_02" align="left" valign="middle">
    69 ({* #1946 *})<div class="padding_s">
    70 ({* #1946 *})
    71 ({* #1946 *})&nbsp;<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$c_topic.c_member_id})">({$c_topic.nickname})</a>
    72 ({* #1946 *})
    73 ({* #1946 *})</div>
    74 ({* #1946 *})</td>
    75 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    76 ({* #1946 *})</tr>
    77 ({* #1946 *})({*********})
    78 ({* #1946 *})<tr>
    79 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    80 ({* #1946 *})<td style="width:533px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    81 ({* #1946 *})</tr>
    82 ({* #1946 *})({*********})
    83 ({* #1946 *})<tr>
    84 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    85 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    86 ({* #1946 *})<td style="width:531px;height:50px;" class="bg_02" align="left" valign="middle">
    87 ({* #1946 *})
    88 ({* #1946 *})({if $c_topic.image_filename1||$c_topic.image_filename2||$c_topic.image_filename3})
    89 ({* #1946 *})<div class="padding_s">
    90 ({* #1946 *})({if $c_topic.image_filename1})<span class="padding_s"><a href="({t_img_url filename=$c_topic.image_filename1})" target="_blank"><img src="({t_img_url filename=$c_topic.image_filename1 w=120 h=120})"></a></span>({/if})
    91 ({* #1946 *})({if $c_topic.image_filename2})<span class="padding_s"><a href="({t_img_url filename=$c_topic.image_filename2})" target="_blank"><img src="({t_img_url filename=$c_topic.image_filename2 w=120 h=120})"></a></span>({/if})
    92 ({* #1946 *})({if $c_topic.image_filename3})<span class="padding_s"><a href="({t_img_url filename=$c_topic.image_filename3})" target="_blank"><img src="({t_img_url filename=$c_topic.image_filename3 w=120 h=120})"></a></span>({/if})
    93 ({* #1946 *})</div>
    94 ({* #1946 *})({/if})
    95 ({* #1946 *})
    96 ({* #1946 *})<div class="padding_s lh_120">
    97 ({* #1946 *})({$c_topic.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})
    98 ({* #1946 *})</div>
    99 ({* #1946 *})
    100 ({* #1946 *})</td>
    101 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    102 ({* #1946 *})</tr>
    103 ({* #1946 *})({*********})
    104 ({* #1946 *})({if $c_topic.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})
    105 ({* #1946 *})<tr>
    106 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    107 ({* #1946 *})<td style="width:533px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    108 ({* #1946 *})</tr>
    109 ({* #1946 *})({*********})
    110 ({* #1946 *})
    111 ({* #1946 *})<tr>
    112 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    113 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    114 ({* #1946 *})<td style="width:531px;height:50px;" class="bg_02" align="left" valign="middle">
    115 ({* #1946 *})
    116 ({* #1946 *})<div class="padding_s">
    117 ({* #1946 *})<a href="({t_url m=pc a=do_c_file_download})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;sessid=({$PHPSESSID})">
    118 ({* #1946 *})({$c_topic.original_filename})
    119 ({* #1946 *})</a>
    120 ({* #1946 *})</div>
    121 ({* #1946 *})
    122 ({* #1946 *})</td>
    123 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    124 ({* #1946 *})</tr>
    125 ({* #1946 *})({*********})
    126 ({* #1946 *})<tr>
    127 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    128 ({* #1946 *})<td style="width:533px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    129 ({* #1946 *})</tr>
    130 ({* #1946 *})({/if})
    131 ({* #1946 *})
    132 ({* #1946 *})<tr>
    133 ({* #1946 *})<td style="width:634px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    134 ({* #1946 *})</tr>
    135 ({* #1946 *})({*********})
    136 ({* #1946 *})</table>
    137 ({* #1946 *})<!-- ここまで:主内容 -->
    138 ({* #1946 *})({*ここまで:body*})
    139 ({* #1946 *})({*ここから:footer*})
    140 ({* #1946 *})({if $is_c_topic_admin || $is_c_commu_admin})
    141 ({* #1946 *})({if ($c_commu.topic_authority == 'public')||($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)})
    142 ({* #1946 *})<!-- ここから:トピック編集 -->
    143 ({* #1946 *})<table border="0" cellspacing="0" cellpadding="0" style="width:634px;">
    144 ({* #1946 *})({*********})
    145 ({* #1946 *})<tr>
    146 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    147 ({* #1946 *})<td style="width:632px;" class="bg_05" align="center" valign="middle">
    148 ({* #1946 *})
    149 ({* #1946 *})<div style="text-align:left;padding:10px 90px;">
    150 ({* #1946 *})
    151 ({* #1946 *})<div style="text-align:center;">
    152 ({* #1946 *})({t_form_block _method=get m=pc a=page_c_topic_edit})
    153 ({* #1946 *})<input type="hidden" name="target_c_commu_topic_id" value="({$c_topic.c_commu_topic_id})">
    154 ({* #1946 *})<input type="submit"  class="submit" value="編 集">
    155 ({* #1946 *})({/t_form_block})
    156 ({* #1946 *})</div>
    157 ({* #1946 *})
    158 ({* #1946 *})</div>
    159 ({* #1946 *})
    160 ({* #1946 *})</td>
    161 ({* #1946 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    162 ({* #1946 *})</tr>
    163 ({* #1946 *})({*********})
    164 ({* #1946 *})<tr>
    165 ({* #1946 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    166 ({* #1946 *})</tr>
    167 ({* #1946 *})({*********})
    168 ({* #1946 *})</table>
    169 ({* #1946 *})({*********})
    170 ({* #1946 *})<!-- ここまで:トピック編集 -->
    171 ({* #1946 *})({/if})
    172 ({* #1946 *})({/if})
    173 ({* #1946 *})
    174 ({* #1946 *})({*ここまで:footer*})
    175 ({* #1946 *})<!-- *ここまで:トピック表示>>内容* -->
    176 ({* #1946 *})</td>
    177 ({* #1946 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    178 ({* #1946 *})</tr>
    179 ({* #1946 *})<tr>
    180 ({* #1946 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    181 ({* #1946 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="dummy" style="width:566px;height:7px;" class="dummy"></td>
    182 ({* #1946 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    183 ({* #1946 *})</tr>
    184 ({* #1946 *})</table>
    185 ({* #1946 *})<!-- ******ここまで:トピック表示****** -->
     6({* {{{ topicDetailBox *})
     7<div class="dparts topicDetailBox"><div class="parts">
     8<div class="partsHeading"><h3>[({$c_commu.name})] トピック</h3></div>
     9<dl>
     10<dt>({$c_topic.r_datetime|date_format:"%Y年%m月%d日"})<br />({$c_topic.r_datetime|date_format:"%H:%M"})</dt>
     11<dd>
     12<div class="title">
     13<p>({$c_topic.name})</p>
     14</div>
     15<div class="name">
     16<p><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$c_topic.c_member_id})">({$c_topic.nickname})</a></p>
     17</div>
     18<div class="body">
     19({if $c_topic.image_filename1||$c_topic.image_filename2||$c_topic.image_filename3})
     20<ul class="photo">
     21({if $c_topic.image_filename1})<li><a href="({t_img_url filename=$c_topic.image_filename1})" target="_blank"><img src="({t_img_url filename=$c_topic.image_filename1 w=120 h=120})" /></a></li>({/if})
     22({if $c_topic.image_filename2})<li><a href="({t_img_url filename=$c_topic.image_filename2})" target="_blank"><img src="({t_img_url filename=$c_topic.image_filename2 w=120 h=120})" /></a></li>({/if})
     23({if $c_topic.image_filename3})<li><a href="({t_img_url filename=$c_topic.image_filename3})" target="_blank"><img src="({t_img_url filename=$c_topic.image_filename3 w=120 h=120})" /></a></li>({/if})
     24</ul>
     25({/if})
     26<p class="text">
     27({$c_topic.body|nl2br|t_url2cmd:'community'|t_cmd:'community'})
     28</p>
     29</div>
     30({if $c_topic.filename && $smarty.const.OPENPNE_USE_FILEUPLOAD})
     31<div class="block attachFile"><ul>
     32<li><a href="({t_url m=pc a=do_c_file_download})&amp;target_c_commu_topic_id=({$c_topic.c_commu_topic_id})&amp;sessid=({$PHPSESSID})">({$c_topic.original_filename})</a></li>
     33</ul></div>
     34({/if})
     35</dd>
     36</dl>
     37({if $is_c_topic_admin || $is_c_commu_admin})
     38({if ($c_commu.topic_authority == 'public')||($c_commu.topic_authority == 'admin_only' && $is_c_commu_admin)})
     39<div class="operation">
     40({t_form_block _method=get m=pc a=page_c_topic_edit})
     41<input type="hidden" name="target_c_commu_topic_id" value="({$c_topic.c_commu_topic_id})" />
     42<ul class="moreInfo button">
     43<li><input type="submit"  class="submit" value="編 集" /></li>
     44</ul>
     45({/t_form_block})
     46</div>
     47({/if})
     48({/if})
     49</div></div>
     50({* }}} *})
     51
    18652({* unknown *})({if $c_topic_write })
    18753({* #1948 *})<!-- ******ここから:書き込み一覧****** -->
Note: See TracChangeset for help on using the changeset viewer.