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

Changeset 5800


Ignore:
Timestamp:
Mar 16, 2008, 2:03:09 AM (11 years ago)
Author:
ogawa
Message:

#2095:配色設定暫定復活、layoutなしでの表示対応、smarty_plugin対応

Location:
OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/lib/controller.php

    r5791 r5800  
    209209        send_nocache_headers();
    210210        $content = $smarty->ext_fetch("{$action}.tpl");
    211         $smarty->assign('op_content', $content);
    212         $smarty->ext_display('common/layout.tpl');
     211        if ($smarty->ext_search($smarty->templates_dir . '/common/layout.tpl', $place)) {
     212            $smarty->assign('op_content', $content);
     213            $smarty->ext_display('common/layout.tpl');
     214        } else {
     215            echo $content;
     216        }
    213217    }
    214218    // ----------------------------------------------
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/lib/smarty_plugins/function.t_form.php

    r4933 r5800  
    5252    foreach ($params as $key => $value) {
    5353        $html .= "\n";
    54         $html .= sprintf('<input type="hidden" name="%s" value="%s">',
     54        $html .= sprintf('<input type="hidden" name="%s" value="%s" />',
    5555                         htmlspecialchars($key, ENT_QUOTES, 'UTF-8'),
    5656                         htmlspecialchars($value, ENT_QUOTES, 'UTF-8'));
  • OpenPNE/branches/prj/xhtmlcss/OpenPNE-2.11.4/webapp/modules/pc/templates/inc_header.tpl

    r5791 r5800  
    88<meta http-equiv="Content-Script-Type" content="text/javascript" />
    99<title>({$INC_HEADER_title})</title>
     10<link rel="stylesheet" href="./css/default.css" type="text/css" />
    1011<link rel="stylesheet" href="./xhtml_style.php" type="text/css" />
    1112<script type="text/javascript" src="./js/prototype.js"></script>
    1213<script type="text/javascript" src="./js/pne.js"></script>
     14<style type="text/css">
     15.border_01 { border: #({$INC_HEADER_color_config.border_01}) 1px solid; }
     16.border_07 { border: #({$INC_HEADER_color_config.border_07}) 1px solid; }
     17.border_10 { border: #({$INC_HEADER_color_config.border_10}) 1px solid; }
     18.bg_00 { background-color: #({$INC_HEADER_color_config.bg_00}); }
     19.bg_01 { background-color: #({$INC_HEADER_color_config.bg_01}); }
     20.bg_02 { background-color: #({$INC_HEADER_color_config.bg_02}); }
     21.bg_03 { background-color: #({$INC_HEADER_color_config.bg_03}); }
     22.bg_04 { background-color: #({$INC_HEADER_color_config.bg_04}); }
     23.bg_05 { background-color: #({$INC_HEADER_color_config.bg_05}); }
     24.bg_06 { background-color: #({$INC_HEADER_color_config.bg_06}); }
     25.bg_07 { background-color: #({$INC_HEADER_color_config.bg_07}); }
     26.bg_08 { background-color: #({$INC_HEADER_color_config.bg_08}); }
     27.bg_09 { background-color: #({$INC_HEADER_color_config.bg_09}); }
     28.bg_10 { background-color: #({$INC_HEADER_color_config.bg_10}); }
     29.bg_11 { background-color: #({$INC_HEADER_color_config.bg_11}); }
     30.bg_12 { background-color: #({$INC_HEADER_color_config.bg_12}); }
     31.bg_13 { background-color: #({$INC_HEADER_color_config.bg_13}); }
     32.bg_14 { background-color: #({$INC_HEADER_color_config.bg_14}); }
     33.color_19 { background-color: #({$INC_HEADER_color_config.color_19}); }
     34body { background-color: #({$INC_HEADER_color_config.bg_12}); }
     35.container { background-color: #({$INC_HEADER_color_config.bg_13}); }
     36</style>
    1337</head>
    1438<body id="pc_page_({$INC_HEADER_page_name})"><div id="Body">
Note: See TracChangeset for help on using the changeset viewer.