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

Changeset 2562


Ignore:
Timestamp:
Apr 13, 2007, 9:04:16 PM (13 years ago)
Author:
nakagawa
Message:

テンプレート編集

Location:
OpenPNE/branches/prj_css3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj_css3/public_html/css/prj_css.css

    r2554 r2562  
    1111img , a {
    1212        border: none 0px ;
     13}
     14
     15ul ,li ,dl ,dt ,dd {
     16        margin: 0;
     17        padding: 0;
    1318}
    1419
     
    6166a:active  { color: #76AFE6; }
    6267
    63 h1 , h2 {
     68h1 ,h2 ,h3 {
    6469        margin: 0;
    6570        padding: 0;
     
    750755
    751756#pne_friend_list div.pne_friend_list ,
    752 #pne_community_list div.pne_community_list {
     757#pne_community_list div.pne_community_list ,
     758#pne_friend_list div.pne_friend_list ul ,
     759#pne_community_list div.pne_community_list ul {
    753760        width: 268px ;
    754761}
    755762
    756 #pne_friend_list div.pne_friend_list table ,
    757 #pne_community_list div.pne_community_list table {
    758         width: 268px ;
    759 }
    760 
    761 #pne_friend_list div.pne_friend_list table tr.pne_row_1_picture td.pne_col_1 ,
    762 #pne_friend_list div.pne_friend_list table tr.pne_row_1_picture td.pne_col_2 ,
    763 #pne_friend_list div.pne_friend_list table tr.pne_row_2_picture td.pne_col_1 ,
    764 #pne_friend_list div.pne_friend_list table tr.pne_row_2_picture td.pne_col_2 ,
    765 #pne_friend_list div.pne_friend_list table tr.pne_row_3_picture td.pne_col_1 ,
    766 #pne_friend_list div.pne_friend_list table tr.pne_row_3_picture td.pne_col_2 ,
    767 #pne_community_list div.pne_community_list table tr.pne_row_1_picture td.pne_col_1 ,
    768 #pne_community_list div.pne_community_list table tr.pne_row_1_picture td.pne_col_2 ,
    769 #pne_community_list div.pne_community_list table tr.pne_row_2_picture td.pne_col_1 ,
    770 #pne_community_list div.pne_community_list table tr.pne_row_2_picture td.pne_col_2 ,
    771 #pne_community_list div.pne_community_list table tr.pne_row_3_picture td.pne_col_1 ,
    772 #pne_community_list div.pne_community_list table tr.pne_row_3_picture td.pne_col_2 {
    773         width: 89px ;
    774         padding: 5px 0 ;
    775         border: #B7B9C6 1px solid ;
    776         border-top: none ;
    777         border-left: none ;
    778         text-align: center ;
    779         background: #FFFFFF ;
    780 }
    781 
    782 #pne_friend_list div.pne_friend_list table tr.pne_row_1_picture td.pne_col_3 ,
    783 #pne_friend_list div.pne_friend_list table tr.pne_row_2_picture td.pne_col_3 ,
    784 #pne_friend_list div.pne_friend_list table tr.pne_row_3_picture td.pne_col_3 ,
    785 #pne_community_list div.pne_community_list table tr.pne_row_1_picture td.pne_col_3 ,
    786 #pne_community_list div.pne_community_list table tr.pne_row_2_picture td.pne_col_3 ,
    787 #pne_community_list div.pne_community_list table tr.pne_row_3_picture td.pne_col_3 {
     763#pne_friend_list div.pne_friend_list ul li ,
     764#pne_community_list div.pne_community_list ul li {
     765        height: 116px ;
     766        border-bottom: #B7B9C6 1px solid ;
     767        overflow: hidden;
     768        float: left;
     769}
     770
     771#pne_friend_list div.pne_friend_list ul li.pne_item_1 ,
     772#pne_friend_list div.pne_friend_list ul li.pne_item_2 ,
     773#pne_friend_list div.pne_friend_list ul li.pne_item_4 ,
     774#pne_friend_list div.pne_friend_list ul li.pne_item_5 ,
     775#pne_friend_list div.pne_friend_list ul li.pne_item_7 ,
     776#pne_friend_list div.pne_friend_list ul li.pne_item_8 ,
     777#pne_community_list div.pne_community_list ul li.pne_item_1 ,
     778#pne_community_list div.pne_community_list ul li.pne_item_2 ,
     779#pne_community_list div.pne_community_list ul li.pne_item_4 ,
     780#pne_community_list div.pne_community_list ul li.pne_item_5 ,
     781#pne_community_list div.pne_community_list ul li.pne_item_7 ,
     782#pne_community_list div.pne_community_list ul li.pne_item_8 {
     783        width: 88px;
     784        border-right: #B7B9C6 1px solid ;
     785}
     786
     787#pne_friend_list div.pne_friend_list ul li.pne_item_3 ,
     788#pne_friend_list div.pne_friend_list ul li.pne_item_6 ,
     789#pne_friend_list div.pne_friend_list ul li.pne_item_9 ,
     790#pne_community_list div.pne_community_list ul li.pne_item_3 ,
     791#pne_community_list div.pne_community_list ul li.pne_item_6 ,
     792#pne_community_list div.pne_community_list ul li.pne_item_9 {
     793        width: 90px;
     794}
     795
     796#pne_friend_list div.pne_friend_list ul li dl dd ,
     797#pne_community_list div.pne_community_list ul li dl dd {
     798        display: none;
     799}
     800
     801
     802#pne_friend_list div.pne_friend_list ul li dl dt a ,
     803#pne_community_list div.pne_community_list ul li dl dt a {
     804        display: block;
     805        padding: 86px 0 0 0;
     806        height: 30px;
     807        overflow: hidden;
     808        background: url(../skin_prj_css/test_no_image.gif) 50% 5px no-repeat ;
     809}
     810
     811#pne_friend_list div.pne_friend_list ul li a span.pne_name ,
     812#pne_community_list div.pne_community_list ul li a span.pne_name {
     813        display: block;
     814        border-top: #B7B9C6 1px solid ;
     815        padding: 2px 0 3px 0;
     816        height: 30px;
     817        line-height: 200%;
     818        text-align: center;
     819}
     820
     821#pne_friend_list div.pne_friend_list ul li.pne_item_dummy_2 ,
     822#pne_friend_list div.pne_friend_list ul li.pne_item_dummy_5 ,
     823#pne_friend_list div.pne_friend_list ul li.pne_item_dummy_8 ,
     824#pne_community_list div.pne_community_list ul li.pne_item_dummy_2 ,
     825#pne_community_list div.pne_community_list ul li.pne_item_dummy_5 ,
     826#pne_community_list div.pne_community_list ul li.pne_item_dummy_8 {
     827        width: 88px ;
     828        border-right: #B7B9C6 1px solid ;
     829}
     830
     831#pne_friend_list div.pne_friend_list ul li.pne_item_dummy_3 ,
     832#pne_friend_list div.pne_friend_list ul li.pne_item_dummy_6 ,
     833#pne_friend_list div.pne_friend_list ul li.pne_item_dummy_9 ,
     834#pne_community_list div.pne_community_list ul li.pne_item_dummy_3 ,
     835#pne_community_list div.pne_community_list ul li.pne_item_dummy_6 ,
     836#pne_community_list div.pne_community_list ul li.pne_item_dummy_9 {
    788837        width: 90px ;
    789         padding: 5px 0 ;
    790         border-bottom: #B7B9C6 1px solid ;
    791         text-align: center ;
    792         background: #FFFFFF ;
    793 }
    794 
    795 #pne_friend_list div.pne_friend_list table tr.pne_row_1_name td.pne_col_1 ,
    796 #pne_friend_list div.pne_friend_list table tr.pne_row_1_name td.pne_col_2 ,
    797 #pne_friend_list div.pne_friend_list table tr.pne_row_2_name td.pne_col_1 ,
    798 #pne_friend_list div.pne_friend_list table tr.pne_row_2_name td.pne_col_2 ,
    799 #pne_friend_list div.pne_friend_list table tr.pne_row_3_name td.pne_col_1 ,
    800 #pne_friend_list div.pne_friend_list table tr.pne_row_3_name td.pne_col_2 ,
    801 #pne_community_list div.pne_community_list table tr.pne_row_1_name td.pne_col_1 ,
    802 #pne_community_list div.pne_community_list table tr.pne_row_1_name td.pne_col_2 ,
    803 #pne_community_list div.pne_community_list table tr.pne_row_2_name td.pne_col_1 ,
    804 #pne_community_list div.pne_community_list table tr.pne_row_2_name td.pne_col_2 ,
    805 #pne_community_list div.pne_community_list table tr.pne_row_3_name td.pne_col_1 ,
    806 #pne_community_list div.pne_community_list table tr.pne_row_3_name td.pne_col_2 {
    807         width: 89px ;
    808         padding: 5px 0 ;
    809         border: #B7B9C6 1px solid ;
    810         border-top: none ;
    811         border-left: none ;
    812         text-align: center ;
    813         background: #FFFFFF ;
    814         font-weight: normal ;
    815 }
    816 
    817 #pne_friend_list div.pne_friend_list table tr.pne_row_1_name td.pne_col_3 ,
    818 #pne_friend_list div.pne_friend_list table tr.pne_row_2_name td.pne_col_3 ,
    819 #pne_friend_list div.pne_friend_list table tr.pne_row_3_name td.pne_col_3 ,
    820 #pne_community_list div.pne_community_list table tr.pne_row_1_name td.pne_col_3 ,
    821 #pne_community_list div.pne_community_list table tr.pne_row_2_name td.pne_col_3 ,
    822 #pne_community_list div.pne_community_list table tr.pne_row_3_name td.pne_col_3 {
    823         width: 90px ;
    824         padding: 5px 0 ;
    825         border-bottom: #B7B9C6 1px solid ;
    826         text-align: center ;
    827         background: #FFFFFF ;
    828         font-weight: normal ;
     838}
     839
     840#pne_friend_list div.pne_friend_list ul li.pne_item_dummy ,
     841#pne_community_list div.pne_community_list ul li.pne_item_dummy {
     842        padding: 86px 0 0 0;
     843        height: 30px;
     844        overflow: hidden;
     845}
     846
     847#pne_friend_list div.pne_friend_list ul li.pne_item_dummy dl dd ,
     848#pne_community_list div.pne_community_list ul li.pne_item_dummy dl dd {
     849        display: block;
     850        border-top: #B7B9C6 1px solid ;
     851        height: 29px;
     852        overflow: hidden;
     853}
     854
     855#pne_friend_list div.pne_friend_list ul li.pne_item_dummy dl dd img ,
     856#pne_community_list div.pne_community_list ul li.pne_item_dummy dl dd img {
     857        display: none;
     858}
     859
     860#pne_friend_list div.pne_friend_list ul li.pne_item_dummy dl dt ,
     861#pne_community_list div.pne_community_list ul li.pne_item_dummy dl dt {
     862        display: none;
    829863}
    830864
     
    833867        padding: 5px 0 7px 130px ;
    834868        width: 138px ;
     869        clear: both;
    835870}
    836871
    837872#pne_friend_list div.pne_friend_list_footer ul ,
    838873#pne_community_list div.pne_community_list_footer ul {
    839         margin: 0 ;
    840         padding: 0 ;
    841874}
    842875
    843876#pne_friend_list div.pne_friend_list_footer li ,
    844877#pne_community_list div.pne_community_list_footer li {
    845         margin: 0 ;
    846878        padding: 1px 0 1px 18px ;
    847879        background: url(../skin_prj_css/icon_arrow_1.gif) 0 2px no-repeat ;
     
    882914}
    883915
    884 #pne_calendar table.pne_calendar_main {
    885         width: 424px ;
    886 }
    887 
    888 #pne_calendar td.pne_calendar_main_line_Sun ,
    889 #pne_calendar td.pne_calendar_main_line_Mon ,
    890 #pne_calendar td.pne_calendar_main_line_Tue ,
    891 #pne_calendar td.pne_calendar_main_line_Wed ,
    892 #pne_calendar td.pne_calendar_main_line_Thu ,
    893 #pne_calendar td.pne_calendar_main_line_Fri {
    894         width: 60px ;
    895         border: #B7B9C6 1px solid ;
    896         border-top: none ;
    897         border-right: none ;
    898         border-bottom: none ;
    899         padding: 3px ;
    900         background: #FFFFFF ;
    901 }
    902 
    903 #pne_calendar td.pne_calendar_main_line_Sat {
    904         width: 60px ;
     916#pne_calendar div.pne_calendar_main {
     917        position: relative;
     918        width: 422px ;
     919        height: 100%;
    905920        border: #B7B9C6 1px solid ;
    906921        border-top: none ;
    907922        border-bottom: none ;
     923}
     924
     925#pne_calendar div.pne_calendar_main ul {
     926        width: 422px ;
     927        height: 100%;
     928        overflow: hidden;
     929}
     930
     931#pne_calendar div.pne_calendar_main ul:after {
     932        content: "";
     933        display: block;
     934        width: 422px ;
     935        height: 0;
     936        overflow: hidden;
     937        clear: both;
     938}
     939
     940#pne_calendar div.pne_calendar_main ul li {
    908941        padding: 3px ;
    909         background: #FFFFFF ;
    910         color: #pne_0000FF ;
    911 }
    912 
    913 #pne_calendar td.pne_calendar_main_line_Sun {
     942        /*height: 60px;*/
     943        float: left;
     944}
     945
     946#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Sun ,
     947#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Mon ,
     948#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Tue ,
     949#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Wed ,
     950#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Thu ,
     951#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Fri {
     952        width: 53px ;
     953        border-right: #B7B9C6 1px solid ;
     954}
     955
     956#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Sun {
    914957        color: #FF0000 ;
    915958}
    916959
    917 #pne_calendar span.pne_calendar_main_line_Today {
     960#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_Sat {
     961        width: 55px ;
     962        color: #0000FF ;
     963}
     964
     965#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Sun_body ,
     966#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Mon_body ,
     967#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Tue_body ,
     968#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Wed_body ,
     969#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Thu_body ,
     970#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Fri_body ,
     971#pne_calendar div.pne_calendar_main ui.pne_calendar_main_line_Sat_body {
     972        position: absolute;
     973        visibility: hidden;
     974}
     975
     976#pne_calendar div.pne_calendar_main li ul.pne_holiday ,
     977#pne_calendar div.pne_calendar_main li ul.pne_birth ,
     978#pne_calendar div.pne_calendar_main li ul.pne_event ,
     979#pne_calendar div.pne_calendar_main li ul.pne_schedule {
     980        display: block;
     981}
     982
     983#pne_calendar div.pne_calendar_main li ul.pne_holiday li ,
     984#pne_calendar div.pne_calendar_main li ul.pne_birth li ,
     985#pne_calendar div.pne_calendar_main li ul.pne_event li ,
     986#pne_calendar div.pne_calendar_main li ul.pne_schedule li {
     987        display: block;
     988        width: 200px;
     989}
     990
     991#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_is_today span.pne_month ,
     992#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_is_today span.pne_day ,
     993#pne_calendar div.pne_calendar_main li.pne_calendar_main_line_is_today span.pne_dayofweek {
    918994        font-weight: bold ;
    919995}
     
    921997#pne_calendar div.pne_calendar_footer {
    922998        padding: 5px 0 5px 300px ;
    923 }
    924 
    925 #pne_calendar div.pne_calendar_footer span {
     999        clear: both;
     1000}
     1001
     1002#pne_calendar div.pne_calendar_footer ul li a {
    9261003        padding: 1px 0 1px 18px ;
    927         background: url(../skin_prj_css/icon_arrow_1.gif) 0 2px no-repeat ;
     1004        background: url(../skin_prj_css/icon_arrow_1.gif) 0 50% no-repeat;
    9281005}
    9291006
  • OpenPNE/branches/prj_css3/webapp/modules/pc/templates/h_home.tpl

    r2554 r2562  
    252252({else})
    253253
    254 <table border="0" cellspacing="0" cellpadding="0">
    255 
    256 ({if $c_friend_list[0]})
    257 <tr class="pne_row_1_picture">
    258 
    259 ({assign var="counter" value=1})
    260 
    261 ({t_loop from=$c_friend_list start=0 num=3})
    262 <td class="pne_col_({$counter})">
    263 
     254<ul>
     255({foreach from=$c_friend_list item=item name=cfl})
    264256({if $item})
     257<li class="pne_item_({$smarty.foreach.cfl.iteration})({if $smarty.foreach.cfl.last}) pne_item_last_({$smarty.foreach.cfl.iteration})({/if})">
     258<dl>
     259<dt><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})"><span class="pne_name"><span class="pne_nickname">({$item.nickname})</span><span class="pne_friend_count">(({$item.friend_count}))</span></span></a></dt>
     260<dd>
    265261<a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    266262<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="({$item.nickname}) (({$item.friend_count}))" title="({$item.nickname}) (({$item.friend_count}))" /></a>
    267 ({else})
    268 <img src="./skin_prj_css/dummy.gif" class="pne_dummy" />
    269 ({/if})
    270 
    271 </td>
    272 ({assign var="counter" value=$counter+1})
    273 
    274 ({/t_loop})
    275 
    276 </tr>
    277 
    278 <tr class="pne_row_1_name">
    279 
    280 ({assign var="counter" value=1})
    281 
    282 ({t_loop from=$c_friend_list start=0 num=3})
    283 <td class="pne_col_({$counter})">
    284 
    285 ({if $item})
    286 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})<span>(({$item.friend_count}))</span></a>
    287 ({else})&nbsp;({/if})
    288 
    289 </td>
    290 ({assign var="counter" value=$counter+1})
    291 
    292 ({/t_loop})
    293 
    294 </tr>
    295 ({/if})
    296 
    297 ({if $c_friend_list[3]})
    298 <tr class="pne_row_2_picture">
    299 
    300 ({assign var="counter" value=1})
    301 
    302 ({t_loop from=$c_friend_list start=3 num=3})
    303 <td class="pne_col_({$counter})">
    304 
    305 ({if $item})
    306 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    307 <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="({$item.nickname}) (({$item.friend_count}))" title="({$item.nickname}) (({$item.friend_count}))" /></a>
    308 ({else})
    309 <img src="./skin_prj_css/dummy.gif" class="pne_dummy" />
    310 ({/if})
    311 
    312 </td>
    313 ({assign var="counter" value=$counter+1})
    314 
    315 ({/t_loop})
    316 
    317 </tr>
    318 
    319 <tr class="pne_row_2_name">
    320 
    321 ({assign var="counter" value=1})
    322 
    323 ({t_loop from=$c_friend_list start=3 num=3})
    324 <td class="pne_col_({$counter})">
    325 
    326 ({if $item})
    327 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})<span>(({$item.friend_count}))</span></a>
    328 ({else})&nbsp;({/if})
    329 
    330 </td>
    331 ({assign var="counter" value=$counter+1})
    332 
    333 ({/t_loop})
    334 
    335 </tr>
    336 ({/if})
    337 
    338 ({if $c_friend_list[6]})
    339 <tr class="pne_row_3_picture">
    340 
    341 ({assign var="counter" value=1})
    342 
    343 ({t_loop from=$c_friend_list start=6 num=3})
    344 <td class="pne_col_({$counter})">
    345 
    346 ({if $item})
    347 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">
    348 <img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_image})" alt="({$item.nickname}) (({$item.friend_count}))" title="({$item.nickname}) (({$item.friend_count}))" /></a>
    349 ({else})
    350 <img src="./skin_prj_css/dummy.gif" class="pne_dummy" />
    351 ({/if})
    352 
    353 </td>
    354 ({assign var="counter" value=$counter+1})
    355 
    356 ({/t_loop})
    357 
    358 </tr>
    359 
    360 <tr class="pne_row_3_name">
    361 
    362 ({assign var="counter" value=1})
    363 
    364 ({t_loop from=$c_friend_list start=6 num=3})
    365 <td class="pne_col_({$counter})">
    366 
    367 ({if $item})
    368 <a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item.c_member_id})">({$item.nickname})<span>(({$item.friend_count}))</span></a>
    369 ({else})&nbsp;({/if})
    370 
    371 </td>
    372 ({assign var="counter" value=$counter+1})
    373 
    374 ({/t_loop})
    375 
    376 </tr>
    377 ({/if})
    378 
    379 </table>
     263</dd>
     264</dl>
     265</li>
     266({/if})
     267({/foreach})
     268
     269({capture name=no_item_friend})
     270<dl>
     271<dt>空のメンバー</dt>
     272<dd><img src="({t_img_url filename=$no_item.image_filename w=76 h=76 noimg=no_image})" alt="空のメンバー" title="空のメンバー" /></dd>
     273</dl>
     274({/capture})
     275
     276({if $smarty.foreach.cfl.iteration==1 || $smarty.foreach.cfl.iteration==2})
     277({if $smarty.foreach.cfl.iteration!=2})
     278<li class="pne_item_dummy pne_item_dummy_2">({$smarty.capture.no_item_friend|smarty:nodefaults})</li>
     279({/if})
     280<li class="pne_item_dummy pne_item_dummy_3">({$smarty.capture.no_item_friend|smarty:nodefaults})</li>
     281({/if})
     282
     283({if $smarty.foreach.cfl.iteration==4 ||  $smarty.foreach.cfl.iteration==5})
     284({if $smarty.foreach.cfl.iteration!=5})
     285<li class="pne_item_dummy pne_item_dummy_5">({$smarty.capture.no_item_friend|smarty:nodefaults})</li>
     286({/if})
     287<li class="pne_item_dummy pne_item_dummy_6">({$smarty.capture.no_item_friend|smarty:nodefaults})</li>
     288({/if})
     289
     290({if $smarty.foreach.cfl.iteration==7 ||  $smarty.foreach.cfl.iteration==8})
     291({if $smarty.foreach.cfl.iteration!=8})
     292<li class="pne_item_dummy pne_item_dummy_8">({$smarty.capture.no_item_friend|smarty:nodefaults})</li>
     293({/if})
     294<li class="pne_item_dummy pne_item_dummy_9">({$smarty.capture.no_item_friend|smarty:nodefaults})</li>
     295({/if})
     296
     297</ul>
    380298
    381299({/if})
     
    450368({else})
    451369
    452 <table border="0" cellspacing="0" cellpadding="0">
    453 
    454 ({if $c_commu_user_list[0]})
    455 
    456 <tr class="pne_row_1_picture">
    457 
    458 ({assign var="counter" value=1})
    459 
    460 ({t_loop from=$c_commu_user_list start=0 num=3})
    461 
    462 <td class="pne_col_({$counter})">
    463 
     370<ul>
     371({foreach from=$c_commu_user_list item=item name=ccul})
    464372({if $item})
     373<li class="pne_item_({$smarty.foreach.ccul.iteration})({if $smarty.foreach.ccul.last}) pne_item_last_({$smarty.foreach.ccul.iteration})({/if})">
     374<dl>
     375<dt><a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})"><span class="pne_name"><span class="pne_community_name">({$item.name})</span><span class="pne_count_community_members">(({$item.count_commu_members}))</span></span></a></dt>
     376<dd>
    465377<a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    466 <img src="./skin_prj_css/test_no_image.gif" alt="({$item.name}) (({$item.count_commu_members}))" title="({$item.name}) (({$item.count_commu_members}))" /></a>
    467 ({else})
    468 <img src="./skin_prj_css/dummy.gif" class="pne_dummy" />
    469 ({/if})
    470 
    471 </td>
    472 
    473 ({assign var="counter" value=$counter+1})
    474 
    475 ({/t_loop})
    476 
    477 </tr>
    478 
    479 <tr class="pne_row_1_name">
    480 
    481 ({assign var="counter" value=1})
    482 
    483 ({t_loop from=$c_commu_user_list start=0 num=3})
    484 
    485 <td class="pne_col_({$counter})">
    486 
    487 ({if $item})
    488 <a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name})<span>(({$item.count_commu_members}))</span></a>
    489 ({else})&nbsp;({/if})
    490 
    491 </td>
    492 
    493 ({assign var="counter" value=$counter+1})
    494 
    495 ({/t_loop})
    496 
    497 </tr>
    498 
    499 ({/if})
    500 
    501 ({if $c_commu_user_list[3]})
    502 
    503 <tr class="pne_row_2_picture">
    504 
    505 ({assign var="counter" value=1})
    506 
    507 ({t_loop from=$c_commu_user_list start=3 num=3})
    508 
    509 <td class="pne_col_({$counter})">
    510 
    511 ({if $item})
    512 <a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    513 <img src="./skin_prj_css/test_no_image.gif" alt="({$item.name}) (({$item.count_commu_members}))" title="({$item.name}) (({$item.count_commu_members}))" /></a>
    514 ({else})
    515 <img src="./skin_prj_css/dummy.gif" class="pne_dummy" />
    516 ({/if})
    517 
    518 </td>
    519 
    520 ({assign var="counter" value=$counter+1})
    521 
    522 ({/t_loop})
    523 
    524 </tr>
    525 
    526 <tr class="pne_row_2_name">
    527 
    528 ({assign var="counter" value=1})
    529 
    530 ({t_loop from=$c_commu_user_list start=3 num=3})
    531 
    532 <td class="pne_col_({$counter})">
    533 
    534 ({if $item})
    535 <a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name})<span>(({$item.count_commu_members}))</span></a>
    536 ({else})&nbsp;({/if})
    537 
    538 </td>
    539 
    540 ({assign var="counter" value=$counter+1})
    541 
    542 ({/t_loop})
    543 
    544 </tr>
    545 
    546 ({/if})
    547 
    548 ({if $c_commu_user_list[6]})
    549 
    550 <tr class="pne_row_3_picture">
    551 
    552 ({assign var="counter" value=1})
    553 
    554 ({t_loop from=$c_commu_user_list start=6 num=3})
    555 
    556 <td class="pne_col_({$counter})">
    557 
    558 ({if $item})
    559 <a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">
    560 <img src="./skin_prj_css/test_no_image.gif" alt="({$item.name}) (({$item.count_commu_members}))" title="({$item.name}) (({$item.count_commu_members}))" /></a>
    561 ({else})
    562 <img src="./skin_prj_css/dummy.gif" class="pne_dummy" />
    563 ({/if})
    564 
    565 </td>
    566 
    567 ({assign var="counter" value=$counter+1})
    568 
    569 ({/t_loop})
    570 
    571 </tr>
    572 
    573 <tr class="pne_row_3_name">
    574 
    575 ({assign var="counter" value=1})
    576 
    577 ({t_loop from=$c_commu_user_list start=6 num=3})
    578 
    579 <td class="pne_col_({$counter})">
    580 
    581 ({if $item})
    582 <a href="({t_url m=pc a=page_c_home})&amp;target_c_commu_id=({$item.c_commu_id})">({$item.name})<span>(({$item.count_commu_members}))</span></a>
    583 ({else})&nbsp;({/if})
    584 
    585 </td>
    586 
    587 ({assign var="counter" value=$counter+1})
    588 
    589 ({/t_loop})
    590 
    591 </tr>
    592 
    593 ({/if})
    594 
    595 </table>
     378<img src="({t_img_url filename=$item.image_filename w=76 h=76 noimg=no_logo_small})" alt="({$item.name}) (({$item.count_commu_members}))" title="({$item.name}) (({$item.count_commu_members}))" /></a>
     379</dd>
     380</dl>
     381</li>
     382({/if})
     383({/foreach})
     384
     385({capture name=no_item_community})
     386<dl>
     387<dt>空のコミュニティ</dt>
     388<dd><img src="({t_img_url filename=$no_item.image_filename w=76 h=76 noimg=no_logo_small})" alt="空のコミュニティ" title="空のコミュニティ" /></dd>
     389</dl>
     390({/capture})
     391
     392({if $smarty.foreach.ccul.iteration==1 || $smarty.foreach.ccul.iteration==2})
     393({if $smarty.foreach.ccul.iteration!=2})
     394<li class="pne_item_dummy pne_item_dummy_2">({$smarty.capture.no_item_community|smarty:nodefaults})</li>
     395({/if})
     396<li class="pne_item_dummy pne_item_dummy_3">({$smarty.capture.no_item_community|smarty:nodefaults})</li>
     397({/if})
     398
     399({if $smarty.foreach.ccul.iteration==4 ||  $smarty.foreach.ccul.iteration==5})
     400({if $smarty.foreach.ccul.iteration!=5})
     401<li class="pne_item_dummy pne_item_dummy_5">({$smarty.capture.no_item_community|smarty:nodefaults})</li>
     402({/if})
     403<li class="pne_item_dummy pne_item_dummy_6">({$smarty.capture.no_item_community|smarty:nodefaults})</li>
     404({/if})
     405
     406({if $smarty.foreach.ccul.iteration==7 ||  $smarty.foreach.ccul.iteration==8})
     407({if $smarty.foreach.ccul.iteration!=8})
     408<li class="pne_item_dummy pne_item_dummy_8">({$smarty.capture.no_item_community|smarty:nodefaults})</li>
     409({/if})
     410<li class="pne_item_dummy pne_item_dummy_9">({$smarty.capture.no_item_community|smarty:nodefaults})</li>
     411({/if})
     412
     413</ul>
    596414
    597415({/if})
     
    695513<div class="pne_content pne_calendar_main">
    696514
    697 <table border="0" cellspacing="0" cellpadding="0">
    698 <tr>
     515<ul>
    699516({foreach from=$calendar item=item name=calendar})
    700 <td class="pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})">
    701 ({if $item.now})<div class="pne_is_today">({/if})
     517<li class="pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})({if $item.now}) pne_calendar_main_line_is_today({/if})" OnMouseOver="pull_down_layer('pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})','pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})_body')" OnMouseOut="pull_down_layer('pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})','pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})_body')">
     518
    702519
    703520({if $smarty.foreach.calendar.first || $item.day == 1})
    704 <div class="pne_month">({$item.month})/</div>({/if})
    705 
    706 <div class="pne_day">({$item.day})</div>
    707 <div class="pne_dayofweek">(({$item.dayofweek}))</div>
    708 
    709 ({if $item.now})</div>({* END.is_today *})({/if})
     521<span class="pne_month">({$item.month})/</span>({/if})
     522<span class="pne_day">({$item.day})</span>
     523<span class="pne_dayofweek">(({$item.dayofweek}))</span>
     524
     525<div class="pne_calendar_main_line_({if $item.dayofweek == "日"})Sun({elseif $item.dayofweek == "土"})Sat({elseif $item.dayofweek == "金"})Fri({elseif $item.dayofweek == "木"})Thu({elseif $item.dayofweek == "水"})Wed({elseif $item.dayofweek == "火"})Tue({elseif $item.dayofweek == "月"})Mon({/if})_body">
    710526
    711527({* 祝日 *})
    712 ({foreach from=$item.holiday item=item_holiday})
    713 <div class="pne_holiday">({$item_holiday})</div>
    714 ({/foreach})
     528<ul class="pne_holiday">
     529({foreach from=$item.holiday item=item_holiday name=c_ho})
     530<li><span>({$item_holiday})</span></li>
     531({/foreach})
     532</ul>
    715533
    716534({* 誕生日 *})
     535<ul class="pne_birth">
    717536({foreach from=$item.birth item=item_birth})
    718 <div class="pne_birth"><img src="({t_img_url_skin filename=icon_birthday})" class="pne_icon"><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})">({$item_birth.nickname})さん</a></div>
    719 ({/foreach})
     537<li><span><img src="({t_img_url_skin filename=icon_birthday})" alt="誕生日アイコン" title="誕生日アイコン" class="pne_icon pne_icon_birth" /><a href="({t_url m=pc a=page_f_home})&amp;target_c_member_id=({$item_birth.c_member_id})">({$item_birth.nickname})さん</a></span></li>
     538({/foreach})
     539</ul>
    720540
    721541({* イベント *})
     542<ul class="pne_event">
    722543({foreach from=$item.event item=item_event})
    723 <div class="pne_event"><img src="({if $item_event.is_join})({t_img_url_skin filename=icon_event_R})({else})({t_img_url_skin filename=icon_event_B})({/if})" class="pne_icon"><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$item_event.c_commu_topic_id})">({$item_event.name|t_truncate:20:".."})</a></div>
    724 ({/foreach})
     544<li><span><img src="({if $item_event.is_join})({t_img_url_skin filename=icon_event_R})({else})({t_img_url_skin filename=icon_event_B})({/if})" alt="({if $item_event.is_join})参加({/if})イベントアイコン" title="({if $item_event.is_join})参加({/if})イベントアイコン" class="pne_icon pne_icon_event_({if $item_event.is_join})is_join({/if})" /><a href="({t_url m=pc a=page_c_event_detail})&amp;target_c_commu_topic_id=({$item_event.c_commu_topic_id})">({$item_event.name|t_truncate:20:".."})</a></span></li>
     545({/foreach})
     546</ul>
    725547
    726548({* スケジュール *})
     549<ul class="pne_schedule">
    727550({foreach from=$item.schedule item=item_schedule})
    728 <div class="pne_schedule"><img src="({t_img_url_skin filename=icon_pen})" class="pne_icon"><a href="({t_url m=pc a=page_h_schedule})&amp;target_c_schedule_id=({$item_schedule.c_schedule_id})">({$item_schedule.title})</a></div>
    729 ({/foreach})
    730 
    731 </td>
    732 ({/foreach})
    733 </tr>
    734 </table>
     551<li><span><img src="({t_img_url_skin filename=icon_pen})" alt="スケジュールアイコン" title="スケジュールアイコン" class="pne_icon pne_icon_schedule"><a href="({t_url m=pc a=page_h_schedule})&amp;target_c_schedule_id=({$item_schedule.c_schedule_id})" />({$item_schedule.title})</a></span></li>
     552({/foreach})
     553</ul>
     554
     555</div>
     556
     557</li>
     558({/foreach})
     559</ul>
    735560
    736561</div>({* END.pne_content *})
     
    738563<div class="pne_content pne_calendar_footer">
    739564
    740 <a href="({t_url m=pc a=page_h_calendar})">月別カレンダー</a>
     565<ul>
     566<li><a href="({t_url m=pc a=page_h_calendar})">月別カレンダー</a></li>
     567</ul>
    741568
    742569</div>({* END.pne_content *})
  • OpenPNE/branches/prj_css3/webapp/modules/pc/templates/inc_header.tpl

    r2555 r2562  
    1212<link rel="stylesheet" href="./css/prj_css.css" type="text/css" />
    1313<script type="text/javascript" src="./js/prototype.js"></script>
    14 <style type="text/css">
    15 <!--
    16 
    17 ({$INC_HEADER_inc_custom_css|smarty:nodefaults})
    18 
    19 -->
    20 </style>
    2114</head>
    2215
     
    2821
    2922<script type="text/javascript">
    30 <!--
     23//<![CDATA[
    3124
    3225({*テキスト入力欄の背景色変更*})
     
    6154}
    6255
     56({*プルダウンカレンダー*})
     57
     58function pull_down_layer(host_object, visible_object){
     59        var visible_object = document.getElementsByClassName(visible_object);
     60        var host_object = document.getElementsByClassName(host_object);
     61
     62        if(visible_object.style.visibility == 'visible'){
     63                visible_object.style.visibility="hidden";
     64        }else{
     65                visible_object.style.left = host_object.offsetLeft + "px";
     66                visible_object.style.top = host_object.offsetTop + host_object.offsetHeight + "px";
     67                visible_object.style.visibility="visible";
     68        }
     69}
     70
    6371({*二度押し対策*})
    6472/*
     
    7583}
    7684*/
    77 //-->
     85//]]>
    7886</script>
    7987
     
    8189<script src="http://maps.google.co.jp/maps?file=api&amp;v=2&amp;key=({$smarty.const.GOOGLE_MAPS_API_KEY})" type="text/javascript"></script>
    8290<script type="text/javascript">
    83 <!--
     91//<![CDATA[
     92
    8493function load() {
    8594    if (GBrowserIsCompatible()) {
     
    100109    }
    101110}
    102 //-->
     111
     112//]]>
    103113</script>
    104114({/if})
Note: See TracChangeset for help on using the changeset viewer.