Changeset 17095


Ignore:
Timestamp:
2008/02/29 10:54:38 (16 years ago)
Author:
pineray
Message:

Chgset17037,17040-17046のマージ

Location:
branches/comu-ver2
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/entry/index.tpl

    r16583 r17095  
    8888          <th>FAX</th> 
    8989          <td><span class="attention"><!--{$arrErr.fax01}--><!--{$arrErr.fax02}--><!--{$arrErr.fax03}--></span> 
    90             <input type="text" name="fax01" size="6" value="<!--{$fax01|escape}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"  style="<!--{$arrErr.fax01|sfGetErrorColor}-->; ime-mode: disabled;" class="box60" />&nbsp;-&nbsp;<input type="text" name="fax02" size="6" value="<!--{$fax02|escape}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" style="<!--{$arrErr.fax01|sfGetErrorColor}-->; ime-mode: disabled;" class="box60" />&nbsp;-&nbsp;<input type="text" name="fax03" size="6" value="<!--{$fax02|escape}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" style="<!--{$arrErr.fax01|sfGetErrorColor}-->; ime-mode: disabled;" class="box60" /> 
     90            <input type="text" name="fax01" size="6" value="<!--{$fax01|escape}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->"  style="<!--{$arrErr.fax01|sfGetErrorColor}-->; ime-mode: disabled;" class="box60" />&nbsp;-&nbsp;<input type="text" name="fax02" size="6" value="<!--{$fax02|escape}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" style="<!--{$arrErr.fax02|sfGetErrorColor}-->; ime-mode: disabled;" class="box60" />&nbsp;-&nbsp;<input type="text" name="fax03" size="6" value="<!--{$fax03|escape}-->" maxlength="<!--{$smarty.const.TEL_ITEM_LEN}-->" style="<!--{$arrErr.fax03|sfGetErrorColor}-->; ime-mode: disabled;" class="box60" /> 
    9191          </td> 
    9292        </tr> 
  • branches/comu-ver2/data/class/SC_UploadFile.php

    r16953 r17095  
    108108                                $this->temp_file[$cnt] = $_FILES[$keyname]['name']; 
    109109                            } 
    110                             $result  = copy($_FILES[$keyname]['tmp_name'], $this->temp_dir. "/". $this->temp_file[$cnt]); 
    111                             GC_Utils_Ex::gfPrintLog($_FILES[$keyname]['name']." -> ".$this->temp_dir. "/". $this->temp_file[$cnt]); 
    112                         } 
     110                            $result  = copy($_FILES[$keyname]['tmp_name'], $this->temp_dir . $this->temp_file[$cnt]); 
     111                            GC_Utils_Ex::gfPrintLog($_FILES[$keyname]['name']." -> ". $this->temp_dir . $this->temp_file[$cnt]);                        } 
    113112                    } 
    114113                } 
     
    143142            if ($val == $keyname) { 
    144143                if($this->temp_file[$cnt] != "") { 
    145                     $filepath = $this->temp_dir . "/" . $this->temp_file[$cnt]; 
     144                    $filepath = $this->temp_dir . $this->temp_file[$cnt]; 
    146145                } 
    147146            } 
  • branches/comu-ver2/data/class/pages/LC_Page.php

    r16754 r17095  
    213213        // $path が / で始まっている場合 
    214214        if (substr($path, 0, 1) == "/") { 
    215             $realPath = realpath(substr_replace(HTML_PATH, "", 
    216                                 strlen(HTML_PATH) - strlen(URL_DIR), 
    217                                 strlen(URL_DIR)) . $path); 
     215            $realPath = realpath(HTML_PATH . substr_replace($path, "", 0, strlen(URL_DIR)));  
     216        // 相対パスの場合 
    218217        } else { 
    219             // 相対パスの場合 
    220218            $realPath = realpath($path); 
    221219        } 
  • branches/comu-ver2/data/class/pages/admin/design/LC_Page_Admin_Design_Up_Down.php

    r16702 r17095  
    257257     */ 
    258258    function lfRegisterTemplates($arrForm) { 
    259         $objQuery = new SC_Query(); 
    260         $objQuery->insert('dtb_templates', $arrForm); 
     259        $objQuery = new SC_Query(); 
     260        $sqlval = $arrForm; 
     261        $sqlval['create_date'] = "now()"; 
     262        $sqlval['update_date'] = "now()"; 
     263        $objQuery->insert('dtb_templates', $sqlval); 
    261264    } 
    262265 
  • branches/comu-ver2/data/class/pages/contact/LC_Page_Contact.php

    r17075 r17095  
    200200    function lfContactComplete() { 
    201201        $this->arrForm = $_POST; 
    202         $this->arrForm['email'] = strtolower($_POST['email']); 
     202        $this->arrForm['email']   = isset($_POST['email']) ? strtolower($_POST['email']) : ''; 
     203        $this->arrForm['email02'] = isset($_POST['email02']) ? strtolower($_POST['email02']) : ''; 
    203204        $this->arrForm = $this->lfConvertParam($this->arrForm,$this->arrConvertColumn); 
    204205        $this->arrErr = $this->lfErrorCheck($this->arrForm); 
  • branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping.php

    r16741 r17095  
    138138            // ※breakなし 
    139139        default: 
    140             if(isset($_GET['form']) && $_GET['from'] == 'nonmember') { 
     140            if(isset($_GET['from']) && $_GET['from'] == 'nonmember') { 
    141141                $this->lfSetNonMember($this); 
    142142            } 
  • branches/comu-ver2/html/install/sql/insert_data.sql

    r17073 r17095  
    829829INSERT INTO mtb_constants VALUES ('TV_PRODUCTS_MAX','10',64,'TV連動商品最大登録数'); 
    830830INSERT INTO mtb_constants VALUES ('DEFAULT_PASSWORD','"UAhgGR3L"',65,'会員登録変更(マイページ)パスワード用'); 
    831 INSERT INTO mtb_constants VALUES ('dtbDUCT_MAX','6',66,'おすすめ商品数'); 
    832 INSERT INTO mtb_constants VALUES ('DELIV_ADDR_MAX','20',67,'別のお届け先最大登録数'); 
    833 INSERT INTO mtb_constants VALUES ('CUSTOMER_READING_MAX','30',68,'閲覧履歴保存数'); 
     831INSERT INTO mtb_constants VALUES ('DELIV_ADDR_MAX','20',66,'別のお届け先最大登録数'); 
     832INSERT INTO mtb_constants VALUES ('CUSTOMER_READING_MAX','30',67,'閲覧履歴保存数'); 
    834833INSERT INTO mtb_constants VALUES ('ORDER_STATUS_MAX','50',70,'管理画面ステータス一覧表示件数'); 
    835834INSERT INTO mtb_constants VALUES ('REVIEW_REGIST_MAX','5',71,'フロントレビュー書き込み最大数'); 
    836835INSERT INTO mtb_constants VALUES ('DEBUG_MODE','false',72,'デバッグモード(true:sfPrintRやDBのエラーメッセージを出力する、false:出力しない)'); 
    837836INSERT INTO mtb_constants VALUES ('ADMIN_ID','"1"',73,'管理ユーザID(メンテナンス用表示されない。)'); 
    838 INSERT INTO mtb_constants VALUES ('CUSTOMER_CONFIRM_MAIL','0',74,'会員登録時に仮会員確認メールを送信するか(true:仮会員、false:本会員)'); 
    839 INSERT INTO mtb_constants VALUES ('MELMAGA_SEND','1',75,'メルマガ配信抑制(false:OFF、true:ON)'); 
    840 INSERT INTO mtb_constants VALUES ('MELMAGA_BATCH_MODE','0',76,'メイルマガジンバッチモード(true:バッチで送信する ※要cron設定、false:リアルタイムで送信する)'); 
     837INSERT INTO mtb_constants VALUES ('CUSTOMER_CONFIRM_MAIL','false',74,'会員登録時に仮会員確認メールを送信するか(true:仮会員、false:本会員)'); 
     838INSERT INTO mtb_constants VALUES ('MELMAGA_SEND','true',75,'メルマガ配信抑制(false:OFF、true:ON)'); 
     839INSERT INTO mtb_constants VALUES ('MELMAGA_BATCH_MODE','false',76,'メイルマガジンバッチモード(true:バッチで送信する ※要cron設定、false:リアルタイムで送信する)'); 
    841840INSERT INTO mtb_constants VALUES ('LOGIN_FRAME','"login_frame.tpl"',77,'ログイン画面フレーム'); 
    842841INSERT INTO mtb_constants VALUES ('MAIN_FRAME','"main_frame.tpl"',78,'管理画面フレーム'); 
     
    853852INSERT INTO mtb_constants VALUES ('POINT_VALUE','1',89,'1ポイント当たりの値段(円)'); 
    854853INSERT INTO mtb_constants VALUES ('ADMIN_MODE','0',90,'管理モード 1:有効 0:無効(納品時)'); 
    855 INSERT INTO mtb_constants VALUES ('DAILY_BATCH_MODE','0',91,'売上集計バッチモード(true:バッチで集計する ※要cron設定、false:リアルタイムで集計する)'); 
     854INSERT INTO mtb_constants VALUES ('DAILY_BATCH_MODE','false',91,'売上集計バッチモード(true:バッチで集計する ※要cron設定、false:リアルタイムで集計する)'); 
    856855INSERT INTO mtb_constants VALUES ('MAX_LOG_QUANTITY','5',92,'ログファイル最大数(ログテーション)'); 
    857856INSERT INTO mtb_constants VALUES ('MAX_LOG_SIZE','"1000000"',93,'1つのログファイルに保存する最大容量(byte)'); 
     
    10691068INSERT INTO mtb_constants VALUES ('MOBILE_COMPILE_DIR', 'COMPILE_DIR . "mobile/"', 401,'SMARTYコンパイル(mobile)'); 
    10701069INSERT INTO mtb_constants VALUES ('MOBILE_SESSION_LIFETIME', '1800', 402,'セッションの存続時間 (秒)'); 
    1071 INSERT INTO mtb_constants VALUES ('MOBILE_USE_KARA_MAIL', 'false', 403,'空メール機能を使用するかどうか'); 
     1070INSERT INTO mtb_constants VALUES ('MOBILE_USE_KARA_MAIL', 'false', 403,'空メール機能を使用するかどうか(true:送信する、false:送信しない)'); 
    10721071INSERT INTO mtb_constants VALUES ('MOBILE_KARA_MAIL_ADDRESS_USER', '"eccube"', 404,'空メール受け付けアドレスのユーザー名部分'); 
    10731072INSERT INTO mtb_constants VALUES ('MOBILE_KARA_MAIL_ADDRESS_DELIMITER', '"+"', 405,'空メール受け付けアドレスのユーザー名とコマンドの間の区切り文字 qmail の場合は -'); 
  • branches/comu-ver2/html/user_data/packages/default/css/main.css

    r17070 r17095  
    11@charset "utf-8"; 
    22* { 
    3     border: 0; 
    43    margin: 0; 
    54    padding: 0; 
     5} 
     6 
     7table,img,p {  
     8    border: 0; 
    69} 
    710 
Note: See TracChangeset for help on using the changeset viewer.