Ignore:
Timestamp:
2011/01/06 01:28:55 (11 years ago)
Author:
Seasoft
Message:

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

Location:
branches/version-2_5-dev/html
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/admin/system/check.php

    r18701 r19833  
    4141 
    4242// ページの表示 
    43 $location = "Location: " . URL_SYSTEM_TOP . "?pageno=".$_GET['pageno']; 
     43$location = "Location: " . ADMIN_SYSTEM_URL_PATH . "?pageno=".$_GET['pageno']; 
    4444header($location); 
    4545?> 
  • branches/version-2_5-dev/html/install/sql/insert_data.sql

    r19822 r19833  
    10761076INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('FAVORITE_ERROR', '13', 46, '一般サイトエラー'); 
    10771077INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_REALDIR', 'HTML_REALDIR . "upload/graph_image/"', 49, 'グラフ格納ディレクトリ'); 
    1078 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_URL', 'URL_PATH . "upload/graph_image/"', 50, 'グラフURL'); 
     1078INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_URL_PATH', 'URL_PATH . "upload/graph_image/"', 50, 'グラフURL'); 
    10791079INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_PIE_MAX', '10', 51, '円グラフ最大表示数'); 
    10801080INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('GRAPH_LABEL_MAX', '40', 52, 'グラフのラベルの文字数'); 
     
    11561156INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_REALDIR', 'HTML_REALDIR . "upload/temp_image/"', 150, '画像一時保存'); 
    11571157INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_REALDIR', 'HTML_REALDIR . "upload/save_image/"', 151, '画像保存先'); 
    1158 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_URL', 'URL_PATH . "upload/temp_image/"', 152, '画像一時保存URL'); 
    1159 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_URL', 'URL_PATH . "upload/save_image/"', 153, '画像保存先URL'); 
    1160 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_URL_RSS', 'HTTP_URL . "upload/temp_image/"', 154, 'RSS用画像一時保存URL'); 
    1161 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_URL_RSS', 'HTTP_URL . "upload/save_image/"', 155, 'RSS用画像保存先URL'); 
     1158INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_URL_PATH', 'URL_PATH . "upload/temp_image/"', 152, '画像一時保存URL'); 
     1159INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_URL_PATH', 'URL_PATH . "upload/save_image/"', 153, '画像保存先URL'); 
     1160INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_TEMP_RSS_URL', 'HTTP_URL . "upload/temp_image/"', 154, 'RSS用画像一時保存URL'); 
     1161INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('IMAGE_SAVE_RSS_URL', 'HTTP_URL . "upload/save_image/"', 155, 'RSS用画像保存先URL'); 
    11621162INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('CSV_TEMP_REALDIR', 'DATA_REALDIR . "upload/csv/"', 156, 'エンコードCSVの一時保存先'); 
    1163 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('NO_IMAGE_URL', 'TPL_DIR . "img/picture/img_blank.gif"', 157, '画像がない場合に表示'); 
    11641163INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('NO_IMAGE_DIR', 'USER_TEMPLATE_REALDIR . "img/picture/img_blank.gif"', 158, '画像がない場合に表示'); 
    1165 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SYSTEM_TOP', 'URL_PATH . ADMIN_DIR . "system/" . DIR_INDEX_URL', 159, 'システム管理トップ'); 
    1166 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_CLASS_REGIST', 'URL_PATH . ADMIN_DIR . "products/class.php"', 160, '規格登録'); 
    1167 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_INPUT_ZIP', 'URL_PATH . "input_zip.php"', 161, '郵便番号入力'); 
    1168 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_DELIVERY_TOP', 'URL_PATH . ADMIN_DIR . "basis/delivery.php"', 162, '配送業者登録'); 
    1169 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_PAYMENT_TOP', 'URL_PATH . ADMIN_DIR . "basis/payment.php"', 163, '支払い方法登録'); 
    1170 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_CONTROL_TOP', 'URL_PATH . ADMIN_DIR . "basis/control.php"', 164, 'サイト管理情報登録'); 
    1171 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_HOME', 'URL_PATH . ADMIN_DIR . "home.php"', 165, 'ホーム'); 
    1172 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_LOGIN', 'URL_PATH . ADMIN_DIR . "" . DIR_INDEX_URL', 166, 'ログインページ'); 
    1173 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SEARCH_TOP', 'URL_PATH . ADMIN_DIR . "products/" . DIR_INDEX_URL', 167, '商品検索ページ'); 
    1174 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_ORDER_EDIT', 'URL_PATH . ADMIN_DIR . "order/edit.php"', 168, '注文編集ページ'); 
    1175 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SEARCH_ORDER', 'URL_PATH . ADMIN_DIR . "order/" . DIR_INDEX_URL', 169, '注文編集ページ'); 
    1176 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_ORDER_MAIL', 'URL_PATH . ADMIN_DIR . "order/mail.php"', 170, '注文編集ページ'); 
    1177 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_LOGOUT', 'URL_PATH . ADMIN_DIR . "logout.php"', 171, 'ログアウトページ'); 
    1178 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SYSTEM_CSV', 'URL_PATH . ADMIN_DIR . "system/member_csv.php"', 172, 'システム管理CSV出力ページ'); 
    1179 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_ADMIN_CSS', 'URL_PATH . ADMIN_DIR . "css/"', 173, '管理機能用CSS保管ディレクトリ'); 
     1164INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_SYSTEM_URL_PATH', 'URL_PATH . ADMIN_DIR . "system/" . DIR_INDEX_URL', 159, 'システム管理トップ'); 
     1165INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_CLASS_REGIST_URL_PATH', 'URL_PATH . ADMIN_DIR . "products/class.php"', 160, '規格登録'); 
     1166INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('INPUT_ZIP_URL_PATH', 'URL_PATH . "input_zip.php"', 161, '郵便番号入力'); 
     1167INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_DELIVERY_URL_PATH', 'URL_PATH . ADMIN_DIR . "basis/delivery.php"', 162, '配送業者登録'); 
     1168INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_PAYMENT_URL_PATH', 'URL_PATH . ADMIN_DIR . "basis/payment.php"', 163, '支払い方法登録'); 
     1169INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_HOME_URL_PATH', 'URL_PATH . ADMIN_DIR . "home.php"', 165, 'ホーム'); 
     1170INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_LOGIN_URL_PATH', 'URL_PATH . ADMIN_DIR . DIR_INDEX_URL', 166, 'ログインページ'); 
     1171INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_PRODUCTS_URL_PATH', 'URL_PATH . ADMIN_DIR . "products/" . DIR_INDEX_URL', 167, '商品検索ページ'); 
     1172INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_EDIT_URL_PATH', 'URL_PATH . ADMIN_DIR . "order/edit.php"', 168, '注文編集ページ'); 
     1173INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_URL_PATH', 'URL_PATH . ADMIN_DIR . "order/" . DIR_INDEX_URL', 169, '注文編集ページ'); 
     1174INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_ORDER_MAIL_URL_PATH', 'URL_PATH . ADMIN_DIR . "order/mail.php"', 170, '注文編集ページ'); 
     1175INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ADMIN_LOGOUT_URL_PATH', 'URL_PATH . ADMIN_DIR . "logout.php"', 171, 'ログアウトページ'); 
    11801176INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SUCCESS', '0', 176, 'アクセス成功'); 
    11811177INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MEMBER_PMAX', '10', 182, 'メンバー管理ページ表示行数'); 
     
    12111207INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SEPA_CATNAVI', '" > "', 235, 'カテゴリ区切り文字'); 
    12121208INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SEPA_CATLIST', '" | "', 236, 'カテゴリ区切り文字'); 
    1213 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_TOP', 'HTTPS_URL . "shopping/" . DIR_INDEX_URL', 237, '会員情報入力'); 
    1214 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_ENTRY_TOP', 'HTTPS_URL . "entry/" . DIR_INDEX_URL', 238, '会員登録ページTOP'); 
    1215 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SITE_TOP', 'URL_PATH . DIR_INDEX_URL', 239, 'サイトトップ'); 
    1216 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_CART_TOP', 'URL_PATH . "cart/" . DIR_INDEX_URL', 240, 'カートトップ'); 
    1217 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_DELIV_TOP', 'URL_PATH . "shopping/deliv.php"', 241, 'お届け先設定'); 
     1209INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_URL', 'HTTPS_URL . "shopping/" . DIR_INDEX_URL', 237, '会員情報入力'); 
     1210INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('ENTRY_URL', 'HTTPS_URL . "entry/" . DIR_INDEX_URL', 238, '会員登録ページTOP'); 
     1211INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('TOP_URL_PATH', 'URL_PATH . DIR_INDEX_URL', 239, 'サイトトップ'); 
     1212INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('CART_URL_PATH', 'URL_PATH . "cart/" . DIR_INDEX_URL', 240, 'カートトップ'); 
     1213INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('DELIV_URL_PATH', 'URL_PATH . "shopping/deliv.php"', 241, 'お届け先設定'); 
    12181214INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_MYPAGE_TOP', 'HTTPS_URL . "mypage/login.php"', 242, 'Myページトップ'); 
    1219 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_CONFIRM', 'URL_PATH . "shopping/confirm.php"', 243, '購入確認ページ'); 
    1220 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_PAYMENT', 'URL_PATH . "shopping/payment.php"', 244, 'お支払い方法選択ページ'); 
    1221 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_COMPLETE', 'URL_PATH . "shopping/complete.php"', 245, '購入完了画面'); 
    1222 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_CREDIT', 'URL_PATH . "shopping/card.php"', 246, 'カード決済画面'); 
    1223 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_LOAN', 'URL_PATH . "shopping/loan.php"', 247, 'ローン決済画面'); 
    1224 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_CONVENIENCE', 'URL_PATH . "shopping/convenience.php"', 248, 'コンビニ決済画面'); 
    1225 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('URL_SHOP_MODULE', 'URL_PATH . "shopping/load_payment_module.php"', 249, 'モジュール追加用画面'); 
    1226 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('DETAIL_P_HTML', 'URL_PATH . "products/detail.php?product_id="', 253, '商品詳細(HTML出力)'); 
    1227 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MYPAGE_DELIVADDR_URL', 'URL_PATH . "mypage/delivery.php"', 254, 'マイページお届け先URL'); 
     1215INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_CONFIRM_URL_PATH', 'URL_PATH . "shopping/confirm.php"', 243, '購入確認ページ'); 
     1216INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_PAYMENT_URL_PATH', 'URL_PATH . "shopping/payment.php"', 244, 'お支払い方法選択ページ'); 
     1217INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_COMPLETE_URL_PATH', 'URL_PATH . "shopping/complete.php"', 245, '購入完了画面'); 
     1218INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SHOPPING_MODULE_URL_PATH', 'URL_PATH . "shopping/load_payment_module.php"', 249, 'モジュール追加用画面'); 
     1219INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('P_DETAIL_URL_PATH', 'URL_PATH . "products/detail.php?product_id="', 253, '商品詳細(HTML出力)'); 
     1220INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MYPAGE_DELIVADDR_URL_PATH', 'URL_PATH . "mypage/delivery.php"', 254, 'マイページお届け先URL'); 
    12281221INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MAIL_TYPE_PC', '1', 255, 'メールアドレス種別'); 
    12291222INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MAIL_TYPE_MOBILE', '2', 256, 'メールアドレス種別'); 
     
    12751268INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_KARA_MAIL_ADDRESS_DOMAIN', '""', 406, '空メール受け付けアドレスのドメイン部分'); 
    12761269INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_IMAGE_REALDIR', 'HTML_REALDIR . "upload/mobile_image/"', 408, '携帯電話向け変換画像保存ディレクトリ'); 
    1277 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_IMAGE_URL', 'URL_PATH . "upload/mobile_image/"', 409, '携帯電話向け変換画像保存ディレクトリ'); 
    1278 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_SITE_TOP', 'MOBILE_URL_PATH . DIR_INDEX_URL', 410, 'モバイルURL'); 
    1279 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_CART_TOP', 'MOBILE_URL_PATH . "cart/" . DIR_INDEX_URL', 411, 'カートトップ'); 
    1280 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_SHOP_TOP', 'MOBILE_HTTPS_URL . "shopping/" . DIR_INDEX_URL', 412, '会員情報入力'); 
    1281 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_SHOP_CONFIRM', 'MOBILE_URL_PATH . "shopping/confirm.php"', 413, '購入確認ページ'); 
    1282 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_SHOP_PAYMENT', 'MOBILE_URL_PATH . "shopping/payment.php"', 414, 'お支払い方法選択ページ'); 
    1283 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_DETAIL_P_HTML', 'MOBILE_URL_PATH . "products/detail.php?product_id="', 415, '商品詳細(HTML出力)'); 
    1284 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_SHOP_COMPLETE', 'MOBILE_URL_PATH . "shopping/complete.php"', 416, '購入完了画面'); 
    1285 INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_URL_SHOP_MODULE', 'MOBILE_URL_PATH . "shopping/load_payment_module.php"', 417, 'モジュール追加用画面'); 
     1270INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_IMAGE_URL_PATH', 'URL_PATH . "upload/mobile_image/"', 409, '携帯電話向け変換画像保存ディレクトリ'); 
     1271INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_TOP_URL_PATH', 'MOBILE_URL_PATH . DIR_INDEX_URL', 410, 'モバイルURL'); 
     1272INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_CART_URL_PATH', 'MOBILE_URL_PATH . "cart/" . DIR_INDEX_URL', 411, 'カートトップ'); 
     1273INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_SHOPPING_URL', 'MOBILE_HTTPS_URL . "shopping/" . DIR_INDEX_URL', 412, '会員情報入力'); 
     1274INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_SHOPPING_CONFIRM_URL_PATH', 'MOBILE_URL_PATH . "shopping/confirm.php"', 413, '購入確認ページ'); 
     1275INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_SHOPPING_PAYMENT_URL_PATH', 'MOBILE_URL_PATH . "shopping/payment.php"', 414, 'お支払い方法選択ページ'); 
     1276INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_P_DETAIL_URL_PATH', 'MOBILE_URL_PATH . "products/detail.php?product_id="', 415, '商品詳細(HTML出力)'); 
     1277INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_SHOPPING_COMPLETE_URL_PATH', 'MOBILE_URL_PATH . "shopping/complete.php"', 416, '購入完了画面'); 
     1278INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('MOBILE_SHOPPING_MODULE_URL_PATH', 'MOBILE_URL_PATH . "shopping/load_payment_module.php"', 417, 'モジュール追加用画面'); 
    12861279INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SESSION_KEEP_METHOD', '"useCookie"', 418, 'セッション維持方法:useCookie|useRequest'); 
    12871280INSERT INTO mtb_constants (id, name, rank, remarks) VALUES ('SESSION_LIFETIME', '1800', 419, 'セッションの存続時間 (秒)'); 
  • branches/version-2_5-dev/html/user_data/plugins/recommend/tpl/bloc.tpl

    r19802 r19833  
    1313            <div class="whoboughtleft"><!--{* XXX whoboughtleft は本来左列用なので、動作に不具合があるかもしれない。 *}--> 
    1414                 
    15                 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id}-->"> 
     15                <a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrProduct.product_id}-->"> 
    1616                    <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> 
    1717 
    1818                <!--{assign var=price02_min value=`$arrProduct.price02_min`}--> 
    1919                <!--{assign var=price02_max value=`$arrProduct.price02_max`}--> 
    20                 <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|escape}--></a></h3> 
     20                <h3><a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|escape}--></a></h3> 
    2121 
    2222                <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
Note: See TracChangeset for help on using the changeset viewer.