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

Changeset 5960


Ignore:
Timestamp:
Mar 22, 2008, 2:27:48 AM (13 years ago)
Author:
ogawa
Message:

トップバナー表示対応、ログイン前ヘッダ表示対応

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

Legend:

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

    r5958 r5960  
    195195 *--------------------------------------------*/
    196196#globalNav a,
     197#globalNavBefore a,
    197198.localNav a {
    198199        display: block;
     
    206207}
    207208#globalNav a:focus,
     209#globalNavBefore a:focus,
    208210.localNav a:focus {
    209211        overflow: hidden;
     
    225227}
    226228#LayoutA #Top {
    227     padding-left: 5px;
     229        padding-left: 5px;
    228230}
    229231#LayoutA #Left {
     
    366368 * 0. h系、f系、c系ナビメニュー(localNav)
    367369 *----------------------------------------------------------------------------*/
    368 #globalNav {
     370#globalNav,
     371#globalNavBefore {
    369372        zoom: 1;
    370373        position: relative;
     
    373376        background: url(http://takai.sns.dazai.pne.jp/skin/005_openpne_blue/img/skin_after_header.jpg) 0 0 no-repeat;
    374377}
     378#globalNav {
     379        background: url(http://takai.sns.dazai.pne.jp/skin/005_openpne_blue/img/skin_after_header.jpg) 0 0 no-repeat;
     380}
     381#globalNavBefore {
     382        margin-bottom: 10px;
     383        background: url(http://takai.sns.dazai.pne.jp/skin/005_openpne_blue/img/skin_before_header.jpg) 0 0 no-repeat;
     384}
    375385.localNav {
    376386        zoom: 1;
     
    400410        background-image: url(http://takai.sns.dazai.pne.jp/skin/005_openpne_blue/img/skin_navi_c_2.jpg);
    401411}
    402 #globalNav h1 {
     412#globalNav h1,
     413#globalNavBefore h1 {
    403414        position: absolute;
    404415        top: 5px;
     
    511522li#cLocalNav_6 a:hover, li#cLocalNav_6 a:active { background-position: -600px -29px; }
    512523
     524#topBanner {
     525        display: block;
     526        position: absolute;
     527        top: 5px;
     528        left: 247px;
     529        width: 468px;
     530        height: 60px;
     531}
     532
    513533/*==============================================================================
    514534 * 11. homePhotoBox(ホーム写真ボックス)
     
    11621182 *----------------------------------------------------------------------------*/
    11631183.weeklyCalendarTable p.scheduleForm {
    1164     margin: 0 auto;
    1165     padding: 6px 5px;
     1184        margin: 0 auto;
     1185        padding: 6px 5px;
    11661186}
    11671187.weeklyCalendarTable table td {
    1168     vertical-align: top;
     1188        vertical-align: top;
    11691189}
    11701190.weeklyCalendarTable table.calendar th {
    1171     padding: 5px;
    1172     text-align: left;
     1191        padding: 5px;
     1192        text-align: left;
    11731193}
    11741194.weeklyCalendarTable table.calendar td {
    1175     padding: 5px;
    1176     border-top: none;
    1177     text-align: left;
     1195        padding: 5px;
     1196        border-top: none;
     1197        text-align: left;
    11781198}
    11791199.weeklyCalendarTable table.calendar th.now,
    11801200.weeklyCalendarTable table.calendar td.now {
    1181     background: #eeeeee;
     1201        background: #eeeeee;
    11821202}
    11831203.weeklyCalendarTable span.holiday {
    1184     color: #d92c49;
     1204        color: #d92c49;
    11851205}
    11861206.weeklyCalendarTable div.moreInfo ul.moreInfo {
     
    11931213 *----------------------------------------------------------------------------*/
    11941214#Body .descriptionBox {
    1195     margin: 0 20px 10px;
     1215        margin: 0 20px 10px;
    11961216}
    11971217.descriptionBox p.text {
    1198     margin: 1em;
     1218        margin: 1em;
    11991219}
    12001220
     
    12031223 *----------------------------------------------------------------------------*/
    12041224#Body .infoBox {
    1205     margin: 0 20px 10px;
     1225        margin: 0 20px 10px;
    12061226}
    12071227#Body .infoBox th,
    12081228#Body .infoBox td {
    1209     padding: 5px;
    1210     border-top: none;
     1229        padding: 5px;
     1230        border-top: none;
    12111231}
    12121232.infoBox th {
    1213     background: #eeeeee;
     1233        background: #eeeeee;
    12141234}
    12151235.infoBox td {
    1216     width: 15em;
     1236        width: 15em;
    12171237}
    12181238
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/inc_header.tpl

    r5817 r5960  
    4444
    4545({if !$INC_HEADER_is_login})
    46 <div class="section" id="globalNav">
     46<div id="({if $before_after == "after"})globalNav({else})globalNavBefore({/if})">
    4747<h1><a href="({t_url})">({$smarty.const.SNS_NAME})</a></h1>
    4848({if $before_after == "after"})
     
    6464({if $inc_entry_point[2]})({$inc_entry_point[2]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})({/if})
    6565
    66 ({* unknown *})({* <img src="({t_img_url_skin filename=skin_`$before_after`_header})" class="bg_({$before_after})"> *})
    67 ({* unknown *})({if $INC_HEADER_top_banner_html_before || $INC_HEADER_top_banner_html_after})
    68 ({* unknown *})<div class="banner">
    69 ({* unknown *})({if $before_after == 'before'})
    70 ({* unknown *})({$INC_HEADER_top_banner_html_before|smarty:nodefaults})
    71 ({* unknown *})({else})
    72 ({* unknown *})({$INC_HEADER_top_banner_html_after|smarty:nodefaults})
    73 ({* unknown *})({/if})
    74 ({* unknown *})</div>
    75 ({* unknown *})({elseif $INC_HEADER_top_banner.c_banner_id})
    76 ({* unknown *})<div class="banner">
    77 ({* unknown *})({strip})
    78 ({* unknown *})({if $INC_HEADER_top_banner.a_href})
    79 ({* unknown *})({if $before_after == "before"})
    80 ({* unknown *})<a href="({t_url m=pc a=do_o_click_banner})&amp;target_c_banner_id=({$INC_HEADER_top_banner.c_banner_id})" target="_blank">
    81 ({* unknown *})({else})
    82 ({* unknown *})<a href="({t_url m=pc a=do_h_click_banner})&amp;target_c_banner_id=({$INC_HEADER_top_banner.c_banner_id})&amp;sessid=({$PHPSESSID})" target="_blank">
    83 ({* unknown *})({/if})
    84 ({* unknown *})<img src="({t_img_url filename=$INC_HEADER_top_banner.image_filename})">
    85 ({* unknown *})</a>
    86 ({* unknown *})({else})
    87 ({* unknown *})<img src="({t_img_url filename=$INC_HEADER_top_banner.image_filename})">
    88 ({* unknown *})({/if})
    89 ({* unknown *})({/strip})
    90 ({* unknown *})</div>
    91 ({* unknown *})({/if})
    92 
     66({if $INC_HEADER_top_banner_html_before || $INC_HEADER_top_banner_html_after})
     67<div id="topBanner">
     68({if $before_after == 'after'})
     69({$INC_HEADER_top_banner_html_after|smarty:nodefaults})
     70({else})
     71({$INC_HEADER_top_banner_html_before|smarty:nodefaults})
     72({/if})
     73</div>
     74({elseif $INC_HEADER_top_banner.c_banner_id})
     75<div id="topBanner">
     76({if $INC_HEADER_top_banner.a_href})
     77<a href="({t_url m=pc a=do_h_click_banner})&amp;target_c_banner_id=({$INC_HEADER_top_banner.c_banner_id})({if $before_after == "after"})&amp;sessid=({$PHPSESSID})({/if})" target="_blank"><img src="({t_img_url filename=$INC_HEADER_top_banner.image_filename})" alt="" /></a>
     78({else})
     79<img src="({t_img_url filename=$INC_HEADER_top_banner.image_filename})" alt="" />
     80({/if})
     81</div>
     82({/if})
    9383
    9484({if !$no_use_alert && ($msg || $msg1 || $msg2 || $msg3 || $err_msg)})
Note: See TracChangeset for help on using the changeset viewer.