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

Changeset 7314


Ignore:
Timestamp:
May 22, 2008, 4:33:20 PM (11 years ago)
Author:
ebihara
Message:

#2480:BIZ版マイホームに表示される最新情報の分類をPC版の分類に従って変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/pc/templates/h_home.tpl

    r7236 r7314  
    297297({if $inc_entry_point[9]})({$inc_entry_point[9]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
    298298
    299 ({if $c_diary_list_all || $c_topic_list_all || $c_diary_friend_list || $c_rss_cache_list || $c_diary_my_comment_list || $c_commu_topic_comment_list || $c_friend_review_list || $bookmark_diary_list || $bookmark_blog_list})
     299({if $c_diary_friend_list || $c_rss_cache_list || $c_diary_my_comment_list || $c_commu_topic_comment_list || $c_friend_review_list})
    300300({* {{{ homeMainTable *})
    301301<div class="dparts homeMainTable"><div class="parts">
    302302<div class="partsHeading"><h3>最新情報</h3></div>
    303303<table>
     304({if $c_diary_friend_list})
     305<tr><th>({$WORD_MY_FRIEND})<br />最新({$WORD_DIARY})</th><td>
     306<ul class="articleList">
     307({foreach from=$c_diary_friend_list item=item})
     308<li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;comment_count=({$item.count_comments})">({$item.subject|t_truncate:30}) (({$item.count_comments|default:0}))</a> (({$item.nickname|default:"&nbsp;"})) ({if $item.image_filename_1 || $item.image_filename_2 || $item.image_filename_3})<img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if})</li>
     309({/foreach})
     310</ul>
     311<div class="moreInfo"><ul class="moreInfo">
     312<li><a href="({t_url m=pc a=page_h_diary_list_friend})">もっと読む</a></li>
     313</ul></div>
     314</td></tr>
     315({/if})
     316({if $c_rss_cache_list})
     317<tr><th>({$WORD_MY_FRIEND})<br />最新Blog</th><td>
     318<ul class="articleList">
     319({foreach from=$c_rss_cache_list item=item})
     320<li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({$item.link})" target="_blank">({$item.subject|default:"&nbsp;"|t_truncate:30})</a> (({$item.c_member.nickname}))</li>
     321({/foreach})
     322</ul>
     323<div class="moreInfo"><ul class="moreInfo">
     324<li><a href="({t_url m=pc a=page_h_diary_list_friend})#blog">もっと読む</a></li>
     325</ul></div>
     326</td></tr>
     327({/if})
     328({if $c_diary_my_comment_list})
     329<tr><th>({$WORD_DIARY})コメント<br />記入履歴</th><td>
     330<ul class="articleList">
     331({foreach from=$c_diary_my_comment_list item=item})
     332<li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;comment_count=({$item.num_comment})">({$item.subject|t_truncate:30}) (({$item.num_comment}))</a> (({$item.nickname}))</li>
     333({/foreach})
     334</ul>
     335<div class="moreInfo"><ul class="moreInfo">
     336<li><a href="({t_url m=pc a=page_h_diary_comment_list})">もっと読む</a></li>
     337</ul></div>
     338</td></tr>
     339({/if})
     340({if $posted_list})
     341({$posted_list|smarty:nodefaults})
     342({/if})
     343({if $c_commu_topic_comment_list})
     344<tr><th>({$WORD_COMMUNITY})<br />最新書き込み</th><td>
     345<ul class="articleList">
     346({foreach from=$c_commu_topic_comment_list item=item})
     347<li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})&amp;comment_count=({$item.number})">({$item.c_commu_topic_name|t_truncate:30}) (({$item.number}))</a> (({$item.c_commu_name})) ({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3})<img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if})</li>
     348({/foreach})
     349</ul>
     350<div class="moreInfo"><ul class="moreInfo">
     351<li><a href="({t_url m=pc a=page_h_com_comment_list})">もっと読む</a></li>
     352</ul></div>
     353</td></tr>
     354({/if})
     355({if $c_friend_review_list})
     356<tr><th>({$WORD_MY_FRIEND})<br />最新レビュー</th><td>
     357<ul class="articleList">
     358({foreach from=$c_friend_review_list item=item})
     359<li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_h_review_list_product})&amp;c_review_id=({$item.c_review_id})">({$item.title|t_truncate:30})</a> (({$item.nickname}))</li>
     360({/foreach})
     361</ul>
     362<div class="moreInfo"><ul class="moreInfo">
     363<li><a href="({t_url m=pc a=page_h_friend_review_list})">もっと読む</a></li>
     364</ul></div>
     365</td></tr>
     366({/if})
     367({if $c_friend_album_list})
     368<tr><th>({$WORD_MY_FRIEND})<br />最新アルバム</th><td>
     369<ul class="articleList">
     370({foreach from=$c_friend_album_list item=item})
     371<li><span class="date">({$item.u_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_fh_album})&amp;target_c_album_id=({$item.c_album_id})">({$item.subject|t_truncate:30})</a> (({$item.nickname}))</li>
     372({/foreach})
     373</ul>
     374<div class="moreInfo"><ul class="moreInfo">
     375<li><a href="({t_url m=pc a=page_h_album_list_friend})">もっと読む</a></li>
     376</ul></div>
     377</td></tr>
     378({/if})
     379</table>
     380</div></div>
     381({* }}} *})
     382({/if})
     383
     384({if $c_diary_list_all || $c_topic_list_all})
     385({* {{{ homeMainTable *})
     386<div class="dparts homeMainTable"><div class="parts">
     387<div class="partsHeading"><h3>全体の最新情報</h3></div>
     388<table>
    304389({if $c_diary_list_all})
    305 <tr><th>最新({$WORD_DIARY})<br />一覧</th><td>
     390<tr><th>最新({$WORD_DIARY})</th><td>
    306391<ul class="articleList">
    307392({foreach from=$c_diary_list_all item=item})
     
    314399</td></tr>
    315400({/if})
    316 ({if $c_diary_friend_list})
    317 <tr><th>({$WORD_MY_FRIEND})<br />最新({$WORD_DIARY})</th><td>
    318 <ul class="articleList">
    319 ({foreach from=$c_diary_friend_list item=item})
    320 <li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;comment_count=({$item.count_comments})">({$item.subject|t_truncate:30}) (({$item.count_comments|default:0}))</a> (({$item.nickname|default:"&nbsp;"})) ({if $item.image_filename_1 || $item.image_filename_2 || $item.image_filename_3})<img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if})</li>
    321 ({/foreach})
    322 </ul>
    323 <div class="moreInfo"><ul class="moreInfo">
    324 <li><a href="({t_url m=pc a=page_h_diary_list_friend})">もっと読む</a></li>
    325 </ul></div>
    326 </td></tr>
    327 ({/if})
    328 ({if $c_rss_cache_list})
    329 <tr><th>({$WORD_MY_FRIEND})<br />最新Blog</th><td>
    330 <ul class="articleList">
    331 ({foreach from=$c_rss_cache_list item=item})
    332 <li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({$item.link})" target="_blank">({$item.subject|default:"&nbsp;"|t_truncate:30})</a> (({$item.c_member.nickname}))</li>
    333 ({/foreach})
    334 </ul>
    335 <div class="moreInfo"><ul class="moreInfo">
    336 <li><a href="({t_url m=pc a=page_h_diary_list_friend})#blog">もっと読む</a></li>
    337 </ul></div>
    338 </td></tr>
    339 ({/if})
    340 ({if $c_diary_my_comment_list})
    341 <tr><th>({$WORD_DIARY})コメント<br />記入履歴</th><td>
    342 <ul class="articleList">
    343 ({foreach from=$c_diary_my_comment_list item=item})
    344 <li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_fh_diary})&amp;target_c_diary_id=({$item.c_diary_id})&amp;comment_count=({$item.num_comment})">({$item.subject|t_truncate:30}) (({$item.num_comment}))</a> (({$item.nickname}))</li>
    345 ({/foreach})
    346 </ul>
    347 <div class="moreInfo"><ul class="moreInfo">
    348 <li><a href="({t_url m=pc a=page_h_diary_comment_list})">もっと読む</a></li>
    349 </ul></div>
    350 </td></tr>
    351 ({/if})
    352 ({if $posted_list})
    353 ({$posted_list|smarty:nodefaults})
    354 ({/if})
    355401({if $c_topic_list_all})
    356 <tr><th>最新トピック<br />一覧</th><td>
     402<tr><th>({$WORD_COMMUNITY})<br />最新書き込み</th><td>
    357403<ul class="articleList">
    358404({foreach from=$c_topic_list_all item=item})
     
    365411</td></tr>
    366412({/if})
    367 ({if $c_commu_topic_comment_list})
    368 <tr><th>({$WORD_COMMUNITY})<br />最新書き込み</th><td>
    369 <ul class="articleList">
    370 ({foreach from=$c_commu_topic_comment_list item=item})
    371 <li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_c_topic_detail})&amp;target_c_commu_topic_id=({$item.c_commu_topic_id})&amp;comment_count=({$item.number})">({$item.c_commu_topic_name|t_truncate:30}) (({$item.number}))</a> (({$item.c_commu_name})) ({if $item.image_filename1 || $item.image_filename2 || $item.image_filename3})<img src="({t_img_url_skin filename=icon_camera})" alt="写真あり" />({/if})</li>
    372 ({/foreach})
    373 </ul>
    374 <div class="moreInfo"><ul class="moreInfo">
    375 <li><a href="({t_url m=pc a=page_h_com_comment_list})">もっと読む</a></li>
    376 </ul></div>
    377 </td></tr>
    378 ({/if})
    379 ({if $c_friend_review_list})
    380 <tr><th>({$WORD_MY_FRIEND})<br />最新レビュー</th><td>
    381 <ul class="articleList">
    382 ({foreach from=$c_friend_review_list item=item})
    383 <li><span class="date">({$item.r_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_h_review_list_product})&amp;c_review_id=({$item.c_review_id})">({$item.title|t_truncate:30})</a> (({$item.nickname}))</li>
    384 ({/foreach})
    385 </ul>
    386 <div class="moreInfo"><ul class="moreInfo">
    387 <li><a href="({t_url m=pc a=page_h_friend_review_list})">もっと読む</a></li>
    388 </ul></div>
    389 </td></tr>
    390 ({/if})
     413</table>
     414</div></div>
     415({* }}} *})
     416({/if})
     417
     418({if $bookmark_diary_list || $bookmark_blog_list})
     419({* {{{ homeMainTable *})
     420<div class="dparts homeMainTable"><div class="parts">
     421<div class="partsHeading"><h3>お気に入りの最新情報</h3></div>
     422<table>
    391423({if $bookmark_diary_list})
    392424<tr><th>お気に入り<br />最新({$WORD_DIARY})</th><td>
     
    413445</td></tr>
    414446({/if})
    415 ({if $c_friend_album_list})
    416 <tr><th>({$WORD_MY_FRIEND})<br />最新アルバム</th><td>
    417 <ul class="articleList">
    418 ({foreach from=$c_friend_album_list item=item})
    419 <li><span class="date">({$item.u_datetime|date_format:"%m月%d日"})</span><a href="({t_url m=pc a=page_fh_album})&amp;target_c_album_id=({$item.c_album_id})">({$item.subject|t_truncate:30})</a> (({$item.nickname}))</li>
    420 ({/foreach})
    421 </ul>
    422 <div class="moreInfo"><ul class="moreInfo">
    423 <li><a href="({t_url m=pc a=page_h_album_list_friend})">もっと読む</a></li>
    424 </ul></div>
    425 </td></tr>
    426 ({/if})
    427447</table>
    428448</div></div>
     
    434454({* {{{ homeMainTable *})
    435455<div class="dparts homeMainTable"><div class="parts">
    436 <div class="partsHeading"><h3>最新({$WORD_DIARY})・レビュー({if $smarty.const.OPENPNE_USE_ALBUM})・アルバム({/if})</h3></div>
     456<div class="partsHeading"><h3>({$c_member.nickname})さんの最新情報</h3></div>
    437457<table>
    438458({if $c_diary_list})
Note: See TracChangeset for help on using the changeset viewer.