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

Changeset 5951


Ignore:
Timestamp:
Mar 21, 2008, 9:01:17 PM (14 years ago)
Author:
ogawa
Message:

#1950:friendIntroList(フレンド紹介文リスト)をXHTML+CSS化を修正

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

Legend:

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

    r5947 r5951  
    10171017        padding: 6px 2px;
    10181018}
     1019.friendIntroList p.text {
     1020        margin-bottom: 1em;
     1021}
    10191022
    10201023/*==============================================================================
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/fh_intro.tpl

    r5930 r5951  
    55<div class="dparts friendIntroList"><div class="parts">
    66<div class="partsHeading"><h3>({$WORD_FRIEND})からの紹介文</h3></div>
    7 
     7<table>
    88({foreach from=$intro_list item=item})
    9 <table><tr>
    10 <th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"><br>({$item.nickname})</a></th>
    11 <td>({$item.intro|t_url2a|nl2br})
     9<tr>
     10<th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /><br />({$item.nickname})</a></th>
     11<td><p class="text">({$item.intro|t_url2a|nl2br})</p>
     12<ul>
    1213({if $target_member.c_member_id==$member.c_member_id})
    1314({if !$item.has_intro_by_me})
    14 <br><a href="({t_url m=pc a=page_f_intro_edit})&amp;target_c_member_id=({$item.c_member_id})">この({$WORD_MY_FRIEND})を紹介する</a>
     15<li><a href="({t_url m=pc a=page_f_intro_edit})&amp;target_c_member_id=({$item.c_member_id})">この({$WORD_MY_FRIEND})を紹介する</a></li>
    1516({/if})
    16 <br><a href="({t_url m=pc a=do_f_intro_from_delete})&amp;target_c_member_id=({$item.c_member_id})&amp;sessid=({$PHPSESSID})">削除</a>
     17<li><a href="({t_url m=pc a=do_f_intro_from_delete})&amp;target_c_member_id=({$item.c_member_id})&amp;sessid=({$PHPSESSID})">紹介文を削除する</a></li>
    1718({/if})
    1819({if $item.c_member_id==$member.c_member_id})
    19 <br><a href="({t_url m=pc a=page_f_intro_edit})&amp;target_c_member_id=({$target_member.c_member_id})">編集</a>
    20 <br><a href="({t_url m=pc a=page_f_intro_delete_confirm})&amp;target_c_member_id=({$target_member.c_member_id})&amp;sessid=({$PHPSESSID})">削除</a>
     20<li><a href="({t_url m=pc a=page_f_intro_edit})&amp;target_c_member_id=({$target_member.c_member_id})">紹介文を編集する</a></li>
     21<li><a href="({t_url m=pc a=page_f_intro_delete_confirm})&amp;target_c_member_id=({$target_member.c_member_id})&amp;sessid=({$PHPSESSID})">紹介文を削除する</a></li>
    2122({/if})
     23</ul>
    2224</td>
    23 </tr></table>
     25</tr>
    2426({/foreach})
     27</table>
    2528</div></div>
    2629({* }}} *})
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/h_home.tpl

    r5931 r5951  
    589589
    590590({if $inc_entry_point[11]})({$inc_entry_point[11]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
     591
    591592({if $c_friend_intro_list})
    592 
    593593({* {{{ friendIntroList *})
    594594<div class="dparts friendIntroList"><div class="parts">
    595595<div class="partsHeading"><h3>({$WORD_MY_FRIEND})からの紹介文</h3></div>
    596 
     596<table>
    597597({foreach from=$c_friend_intro_list item=item})
    598 <table><tr>
    599 <th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"><br>({$item.nickname})</a></th>
     598<tr>
     599<th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /><br />({$item.nickname})</a></th>
    600600<td>({$item.intro|t_truncate:36:"":3})</td>
    601 </tr></table>
    602 ({/foreach})
     601</tr>
     602({/foreach})
     603</table>
    603604<div class="block moreInfo">
    604605<ul class="moreInfo">
     
    609610</div></div>
    610611({* }}} *})
    611 
    612 ({/if})
     612({/if})
     613
    613614({if $inc_entry_point[12]})({$inc_entry_point[12]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
    614615
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/inc_f_home_h_prof.tpl

    r5932 r5951  
    455455({if $c_friend_comment_list})
    456456({* {{{ friendIntroList *})
    457 
    458457<div class="dparts friendIntroList"><div class="parts">
    459458<div class="partsHeading"><h3>({$WORD_FRIEND})からの紹介文</h3></div>
     459<table>
    460460({foreach from=$c_friend_comment_list item=item})
    461 <table><tr>
    462 <th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"><br>({$item.nickname})</a></th>
     461<tr>
     462<th><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="" /><br />({$item.nickname})</a></th>
    463463<td>({$item.intro|t_truncate:36:"":3})</td>
    464 </tr></table>
    465 ({/foreach})
     464</tr>
     465({/foreach})
     466</table>
    466467<div class="block moreInfo">
    467468<ul class="moreInfo">
     
    471472</div></div>
    472473({* }}} *})
    473 
    474474({/if})
    475475
Note: See TracChangeset for help on using the changeset viewer.