Changeset 19961 for branches/version-2_5-dev/data/class
- Timestamp:
- 2011/01/18 21:41:26 (16 years ago)
- Location:
- branches/version-2_5-dev/data/class/pages
- Files:
-
- 5 edited
-
contact/LC_Page_Contact.php (modified) (2 diffs)
-
entry/LC_Page_Entry_Complete.php (modified) (2 diffs)
-
forgot/LC_Page_Forgot.php (modified) (3 diffs)
-
mypage/LC_Page_Mypage_DeliveryAddr.php (modified) (4 diffs)
-
products/LC_Page_Products_CategoryList.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php
r19832 r19961 30 30 * @package Page 31 31 * @author LOCKON CO.,LTD. 32 * @version $Id :LC_Page_Contact.php 15532 2007-08-31 14:39:46Z nanasess$32 * @version $Id$ 33 33 */ 34 34 class LC_Page_Contact extends LC_Page { … … 92 92 function action() { 93 93 $objDb = new SC_Helper_DB_Ex(); 94 $CONF = $objDb->sfGetBasisData(); // 店舗基本情報 95 96 $objCustomer = new SC_Customer(); 94 $this->CONF = $objDb->sfGetBasisData(); // 店舗基本情報 97 95 98 96 $this->arrData = isset($_SESSION['customer']) ? $_SESSION['customer'] : ""; -
branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_Complete.php
r19852 r19961 30 30 * @package Page 31 31 * @author LOCKON CO.,LTD. 32 * @version $Id :LC_Page_Entry_Complete.php 15532 2007-08-31 14:39:46Z nanasess$32 * @version $Id$ 33 33 */ 34 34 class LC_Page_Entry_Complete extends LC_Page { … … 44 44 function init() { 45 45 parent::init(); 46 47 // カートが空かどうかを確認する。 48 $objCartSess = new SC_CartSession(); 49 $this->tpl_cart_empty = count($objCartSess->getCartList()) < 1; 46 50 47 51 // メインテンプレートを設定 -
branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php
r19824 r19961 30 30 * @package Page 31 31 * @author LOCKON CO.,LTD. 32 * @version $Id :LC_Page_Forgot.php 15532 2007-08-31 14:39:46Z nanasess$32 * @version $Id$ 33 33 */ 34 34 class LC_Page_Forgot extends LC_Page { … … 55 55 function init() { 56 56 parent::init(); 57 $this->tpl_title = "パスワードを忘れた方"; 57 58 $this->tpl_mainpage = 'forgot/index.tpl'; 58 59 $this->tpl_mainno = ''; … … 173 174 } 174 175 175 // モバイルサイトの場合はトークン生成176 176 if (defined("MOBILE_SITE") && MOBILE_SITE) { 177 // モバイルサイトの場合はトークン生成 177 178 $this->createMobileToken(); 179 } else { 180 // モバイルサイト以外の場合、ポップアップ用テンプレートファイル設定 181 $this->setTemplate($this->tpl_mainpage); 178 182 } 179 $this->setTemplate($this->tpl_mainpage);180 183 } 181 184 -
branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php
r19943 r19961 67 67 */ 68 68 function action() { 69 //$objView = new SC_SiteView(false);70 69 $objQuery = new SC_Query(); 71 70 $objCustomer = new SC_Customer(); … … 84 83 * 未ログインでも, 複数配送設定ページからのアクセスの場合は表示する 85 84 */ 86 if (!$objCustomer->isLoginSuccess( ) && $ParentPage != MULTIPLE_URLPATH){85 if (!$objCustomer->isLoginSuccess(true) && $ParentPage != MULTIPLE_URLPATH){ 87 86 $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();"; 88 87 } … … 98 97 //不正アクセス判定 99 98 $flag = $objQuery->count("dtb_other_deliv", "customer_id=? AND other_deliv_id=?", array($objCustomer->getValue("customer_id"), $_SESSION['other_deliv_id'])); 100 if (!$objCustomer->isLoginSuccess( ) || $flag == 0){99 if (!$objCustomer->isLoginSuccess(true) || $flag == 0){ 101 100 SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 102 101 } … … 158 157 break; 159 158 } 160 $this->setTemplate('mypage/delivery_addr.tpl'); 159 if(Net_UserAgent_Mobile::isMobile() === true) { 160 $this->tpl_mainpage = 'mypage/delivery_addr.tpl'; 161 } else { 162 $this->setTemplate('mypage/delivery_addr.tpl'); 163 } 161 164 } 162 165 -
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_CategoryList.php
r19865 r19961 67 67 // カテゴリー情報を取得する。 68 68 $this->lfGetCategories(@$_GET['category_id'], true, $this); 69 $this->tpl_subtitle = $this->arrCategory['category_name']; 69 70 } 70 71
Note: See TracChangeset
for help on using the changeset viewer.
