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

Changeset 5161


Ignore:
Timestamp:
Feb 13, 2008, 2:36:14 PM (12 years ago)
Author:
ebihara
Message:

#1557;お気に入りリストもフレンドリストにあわせてXHTML化

Location:
OpenPNE/branches/work/ebihara/prj_xhtml_css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ebihara/prj_xhtml_css/public_html/xhtml_style.php

    r5148 r5161  
    123123}
    124124#MyData #fList ul.moreInfo,
    125 #MyData #cList ul.moreInfo {
     125#MyData #cList ul.moreInfo,
     126#MyData #bookmarkList ul.moreInfo {
    126127        width: 140px;
    127128        margin: 4px 2px 4px auto;
     
    290291}
    291292#MyData #fList,
    292 #MyData #cList {
     293#MyData #cList,
     294#MyData #bookmarkList {
    293295        margin-top: 6px;
    294296}
     
    318320}
    319321#MyData #fList table,
    320 #MyData #cList table {
     322#MyData #cList table,
     323#MyData #bookmarkList table {
    321324        width: 100%;
    322325        border: 2px solid #cccccc;
    323326}
    324327#MyData #fList table td,
    325 #MyData #cList table td {
     328#MyData #cList table td,
     329#MyData #bookmarkList td {
    326330        border: 1px solid #cccccc;
    327331        vertical-align: top;
    328332}
    329333#MyData #fList p,
    330 #MyData #cList p {
     334#MyData #cList p,
     335#MyData #bookmarkList p {
    331336        text-align: center;
    332337}
    333338#MyData #fList p.photo,
    334 #MyData #cList p.photo {
     339#MyData #cList p.photo,
     340#MyData #bookmarkList p.photo {
    335341        height: 76px;
    336342        padding: 2px;
     
    338344}
    339345#MyData #fList p.name,
    340 #MyData #cList p.name {
     346#MyData #cList p.name,
     347#MyData #bookmarkList p.name {
    341348        margin: 2px;
    342349        overflow: auto;
  • OpenPNE/branches/work/ebihara/prj_xhtml_css/webapp/modules/pc/templates/h_home.tpl

    r5160 r5161  
    377377
    378378({if $bookmark_member_list})
    379 <img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
    380 
    381379<!-- **************************************** -->
    382380<!-- ******ここから:お気に入りメンバー一覧****** -->
    383 <table border="0" cellspacing="0" cellpadding="0" style="width:268px;margin:0px auto;" class="border_07">
    384 <tr>
    385 <td>
    386 <!-- *ここから:お気に入りメンバー一覧>>内容* -->
    387 ({*ここから:header*})
    388 <!-- ここから:小タイトル -->
    389 <table border="0" cellspacing="0" cellpadding="0" style="width:268px" class="border_07">
    390 <tr>
    391 <td style="width:25px;" class="bg_06"><img src="({t_img_url_skin filename=icon_title_1})" style="width:25px;height:19px;" class="dummy"></td>
    392 <td style="width:241px;" class="bg_06"><span class="b_b c_00">お気に入りリスト</span></td>
    393 </tr>
    394 </table>
    395 <!-- ここまで:小タイトル -->
    396 ({*ここまで:header*})
    397 ({*ここから:body*})
    398 <!-- ここから:主内容 -->
     381<div class="section" id="bookmarkList">
     382<table><tr>
     383<th class="heading" colspan="3">お気に入りリスト</th>
     384</tr>
     385({********************************})
     386({**ここから:未XHTML化**})
     387({********************************})
    399388({if $smarty.const.OPENPNE_USE_FLASH_LIST})
     389<tr><td>
    400390<table border="0" cellspacing="0" cellpadding="0" style="width:266px;" class="bg_07">
    401391<tr>
    402392<td class="bg_07"><img src="./skin/dummy.gif" alt="dummy" style="width:1px;"></td>
    403393<td class="bg_03" align="center">
    404 
    405394({capture assign=flashvars})({strip})
    406395({foreach from=$bookmark_member_list item=item key=key})
     
    424413</tr>
    425414</table>
     415</td></tr>
     416({********************************})
     417({**ここまで:未XHTML化**})
     418({********************************})
    426419({else})
    427 <table border="0" cellspacing="1" cellpadding="2" style="width:268px" class="bg_07">
    428 
    429420({if $bookmark_member_list[0]})
    430 ({*1行目img*})
    431 <tr>
    432 
     421<tr>
    433422({t_loop from=$bookmark_member_list start=0 num=3})
     423<td>
    434424({if $item})
    435 <td style="width:88px;" class="bg_03" align="center">
    436 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    437 <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"></a>
    438 </td>
     425<p class="photo"><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="" /></a></p>
     426<p class="name"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"> ({$item.nickname}) (({$item.friend_count})) </a></p>
    439427({else})
    440 <td style="width:88px;" class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    441 ({/if})
     428<p class="photo"></p>
     429<p class="name"></p>
     430({/if})
     431</td>
    442432({/t_loop})
    443 
    444 </tr>
    445 
    446 ({*1行目name*})
    447 <tr>
    448 
    449 ({t_loop from=$bookmark_member_list start=0 num=3})
     433</tr>
     434({/if})
     435({*************************************************************})
     436({if $bookmark_member_list[3]})
     437<tr>
     438({t_loop from=$bookmark_member_list start=3 num=3})
     439<td>
    450440({if $item})
    451 <td class="bg_02" align="center">
    452 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    453 ({$item.nickname}) (({$item.friend_count}))
    454 </a>
    455 </td>
     441<p class="photo"><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="" /></a></p>
     442<p class="name"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"> ({$item.nickname}) (({$item.friend_count})) </a></p>
    456443({else})
    457 <td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    458 ({/if})
     444<p class="photo"></p>
     445<p class="name"></p>
     446({/if})
     447</td>
    459448({/t_loop})
    460 
    461 </tr>
    462 
    463 ({/if})
    464 
     449</tr>
     450({/if})
    465451({*************************************************************})
    466 
    467 ({if $bookmark_member_list[3]})
    468 <!-- 2行目img -->
    469 <tr>
    470 
    471 ({t_loop from=$bookmark_member_list start=3 num=3})
     452({if $bookmark_member_list[6]})
     453<tr>
     454({t_loop from=$bookmark_member_list start=6 num=3})
     455<td>
    472456({if $item})
    473 <td class="bg_03" align="center">
    474 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    475 <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"></a>
    476 </td>
     457<p class="photo"><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="" /></a></p>
     458<p class="name"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"> ({$item.nickname}) (({$item.friend_count})) </a></p>
    477459({else})
    478 <td class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    479 ({/if})
     460<p class="photo"></p>
     461<p class="name"></p>
     462({/if})
     463</td>
    480464({/t_loop})
    481 
    482 </tr>
    483 
    484 <!-- 2行目name -->
    485 <tr>
    486 
    487 ({t_loop from=$bookmark_member_list start=3 num=3})
    488 ({if $item})
    489 <td class="bg_02" align="center">
    490 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    491 ({$item.nickname}) (({$item.friend_count}))
    492 </a>
    493 </td>
    494 ({else})
    495 <td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    496 ({/if})
    497 ({/t_loop})
    498 
    499 </tr>
    500 
    501 ({/if})
    502 
    503 ({*************************************************************})
    504 
    505 ({if $bookmark_member_list[6]})
    506 <!-- 3行目img -->
    507 <tr>
    508 
    509 ({t_loop from=$bookmark_member_list start=6 num=3})
    510 ({if $item})
    511 <td class="bg_03" align="center">
    512 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    513 <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" class="pict"></a>
    514 </td>
    515 ({else})
    516 <td class="bg_03"><img src="./skin/dummy.gif" alt="dummy" style="width:84px;height:84px;" class="dummy"></td>
    517 ({/if})
    518 ({/t_loop})
    519 
    520 </tr>
    521 
    522 <!-- 3行目name -->
    523 <tr>
    524 
    525 ({t_loop from=$bookmark_member_list start=6 num=3})
    526 ({if $item})
    527 <td class="bg_02" align="center">
    528 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    529 ({$item.nickname}) (({$item.friend_count}))
    530 </a>
    531 </td>
    532 ({else})
    533 <td class="bg_02" align="center"><img src="./skin/dummy.gif" alt="dummy" style="height:1em;" class="dummy"></td>
    534 ({/if})
    535 ({/t_loop})
    536 
    537 </tr>
    538 
    539 ({/if})
    540 
    541 </table>
    542 ({/if})
    543 
    544 <!-- ここまで:主内容 -->
    545 ({*ここまで:body*})
    546 ({*ここから:footer*})
    547 <!-- ここから:小メニュー -->
    548 <table border="0" cellspacing="0" cellpadding="0" style="width:268px">
    549 <tr>
    550 <td style="width:1px;" class="bg_07" rowspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    551 <td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" alt="dummy" style="width:266px;height:5px;" class="dummy"></td>
    552 <td style="width:1px;" class="bg_07" rowspan="3"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    553 </tr>
    554 <tr>
    555 <td style="width:125px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:125px;height:1px;" class="dummy"></td>
    556 <td style="width:20px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" class="icon arrow_1"></td>
    557 <td align="left" style="width:116px;padding:2px 0px;" class="bg_02 lh_110">
    558 <a href="({t_url m=pc a=page_h_bookmark_list})">全てを見る(({$bookmark_count}))</a>
    559 </td>
    560 <td style="width:5px;" class="bg_02"><img src="./skin/dummy.gif" alt="dummy" style="width:5px;height:1px;" class="dummy"></td>
    561 </tr>
    562 <tr>
    563 <td style="width:266px;" class="bg_02" colspan="4"><img src="./skin/dummy.gif" alt="dummy" style="width:266px;height:5px;" class="dummy"></td>
    564 </tr>
    565 <tr>
    566 <td style="width:268px;" class="bg_07" colspan="6"><img src="./skin/dummy.gif" alt="dot" class="dot"></td>
    567 </tr>
    568 </table>
    569 <!-- ここまで:小メニュー -->
    570 ({*ここまで:footer*})
    571 <!-- *ここまで:お気に入りメンバー一覧>>内容* -->
    572 </td>
    573 </tr>
    574 </table>
    575 
     465</tr>
     466({/if})
     467<tr>
     468<td class="footer" colspan="3">
     469<ul class="moreInfo">
     470<li><a href="({t_url m=pc a=page_h_bookmark_list})">全てを見る(({$bookmark_count}))</a></li>
     471</ul>
     472</td> </tr>
     473({/if})
     474</table>
     475</div>
    576476<!-- ******ここまで:お気に入りメンバー一覧****** -->
    577477<!-- **************************************** -->
    578478({/if})
    579 
    580 <img src="./skin/dummy.gif" alt="dummy" class="v_spacer_m">
    581479
    582480({if $inc_entry_point[7]})
Note: See TracChangeset for help on using the changeset viewer.