☆スキーウエアNOW ON SALE!!☆★2ピース上下スーツ★ 【エァウォーク】幼児用ウエアAWT‐5524 ピンク(桃色)サイズ:100・110・120
沖縄産スナックパイン1玉(500g〜800g) N−95D23L/C3 technorati RobotReplay 2004/09/30から 今日: 昨日: 最近のツッコミ10発 |
2008-03-24 C-CUBE更新内容2008-03-24 [長年日記]_ [EC-CUBE] EC-CUBE更新内容1Date: 2008-03-24 19:01:26 +0900 (Mon, 24 Mar 2008) New Revision: 33 Modified: eccube2/trunk/data/Smarty/templates/default/shopping/confirm.tpl eccube2/trunk/data/class/pages/shopping/LC_Page_Shopping_Complete.php eccube2/trunk/data/include/module.inc Log: auto commit Modified: eccube2/trunk/data/Smarty/templates/default/shopping/confirm.tpl =================================================================== --- eccube2/trunk/data/Smarty/templates/default/shopping/confirm.tpl 2008-03-23 10:01:52 UTC (rev 32) +++ eccube2/trunk/data/Smarty/templates/default/shopping/confirm.tpl 2008-03-24 10:01:26 UTC (rev 33) @@ -224,6 +224,10 @@ </tbody> </table> + <!--{if 'sfTSRequest'|function_exists}--> + <!--{''|sfTSPrintOrderBox}--> + <!--{/if}--> + <div class="tblareabtn"> <a href="./payment.php" onmouseover="chgImgImageSubmit('img/common/b_back_on.gif',back03)" onmouseout="chgImgImageSubmit('img/common/b_back.gif',back03)"><img src="img/common/b_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a> <!--{if $payment_type != ""}--> Modified: eccube2/trunk/data/class/pages/shopping/LC_Page_Shopping_Complete.php =================================================================== --- eccube2/trunk/data/class/pages/shopping/LC_Page_Shopping_Complete.php 2008-03-23 10:01:52 UTC (rev 32) +++ eccube2/trunk/data/class/pages/shopping/LC_Page_Shopping_Complete.php 2008-03-24 10:01:26 UTC (rev 33) @@ -123,6 +123,11 @@ if($total != "") { $this->tpl_aff_option.= "|total=$total"; } + + // TradeSafe連携用 + if (function_exists('sfTSRequest')) { + sfTSRequest($order_id); + } } // キャンペーンからの遷移かチェック @@ -191,7 +196,6 @@ } //その他情報の取得 - $other_data = $objQuery->get("dtb_order", "memo02", "order_id = ? ", array($order_id)); if($other_data != "") { $arrOther = unserialize($other_data); @@ -216,6 +220,11 @@ if($total != "") { $this->tpl_aff_option.= "|total=$total"; } + + // TS連携モジュールの実行 + if (function_exists('sfTSRequest')) { + sfTSRequest($order_id); + } } $objView->assignobj($this); Modified: eccube2/trunk/data/include/module.inc =================================================================== --- eccube2/trunk/data/include/module.inc 2008-03-23 10:01:52 UTC (rev 32) +++ eccube2/trunk/data/include/module.inc 2008-03-24 10:01:26 UTC (rev 33) @@ -52,6 +52,7 @@ 'mdl_moba8', 'mdl_opebuilder', 'mdl_souraku', + 'mdl_ts', ); $_objQuery = new SC_Query; _ [EC-CUBE] EC-CUBE更新内容2Date: 2008-03-24 22:01:42 +0900 (Mon, 24 Mar 2008) New Revision: 34 Modified: eccube2/trunk/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php Log: auto commit Modified: eccube2/trunk/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php =================================================================== --- eccube2/trunk/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php 2008-03-24 10:01:26 UTC (rev 33) +++ eccube2/trunk/data/class/pages/admin/design/LC_Page_Admin_Design_Template.php 2008-03-24 13:01:42 UTC (rev 34) @@ -31,7 +31,7 @@ * * @package Page * @author LOCKON CO.,LTD. - * @version $Id: LC_Page_Admin_Design_Template.php 17117 2008-03-11 04:04:03Z satou $ + * @version $Id: LC_Page_Admin_Design_Template.php 17180 2008-03-24 12:20:05Z satou $ */ class LC_Page_Admin_Design_Template extends LC_Page { @@ -114,6 +114,9 @@ // XXX コンパイルファイルのクリア処理を行う $objView->_smarty->clear_compiled_tpl(); + // common.cssの内容を更新 + $this->lfChangeCommonCss($template_code); + // ブロック位置を更新 $this->lfChangeBloc($template_code); @@ -254,6 +257,26 @@ } /** + * common.cssの更新 + */ + function lfChangeCommonCss($template_code) { + $css_path = USER_PATH . "css/common.css"; + + // ファイル内容取得 + $css_data = file_get_contents($css_path); + + // ファイル内容更新 + $pt = '/(@import url\("\.\.\/packages\/.+\/css\/import\.css"\);)/'; + $rp = '@import url("../packages/'. $template_code. '/css/import.css");'; + $css = preg_replace($pt, $rp, $css_data); + + // ファイル更新 + $fp = fopen($css_path,"w"); + fwrite($fp, $css); + fclose($fp); + } + + /** * ブロック位置の更新 */ function lfChangeBloc($template_code) { |