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

Changeset 5983


Ignore:
Timestamp:
Mar 22, 2008, 11:49:35 PM (13 years ago)
Author:
ogawa
Message:

#1955:fh_diary_list,h_diary_list_allのrecentList(最新書き込みリスト)をXHTML+CSS化

Location:
OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/public_html/xhtml_style.php

    r5980 r5983  
    10111011        border-left: 1px solid #cccccc;
    10121012}
     1013#LayoutB #Center .recentList dt {
     1014        width: 110px;
     1015}
     1016#LayoutB #Center .recentList dd {
     1017        margin-left: 120px;
     1018}
    10131019
    10141020/*==============================================================================
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/fh_diary_list.tpl

    r5982 r5983  
    124124<p class="next"><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=1&amp;page=({$page})({if $url_keyword})&amp;keyword=({$url_keyword})({/if})({if $category_id})&amp;category_id=({$category_id})({elseif !$all})({if $date_val.year})&amp;year=({$date_val.year})({/if})({if $date_val.month})&amp;month=({$date_val.month})({/if})({if $date_val.day})&amp;day=({$date_val.day})({/if})({/if})">次を表示</a></p>
    125125({/if})
    126 </p>
    127126</div>
    128127({foreach from=$target_diary_list item=item})
     
    182181<p class="next"><a href="({t_url m=pc a=page_fh_diary_list})&amp;target_c_member_id=({$target_member.c_member_id})&amp;direc=1&amp;page=({$page})({if $url_keyword})&amp;keyword=({$url_keyword})({/if})({if $category_id})&amp;category_id=({$category_id})({elseif !$all})({if $date_val.year})&amp;year=({$date_val.year})({/if})({if $date_val.month})&amp;month=({$date_val.month})({/if})({if $date_val.day})&amp;day=({$date_val.day})({/if})({/if})">次を表示</a></p>
    183182({/if})
    184 </p>
    185183</div>
    186184</div></div>
     
    189187
    190188({if $c_rss_cache_list})
    191 ({* {{{ *})
    192 ({* #1955 *})<!-- ******ここから:Blog一覧****** -->
    193 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:540px;margin:0px auto;" class="border_07">
    194 ({* #1955 *})<tr>
    195 ({* #1955 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    196 ({* #1955 *})<td style="width:524px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    197 ({* #1955 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    198 ({* #1955 *})</tr>
    199 ({* #1955 *})<tr>
    200 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    201 ({* #1955 *})<td class="bg_01" align="center">
    202 ({* #1955 *})<!-- *ここから:Blog一覧>内容* -->
    203 ({* #1955 *})({*ここから:header*})
    204 ({* #1955 *})<!-- ここから:小タイトル -->
    205 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:524px;" class="border_01">
    206 ({* #1955 *})<tr>
    207 ({* #1955 *})<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>
    208 ({* #1955 *})<td style="width:486px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">
    209 ({* #1955 *})<a name="blog">
    210 ({* #1955 *})({if !$all})
    211 ({* #1955 *})({$target_member.nickname})({if $type == "f"})さん({/if})({$date_val.year})年({$date_val.month})月({if $date_val.day})({$date_val.day})日({/if})のBlog
    212 ({* #1955 *})({else})
    213 ({* #1955 *})({$target_member.nickname})({if $type == "f"})さん({/if})のBlog
    214 ({* #1955 *})({/if})
    215 ({* #1955 *})</a>
    216 ({* #1955 *})</span></td>
    217 ({* #1955 *})</tr>
    218 ({* #1955 *})</table>
    219 ({* #1955 *})<!-- ここまで:小タイトル -->
    220 ({* #1955 *})({*ここまで:header*})
    221 ({* #1955 *})({*ここから:body*})
    222 ({* #1955 *})<!-- ここから:主内容 -->
    223 ({* #1955 *})<!-- ここから:主内容>>blog表示 -->
    224 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:524px;" class="border_01">
    225 ({* #1955 *})({*********})
    226 ({* #1955 *})<tr>
    227 ({* #1955 *})<td style="width:522px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    228 ({* #1955 *})</tr>
    229 ({* #1955 *})({*********})
    230 ({* #1955 *})({foreach from=$c_rss_cache_list item=item})
    231 ({* #1955 *})<tr>
    232 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    233 ({* #1955 *})<td style="width:66px;" class="bg_05" align="center" valign="top">
    234 ({* #1955 *})<div style="padding:4px 3px;">
    235 ({* #1955 *})
    236 ({* #1955 *})({$item.r_datetime|date_format:"%m月%d日<br> %H:%M"})
    237 ({* #1955 *})
    238 ({* #1955 *})</div>
    239 ({* #1955 *})</td>
    240 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    241 ({* #1955 *})<td style="width:453px;" class="bg_02" align="left" valign="middle">
    242 ({* #1955 *})<div style="padding:4px 3px;">
    243 ({* #1955 *})
    244 ({* #1955 *})<a href="({$item.link})" target="_blank">({$item.subject})</a>
    245 ({* #1955 *})
    246 ({* #1955 *})</div>
    247 ({* #1955 *})</td>
    248 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    249 ({* #1955 *})</tr>
    250 ({* #1955 *})({*********})
    251 ({* #1955 *})<tr>
    252 ({* #1955 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    253 ({* #1955 *})</tr>
    254 ({* #1955 *})({*********})
    255 ({* #1955 *})({/foreach})
    256 ({* #1955 *})</table>
    257 ({* #1955 *})<!-- ここまで:主内容>>blog表示 -->
    258 ({* #1955 *})<!-- ここまで:主内容 -->
    259 ({* #1955 *})({*ここまで:body*})
    260 ({* #1955 *})({*ここから:footer*})
    261 ({* #1955 *})<!-- 無し -->
    262 ({* #1955 *})({*ここまで:footer*})
    263 ({* #1955 *})<!-- *ここまで:Blog一覧>>内容* -->
    264 ({* #1955 *})</td>
    265 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    266 ({* #1955 *})</tr>
    267 ({* #1955 *})<tr>
    268 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    269 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    270 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    271 ({* #1955 *})</tr>
    272 ({* #1955 *})</table>
    273 ({* #1955 *})<!-- ******ここまで:Blog一覧****** -->
     189({* {{{ recentList *})
     190<div class="dparts recentList" id="blog"><div class="parts">
     191<div class="partsHeading"><h3>({strip})
     192({if !$all})
     193({$target_member.nickname})({if $type == "f"})さん({/if})({$date_val.year})年({$date_val.month})月({if $date_val.day})({$date_val.day})日({/if})のBlog
     194({else})
     195({$target_member.nickname})({if $type == "f"})さん({/if})のBlog
     196({/if})
     197({/strip})</h3></div>
     198({foreach from=$c_rss_cache_list item=item})
     199<dl>
     200<dt>({$item.r_datetime|date_format:"%m月%d日 %H:%M"})</dt>
     201<dd><a href="({$item.link})" target="_blank">({$item.subject})</a></dd>
     202</dl>
     203({/foreach})
     204</div></div>
    274205({* }}} *})
    275206({/if})
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/h_diary_list_all.tpl

    r5977 r5983  
    135135({if $c_rss_cache_list})
    136136({* {{{ recentList *})
    137 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:650px;margin:0px auto;" class="border_07">
    138 ({* #1955 *})<tr>
    139 ({* #1955 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    140 ({* #1955 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    141 ({* #1955 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    142 ({* #1955 *})</tr>
    143 ({* #1955 *})<tr>
    144 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    145 ({* #1955 *})<td class="bg_01" align="center">
    146 ({* #1955 *})<!-- *ここから:最新Blog一覧>内容* -->
    147 ({* #1955 *})({*ここから:header*})
    148 ({* #1955 *})<!-- ここから:小タイトル -->
    149 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:636px;" class="border_01">
    150 ({* #1955 *})<tr>
    151 ({* #1955 *})<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>
    152 ({* #1955 *})<td style="width:600px;padding:2px 0px;" class="bg_06">
    153 ({* #1955 *})<span class="c_00">
    154 ({* #1955 *})({if $keyword})
    155 ({* #1955 *})<span class="b_b">最新Blog({if $keyword})検索結果({/if})一覧</span>&nbsp;&nbsp;***&nbsp;({$c_diary_search_list_count})件&nbsp;が該当しました。
    156 ({* #1955 *})({else})
    157 ({* #1955 *})<span class="b_b">最新Blog一覧</span>
    158 ({* #1955 *})({/if})
    159 ({* #1955 *})</span>
    160 ({* #1955 *})</td>
    161 ({* #1955 *})</tr>
    162 ({* #1955 *})</table>
    163 ({* #1955 *})<!-- ここまで:小タイトル -->
    164 ({* #1955 *})({*ここまで:header*})
    165 ({* #1955 *})({*ここから:body*})
    166 ({* #1955 *})<!-- ここから:主内容 -->
    167 ({* #1955 *})({if $keyword})
    168 ({* #1955 *})<!-- ここから:主内容>>最新Blog一覧件数表示タブ -->
    169 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:634px;">
    170 ({* #1955 *})({*********})
    171 ({* #1955 *})<tr>
    172 ({* #1955 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    173 ({* #1955 *})</tr>
    174 ({* #1955 *})({*********})
    175 ({* #1955 *})<tr>
    176 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    177 ({* #1955 *})<td style="width:632px;" class="bg_02" align="right" valign="middle">
    178 ({* #1955 *})<div style="padding:4px 3px;">
    179 ({* #1955 *})
    180 ({* #1955 *})({if $is_prev})
    181 ({* #1955 *})<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=-1">前を表示</a>&nbsp;&nbsp;
    182 ({* #1955 *})({/if})
    183 ({* #1955 *})({$pager.start})件~({$pager.end})件を表示
    184 ({* #1955 *})({if $is_next})
    185 ({* #1955 *})&nbsp;&nbsp;<a href="({t_url m=pc a=page_h_diary_list_all})&amp;keyword=({$keyword|escape:url|smarty:nodefaults})&amp;page=({$page})&amp;direc=1">次を表示</a>
    186 ({* #1955 *})({/if})
    187 ({* #1955 *})
    188 ({* #1955 *})</div>
    189 ({* #1955 *})</td>
    190 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    191 ({* #1955 *})</tr>
    192 ({* #1955 *})({*********})
    193 ({* #1955 *})<tr>
    194 ({* #1955 *})<td style="width:634px;height:1px;" class="bg_01" colspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    195 ({* #1955 *})</tr>
    196 ({* #1955 *})({*********})
    197 ({* #1955 *})</table>
    198 ({* #1955 *})<!-- ここまで:主内容>>最新Blog一覧件数表示タブ -->
    199 ({* #1955 *})({/if})
    200 ({* #1955 *})<!-- ここから:主内容>>最新Blog一覧本体 -->
    201 ({* #1955 *})<div class="border_01 bg_05" align="center">
    202 ({* #1955 *})
    203 ({* #1955 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_l">
    204 ({* #1955 *})
    205 ({* #1955 *})<!-- ここから:主内容>>最新Blog一覧本体>>のループ部分 -->
    206 ({* #1955 *})<div class="border_01 bg_09" style="width:562px;margin:0px auto;" align="center">
    207 ({* #1955 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
    208 ({* #1955 *})<table border="0" cellspacing="0" cellpadding="0" style="width:550px;margin:0px auto;">
    209 ({* #1955 *})({*********})
    210 ({* #1955 *})<tr>
    211 ({* #1955 *})<td style="width:550px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    212 ({* #1955 *})</tr>
    213 ({* #1955 *})({*********})
    214 ({* #1955 *})({foreach from=$c_rss_cache_list item=item})
    215 ({* #1955 *})<tr>
    216 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    217 ({* #1955 *})<td style="width:180px;" class="bg_02" align="left" valign="middle">
    218 ({* #1955 *})
    219 ({* #1955 *})<div class="padding_s">
    220 ({* #1955 *})
    221 ({* #1955 *})<img src="./skin/dummy.gif" alt="dummy" style="width:14px;height:14px;" class="icon icon_3">({$item.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})
    222 ({* #1955 *})
    223 ({* #1955 *})</div>
    224 ({* #1955 *})
    225 ({* #1955 *})</td>
    226 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    227 ({* #1955 *})<td style="width:367px;" class="bg_02" align="left" valign="middle">
    228 ({* #1955 *})
    229 ({* #1955 *})<div class="padding_s">
    230 ({* #1955 *})
    231 ({* #1955 *})<a href="({$item.link})" target="_blank">({$item.subject})</a> (({$item.c_member.nickname}))
    232 ({* #1955 *})
    233 ({* #1955 *})</div>
    234 ({* #1955 *})
    235 ({* #1955 *})</td>
    236 ({* #1955 *})<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    237 ({* #1955 *})</tr>
    238 ({* #1955 *})({*********})
    239 ({* #1955 *})<tr>
    240 ({* #1955 *})<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    241 ({* #1955 *})</tr>
    242 ({* #1955 *})({*********})
    243 ({* #1955 *})({/foreach})
    244 ({* #1955 *})</table>
    245 ({* #1955 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
    246 ({* #1955 *})</div>
    247 ({* #1955 *})<!-- ここまで:主内容>>最新Blog一覧本体>>のループ部分 -->
    248 ({* #1955 *})
    249 ({* #1955 *})<img src="./skin/dummy.gif" alt="dummy" class="v_spacer_l">
    250 ({* #1955 *})
    251 ({* #1955 *})</div>
    252 ({* #1955 *})<!-- ここまで:>>最新Blog一覧本体 -->
    253 ({* #1955 *})<!-- ここまで:主内容 -->
    254 ({* #1955 *})({*ここまで:body*})
    255 ({* #1955 *})({*ここから:footer*})
    256 ({* #1955 *})<!-- 無し -->
    257 ({* #1955 *})({*ここまで:footer*})
    258 ({* #1955 *})<!-- *ここまで:最新Blog一覧>>内容* -->
    259 ({* #1955 *})</td>
    260 ({* #1955 *})<td class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    261 ({* #1955 *})</tr>
    262 ({* #1955 *})<tr>
    263 ({* #1955 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    264 ({* #1955 *})<td style="width:636px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    265 ({* #1955 *})<td style="width:7px;" class="bg_00"><img src="./skin/dummy.gif" alt="square" class="square"></td>
    266 ({* #1955 *})</tr>
    267 ({* #1955 *})</table>
     137<div class="dparts recentList"><div class="parts">
     138<div class="partsHeading"><h3>最新Blog一覧</h3></div>
     139({foreach from=$c_rss_cache_list item=item})
     140<dl>
     141<dt>({$item.r_datetime|date_format:"%Y年%m月%d日 %H:%M"})</dt>
     142<dd><a href="({$item.link})" target="_blank">({$item.subject})</a> (({$item.c_member.nickname}))</dd>
     143</dl>
     144({/foreach})
     145</div></div>
    268146({* }}} *})
    269147({/if})
Note: See TracChangeset for help on using the changeset viewer.