Ignore:
Timestamp:
2011/01/19 15:46:57 (11 years ago)
Author:
Seasoft
Message:

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある)

  • パラメータ名の変更 URL_PATH → ROOT_URLPATH
Location:
branches/version-2_5-dev/html
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/install/index.php

    r19969 r19972  
    952952    "    define ('HTTP_URL', '" . $normal_url . "');\n" . 
    953953    "    define ('HTTPS_URL', '" . $secure_url . "');\n" . 
    954     "    define ('URL_PATH', '" . $url_dir . "');\n" . 
     954    "    define ('ROOT_URLPATH', '" . $url_dir . "');\n" . 
    955955    "    define ('DOMAIN_NAME', '" . $objWebParam->getValue('domain') . "');\n" . 
    956956    "    define ('DB_TYPE', '" . $objDBParam->getValue('db_type') . "');\n" . 
  • branches/version-2_5-dev/html/install/sql/insert_data.sql

    r19966 r19972  
    10571057INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('FAVORITE_ERROR', '13', 46, '一般サイトエラー'); 
    10581058INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_REALDIR', 'HTML_REALDIR . "upload/graph_image/"', 49, 'グラフ格納ディレクトリ'); 
    1059 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_URLPATH', 'URL_PATH . "upload/graph_image/"', 50, 'グラフURL'); 
     1059INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_URLPATH', 'ROOT_URLPATH . "upload/graph_image/"', 50, 'グラフURL'); 
    10601060INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_PIE_MAX', '10', 51, '円グラフ最大表示数'); 
    10611061INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_LABEL_MAX', '40', 52, 'グラフのラベルの文字数'); 
     
    11371137INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_REALDIR', 'HTML_REALDIR . "upload/temp_image/"', 150, '画像一時保存'); 
    11381138INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_REALDIR', 'HTML_REALDIR . "upload/save_image/"', 151, '画像保存先'); 
    1139 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_URLPATH', 'URL_PATH . "upload/temp_image/"', 152, '画像一時保存URL'); 
    1140 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_URLPATH', 'URL_PATH . "upload/save_image/"', 153, '画像保存先URL'); 
     1139INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_URLPATH', 'ROOT_URLPATH . "upload/temp_image/"', 152, '画像一時保存URL'); 
     1140INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_URLPATH', 'ROOT_URLPATH . "upload/save_image/"', 153, '画像保存先URL'); 
    11411141INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_RSS_URL', 'HTTP_URL . "upload/temp_image/"', 154, 'RSS用画像一時保存URL'); 
    11421142INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_RSS_URL', 'HTTP_URL . "upload/save_image/"', 155, 'RSS用画像保存先URL'); 
    11431143INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('CSV_TEMP_REALDIR', 'DATA_REALDIR . "upload/csv/"', 156, 'エンコードCSVの一時保存先'); 
    11441144INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('NO_IMAGE_DIR', 'USER_TEMPLATE_REALDIR . "img/picture/img_blank.gif"', 158, '画像がない場合に表示'); 
    1145 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_SYSTEM_URLPATH', 'URL_PATH . ADMIN_DIR . "system/" . DIR_INDEX_URL', 159, 'システム管理トップ'); 
    1146 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_CLASS_REGIST_URLPATH', 'URL_PATH . ADMIN_DIR . "products/class.php"', 160, '規格登録'); 
    1147 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('INPUT_ZIP_URLPATH', 'URL_PATH . "input_zip.php"', 161, '郵便番号入力'); 
    1148 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_DELIVERY_URLPATH', 'URL_PATH . ADMIN_DIR . "basis/delivery.php"', 162, '配送業者登録'); 
    1149 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_PAYMENT_URLPATH', 'URL_PATH . ADMIN_DIR . "basis/payment.php"', 163, '支払い方法登録'); 
    1150 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_HOME_URLPATH', 'URL_PATH . ADMIN_DIR . "home.php"', 165, 'ホーム'); 
    1151 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_LOGIN_URLPATH', 'URL_PATH . ADMIN_DIR . DIR_INDEX_URL', 166, 'ログインページ'); 
    1152 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_PRODUCTS_URLPATH', 'URL_PATH . ADMIN_DIR . "products/" . DIR_INDEX_URL', 167, '商品検索ページ'); 
    1153 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_EDIT_URLPATH', 'URL_PATH . ADMIN_DIR . "order/edit.php"', 168, '注文編集ページ'); 
    1154 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_URLPATH', 'URL_PATH . ADMIN_DIR . "order/" . DIR_INDEX_URL', 169, '注文編集ページ'); 
    1155 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_MAIL_URLPATH', 'URL_PATH . ADMIN_DIR . "order/mail.php"', 170, '注文編集ページ'); 
    1156 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_LOGOUT_URLPATH', 'URL_PATH . ADMIN_DIR . "logout.php"', 171, 'ログアウトページ'); 
     1145INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_SYSTEM_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "system/" . DIR_INDEX_URL', 159, 'システム管理トップ'); 
     1146INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_CLASS_REGIST_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "products/class.php"', 160, '規格登録'); 
     1147INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('INPUT_ZIP_URLPATH', 'ROOT_URLPATH . "input_zip.php"', 161, '郵便番号入力'); 
     1148INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_DELIVERY_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "basis/delivery.php"', 162, '配送業者登録'); 
     1149INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_PAYMENT_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "basis/payment.php"', 163, '支払い方法登録'); 
     1150INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_HOME_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "home.php"', 165, 'ホーム'); 
     1151INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_LOGIN_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . DIR_INDEX_URL', 166, 'ログインページ'); 
     1152INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_PRODUCTS_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "products/" . DIR_INDEX_URL', 167, '商品検索ページ'); 
     1153INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_EDIT_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "order/edit.php"', 168, '注文編集ページ'); 
     1154INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "order/" . DIR_INDEX_URL', 169, '注文編集ページ'); 
     1155INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_MAIL_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "order/mail.php"', 170, '注文編集ページ'); 
     1156INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_LOGOUT_URLPATH', 'ROOT_URLPATH . ADMIN_DIR . "logout.php"', 171, 'ログアウトページ'); 
    11571157INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SUCCESS', '0', 176, 'アクセス成功'); 
    11581158INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MEMBER_PMAX', '10', 182, 'メンバー管理ページ表示行数'); 
     
    11901190INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_URL', 'HTTPS_URL . "shopping/" . DIR_INDEX_URL', 237, '会員情報入力'); 
    11911191INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ENTRY_URL', 'HTTPS_URL . "entry/" . DIR_INDEX_URL', 238, '会員登録ページTOP'); 
    1192 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('TOP_URLPATH', 'URL_PATH . DIR_INDEX_URL', 239, 'サイトトップ'); 
    1193 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('CART_URLPATH', 'URL_PATH . "cart/" . DIR_INDEX_URL', 240, 'カートトップ'); 
    1194 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('DELIV_URLPATH', 'URL_PATH . "shopping/deliv.php"', 241, 'お届け先設定'); 
    1195 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MULTIPLE_URLPATH', 'URL_PATH . "shopping/multiple.php"', 242, '複数お届け先設定'); 
     1192INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('TOP_URLPATH', 'ROOT_URLPATH . DIR_INDEX_URL', 239, 'サイトトップ'); 
     1193INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('CART_URLPATH', 'ROOT_URLPATH . "cart/" . DIR_INDEX_URL', 240, 'カートトップ'); 
     1194INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('DELIV_URLPATH', 'ROOT_URLPATH . "shopping/deliv.php"', 241, 'お届け先設定'); 
     1195INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MULTIPLE_URLPATH', 'ROOT_URLPATH . "shopping/multiple.php"', 242, '複数お届け先設定'); 
    11961196INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_MYPAGE_TOP', 'HTTPS_URL . "mypage/login.php"', 243, 'Myページトップ'); 
    1197 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_CONFIRM_URLPATH', 'URL_PATH . "shopping/confirm.php"', 244, '購入確認ページ'); 
    1198 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_PAYMENT_URLPATH', 'URL_PATH . "shopping/payment.php"', 245, 'お支払い方法選択ページ'); 
    1199 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_COMPLETE_URLPATH', 'URL_PATH . "shopping/complete.php"', 246, '購入完了画面'); 
    1200 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_MODULE_URLPATH', 'URL_PATH . "shopping/load_payment_module.php"', 249, 'モジュール追加用画面'); 
    1201 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('P_DETAIL_URLPATH', 'URL_PATH . "products/detail.php?product_id="', 253, '商品詳細(HTML出力)'); 
    1202 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MYPAGE_DELIVADDR_URLPATH', 'URL_PATH . "mypage/delivery.php"', 254, 'マイページお届け先URL'); 
     1197INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_CONFIRM_URLPATH', 'ROOT_URLPATH . "shopping/confirm.php"', 244, '購入確認ページ'); 
     1198INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_PAYMENT_URLPATH', 'ROOT_URLPATH . "shopping/payment.php"', 245, 'お支払い方法選択ページ'); 
     1199INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_COMPLETE_URLPATH', 'ROOT_URLPATH . "shopping/complete.php"', 246, '購入完了画面'); 
     1200INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_MODULE_URLPATH', 'ROOT_URLPATH . "shopping/load_payment_module.php"', 249, 'モジュール追加用画面'); 
     1201INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('P_DETAIL_URLPATH', 'ROOT_URLPATH . "products/detail.php?product_id="', 253, '商品詳細(HTML出力)'); 
     1202INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MYPAGE_DELIVADDR_URLPATH', 'ROOT_URLPATH . "mypage/delivery.php"', 254, 'マイページお届け先URL'); 
    12031203INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MAIL_TYPE_PC', '1', 255, 'メールアドレス種別'); 
    12041204INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MAIL_TYPE_MOBILE', '2', 256, 'メールアドレス種別'); 
     
    12521252INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_KARA_MAIL_ADDRESS_DOMAIN', '""', 406, '空メール受け付けアドレスのドメイン部分'); 
    12531253INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_IMAGE_REALDIR', 'HTML_REALDIR . "upload/mobile_image/"', 408, '携帯電話向け変換画像保存ディレクトリ'); 
    1254 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_IMAGE_URLPATH', 'URL_PATH . "upload/mobile_image/"', 409, '携帯電話向け変換画像保存ディレクトリ'); 
     1254INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_IMAGE_URLPATH', 'ROOT_URLPATH . "upload/mobile_image/"', 409, '携帯電話向け変換画像保存ディレクトリ'); 
    12551255INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_TOP_URLPATH', 'MOBILE_URLPATH . DIR_INDEX_URL', 410, 'モバイルURL'); 
    12561256INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_CART_URLPATH', 'MOBILE_URLPATH . "cart/" . DIR_INDEX_URL', 411, 'カートトップ'); 
  • branches/version-2_5-dev/html/user_data/packages/admin/js/ownersstore.js.php

    r19802 r19972  
    2020(function() { 
    2121// オーナーズストア通信スクリプトのパス 
    22 var upgrade_url = '[%URL_PATH%]upgrade/<?php echo DIR_INDEX_URL; ?>'; 
     22var upgrade_url = '[%ROOT_URLPATH%]upgrade/<?php echo DIR_INDEX_URL; ?>'; 
    2323 
    2424// ロード中メッセージ(配信サーバと通信中です…) 
     
    2727// ロード中画像の先読み 
    2828var loading_img = new Image(); 
    29 loading_img.src = '[%URL_PATH%]user_data/packages/default/img/ajax/loading.gif'; 
     29loading_img.src = '[%ROOT_URLPATH%]user_data/packages/default/img/ajax/loading.gif'; 
    3030 
    3131var OwnersStore = function() {} 
     
    177177<?php 
    178178header('Content-Type: application/x-javascript'); 
    179 echo str_replace('[%URL_PATH%]', URL_PATH, ob_get_clean()); 
     179echo str_replace('[%ROOT_URLPATH%]', ROOT_URLPATH, ob_get_clean()); 
    180180?> 
  • branches/version-2_5-dev/html/user_data/plugins/recommend/tpl/bloc.tpl

    r19943 r19972  
    1414                 
    1515                <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id}-->"> 
    16                     <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProduct.name|escape}-->" /></a> 
     16                    <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct.main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProduct.name|escape}-->" /></a> 
    1717 
    1818                <!--{assign var=price02_min value=`$arrProduct.price02_min`}--> 
Note: See TracChangeset for help on using the changeset viewer.