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

Changeset 3118


Ignore:
Timestamp:
May 25, 2007, 2:56:06 PM (12 years ago)
Author:
ogawa
Message:

#866:BIZ:グループウェア機能のページでHTML挿入A・Cが反映されない

Location:
OpenPNE/branches/2.8.x/webapp_biz/modules/biz
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.8.x/webapp_biz/modules/biz/init.inc

    r1856 r3118  
    6363    $smarty->assign('INC_HEADER_color_config', db_select_c_sns_config());
    6464    $smarty->assign('INC_HEADER_top_banner', db_banner_get_top_banner($is_secure));
     65    $smarty->assign('INC_HEADER_page_name', $GLOBALS['__Framework']['current_action']);
    6566    if ($is_secure) {
    66             $smarty->assign('INC_HEADER_top_banner_html_after', p_common_c_siteadmin4target_pagename('top_banner_html_after'));
    67             $smarty->assign('INC_HEADER_global_navi', util_get_c_navi('global'));
     67        $smarty->assign('INC_HEADER_top_banner_html_after', p_common_c_siteadmin4target_pagename('top_banner_html_after'));
     68        $smarty->assign('INC_HEADER_global_navi', util_get_c_navi('global'));
    6869    } else {
    69             $smarty->assign('INC_HEADER_top_banner_html_before', p_common_c_siteadmin4target_pagename('top_banner_html_before'));
     70        $smarty->assign('INC_HEADER_top_banner_html_before', p_common_c_siteadmin4target_pagename('top_banner_html_before'));
    7071    }
    7172    $smarty->assign('INC_HEADER_inc_page_top', p_common_c_siteadmin4target_pagename('inc_page_top'));
     73    $smarty->assign('INC_HEADER_inc_page_top2', p_common_c_siteadmin4target_pagename('inc_page_top2'));
    7274
    7375    // INC_FOOTER_* (inc_footer.tpl)
     
    8082    $smarty->assign('INC_FOOTER_inc_page_footer', p_common_c_siteadmin4target_pagename($name));
    8183    $smarty->assign('INC_FOOTER_inc_page_bottom', p_common_c_siteadmin4target_pagename('inc_page_bottom'));
     84    $smarty->assign('INC_FOOTER_inc_page_bottom2', p_common_c_siteadmin4target_pagename('inc_page_bottom2'));
    8285    $smarty->assign('INC_FOOTER_inc_side_banner', db_banner_get_side_banner($is_secure));
    8386    $smarty->assign('INC_FOOTER_side_banner_html_before', p_common_c_siteadmin4target_pagename('side_banner_html_before'));
  • OpenPNE/branches/2.8.x/webapp_biz/modules/biz/templates/inc_footer.tpl

    r1081 r3118  
    2424({/if})
    2525</table>
     26
     27({$INC_FOOTER_inc_page_bottom2|smarty:nodefaults})
     28
    2629</td>
    2730
     
    3639({if $INC_FOOTER_side_banner_html_before || $INC_FOOTER_side_banner_html_after})
    3740    ({if $before_after == 'before'})
    38         ({$INC_FOOTER_side_banner_html_before|smarty:nodefaults})
     41        ({$INC_FOOTER_side_banner_html_before|smarty:nodefaults|t_url2cmd:'side_banner'|t_cmd:'side_banner'})
    3942    ({else})
    40         ({$INC_FOOTER_side_banner_html_after|smarty:nodefaults})
     43        ({$INC_FOOTER_side_banner_html_after|smarty:nodefaults|t_url2cmd:'side_banner'|t_cmd:'side_banner'})
    4144    ({/if})
    4245({else})
  • OpenPNE/branches/2.8.x/webapp_biz/modules/biz/templates/inc_header.tpl

    r3003 r3118  
    1818({/if})
    1919<script type="text/javascript" src="./js/prototype.js"></script>
     20<script type="text/javascript" src="./js/pne.js"></script>
    2021<style type="text/css">
    2122<!--
     
    8485.text_focus { background-color:#FFFFFF; }
    8586
     87
    8688/*ボタンに対する背景画像の指定*/
    8789input.submit {
     
    267269<!--
    268270
     271({*テキスト入力欄の背景色変更*})
    269272TextFiledClassName_normal = 'text';
    270273TextFiledClassName_focus  = 'text_focus';
    271274
    272275Event.observe(window, 'load', setFocusClass, false);
     276
    273277function setFocusClass() {
    274   var TFs = $A(document.getElementsByClassName(TextFiledClassName_normal));
    275   TFs.each(function (node){
    276     node.TFclass = node.className;
    277     node.TFclass_onfocus = TextFiledClassName_focus;
    278     node.onfocus = function() { this.className = this.TFclass_onfocus; };
    279     node.onblur  = function() { this.className = this.TFclass; };
    280   });
    281 }
    282 
     278        var TFs = $A(document.getElementsByClassName(TextFiledClassName_normal));
     279        TFs.each(function (node){
     280                node.TFclass = node.className;
     281                node.TFclass_onfocus = TextFiledClassName_focus;
     282                node.onfocus = function() { this.className = this.TFclass_onfocus; };
     283                node.onblur  = function() { this.className = this.TFclass; };
     284        });
     285}
     286
     287({*二度押し対策*})
     288/*
     289Event.observe(window, 'load', setSubmitFunction, false);
     290
     291function setSubmitFunction() {
     292        var SFs = $A(document.getElementsByTagName('form'));
     293        SFs.each(function (node){
     294                node.onsubmit = function() {
     295                        var obj= $A(node.elements);
     296                        obj.each( function(n){if(n.type== 'submit') n.disabled= true;})
     297                };
     298        });
     299}
     300*/
    283301//-->
    284302</script>
     
    288306({***************************************})
    289307
    290 ({if $smarty.const.OPENPNE_USE_COMMU_MAP && $c_commu.is_display_map})
    291 <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>
     308({if $smarty.const.OPENPNE_USE_COMMU_MAP && $c_commu.is_display_map && $INC_HEADER_page_name == 'c_home'})
     309<script src="http://maps.google.co.jp/maps?file=api&amp;v=2.x&amp;key=({$smarty.const.GOOGLE_MAPS_API_KEY})" type="text/javascript"></script>
    292310<script type="text/javascript">
    293311<!--
     
    312330//-->
    313331</script>
    314 <body onLoad="load()" onUnload="GUnload()" class="({$INC_HEADER_type})">
     332<body onLoad="load()" onUnload="GUnload()" id="pc_page_({$INC_HEADER_page_name})">
    315333({else})
    316 <body class="({$INC_HEADER_type})">
    317 ({/if})
     334<body id="pc_page_({$INC_HEADER_page_name})">
     335({/if})
     336
     337({$INC_HEADER_inc_page_top2|smarty:nodefaults})
     338
    318339<div align="left">
    319340
     
    387408<tr>
    388409<td class="container">
    389 ({$inc_entry_point[1]|smarty:nodefaults})
     410({$inc_entry_point[1]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
    390411</td>
    391412</tr>
     
    401422<tr>
    402423<td class="container">
    403 ({$inc_entry_point[2]|smarty:nodefaults})
    404 </td>
    405 </tr>
    406 ({/if})
    407 ({if !$no_use_alert && $msg})
     424({$inc_entry_point[2]|smarty:nodefaults|t_url2cmd:'entry_point'|t_cmd:'entry_point'})
     425</td>
     426</tr>
     427({/if})
     428({if !$no_use_alert && ($msg || $msg1 || $msg2 || $msg3 || $err_msg)})
    408429<tr>
    409430<td class="container main_content" align="center">
     
    412433({**ここから:旧inc_alert_box.tplの内容**})
    413434({*************************************})
    414 ({if $msg || $msg1 || $msg2 || $msg3 || $err_msg})
    415435<img src="./skin/dummy.gif" class="v_spacer_l">
    416436
     
    432452({*ここから:body*})
    433453<!-- ここから:主内容 -->
    434 ({if !INC_HEADER_is_no_alert})
    435454<table border="0" cellspacing="0" cellpadding="0" style="width:({if $width})({$width-16})({else})564({/if})px;">
    436455<tr>
     
    455474({if $msg3})({$msg3})<br>({/if})
    456475({foreach from=$err_msg item=item})
    457 ({$item})</br>
     476({$item})<br>
    458477({/foreach})
    459478<!-- ここまで:主内容>警告文本体 -->
     
    466485</tr>
    467486</table>
    468 ({else})
    469 <table border="0" cellspacing="0" cellpadding="0" style="width:({if $width})({$width-16})({else})564({/if})px;">
    470 <tr>
    471 <td style="width:({if $width})({$width-16})({else})564({/if})px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    472 </tr>
    473 <tr>
    474 <td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    475 <td style="width:({if $width})({$width-18})({else})562({/if})px;height:50px;" class="bg_02" align="left" valign="middle">
    476 <div style="padding:8px 30px;">
    477 <!-- ここから:主内容>メッセージ文本体 -->
    478 ({if $msg})({$msg})<br>({/if})
    479 ({if $msg1})({$msg1})<br>({/if})
    480 ({if $msg2})({$msg2})<br>({/if})
    481 ({if $msg3})({$msg3})<br>({/if})
    482 ({foreach from=$err_msg item=item})
    483 ({$item})</br>
    484 ({/foreach})
    485 <!-- ここまで:主内容>メッセージ文本体 -->
    486 </div>
    487 </td>
    488 <td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    489 </tr>
    490 <tr>
    491 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    492 </tr>
    493 </table>
    494 ({/if})
    495487<!-- ここまで:主内容 -->
    496488({*ここまで:body*})
     
    511503<!-- ************************* -->
    512504
    513 ({/if})
    514505({*************************************})
    515506({**ここまで:旧inc_alert_box.tplの内容**})
Note: See TracChangeset for help on using the changeset viewer.