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

Changeset 7304


Ignore:
Timestamp:
May 22, 2008, 2:44:44 AM (11 years ago)
Author:
ebihara
Message:

#2480:PC版h_homeの「最新情報」の分類の方法をなるべく違和感のない形で変更

File:
1 edited

Legend:

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

    r7236 r7304  
    374374({if $inc_entry_point[9]})({$inc_entry_point[9]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
    375375
    376 ({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})
     376({if $c_diary_friend_list || $c_rss_cache_list || $c_diary_my_comment_list || $c_commu_topic_comment_list || $c_friend_review_list})
    377377({* {{{ homeMainTable *})
    378378<div class="dparts homeMainTable"><div class="parts">
    379379<div class="partsHeading"><h3>最新情報</h3></div>
    380380<table>
     381({if $c_diary_friend_list})
     382<tr><th>({$WORD_MY_FRIEND})<br />最新({$WORD_DIARY})</th><td>
     383<ul class="articleList">
     384({foreach from=$c_diary_friend_list item=item})
     385<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>
     386({/foreach})
     387</ul>
     388<div class="moreInfo"><ul class="moreInfo">
     389<li><a href="({t_url m=pc a=page_h_diary_list_friend})">もっと読む</a></li>
     390</ul></div>
     391</td></tr>
     392({/if})
     393({if $c_rss_cache_list})
     394<tr><th>({$WORD_MY_FRIEND})<br />最新Blog</th><td>
     395<ul class="articleList">
     396({foreach from=$c_rss_cache_list item=item})
     397<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>
     398({/foreach})
     399</ul>
     400<div class="moreInfo"><ul class="moreInfo">
     401<li><a href="({t_url m=pc a=page_h_diary_list_friend})#blog">もっと読む</a></li>
     402</ul></div>
     403</td></tr>
     404({/if})
     405({if $c_diary_my_comment_list})
     406<tr><th>({$WORD_DIARY})コメント<br />記入履歴</th><td>
     407<ul class="articleList">
     408({foreach from=$c_diary_my_comment_list item=item})
     409<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>
     410({/foreach})
     411</ul>
     412<div class="moreInfo"><ul class="moreInfo">
     413<li><a href="({t_url m=pc a=page_h_diary_comment_list})">もっと読む</a></li>
     414</ul></div>
     415</td></tr>
     416({/if})
     417({if $c_commu_topic_comment_list})
     418<tr><th>({$WORD_COMMUNITY})<br />最新書き込み</th><td>
     419<ul class="articleList">
     420({foreach from=$c_commu_topic_comment_list item=item})
     421<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>
     422({/foreach})
     423</ul>
     424<div class="moreInfo"><ul class="moreInfo">
     425<li><a href="({t_url m=pc a=page_h_com_comment_list})">もっと読む</a></li>
     426</ul></div>
     427</td></tr>
     428({/if})
     429({if $c_friend_review_list})
     430<tr><th>({$WORD_MY_FRIEND})<br />最新レビュー</th><td>
     431<ul class="articleList">
     432({foreach from=$c_friend_review_list item=item})
     433<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>
     434({/foreach})
     435</ul>
     436<div class="moreInfo"><ul class="moreInfo">
     437<li><a href="({t_url m=pc a=page_h_friend_review_list})">もっと読む</a></li>
     438</ul></div>
     439</td></tr>
     440({/if})
     441({if $c_friend_album_list})
     442<tr><th>({$WORD_MY_FRIEND})<br />最新アルバム</th><td>
     443<ul class="articleList">
     444({foreach from=$c_friend_album_list item=item})
     445<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>
     446({/foreach})
     447</ul>
     448<div class="moreInfo"><ul class="moreInfo">
     449<li><a href="({t_url m=pc a=page_h_album_list_friend})">もっと読む</a></li>
     450</ul></div>
     451</td></tr>
     452({/if})
     453</table>
     454</div></div>
     455({* }}} *})
     456({/if})
     457
     458({if $c_diary_list_all || $c_topic_list_all})
     459({* {{{ homeMainTable *})
     460<div class="dparts homeMainTable"><div class="parts">
     461<div class="partsHeading"><h3>全体の最新情報</h3></div>
     462<table>
    381463({if $c_diary_list_all})
    382 <tr><th>最新({$WORD_DIARY})<br />一覧</th><td>
     464<tr><th>最新({$WORD_DIARY})</th><td>
    383465<ul class="articleList">
    384466({foreach from=$c_diary_list_all item=item})
     
    391473</td></tr>
    392474({/if})
    393 ({if $c_diary_friend_list})
    394 <tr><th>({$WORD_MY_FRIEND})<br />最新({$WORD_DIARY})</th><td>
    395 <ul class="articleList">
    396 ({foreach from=$c_diary_friend_list item=item})
    397 <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>
    398 ({/foreach})
    399 </ul>
    400 <div class="moreInfo"><ul class="moreInfo">
    401 <li><a href="({t_url m=pc a=page_h_diary_list_friend})">もっと読む</a></li>
    402 </ul></div>
    403 </td></tr>
    404 ({/if})
    405 ({if $c_rss_cache_list})
    406 <tr><th>({$WORD_MY_FRIEND})<br />最新Blog</th><td>
    407 <ul class="articleList">
    408 ({foreach from=$c_rss_cache_list item=item})
    409 <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>
    410 ({/foreach})
    411 </ul>
    412 <div class="moreInfo"><ul class="moreInfo">
    413 <li><a href="({t_url m=pc a=page_h_diary_list_friend})#blog">もっと読む</a></li>
    414 </ul></div>
    415 </td></tr>
    416 ({/if})
    417 ({if $c_diary_my_comment_list})
    418 <tr><th>({$WORD_DIARY})コメント<br />記入履歴</th><td>
    419 <ul class="articleList">
    420 ({foreach from=$c_diary_my_comment_list item=item})
    421 <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>
    422 ({/foreach})
    423 </ul>
    424 <div class="moreInfo"><ul class="moreInfo">
    425 <li><a href="({t_url m=pc a=page_h_diary_comment_list})">もっと読む</a></li>
    426 </ul></div>
    427 </td></tr>
    428 ({/if})
    429475({if $c_topic_list_all})
    430 <tr><th>最新トピック<br />一覧</th><td>
     476<tr><th>({$WORD_COMMUNITY})<br />最新書き込み</th><td>
    431477<ul class="articleList">
    432478({foreach from=$c_topic_list_all item=item})
     
    439485</td></tr>
    440486({/if})
    441 ({if $c_commu_topic_comment_list})
    442 <tr><th>({$WORD_COMMUNITY})<br />最新書き込み</th><td>
    443 <ul class="articleList">
    444 ({foreach from=$c_commu_topic_comment_list item=item})
    445 <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>
    446 ({/foreach})
    447 </ul>
    448 <div class="moreInfo"><ul class="moreInfo">
    449 <li><a href="({t_url m=pc a=page_h_com_comment_list})">もっと読む</a></li>
    450 </ul></div>
    451 </td></tr>
    452 ({/if})
    453 ({if $c_friend_review_list})
    454 <tr><th>({$WORD_MY_FRIEND})<br />最新レビュー</th><td>
    455 <ul class="articleList">
    456 ({foreach from=$c_friend_review_list item=item})
    457 <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>
    458 ({/foreach})
    459 </ul>
    460 <div class="moreInfo"><ul class="moreInfo">
    461 <li><a href="({t_url m=pc a=page_h_friend_review_list})">もっと読む</a></li>
    462 </ul></div>
    463 </td></tr>
    464 ({/if})
     487</table>
     488</div></div>
     489({* }}} *})
     490({/if})
     491
     492({if $bookmark_diary_list || $bookmark_blog_list})
     493({* {{{ homeMainTable *})
     494<div class="dparts homeMainTable"><div class="parts">
     495<div class="partsHeading"><h3>お気に入りの最新情報</h3></div>
     496<table>
    465497({if $bookmark_diary_list})
    466498<tr><th>お気に入り<br />最新({$WORD_DIARY})</th><td>
     
    487519</td></tr>
    488520({/if})
    489 ({if $c_friend_album_list})
    490 <tr><th>({$WORD_MY_FRIEND})<br />最新アルバム</th><td>
    491 <ul class="articleList">
    492 ({foreach from=$c_friend_album_list item=item})
    493 <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>
    494 ({/foreach})
    495 </ul>
    496 <div class="moreInfo"><ul class="moreInfo">
    497 <li><a href="({t_url m=pc a=page_h_album_list_friend})">もっと読む</a></li>
    498 </ul></div>
    499 </td></tr>
    500 ({/if})
    501521</table>
    502522</div></div>
     
    508528({* {{{ homeMainTable *})
    509529<div class="dparts homeMainTable"><div class="parts">
    510 <div class="partsHeading"><h3>最新({$WORD_DIARY})・レビュー({if $smarty.const.OPENPNE_USE_ALBUM})・アルバム({/if})</h3></div>
     530<div class="partsHeading"><h3>({$c_member.nickname})さんの最新情報</h3></div>
    511531<table>
    512532({if $c_diary_list})
Note: See TracChangeset for help on using the changeset viewer.