Changeset 16610 for branches/feature-module-update
- Timestamp:
- 2007/10/30 12:48:19 (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/html/user_data/templates/default/js/ownersstore.js.php
r16457 r16610 1 <?php 2 require_once '../../../../require.php'; 3 ob_start(); 4 ?> 1 5 /* 2 6 * Thickbox 3.1 - One Box To Rule Them All. … … 16 20 (function() { 17 21 // オーナーズストア通信スクリプトのパス 18 var upgrade_url = ' <!--{$smarty.const.URL_DIR}-->upgrade/index.php';22 var upgrade_url = '[%URL_DIR%]upgrade/index.php'; 19 23 20 24 // ロード中メッセージ(配信サーバと通信中です…) … … 23 27 // ロード中画像の先読み 24 28 var loading_img = new Image(); 25 loading_img.src = ' /user_data/templates/default/img/ajax/loading.gif';29 loading_img.src = '[%URL_DIR%]user_data/templates/default/img/ajax/loading.gif'; 26 30 27 31 var OwnersStore = function() {} … … 112 116 $("#TB_ajaxContent")[0].scrollTop = 0; 113 117 114 118 } 115 119 116 120 $("#TB_load").remove(); … … 124 128 $("#TB_ajaxWindowTitle").html(title); 125 129 $("#TB_ajaxContent").html(contents); 126 130 $("#TB_window").css({display:"block"}); 127 131 }, 128 132 … … 131 135 this.show_loading(); 132 136 $.post( 133 '/upgrade/index.php',137 upgrade_url, 134 138 {mode: 'download', product_id: product_id}, 135 139 this.show_result, … … 142 146 var remove = this.remove; 143 147 $.post( 144 '/upgrade/index.php',148 upgrade_url, 145 149 {mode: 'products_list'}, 146 150 function(resp, status) { … … 154 158 window.OwnersStore = new OwnersStore(); 155 159 })(); 156 160 <?php 161 header('Content-Type: application/x-javascript'); 162 echo str_replace('[%URL_DIR%]', URL_DIR, ob_get_clean()); 163 ?>
Note: See TracChangeset
for help on using the changeset viewer.