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

Changeset 1116


Ignore:
Timestamp:
Dec 10, 2006, 9:50:50 PM (13 years ago)
Author:
ogawa
Message:

body要素にid属性を追加

Location:
OpenPNE/trunk/webapp/modules/pc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp/modules/pc/init.inc

    r1081 r1116  
    4848    $smarty->assign('INC_HEADER_color_config', db_select_c_sns_config());
    4949    $smarty->assign('INC_HEADER_top_banner', db_banner_get_top_banner($is_secure));
     50    $smarty->assign('INC_HEADER_page_name', $GLOBALS['__Framework']['current_action']);
    5051    if ($is_secure) {
    5152            $smarty->assign('INC_HEADER_top_banner_html_after', p_common_c_siteadmin4target_pagename('top_banner_html_after'));
  • OpenPNE/trunk/webapp/modules/pc/templates/inc_header.tpl

    r1107 r1116  
    308308//-->
    309309</script>
    310 <body onLoad="load()" onUnload="GUnload()" class="({$INC_HEADER_type})">
     310<body onLoad="load()" onUnload="GUnload()" id="pc_page_({$INC_HEADER_page_name})">
    311311({else})
    312 <body class="({$INC_HEADER_type})">
     312<body id="pc_page_({$INC_HEADER_page_name})">
    313313({/if})
    314314<div align="left">
Note: See TracChangeset for help on using the changeset viewer.