Ignore:
Timestamp:
2013/08/14 20:33:02 (11 years ago)
Author:
pineray
Message:

#2342 JavaScript?のグローバルな宣言を減らす
フォーム関連残り.

Location:
branches/version-2_13-dev/data/class/pages
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php

    r22926 r23064  
    121121        $this->tpl_linemax = $linemax; 
    122122 
    123         $objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $linemax, SEARCH_PMAX, 'fnNaviPage', NAVI_PMAX); 
     123        $objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $linemax, SEARCH_PMAX, 'eccube.common.movePage', NAVI_PMAX); 
    124124        $startno = $objNavi->start_row; 
    125125        $this->tpl_start_row = $objNavi->start_row; 
  • branches/version-2_13-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php

    r22926 r23064  
    9292                    // 親ウィンドウを更新後、自ウィンドウを閉じる。 
    9393                    $url = ADMIN_SYSTEM_URLPATH . '?pageno=' . $this->arrForm['pageno']; 
    94                     $this->tpl_onload = "fnUpdateParent('".$url."'); window.close();"; 
     94                    $this->tpl_onload = "eccube.common.changeParentUrl('".$url."'); window.close();"; 
    9595                } else { 
    9696                    // 入力された値を保持する 
     
    119119                    // 親ウィンドウを更新後、自ウィンドウを閉じる。 
    120120                    $url = ADMIN_SYSTEM_URLPATH . '?pageno=' . $this->arrForm['pageno']; 
    121                     $this->tpl_onload = "fnUpdateParent('".$url."'); window.close();"; 
     121                    $this->tpl_onload = "eccube.common.changeParentUrl('".$url."'); window.close();"; 
    122122                } else { 
    123123                    // 入力された値を保持する 
  • branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage.php

    r23055 r23064  
    8686                                            $this->lfGetOrderHistory($customer_id), 
    8787                                            SEARCH_PMAX, 
    88                                             'fnNaviPage', 
     88                                            'eccube.common.movePage', 
    8989                                            NAVI_PMAX, 
    9090                                            'pageno=#page#', 
  • branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php

    r23057 r23064  
    9090         */ 
    9191        if (!$objCustomer->isLoginSuccess(true) && $ParentPage != MULTIPLE_URLPATH) { 
    92             $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 
     92            $this->tpl_onload = "eccube.common.changeParentUrl('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 
    9393        } 
    9494 
     
    109109                    // TODO ここでやるべきではない 
    110110                    if (in_array($_POST['ParentPage'], $this->validUrl)) { 
    111                         $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 
     111                        $this->tpl_onload = "eccube.common.changeParentUrl('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 
    112112                    } else { 
    113113                        SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 
  • branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php

    r23038 r23064  
    128128 
    129129        // ページ送りの取得 
    130         $objNavi        = new SC_PageNavi_Ex($objPage->tpl_pageno, $linemax, SEARCH_PMAX, 'fnNaviPage', NAVI_PMAX); 
     130        $objNavi        = new SC_PageNavi_Ex($objPage->tpl_pageno, $linemax, SEARCH_PMAX, 'eccube.common.movePage', NAVI_PMAX); 
    131131        $this->tpl_strnavi = $objNavi->strnavi; // 表示文字列 
    132132        $startno        = $objNavi->start_row; 
  • branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php

    r23055 r23064  
    144144            $urlParam .= "&mode={$this->mode}&name={$searchNameUrl}&orderby={$this->orderby}"; 
    145145        } 
    146         $this->objNavi      = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'fnNaviPage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE); 
     146        $this->objNavi      = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'eccube.common.movePage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE); 
    147147        $this->arrProducts  = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $objProduct); 
    148148 
  • branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping.php

    r23055 r23064  
    4747        $this->arrSex = $masterData->getMasterData('mtb_sex'); 
    4848        $this->arrJob = $masterData->getMasterData('mtb_job'); 
    49         $this->tpl_onload = 'fnCheckInputDeliv();'; 
     49        $this->tpl_onload = 'eccube.common.toggleDeliveryForm();'; 
    5050 
    5151        $objDate = new SC_Date_Ex(BIRTH_YEAR, date('Y',strtotime('now'))); 
  • branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r23055 r23064  
    4747    { 
    4848        parent::init(); 
    49         $this->tpl_onload = 'fnCheckInputPoint();'; 
     49        $this->tpl_onload = 'eccube.common.togglePointForm();'; 
    5050        $this->tpl_title = 'お支払方法・お届け時間等の指定'; 
    5151        $masterData = new SC_DB_MasterData_Ex(); 
Note: See TracChangeset for help on using the changeset viewer.