OSDN Git Service

- 絶対パスを削除(view, javascript, css)
authortmatsuzawa <tmatsuzawa@06daa6dd-5c14-464e-8a85-0d68c524be32>
Mon, 1 Feb 2010 02:44:42 +0000 (02:44 +0000)
committertmatsuzawa <tmatsuzawa@06daa6dd-5c14-464e-8a85-0d68c524be32>
Mon, 1 Feb 2010 02:44:42 +0000 (02:44 +0000)
- Rails 2.3.2に依存しないようenvironmentを修正
- javascript用コントローラの設定をrouteに追加

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/elecoma/trunk@39 06daa6dd-5c14-464e-8a85-0d68c524be32

165 files changed:
app/controllers/javascript_controller.rb [new file with mode: 0644]
app/helpers/base_helper.rb
app/views/accounts/_delivery_form.html.erb
app/views/accounts/_form.html.erb
app/views/accounts/activate.html.erb
app/views/accounts/delivery_confirm.html.erb
app/views/accounts/delivery_edit.html.erb
app/views/accounts/delivery_list.html.erb
app/views/accounts/delivery_new.html.erb
app/views/accounts/edit.html.erb
app/views/accounts/edit_complete.html.erb
app/views/accounts/edit_confirm.html.erb
app/views/accounts/history_list.html.erb
app/views/accounts/history_show.html.erb
app/views/accounts/kiyaku.html.erb
app/views/accounts/login.html.erb
app/views/accounts/signup.html.erb
app/views/accounts/signup_complete.html.erb
app/views/accounts/signup_confirm.html.erb
app/views/accounts/withdraw.html.erb
app/views/accounts/withdraw_complete.html.erb
app/views/accounts/withdraw_confirm.html.erb
app/views/admin/accounts/login.html.erb
app/views/admin/admin_users/_form.html.erb
app/views/admin/admin_users/_submenu.html.erb
app/views/admin/authorities/_form.html.erb
app/views/admin/authorities/_submenu.html.erb
app/views/admin/base/_depot_submenu.html.erb
app/views/admin/base/_product_submenu.html.erb
app/views/admin/base/_shop_submenu.html.erb
app/views/admin/campaigns/_form.html.erb
app/views/admin/campaigns/_submenu.html.erb
app/views/admin/campaigns/campaign_design.html.erb
app/views/admin/categories/_form.html.erb
app/views/admin/customers/_form.html.erb
app/views/admin/customers/_submenu.html.erb
app/views/admin/customers/confirm.html.erb
app/views/admin/customers/edit.html.erb
app/views/admin/customers/search.html.erb
app/views/admin/designs/_submenu.html.erb
app/views/admin/designs/mobile.html.erb
app/views/admin/designs/pc.html.erb
app/views/admin/feature_products/_submenu.html.erb
app/views/admin/feature_products/confirm.html.erb
app/views/admin/feature_products/edit.html.erb
app/views/admin/feature_products/new.html.erb
app/views/admin/features/_form.html.erb
app/views/admin/features/_submenu.html.erb
app/views/admin/features/confirm.html.erb
app/views/admin/features/edit.html.erb
app/views/admin/features/new.html.erb
app/views/admin/home/_submenu.html.erb
app/views/admin/home/index.html.erb
app/views/admin/mail_magazine_templates/_form.html.erb
app/views/admin/mail_magazine_templates/_submenu.html.erb
app/views/admin/mail_magazine_templates/edit.html.erb
app/views/admin/mail_magazine_templates/index.html.erb
app/views/admin/mail_magazine_templates/new.html.erb
app/views/admin/mail_magazines/_mail_contents.html.erb
app/views/admin/mail_magazines/_submenu.html.erb
app/views/admin/mail_magazines/confirm.html.erb
app/views/admin/mail_magazines/search.html.erb
app/views/admin/mail_magazines/template_search.html.erb
app/views/admin/new_informations/_submenu.html.erb
app/views/admin/new_informations/confirm.html.erb
app/views/admin/new_informations/edit.html.erb
app/views/admin/new_informations/new.html.erb
app/views/admin/orders/_form.html.erb
app/views/admin/orders/_submenu.html.erb
app/views/admin/orders/search.html.erb
app/views/admin/product_styles/_create_form.html.erb
app/views/admin/product_styles/_submenu.html.erb
app/views/admin/product_styles/confirm.html.erb
app/views/admin/product_styles/new.html.erb
app/views/admin/products/actual_count_search.html.erb
app/views/admin/products/confirm.html.erb
app/views/admin/products/edit.html.erb
app/views/admin/products/new.html.erb
app/views/admin/products/search.html.erb
app/views/admin/questionnaires/_form.html.erb
app/views/admin/recommend_products/_form.html.erb
app/views/admin/recommend_products/_submenu.html.erb
app/views/admin/shops/_delivery_form.html.erb
app/views/admin/shops/_form.html.erb
app/views/admin/shops/_payment_form.html.erb
app/views/admin/shops/_point_form.html.erb
app/views/admin/shops/_seo_form.html.erb
app/views/admin/shops/_settings_form.html.erb
app/views/admin/shops/_tradelaw_form.html.erb
app/views/admin/shops/kiyaku_index.html.erb
app/views/admin/shops/mail_index.html.erb
app/views/admin/shops/payment_complete.html.erb
app/views/admin/shops/privacy.html.erb
app/views/admin/shops/privacy_preview.html.erb
app/views/admin/shops/privacy_preview_mobile.html.erb
app/views/admin/shops/tradelaw_index.html.erb
app/views/admin/stock_csv/index.html.erb
app/views/admin/stock_in/_form.html.erb
app/views/admin/stock_in/edit.html.erb
app/views/admin/stock_modify/_form.html.erb
app/views/admin/stock_modify/edit.html.erb
app/views/admin/suppliers/_form.html.erb
app/views/admin/suppliers/confirm.html.erb
app/views/admin/suppliers/edit.html.erb
app/views/admin/suppliers/new.html.erb
app/views/admin/totals/_submenu.html.erb
app/views/admin/totals/index.html.erb
app/views/base/_recommend_asp.html.erb
app/views/base/_recommend_product_mobile.html.erb
app/views/base/_recommend_ranking.html.erb
app/views/base/_recommend_ranking_mobile.html.erb
app/views/base/_right_sidebar.html.erb
app/views/campaigns/show.html.erb
app/views/cart/_login_form.html.erb
app/views/cart/complete.html.erb
app/views/cart/confirm.html.erb
app/views/cart/purchase.html.erb
app/views/cart/shipping.html.erb
app/views/cart/show.html.erb
app/views/cart/temporary_shipping.html.erb
app/views/features/_free.html.erb
app/views/features/_product.html.erb
app/views/features/show.html.erb
app/views/inquiries/complete.html.erb
app/views/inquiries/confirm.html.erb
app/views/inquiries/new.html.erb
app/views/inquiries/privacy.html.erb
app/views/inquiries/show.html.erb
app/views/javascript/application.html.erb [new file with mode: 0644]
app/views/javascript/thickbox.html.erb [new file with mode: 0644]
app/views/javascript/treemenu.html.erb [new file with mode: 0644]
app/views/layouts/admin/base.html.erb
app/views/layouts/admin/preview_base.html.erb
app/views/layouts/base.html.erb
app/views/portal/escape_clause.html.erb
app/views/portal/privacy.html.erb
app/views/portal/show.html.erb
app/views/portal/show_tradelaw.html.erb
app/views/products/index.html.erb
app/views/products/show.html.erb
app/views/questionnaires/new.html.erb
app/views/user/_navigation.html.erb
app/views/user/address_complete.html.erb
app/views/user/address_create_confirm.html.erb
app/views/user/address_edit.html.erb
app/views/user/address_list.html.erb
app/views/user/address_list_mobile.html.erb
app/views/user/address_update_confirm.html.erb
config/environment.rb
config/routes.rb
public/javascripts/admin/emoji_palette.js
public/javascripts/application.js
public/stylesheets/common.css
public/stylesheets/front/campaign.css
public/stylesheets/front/cart.css
public/stylesheets/front/category.css
public/stylesheets/front/common.css
public/stylesheets/front/entry.css
public/stylesheets/front/features.css
public/stylesheets/front/item.css
public/stylesheets/front/login.css
public/stylesheets/front/mypage.css
public/stylesheets/front/portal.css
public/stylesheets/front/questionnaire.css
public/stylesheets/front/top.css

diff --git a/app/controllers/javascript_controller.rb b/app/controllers/javascript_controller.rb
new file mode 100644 (file)
index 0000000..b12ae97
--- /dev/null
@@ -0,0 +1,12 @@
+class JavascriptController < ApplicationController
+  caches_page :application
+  after_filter {|c| c.headers["Content-Type"] = 'application/javascript' }
+  def application
+  end
+
+  def thickbox
+  end
+
+  def treemenu
+  end
+end
index 4a953b0..7aaa70e 100644 (file)
@@ -64,7 +64,7 @@ module BaseHelper
       return_str += ' '
     else
       return_str += "<li>"
-      return_str += " "*depth + "<img src='/images/common/list_ore_s.gif'> " unless image_flg
+      return_str += " "*depth + "<img src='" + ActionController::Base.relative_url_root + "/images/common/list_ore_s.gif'> " unless image_flg
       return_str += link_to_category category, type, image_flg
       return_str += "</li>"
     end
index b10dafc..9153f57 100644 (file)
@@ -1,5 +1,6 @@
 <% content_for :head do %>
- <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <table class="tb2">
@@ -15,8 +16,8 @@
     <th>郵便番号<font color="red">※</font></th>
     <td>
       〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
-      <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
-      <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('delivery_address_zipcode01','delivery_address_zipcode02', null, 'delivery_address_address_city', 'delivery_address_address_detail', 'delivery_address_prefecture_id', 'accounts');" type="button">
+      <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+      <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('delivery_address_zipcode01','delivery_address_zipcode02', null, 'delivery_address_address_city', 'delivery_address_address_detail', 'delivery_address_prefecture_id', 'accounts', '<%=h ActionController::Base.relative_url_root %>');" type="button">
       郵便番号を入力後、クリックしてください。
     </td>
   </tr>
index 3eeb8e5..79336b1 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= stylesheet_link_tag "front/entry" %>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <table class="tb2">
@@ -22,8 +23,8 @@
     <th>郵便番号<span class="must">※</span></th>
     <td>
       〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} -%>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
-      <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
-      <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', null, 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'accounts');" type="button">
+      <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+      <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', null, 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'accounts', '<%=h ActionController::Base.relative_url_root %>');" type="button">
       ※郵便番号を入力後、クリックしてください。
     </td>
   </tr>
index 2011afb..87427bf 100644 (file)
@@ -2,7 +2,7 @@
   <%= stylesheet_link_tag "front/entry" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li><%= @customer ? "登録完了" : "登録失敗" %></li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li><%= @customer ? "登録完了" : "登録失敗" %></li></ol>
 <h2 class="main_t">会員登録</h2>
 <div id="entry">
   <% if @customer %>
@@ -15,4 +15,4 @@
       <p>すでに登録完了されているか、URL が違います。</p>
     </div>
   <% end %>
-</div>
\ No newline at end of file
+</div>
index c995d98..9b13944 100644 (file)
@@ -2,14 +2,14 @@
   <%= stylesheet_link_tag "front/mypage" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先確認</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
   <%= render :partial=> "user/navigation" %>
   <!-- お届け先設定 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+    <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
     <div class="mypage_box">
       <p class="tb_t">お届け先変更の確認 修正がある場合は、戻るボタンから戻って修正してください。</p>
       <%= error_messages_for :delivery_address %>
@@ -51,7 +51,7 @@
         </div>
       <% end %>
     </div>
-    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
 
index 3066f71..363cd11 100644 (file)
@@ -1,6 +1,6 @@
 <%= stylesheet_link_tag "front/mypage" %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先編集</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先編集</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
@@ -8,7 +8,7 @@
 
   <!-- お届け先設定 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+    <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
     <div class="mypage_box">
       <p>下記項目にご入力ください。「<font color="red">※</font>」印は入力必須項目です。</p>
       <p>入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p>
@@ -18,7 +18,7 @@
         <%= hidden_field_tag 'popup', @popup %>
       <% end %>
     </div><!-- /mypage_box -->
-          <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
 
index 3dbce80..e004d78 100644 (file)
@@ -2,14 +2,14 @@
   <%= stylesheet_link_tag "front/mypage" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先一覧</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先一覧</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
   <%= render :partial=> "user/navigation" %>
   <!-- お届け先設定 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+    <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
     <div class="mypage_box">
       <div><%= flash[:notice] %></div>
       <div><%= flash[:error] %></div>
@@ -42,6 +42,6 @@
         </table>
       <% end %>
     </div>
-    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
-</div><!-- /mypage -->
\ No newline at end of file
+</div><!-- /mypage -->
index 3c995a7..c1e455b 100644 (file)
@@ -1,6 +1,6 @@
 <%= stylesheet_link_tag "front/mypage" %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先設定</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>お届け先設定</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
@@ -8,7 +8,7 @@
 
   <!-- お届け先設定 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t3.gif" width="535" height="44" alt="お届け先設定" /></h3>
+    <h3><%= image_tag("mypage/mypage_t3.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>
     <div class="mypage_box">
       <p class="tb_t">お届け先の追加</p>
       <div>
@@ -21,6 +21,6 @@
         <% end %>
       </div>
     </div>
-  <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
index 5c62337..0bf5019 100644 (file)
@@ -2,20 +2,20 @@
   <%= stylesheet_link_tag "front/mypage" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>会員登録内容変更</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>会員登録内容変更</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
   <%= render :partial=> "user/navigation" %>
   <!-- 会員登録内容変更 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
+    <h3><%= image_tag("mypage/mypage_t2.gif", :width => "535", :height => "44", :alt => "会員登録内容変更") %></h3>
     <div class="mypage_box">
       <%= error_messages_for :customer %>
       <% form_for :customer, :url => {:action => 'edit_confirm'} do |f| %>
         <%= render :partial => "form", :locals => {:f => f} %>
       <% end %>
     </div>
-    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
index 9ebe7e4..85d1112 100644 (file)
@@ -2,19 +2,19 @@
   <%= stylesheet_link_tag "front/mypage" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容変更完了</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容変更完了</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
   <%= render :partial=> "user/navigation" %>
   <!-- 会員登録内容変更 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
+    <h3><%= image_tag("mypage/mypage_t2.gif", :width => "535", :height => "44", :alt => "会員登録内容変更") %></h3>
     <div class="mypage_box">
       <p class="comp">変更が完了しました。</p>
       <p class="comp_s">会員登録内容の変更を受け付けました。</p>
       <div class="my_btn"><%= link_to(image_tag("/images/mypage/btn04.gif", :width=>"101", :height=>"28", :alt=>"TOPへ戻る", :class=>"hoverImg"), :controller=>'portal', :action=>'show') %></div>
     </div>
-  <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
index 2a07cb0..e52bde2 100644 (file)
@@ -2,14 +2,14 @@
   <%= stylesheet_link_tag "front/mypage" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>登録内容確認</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- マイメニュー -->
   <%= render :partial=> "user/navigation" %>
   <!-- 会員登録内容変更 -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t2.gif" width="535" height="44" alt="会員登録内容変更" /></h3>
+    <h3><%= image_tag("mypage/mypage_t2.gif", :width => "535", :height => "44", :alt => "会員登録内容変更") %></h3>
     <div class="mypage_box">
       <%= error_messages_for :customer %>
       <%= render :partial => 'confirm' %>
@@ -31,6 +31,6 @@
       </div>
       <% end %>
     </div>
-    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
index b7f4976..1a1c1e3 100644 (file)
@@ -2,7 +2,7 @@
   <%= stylesheet_link_tag "front/mypage" %>\r
 <% end %>\r
 \r
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴一覧</li></ol>\r
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴一覧</li></ol>\r
 <h2 class="main_t">マイページ</h2>\r
 <div id="mypage" class="clearfix">\r
   <!-- マイメニュー -->\r
@@ -10,7 +10,7 @@
 \r
   <!-- 購入履歴一覧 -->\r
   <div id="mypage_main">\r
-    <h3><img src="/images/mypage/mypage_t1.gif" width="535" height="44" alt="購入履歴一覧" /></h3>\r
+    <h3><%= image_tag("mypage/mypage_t1.gif", :width => "535", :height => "44", :alt => "購入履歴一覧") %></h3>\r
     <div class="mypage_box">\r
     <% if @orders && !@orders.empty? %>\r
       <div class="clearfix"><p class="history"><%= @orders.size %> 件の購入履歴があります。</p><p class="point_right">現在のポイント<%= @login_customer.point.to_i %>pt</p></div>\r
@@ -39,6 +39,6 @@
     <% end %>\r
   </div><!-- /購入履歴一覧 -->\r
 \r
-  <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>\r
+  <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>\r
   </div><!-- /mypage_main -->\r
 </div><!-- /mypage -->\r
index 88f30ae..a66c75a 100644 (file)
@@ -2,7 +2,7 @@
   <%= stylesheet_link_tag "front/mypage" %>\r
 <% end %>\r
 \r
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴</li></ol>\r
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>購入履歴</li></ol>\r
 <h2 class="main_t">マイページ</h2>\r
 <div id="mypage" class="clearfix">\r
   <!-- マイメニュー -->\r
@@ -10,7 +10,7 @@
 \r
   <!-- 購入履歴一覧 -->\r
   <div id="mypage_main">\r
-    <h3><img src="/images/mypage/mypage_t1.gif" width="535" height="44" alt="お届け先設定" /></h3>\r
+    <h3><%= image_tag("mypage/mypage_t1.gif", :width => "535", :height => "44", :alt => "お届け先設定") %></h3>\r
     <div class="mypage_box">\r
       <p class="tb_t">購入履歴詳細</p>\r
       <table class="tb1 cntr">\r
       </table>\r
       <div id="submit"><%= link_to '戻る', :action => 'history' %></div>\r
     </div><!-- /mypage_box-->\r
-    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>\r
+    <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>\r
   </div><!-- /mypage_main -->\r
 </div><!-- /mypage -->\r
index 4cc8f98..43171bd 100644 (file)
@@ -2,7 +2,7 @@
 <%= stylesheet_link_tag "front/entry" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>利用規約</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>利用規約</li></ol>
 <h2 class="main_t">利用規約</h2>
 <div id="entry">
   <!-- 会員規約 -->
index fdaab34..0af6ad9 100644 (file)
@@ -3,13 +3,13 @@
   <%= javascript_include_tag 'login' %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>ログイン</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>ログイン</li></ol>
 <h2 class="main_t">ログイン</h2>
 <p class="notice"><%=h flash[:notice] %></p>
 <div id="login_area">
   <!-- 会員の方 -->
   <dl id="member">
-    <dt><img src="/images/login/login_t1.gif" width="350" height="49" alt="会員の方" /></dt>
+    <dt><%= image_tag("login/login_t1.gif", :width => "350", :height => "49", :alt => "会員の方") %></dt>
     <dd>
     <p>会員の方はこちらからログインしてください。</p>
     <% form_for(:customer, :url => { :action => "login" } ) do |f| -%>
   </dl>
   <!-- 新規会員登録 -->
   <dl id="join">
-    <dt><img src="/images/login/login_t2.gif" width="350" height="49" alt="新規会員登録" /></dt>
+    <dt><%= image_tag("login/login_t2.gif", :width => "350", :height => "49", :alt => "新規会員登録") %></dt>
     <dd>
     <p>無料で新規登録ができます。<br /><br />
             会員登録をすると便利なMyページをご利用いただけます。また、ログインするだけで、毎回お名前や住所などを入力することなくスムーズにお買い物をお楽しみいただけます。</p>
     <%= link_to image_tag("/images/common/new_entry_btn.gif", :width=>"176", :height=>"30", :alt=>"新規会員登録", :class => "new_entry_btn"), {:controller => "accounts", :action => "kiyaku"} %>
     </dd>
   </dl>
-  <div><img src="/images/login/login_btm.gif" width="715" height="5" alt="" /></div>
+  <div><%= image_tag("login/login_btm.gif", :width => "715", :height => "5", :alt => "") %></div>
 </div><!-- /login_area -->
 <p class="cntr">会員登録をしないで商品を購入される方は、こちらより購入手続きが行えます。</p>
     <%= link_to image_tag("/images/common/purchase_btn.gif", :width=>"143", :height=>"30", :alt=>"購入手続きへ", :class => "cart_btn"), {:controller => "cart",:action=> "temporary_shipping"} %>
index 120075d..e06877e 100644 (file)
@@ -2,7 +2,7 @@
   <%= stylesheet_link_tag "front/entry" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li>会員登録</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li>会員登録</li></ol>
 <h2 class="main_t">会員登録</h2>
 <div id="entry">
   <p class="tb_desc">
index ca84d67..8e222e8 100644 (file)
@@ -2,7 +2,7 @@
   <%= stylesheet_link_tag "front/entry" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
 <h2 class="main_t">会員登録</h2>
 <div id="entry">
 
index 20b3c8b..953d13a 100644 (file)
@@ -1,4 +1,4 @@
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "利用規約", :controller => :accounts, :action => :kiyaku %></li><li><%= link_to "会員登録", :controller => :accounts, :action => :signup %></li><li>入力内容確認</li></ol>
 <h2 class="main_t">会員登録</h2>
 <div id="entry">
 <%= @customer && error_messages_for(:customer) %>
index 99ba318..4c87890 100644 (file)
@@ -1,13 +1,13 @@
 <%= stylesheet_link_tag "front/mypage" %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div class="clearfix" id="mypage">
 <%= render :partial=> "user/navigation" %>
 
 <!-- 退会手続き -->
 <div id="mypage_main">
-  <h3><img src="/images/mypage/mypage_t4.gif" width="535" height="44" alt="退会手続き" /></h3>
+  <h3><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "44", :alt => "退会手続き") %></h3>
   <div class="mypage_box">
     <p class="comp_s">会員を退会されると、現在保存されている購入履歴や、<br />お届け先などの情報は全て削除されます。本当によろしいですか?</p>
     <div class="my_btn">
@@ -16,6 +16,6 @@
       <% end %>
     </div>
   </div>
-  <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+  <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
 </div><!-- /mypage_main -->
-</div>
\ No newline at end of file
+</div>
index 5888752..fc6c9eb 100644 (file)
@@ -1,13 +1,13 @@
 <%= stylesheet_link_tag "front/mypage" %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
 <h2 class="main_t">マイページ</h2>
 
 <%= render :partial=> "user/navigation" %>
 
 <!-- 退会手続き -->
 <div id="mypage_main">
-  <h3><img src="/images/mypage/mypage_t4.gif" width="535" height="44" alt="退会手続き" /></h3>
+  <h3><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "44", :alt => "退会手続き") %></h3>
   <div class="mypage_box">
     <p class="comp">退会完了しました。</p>
     <p class="comp_s">退会手続きが完了しました。<br />ご利用いただき、誠にありがとうございました。<br />またのご利用を心よりお待ち申し上げております。</p>
@@ -15,5 +15,5 @@
       <%= link_to image_tag('/images/mypage/btn04.gif', :size => "101x28", :alt => "TOP戻る", :class => "hoveIme"), :controller => "portal", :action => "show" %>
     </div>
   </div>
-  <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+  <div><%= image_tag("mypage/mypage_btm.gif", :width => "535", :height => "5", :alt => "") %></div>
 </div><!-- /mypage_main -->
index c8edf4d..33ea753 100644 (file)
@@ -1,11 +1,11 @@
 <%= stylesheet_link_tag "front/mypage" %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to "マイページ", :controller => :accounts, :action => :history_list %></li><li>退会手続き</li></ol>
 <h2 class="main_t">マイページ</h2>
 <div id="mypage" class="clearfix">
   <!-- 退会手続き -->
   <div id="mypage_main">
-    <h3><img src="/images/mypage/mypage_t4.gif" width="535" height="44" alt="退会手続き" /></h3>
+    <h3><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "44", :alt => "退会手続き") %></h3>
     <div class="mypage_box">
       <p class="comp">退会手続きを実行します。よろしいですか?</p>
       <p class="comp_s">会員を退会された場合、現在保存されている購入履歴や、<br />お届け先などの情報は全て削除されますので、ご注意ください。</p>
@@ -16,6 +16,6 @@
         <% end %>
       </div>
     </div>
-    <div><img src="/images/mypage/mypage_btm.gif" width="535" height="5" alt="" /></div>
+    <div><%= image_tag("mypage/mypage_t4.gif", :width => "535", :height => "5", :alt => "") %></div>
   </div><!-- /mypage_main -->
 </div><!-- /mypage -->
index b86834f..6f6931a 100644 (file)
@@ -14,7 +14,7 @@
 \r
 <% form_tag :action=>:login do -%>\r
 <div id="login">\r
-<img src="/images/login_logo.png" width="240" height="71" alt="Elephant Commerce" class="login_logo" />\r
+  <%= image_tag("login_logo.png", :width => "240", :height => "71", :alt => "Elephant Commerce", :class => "login_logo") %>\r
 \r
 <p class="login_notice"><%= flash[:notice] %><%= flash[:error] %></p>\r
 <table class="login_table">\r
index 0b79c8c..0e572d4 100644 (file)
@@ -38,7 +38,7 @@
 
 <div class="btn_box">
   <%= f.submit 'この内容で登録する', :class => "btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %) %>
 </div>
 
 <% end %>
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index 6efd487..7a56cb7 100644 (file)
@@ -33,7 +33,7 @@
 <br />
 <div class="btn_box">
   <%= f.submit 'この内容で登録する', :class => "btn"%>
-  <img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :alt => "", :class => "btn_side") %>
 </div>
 
 <% end %>
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index 5056910..9788ba5 100644 (file)
@@ -6,13 +6,13 @@
 <div id="sub"><!-- サブメニュー -->\r
   <div id="menu" class="clearfix"><!-- g_menu -->\r
     <% if @system_supplier_use_flag %>\r
-       <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>仕入先管理</span></a></p>\r
+      <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>仕入先管理</span></a></p>\r
     <ul id="display1" style="display:block">\r
       <li><%= link_to '仕入先マスタ管理', {:controller => 'suppliers', :action => 'index'} %></li>\r
       <li><%= link_to '仕入先登録', {:controller => 'suppliers', :action => 'new'} %></li>\r
     </ul>\r
        <%end%>\r
-       <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img2" /><span>在庫管理</span></a></p>\r
+  <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img2") %><span>在庫管理</span></a></p>\r
     <ul id="display2" style="display:block">\r
       <li><%= link_to '入庫管理', {:controller => 'stock_in', :action => 'index'} %></li>\r
       <li><%= link_to '在庫管理', {:controller => 'stock_modify', :action => 'index'} %></li>\r
index 58e62e6..528edfb 100644 (file)
@@ -5,7 +5,7 @@
 </script>\r
 <div id="sub"><!-- サブメニュー -->\r
   <div id="menu" class="clearfix"><!-- g_menu -->\r
-    <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>商品管理</span></a></p>\r
+    <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>商品管理</span></a></p>\r
     <ul id="display1" style="display:block">\r
       <li><%= link_to '商品マスタ管理', {:controller => 'products', :action => 'index'} %></li>\r
       <li><%= link_to '商品登録', {:controller => 'products', :action => 'new'} %></li>\r
@@ -14,7 +14,7 @@
       <li><%= link_to('在庫切れ一覧', {:controller => 'products', :action => 'actual_count_index'}) %></li>\r
     </ul>\r
 \r
-    <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img2" /><span>受注集計</span></a></p>\r
+    <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img2") %><span>受注集計</span></a></p>\r
     <ul id="display2" style="display:block">\r
       <li><%= link_to '期間別集計', {:controller => "totals", :action => "index", :page => 'term'} %></li>\r
       <li><%= link_to '商品別集計', {:controller => "totals", :action => "index", :page => 'product'} %></li>\r
       <li><%= link_to '会員別集計', {:controller => "totals", :action => "index", :page => 'member'} %></li>\r
     </ul>\r
 \r
-    <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img3" /><span>顧客管理</span></a></p>\r
+    <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img3") %><span>顧客管理</span></a></p>\r
     <ul id="display3" style="display:block">\r
       <li><%= link_to '顧客マスタ', {:controller => "customers", :action => 'index'} %></li>\r
     </ul>\r
 \r
-    <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img4" /><span>メルマガ管理</span></a></p>\r
+    <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img4") %><span>メルマガ管理</span></a></p>\r
     <ul id="display4" style="display:block">\r
       <li><%= link_to '配信内容設定', {:controller => 'mail_magazines', :action => 'index'} %></li>\r
       <li><%= link_to 'テンプレート設定', {:controller => 'mail_magazine_templates', :action => 'index'} %></li>\r
       <li><%= link_to '配信履歴', {:controller => 'mail_magazines', :action => 'history'} %></li>\r
     </ul>\r
 \r
-    <p><a href="JavaScript:onClick=Tree('display5');ImgC('img5');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img5" /><span>受注管理</span></a></p>\r
+    <p><a href="JavaScript:onClick=Tree('display5');ImgC('img5');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img5") %><span>受注管理</span></a></p>\r
     <ul id="display5" style="display:block">\r
       <li><%= link_to '受注管理', {:controller => 'orders', :action => 'index'} %></li>\r
       <li><%= link_to 'ステータス管理', {:controller => 'order_statuses', :action => 'index'} %></li>\r
index 6958306..4710b5f 100644 (file)
@@ -5,7 +5,7 @@
 </script>
 <div id="sub"><!-- サブメニュー -->
   <div id="menu" class="clearfix"><!-- g_menu -->
-    <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>基本情報管理</span></a></p>
+    <p><a href="JavaScript:onClick=Tree('display1');ImgC('img1');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>基本情報管理</span></a></p>
     <ul id="display1" style="display:block">
       <li><%= link_to 'SHOPマスタ', {:controller => 'shops', :action => 'index'} %></li>
       <li><%= link_to '特定商取引法', {:controller => 'shops', :action => 'tradelaw_index'} %></li>
@@ -18,7 +18,7 @@
       <li><%= link_to 'プライバシーポリシー設定', {:controller => 'shops', :action => 'privacy'} %></li>
     </ul>
 
-    <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img2" /><span>コンテンツ管理</span></a></p>
+    <p><a href="JavaScript:onClick=Tree('display2');ImgC('img2');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img2") %><span>コンテンツ管理</span></a></p>
     <ul id="display2" style="display:block">
       <li><%= link_to '新着情報管理', {:controller => 'new_informations', :action => 'index'} %></li>
       <li><%= link_to 'オススメ商品管理', {:controller => 'recommend_products', :action => 'index'} %></li>
       <li><%= link_to '特集管理', {:controller => 'features', :action => 'index'} %></li>
     </ul>
 
-    <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img3" /><span>デザイン管理</span></a></p>
+    <p><a href="JavaScript:onClick=Tree('display3');ImgC('img3');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img3") %><span>デザイン管理</span></a></p>
     <ul id="display3" style="display:block">
       <li><%= link_to 'PCフリースペース編集', {:controller => 'designs', :action => 'pc'} %></li>
       <li><%= link_to '携帯フリースペース編集', {:controller => 'designs', :action => 'mobile'} %></li>
     </ul>
 
-    <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img4" /><span>システム管理</span></a></p>
+    <p><a href="JavaScript:onClick=Tree('display4');ImgC('img4');"><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img4") %><span>システム管理</span></a></p>
     <ul id="display4" style="display:block">
       <li><%= link_to 'メンバー管理', {:controller => 'admin_users', :action => 'index'} %></li>
       <li><%= link_to '管理者権限管理', {:controller => 'authorities', :action => 'index'} %></li>
index 0a2500e..dcfe236 100644 (file)
@@ -62,6 +62,6 @@ Event.observe(window, 'load', function() {
   </table>
   <div class="btn_box">
     <%= f.submit "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class => "btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index bbd0f85..8d85c6a 100644 (file)
   <br />
   <div class="btn_box">
     <%= button_to_function "登録する", "regist()", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     <%= button_to_function "プレビュー表示", "preview()", :class=>"btn"  %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     <input type="button" value="登録ページへ戻る" onClick="location.href='<%= admin_campaigns_path %>'" class ="btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 
index 51dabb0..2ea33f8 100644 (file)
@@ -21,6 +21,6 @@
     <%= f.hidden_field :parent_id %>
     <%= hidden_field_tag :id, @category.id %>
     <%= f.submit "この内容で登録", :confirm => "この内容で登録して宜しいですか?", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
index 9266eea..bdb655d 100644 (file)
@@ -37,7 +37,7 @@
       〒 <%= confirm_tag :text_field, :customer, :zipcode01, :size => 10 %>-\r
       <%= confirm_tag :text_field, :customer, :zipcode02, :size => 10 %>\r
       <% unless (params[:action] =~ /confirm/ || params[:action] =~ /update/) && @customer.errors.empty? %>\r
-        <input name="zipcode_input" value="住所入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', 'customer_prefecture_name', 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'admin/customers');" type="button" class="btn_s">\r
+        <input name="zipcode_input" value="住所入力" onclick="address_by_zip('customer_zipcode01','customer_zipcode02', 'customer_prefecture_name', 'customer_address_city', 'customer_address_detail', 'customer_prefecture_id', 'admin/customers', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">\r
       <% end %>\r
     </td>\r
   </tr>\r
index 54a0e2d..199fd96 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
index 07416c3..152724c 100644 (file)
       <%= f.hidden_field column.to_s %>
     <% end %>
     <%= f.submit "この内容で登録する", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   <% end %>
   <% form_for [:admin, @customer], :url=>{:action=>"edit", :id=>params[:id]}, :html=>{:method=>"get"} do |f| %>
     <% @customer.attribute_names.each do |column| %>
       <%= f.hidden_field column.to_s %>
     <% end %>
     <%= f.submit "戻る", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   <% end %>
 </div>
 
index b82f79b..ad30708 100644 (file)
@@ -11,7 +11,7 @@
   <%= render :partial => "form", :locals => {:f => f} %>
   <div class="btn_box">
     <%= f.submit "確認する", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif" />
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 </div>
index 6fc1586..41470ad 100644 (file)
@@ -24,7 +24,7 @@
   <p>&gt;&gt;検索結果一覧&nbsp;<%=@customers.total_entries %>件&nbsp;が該当しました</p>\r
   <div class="btn_box space20_bottom">\r
     <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
   <% end %>\r
   <table class="data2 clear" cellspacing="1">\r
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index cb4e96a..a095de4 100644 (file)
@@ -14,7 +14,7 @@
   <br />\r
   <div class="btn_box">\r
     <%= f.submit "この内容で登録する", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
 <% end %>\r
 \r
index 705aa24..134df91 100644 (file)
@@ -1,4 +1,3 @@
-<%= stylesheet_link_tag "design/design" %>\r
 <%= render :partial => "submenu" %>\r
 \r
 <div id="main"><!-- メイン -->\r
@@ -19,7 +18,7 @@
   <br />\r
   <div class="btn_box">\r
     <%= f.submit "この内容で登録する", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
 <% end %>\r
 \r
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index 71ea6b8..7cffec7 100644 (file)
@@ -20,7 +20,8 @@
   <% end %>
   <%= hidden_field_tag "id", params[:id] %>
   <%= @confirm_hidden_field %>
-    <%= submit_tag '登録する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '登録する', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 <% end %>
 
 <% form_for([:admin, @feature_product],:url=>{:action => ( params[:id] ? "edit" : "new" ), :id => params[:id]}, :html=>{:method => "get"}) do%>
@@ -29,7 +30,8 @@
   <% end %>
   <%= hidden_field_tag "id", params[:id] %>
   <%= @confirm_hidden_field %>
-    <%= submit_tag '戻る', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '戻る', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 <% end %>
 </div>
 </div><!-- /メイン -->
index 560bfff..416c19c 100644 (file)
@@ -17,7 +17,8 @@
 <%= f.hidden_field :feature_id %>
 <%= f.hidden_field :product_id %>
 <div class="btn_box">
-  <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '確認する', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 <% end %>
 </div><!-- /メイン -->
index 5b137a7..3332993 100644 (file)
@@ -18,7 +18,8 @@
 <%= f.hidden_field :feature_id %>
 <%= f.hidden_field :product_id %>
 <div class="btn_box">
-  <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '確認する', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 <% end %>
-</div><!-- /メイン -->
\ No newline at end of file
+</div><!-- /メイン -->
index d2a19ff..a882331 100644 (file)
@@ -28,4 +28,4 @@
        <%end%>\r
        </td>\r
   </tr>\r
-</table>
\ No newline at end of file
+</table>
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index 63aefcb..76ddf66 100644 (file)
@@ -21,7 +21,8 @@
 \r
   <%= hidden_field_tag "id", params[:id] %>\r
   <%= @confirm_hidden_field %>\r
-    <%= submit_tag 'この内容で登録する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>\r
+  <%= submit_tag 'この内容で登録する', :class => "btn"%>\r
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
 <% end %>\r
 \r
 <% form_for([:admin, @feature],:url=>{:action => ( params[:id] ? "edit" : "new" ), :id => params[:id]}, :html=>{:method => "get"}) do%>\r
@@ -30,7 +31,8 @@
   <% end %>\r
   <%= hidden_field_tag "id", params[:id] %>\r
   <%= @confirm_hidden_field %>\r
-    <%= submit_tag '戻る', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>\r
+  <%= submit_tag '戻る', :class => "btn"%>\r
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
 <% end %>\r
 </div>\r
 </div><!-- /メイン -->\r
index f296a4d..f19d498 100644 (file)
@@ -15,7 +15,8 @@
 <%= render :partial => "form" %>
 <%= f.hidden_field :feature_type %>
 <div class="btn_box">
-  <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '確認する', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 <% end %>
 </div><!-- /メイン -->
index 3dc9fb7..16ae28e 100644 (file)
@@ -15,7 +15,8 @@
 <%= render :partial => "form" %>
 <%= f.hidden_field :feature_type %>
 <div class="btn_box">
-  <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '確認する', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 <% end %>
 </div><!-- /メイン -->
index feda64d..bf447c7 100644 (file)
@@ -1,6 +1,6 @@
 <div id="sub"><!-- サブカラム -->
   <div id="menu" class="clearfix"><!-- メニュー -->
-    <p><img src="/images/menu_icon.gif" width="36" height="36" alt="" id="img1" /><span>お知らせ</span></p>
+    <p><%= image_tag("menu_icon.gif", :width => "36", :height => "36", :alt => "", :id => "img1") %><span>お知らせ</span></p>
     <dl class="info">
       <dt>2009/12/14</dt>
       <dd>ECサイト構築パッケージ「エレコマ」がリリースされました。</dd>
index fa4869b..a7f14f6 100644 (file)
@@ -3,13 +3,13 @@
 <div id="main"><!-- メイン -->
   <div id="category" class="clearfix"><!-- カテゴリ選択 -->
     <p id="category_info">編集したいカテゴリをクリックして下さい。</p>
-    <a href="/admin/shops"><img src="/images/store_btn_l.gif" width="222" height="138" alt="店舗管理" /></a>
-    <a href="/admin/products"><img src="/images/goods_btn_l.gif" width="222" height="138" alt="商品管理" id="category_img" /></a>
+    <%= link_to image_tag("store_btn_l.gif", :width => "222", :height => "138", :alt => "店舗管理"), :controller => "shops", :action => "index" %>
+    <%= link_to image_tag("goods_btn_l.gif", :width => "222", :height => "138", :alt => "商品管理", :id => "category_img"), :controller => "products", :action => "index" %>
     <% if @system_supplier_use_flag %>
-       <a href="/admin/suppliers"><img src="/images/order_btn_l.gif" width="222" height="138" alt="発注・出荷管理" /></a>
-       <%else%>
-       <a href="/admin/stock_in"><img src="/images/order_btn_l.gif" width="222" height="138" alt="発注・出荷管理" /></a>
-       <%end%>
+      <%= link_to image_tag("order_btn_l.gif", :width => "222", :height => "138", :alt => "発注・出荷管理"), :controller => "suppliers", :action => "index" %>
+         <%else%>
+      <%= link_to image_tag("order_btn_l.gif", :width => "222", :height => "138", :alt => "発注・出荷管理"), :controller => "stock_in", :action => "index" %>
+         <%end%>
   </div><!-- /カテゴリ選択 -->
   <%= flash[:notice] %>
   <h2>ショップの状況</h2>
index 3ed84b7..c21843e 100644 (file)
@@ -3,7 +3,7 @@
   <%= javascript_include_tag 'admin/mail_magazine' %>
        <script type="text/javascript">
          function textTypeChange(value){
-                       writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, value);
+      writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, value, "<%=h ActionController::relative_url_root + '/images/emoticons/' %>");
                }
          function toConfirm() {
                if (document.getElementById('mail_magazine_template[body]').contentDocument != null) {
@@ -44,7 +44,7 @@
       <td colspan=2>
        <div id='emoji_area_mail_magazine_template[body]'>
                  <script type="text/javascript">
-                 writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, '<%=h @mail_magazine_template.form %>');
+          writeRichText('mail_magazine_template[body]','<%=h_apos @mail_magazine_template.body %>', 400, 690, true, false, '<%=h @mail_magazine_template.form %>', "<%=h ActionController::Base.relative_url_root + '/images/emoticons' %>");
                  </script>
                </div>
       </td>
@@ -58,6 +58,6 @@
   <%= hidden_field :mail_magazine_template, :body %>
   <div class="btn_box">
     <%= f.submit "この内容で登録する", :confirm=>"本当に登録しても宜しいですか?", :class=>"btn", :onclick => "toConfirm()" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end -%>
index 54a0e2d..199fd96 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
index cda7c75..06f67f3 100644 (file)
@@ -1,5 +1,3 @@
-<%= stylesheet_link_tag "mail_magazine/mail_magazine_template" %>
-
 <%= render :partial => "submenu" %>
 
 <div id="main"><!-- メイン -->
index c8af37b..69eb7e2 100644 (file)
@@ -27,7 +27,7 @@
         <td><%=h mmt.get_form_name %></td>
         <td><%= link_to "編集", edit_admin_mail_magazine_template_path(mmt.id) %></td>
         <td><%= link_to "削除", admin_mail_magazine_template_path(mmt.id), :confirm=>"本当に削除しますか?", :method=>"delete" %></td>
-        <td><a href="javascript:fnSubWindow('/admin/mail_magazine_templates/preview/<%=h mmt.id %>', 'mail_magazine_template', '600', '600');">プレビュー</a></td>
+        <td><a href="javascript:fnSubWindow('<%= url_for(:controller => :mail_magazine_templates, :action => :preview, :id => mmt.id) %>', 'mail_magazine_template', '600', '600');">プレビュー</a></td>
       </tr>
     <% end -%>
   <% end -%>
index 1cf1e49..e59aa24 100644 (file)
@@ -1,5 +1,3 @@
-<%= stylesheet_link_tag "mail_magazine/mail_magazine_template" %>
-
 <%= render :partial => "submenu" %>
 
 <div id="main"><!-- メイン -->
index e39b657..d2cace1 100644 (file)
@@ -14,7 +14,7 @@
       <% unless (params[:action] =~ /confirm/ && !@contents.body.blank?) %>\r
         <div id='emoji_area_contents[body]'>\r
             <script language="JavaScript" type="text/javascript">\r
-                writeRichText('contents[body]','<%=h_apos @contents.body %>', 400, 690, true, false, '<%= @contents.form_type %>');\r
+              writeRichText('contents[body]','<%=h_apos @contents.body %>', 400, 690, true, false, '<%= @contents.form_type %>', "<%=h ActionController::relative_url_root + '/images/emoticons/' %>");\r
             </script>\r
         </div>\r
       <% else %>\r
index 54a0e2d..199fd96 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
index ff3d41d..a80c35d 100644 (file)
@@ -13,7 +13,7 @@
     <%= hidden_field_tag 'customer_ids', @customer_ids %>\r
     <%= render :partial => "mail_contents", :locals => {:f => f} %>\r
     <%= f.submit '配信する', :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   <% end %>\r
 \r
   <% form_for :contents, :url => {:action => 'template_search'} do |f| %>\r
@@ -22,7 +22,7 @@
     <%= f.hidden_field :body %>\r
     <%= hidden_field_tag 'customer_ids', @customer_ids %>\r
     <%= f.submit 'テンプレート設定画面に戻る', :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   <% end %>\r
 </div>\r
 \r
index f7fe5ff..fbbfee7 100644 (file)
@@ -15,7 +15,7 @@
   <p>&gt;&gt;検索結果一覧&nbsp;<%=@customers.total_entries %>件&nbsp;が該当しました</p>\r
   <div class="btn_box space20_bottom">\r
     <%= submit_tag '配信内容を設定する', :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
   <table class="data2 clear" cellspacing="1">\r
     <tr>\r
index 4bcd276..5eab7cf 100644 (file)
@@ -12,6 +12,8 @@
                document.getElementById('contents_body').value = document.getElementById('contents[body]').value;\r
        }\r
   }\r
+  var image_path = "/elecoma/images/emoticons";\r
+\r
 </script>\r
 \r
 <h2>配信内容設定</h2>\r
@@ -44,7 +46,7 @@
   <%= hidden_field_tag 'customer_ids', @customer_ids %>\r
   <div class="btn_box">\r
     <%= f.submit "確認する", :class=>"btn", :onclick => "toConfirm()" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
 \r
 <% end %>\r
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index 865c65a..3b5dfbc 100644 (file)
@@ -19,7 +19,7 @@
     <%= f.hidden_field :id %>\r
     \r
     <%= f.submit "この内容で登録する", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   <% end %>\r
   <% form_for [:admin, @new_information], :url => {:action => (params[:id].blank? ? "new" : "edit")}, :html => {:method => "post"} do |f| %>\r
     <%= f.hidden_field :date %>\r
@@ -30,7 +30,7 @@
     <%= f.hidden_field :id %>\r
     \r
       <%= f.submit "戻る", :class=>"btn" %>\r
-      <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+      <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   <% end %>\r
 </div>\r
 \r
index 33b51f2..990cf44 100644 (file)
@@ -8,7 +8,7 @@
   <%= hidden_field_tag "id", params[:id] %>\r
   <div class="btn_box">\r
     <%= f.submit "確認する", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
 <% end %>\r
 \r
index d13b742..e7f4895 100644 (file)
@@ -8,7 +8,7 @@
   <%= render :partial => "form", :locals=>{:f => f}%>\r
   <div class="btn_box">\r
     <%= f.submit "確認する", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>\r
   </div>\r
 <% end %>\r
 </div><!-- /メイン -->\r
index 7b42c63..cc93c21 100644 (file)
@@ -78,7 +78,7 @@
    <th>郵便番号</th>
    <td>
      〒<%= f.text_field "deliv_zipcode01", :class=>"data_s" %>-<%= f.text_field "deliv_zipcode02", :class=>"data_s" %>
-     <input name="zipcode_input" value="住所入力" onclick="address_by_zip('order_delivery_deliv_zipcode01','order_delivery_deliv_zipcode02', 'order_delivery_deliv_pref_name', 'order_delivery_deliv_address_city', 'order_delivery_deliv_address_detail', 'order_delivery_deliv_pref_id', 'admin/orders');" type="button" class="btn_s">
+     <input name="zipcode_input" value="住所入力" onclick="address_by_zip('order_delivery_deliv_zipcode01','order_delivery_deliv_zipcode02', 'order_delivery_deliv_pref_name', 'order_delivery_deliv_address_city', 'order_delivery_deliv_address_detail', 'order_delivery_deliv_pref_id', 'admin/orders', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
    </td>
    <th>TEL</th>
    <td><%= f.text_field :deliv_tel01, :class=>"data_s" -%>
 
 <div class="btn_box">
   <%= submit_tag "この内容で登録", :confirm => 'この内容で登録してもよろしいでしょうか?', :class => "btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 
index 54a0e2d..199fd96 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
index 22d8137..e1f81fc 100644 (file)
@@ -22,7 +22,7 @@
     <p>&gt;&gt;検索結果一覧&nbsp;<%=@order_deliveries.total_entries %>件&nbsp;が該当しました</p>
     <div class="btn_box space20_bottom">
       <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
-      <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+      <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     </div>
   <% end %>
   <table class="data2 clear" cellspacing="1">
index ceae0f0..67511e1 100644 (file)
@@ -9,7 +9,7 @@
       <%= render :partial => "form" %>
       <div class="btn_box">
         <%= submit_tag "確認する", :class=>"btn" %>
-        <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+        <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
       </div>
     <% end %>
   <% end %>
index 54a0e2d..199fd96 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
index d456762..ca63e67 100644 (file)
@@ -62,9 +62,9 @@
   </table>
   <div class="btn_box">
     <%= submit_tag "この内容で登録する", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     <input type="button" value="戻る" onClick="location.href='<%= new_admin_product_style_path(:id=>params[:product_id]) %>'" class="btn">
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 
index 95caa9f..26c559e 100644 (file)
       <div class="btn_box">
         <%if request.referer =~ /(admin\/products\/complete)/%>
           <%= button_to_function "検索に戻る ", "form.action = '#{url_for admin_products_index_path}'; form.submit()", :onclick => true, :class=>"btn" %>
-          <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+          <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
         <%else %>
           <%= button_to_function '戻る', 'history.back()', :class=>"btn" %>
-          <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+          <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
         <%end %>
         <%= submit_to_remote '', "表示する", :update => "style_create", :url => {:action => "create_form", :id => params[:id] || params[:product_id] }, :submit => "setting", :html => {:class=>"btn"} %>
-        <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+        <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
       </div>
     <% end %>
   <% end %>
index 9de83d3..5978625 100644 (file)
@@ -21,7 +21,7 @@
   <p>&gt;&gt;検索結果一覧&nbsp;<%=@products.total_entries %>件&nbsp;が該当しました</p>
   <div class="btn_box space20_bottom">
     <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 <table class="data2 clear" cellspacing="1">
index 8317a67..ddfeeda 100644 (file)
@@ -21,7 +21,7 @@
     <%= hidden_field_tag "id", params[:id] %>
     <%= @confirm_hidden_field %>
     <%= submit_tag "この内容で登録する", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   <% end %>
   
   <% form_for [:admin, @product], :url => {:action => ( params[:id].blank? ? "new" : "edit" ), :id => params[:id]}, :html => {:method => "get"} do |f| %>
@@ -35,6 +35,6 @@
     <% end %>
     <%= @confirm_hidden_field %>
     <%= submit_tag "戻る", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   <% end %>
 </div><!-- /メイン -->
index 6ee26d9..0bdee6d 100644 (file)
@@ -7,7 +7,7 @@
   <%= render :partial => "form", :locals => {:f => f} %>
   <div class="btn_box">
     <%= submit_tag "確認する", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 
index 5ba738b..0325d35 100644 (file)
@@ -9,7 +9,7 @@
   <%= render :partial => "form", :locals => {:f => f} %>
   <div class="btn_box">
     <%= submit_tag "確認する", :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 
index c8e1602..6b02fee 100644 (file)
@@ -19,7 +19,7 @@
   <p>&gt;&gt;検索結果一覧&nbsp;<%=@products.total_entries %>件&nbsp;が該当しました</p>
   <div class="btn_box space20_bottom">
     <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 <% form_tag :action => "permit_setting" do %>
index 39dd740..eb555c5 100644 (file)
@@ -60,7 +60,7 @@ end
   <%= hidden_field_tag "id", @id %>
   <div class="btn_box">
     <%= submit_tag "この内容で登録する", :class=>"btn", :confirm => "本当に登録しますか?" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     <input type="button" value="クリア" class="btn" onclick="fn_form_clear();">
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
index d3f028a..18fd2d1 100644 (file)
@@ -26,6 +26,6 @@
 <%= f.hidden_field :id %>
 <div class="btn_box">
   <%= f.submit "この内容で登録する", :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 <% end %>
index 19d4a4a..0da4554 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/shop_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/shop_submenu' %>
index 052df2a..b2f5b84 100644 (file)
@@ -68,8 +68,8 @@ Event.observe(window, 'load', function() {
 </table>
 <div class="btn_box">
   <%= button_to_function " 前のページに戻る ", "form.action = '#{url_for :action => 'delivery_list'}'; form.submit()", :onclick => true, :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   <%= submit_tag "この内容で登録する", :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 
index 3b8a06e..6c3ee2c 100644 (file)
@@ -23,7 +23,7 @@
   <tr>
     <th>郵便番号 <span class="pnt">※</span></th>
     <td><%= text_field "shop", "zipcode01", :size => "3"  %>-&nbsp;&nbsp;<%= text_field "shop", "zipcode02" , :size => "4" %>
-      <input name="zipcode_input" value="住所入力" class="btn_s" onclick="address_by_zip('shop_zipcode01','shop_zipcode02', 'shop_prefecture_id', 'shop_address_city', 'shop_address_detail', 'shop_prefecture_id', 'admin/shops');" type="button">
+      <input name="zipcode_input" value="住所入力" class="btn_s" onclick="address_by_zip('shop_zipcode01','shop_zipcode02', 'shop_prefecture_id', 'shop_address_city', 'shop_address_detail', 'shop_prefecture_id', 'admin/shops', '<%=h ActionController::Base.relative_url_root %>');" type="button">
     </td>
   </tr>
   <tr>
@@ -74,5 +74,5 @@
 </table>
 <div class="btn_box">
   <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
index 4cc834a..17ad7b7 100644 (file)
@@ -24,5 +24,5 @@
 </table>
 <div class="btn_box">
   <%= submit_tag "この内容で登録する", :class => "btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
index e0afd4a..dabcca2 100644 (file)
@@ -14,5 +14,5 @@
 </table>
 <div class="btn_box">
   <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
index fbdf61b..d5b67e4 100644 (file)
@@ -4,7 +4,7 @@
 <% @seos.each_with_index do | seo, idx | %>
   <% form_tag :action => "seo_update" do%>
     <% fields_for seo do | f | %>
-      <h3><%= Seo::TYPE_NAMES[idx]%><a href="#" id="switch<%=idx%>" style="color:#ffff99" onClick="fnDispChange('disp<%=idx%>', 'switch<%=idx%>', 'disp_flg<%=idx%>');"> >> 非表示</a></h3>
+      <h3><%= Seo::TYPE_NAMES[idx]%><a href="#" id="switch<%=idx%>" style="color:#ffff99" onClick="fnDispChange('disp<%=idx%>', 'switch<%=idx%>', 'disp_flg<%=idx%>');"> &gt;&gt; 非表示</a></h3>
       <div id="disp<%=idx%>" style="display:">
         <table cellspacing="1" class="data2">
           <tr>
@@ -23,7 +23,7 @@
         <%= f.hidden_field :page_type %>
         <div class="btn_box">
           <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class => "btn" %>
-          <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+          <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
         </div>
       </div>
       <div class="clearfix" style="padding-bottom:10px;"></div>
index 4875b82..c6d8d9e 100644 (file)
@@ -12,6 +12,6 @@
 <div class="btn_box">
   <%= hidden_field_tag "set_id","1"%>  
   <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
-<% end %>
\ No newline at end of file
+<% end %>
index 7e4ed08..e90a2cd 100644 (file)
@@ -16,7 +16,7 @@
     <th>郵便番号 <span class="pnt">※</span></th>
     <td>
       〒<%= f.text_field :zipcode01, :size=>3 %>-&nbsp;&nbsp;<%= f.text_field :zipcode02, :size=>4 %>
-      <input name="zipcode_input" value="住所入力" onclick="address_by_zip('law_zipcode01','law_zipcode02', 'law_prefecture_name', 'law_address_city', 'law_address_detail', 'law_prefecture_id', 'admin/shops');" type="button" class="btn_s">
+      <input name="zipcode_input" value="住所入力" onclick="address_by_zip('law_zipcode01','law_zipcode02', 'law_prefecture_name', 'law_address_city', 'law_address_detail', 'law_prefecture_id', 'admin/shops', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
     </td>
   </tr>
   <tr>
index 41f0df3..ba3a75c 100644 (file)
@@ -14,7 +14,7 @@
     <%= render :partial => "kiyaku_form" %>
     <div class="btn_box" style="padding-bottom:18px;">
       <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class => "btn" %>
-      <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+      <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     </div>
   <%end-%>
 
index 316c49a..48e14b5 100644 (file)
@@ -27,7 +27,7 @@
   </div>
   <div class="btn_box">
     <%= f.submit 'この内容で登録する', :id => 'next_button', :confirm => '登録しても宜しいですか', :class=>"btn" %>
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
   </div>
 <% end %>
 
index 8d0b02e..caf14b8 100644 (file)
@@ -14,4 +14,4 @@ function back() {
        </head>
        <body onload="back()">
        </body>
-</html>
\ No newline at end of file
+</html>
index 58be969..016a96a 100644 (file)
@@ -27,7 +27,7 @@
     <%=hidden_field_tag "preview_id"%>
        <div class="btn_box">
       <%= button_to_function "この内容で登録する", "regist()", :class=>"btn" %>
-         <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+      <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
     </div>
   <% end %>
 
index 7e64edf..98c27e6 100644 (file)
                <%end%>
          </div>
          <p class="my_btn2">
-               <a href="#"><img src="/images/common/btn02.gif" width="101" height="28" align="戻る"></a>
-           <a href="#"><img src="/images/common/ask_btn.gif" width="101" height="28" align="個人情報の取り扱いについて同意した上でお問い合わせ"></a>
+    <a href="#"><%= image_tag("common/btn02.gif", :width => "101", :height => "28", :alt => "戻る") %></a>
+    <a href="#"><%= image_tag("common/ask_btn.gif", :width => "101", :height => "28", :alt => "個人情報の取り扱いについて同意した上でお問い合わせ") %></a>
          </p>  
        </div>
 <%elsif @preview_id == '2'%>
 
        <% content_for :head do %>
-         <%= javascript_include_tag :defaults %>
+    <%= javascript_include_tag :defaults %>
+    <%= javascript_include_tag js_url(:action => "application") %>
          <%= stylesheet_link_tag "front/portal" %>
        <% end %>
        <div id="container" class="clearfix">
@@ -30,4 +31,4 @@
                <%= @privacy.content_privacy %>
                <%end%>
        </div>
-<%end%>
\ No newline at end of file
+<%end%>
index 6a9eb76..a4fe5cb 100644 (file)
@@ -18,4 +18,4 @@
                <%= @privacy.content_privacy_mobile %>
                <%end%>
        </div>
-<%end%>
\ No newline at end of file
+<%end%>
index d5763a7..f46fa6a 100644 (file)
@@ -8,7 +8,7 @@
 <%= render :partial => "tradelaw_form" %>
 <div class="btn_box">
   <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
-  <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
 </div>
 <% end %>
 
index a35f02b..feb85b2 100644 (file)
@@ -1,30 +1,30 @@
-<%= render :partial => "submenu" %>\r
-\r
-<div id="main"><!-- メイン -->\r
-\r
-<h2>棚卸用 CSV 出力</h2>\r
-<h3>棚卸データ出力</h3><br/>\r
-<% form_tag :action => 'new' do %>\r
- <p>現在時刻時点での在庫情報を出力</p>\r
-  <div class="btn_box space20_bottom">\r
-    <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
-  </div>\r
-<% end %><br/><br/><br/><br/><br/>\r
-\r
-<h3>再出力</h3><br/>\r
-<%unless @dates.blank?%>\r
-<table class="data" cellspacing="1">\r
- <tr>\r
-  <th>対象年月</th>\r
-  <th>再出力</th>\r
- </tr>\r
-<% @dates.zip(@urls).each do |date, url| %>\r
- <tr>\r
-  <td><%= date.strftime('%Y/%m/%d %H:%M:%S') %></td>\r
-  <td><%= link_to 'CSV DOWNLOAD', url %></td>\r
- </tr>\r
-<% end %>\r
-</table>\r
-<% end %>\r
-</div><!-- /メイン -->
\ No newline at end of file
+<%= render :partial => "submenu" %>
+
+<div id="main"><!-- メイン -->
+
+<h2>棚卸用 CSV 出力</h2>
+<h3>棚卸データ出力</h3><br/>
+<% form_tag :action => 'new' do %>
+ <p>現在時刻時点での在庫情報を出力</p>
+  <div class="btn_box space20_bottom">
+    <%= submit_tag 'CSV DOWNLOAD', :class=>"btn" %>
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
+  </div>
+<% end %><br/><br/><br/><br/><br/>
+
+<h3>再出力</h3><br/>
+<%unless @dates.blank?%>
+<table class="data" cellspacing="1">
+ <tr>
+  <th>対象年月</th>
+  <th>再出力</th>
+ </tr>
+<% @dates.zip(@urls).each do |date, url| %>
+ <tr>
+  <td><%= date.strftime('%Y/%m/%d %H:%M:%S') %></td>
+  <td><%= link_to 'CSV DOWNLOAD', url %></td>
+ </tr>
+<% end %>
+</table>
+<% end %>
+</div><!-- /メイン -->
index 320c54f..5193846 100644 (file)
@@ -12,4 +12,4 @@
       <%= f.text_area :comment,{:size=>"60x10",:style=>"ime-mode:active" }%>
     </td>
   </tr>
-</table>
\ No newline at end of file
+</table>
index 6db0b83..4ca1e26 100644 (file)
@@ -1,18 +1,18 @@
-<%= render :partial => "submenu" %>\r
-\r
-<div id="main"><!-- メイン -->\r
-\r
-<h2>入庫登録/編集</h2>\r
-<p class="req"><span class="pnt">※</span>は必須入力です</p>\r
-<span class="pnt"><%= flash[:error] %></span>\r
-<%= error_messages_for :stock_history %>\r
-<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>\r
-  <%= render :partial => "info"%>\r
-  <%= render :partial => "form", :locals => {:f => f} %>\r
-  <div class="btn_box">\r
-    <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
-  </div>\r
-<% end %>\r
-\r
+<%= render :partial => "submenu" %>
+
+<div id="main"><!-- メイン -->
+
+<h2>入庫登録/編集</h2>
+<p class="req"><span class="pnt">※</span>は必須入力です</p>
+<span class="pnt"><%= flash[:error] %></span>
+<%= error_messages_for :stock_history %>
+<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>
+  <%= render :partial => "info"%>
+  <%= render :partial => "form", :locals => {:f => f} %>
+  <div class="btn_box">
+    <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
+  </div>
+<% end %>
+
 </div><!-- /メイン -->
index 341fbc5..7958c35 100644 (file)
@@ -24,4 +24,4 @@
       <%= f.text_area :comment,{:size=>"60x10",:style=>"ime-mode:active" }%>
     </td>
   </tr>
-</table>
\ No newline at end of file
+</table>
index 588eefd..ba47337 100644 (file)
@@ -1,18 +1,18 @@
-<%= render :partial => "submenu" %>\r
-\r
-<div id="main"><!-- メイン -->\r
-\r
-<h2>在庫調整</h2>\r
-<p class="req"><span class="pnt">※</span>は必須入力です</p>\r
-<span class="pnt"><%= flash[:error] %></span>\r
-<%= error_messages_for :stock_history %>\r
-<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>\r
-  <%= render :partial => "info"%>\r
-  <%= render :partial => "form", :locals => {:f => f} %>\r
-  <div class="btn_box">\r
-    <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
-  </div>\r
-<% end %>\r
-\r
+<%= render :partial => "submenu" %>
+
+<div id="main"><!-- メイン -->
+
+<h2>在庫調整</h2>
+<p class="req"><span class="pnt">※</span>は必須入力です</p>
+<span class="pnt"><%= flash[:error] %></span>
+<%= error_messages_for :stock_history %>
+<% form_for :stock_history, :url => {:action => 'update', :id=> @product_style } do |f| %>
+  <%= render :partial => "info"%>
+  <%= render :partial => "form", :locals => {:f => f} %>
+  <div class="btn_box">
+    <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
+  </div>
+<% end %>
+
 </div><!-- /メイン -->
index 5e637eb..5380ae9 100644 (file)
@@ -17,7 +17,7 @@
       〒 <%= confirm_tag :text_field, :supplier, :zipcode01, {:size => 10,:style=>"ime-mode:inactive"} %>-
       <%= confirm_tag :text_field, :supplier, :zipcode02, {:size => 10,:style=>"ime-mode:inactive"} %>
       <% unless params[:action] =~ /confirm/ && @supplier.errors.empty? %>
-        <input name="zipcode_input" value="住所入力" onclick="address_by_zip('supplier_zipcode01','supplier_zipcode02', 'supplier_prefecture_name', 'supplier_address_city', 'supplier_address_detail', 'supplier_prefecture_id', 'admin/suppliers');" type="button" class="btn_s">
+        <input name="zipcode_input" value="住所入力" onclick="address_by_zip('supplier_zipcode01','supplier_zipcode02', 'supplier_prefecture_name', 'supplier_address_city', 'supplier_address_detail', 'supplier_prefecture_id', 'admin/suppliers', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
       <% end %>
     </td>
   </tr>
index 1eefee3..7a2d4d4 100644 (file)
   <% @supplier.attribute_names.each do | column | %>
     <%= hidden_field "supplier", column.to_s %>
   <% end %>
-  <%= submit_tag 'この内容で登録する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag 'この内容で登録する', :class => "btn"%><%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
 <% end %>
 
 <% form_for([:admin, @supplier],:url=>{:action => ( !params[:id].blank? ? "edit" : "new" ), :id => @supplier}, :html=>{:method => "get"}) do%>
   <% @supplier.attribute_names.each do | column | %>
     <%= hidden_field "supplier", column.to_s %>
   <% end %>
-  <%= submit_tag '戻る', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '戻る', :class => "btn"%><%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
 <% end %>
 </div>
 
index 7cf29a3..72705b5 100644 (file)
@@ -14,7 +14,8 @@
 <% form_for [:admin, @supplier], :url => {:action => 'confirm',:id =>@supplier} do |f| %>
 <%= render :partial => "form", :locals => {:f => f} %>
 <div class="btn_box">
-  <%= submit_tag '確認する', :class => "btn"%><img width="6" height="34" class="btn_side" alt="" src="/images/btn_side.gif"/>
+  <%= submit_tag '確認する', :class => "btn"%>
+  <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
 </div>
 <% end %>
 </div><!-- /メイン -->
index 1653266..647c8bb 100644 (file)
@@ -12,7 +12,7 @@
   <%= render :partial => "form", :locals => {:f => f} %>\r
   <div class="btn_box">\r
     <%= submit_tag "確認する", :class=>"btn" %>\r
-    <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">\r
+    <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>\r
   </div>\r
 <% end %>\r
 \r
index 54a0e2d..199fd96 100644 (file)
@@ -1 +1 @@
-<%= render :partial => '/admin/base/product_submenu' %>
\ No newline at end of file
+<%= render :partial => '/admin/base/product_submenu' %>
index 0164861..3976243 100644 (file)
@@ -64,7 +64,7 @@
          <%= hidden_field('search', name) if @search.send(name) %>
        <% end %>
        <%= submit_tag '検索結果を CSV ダウンロード', :class=>"btn"  %>
-       <img class="btn_side" width="6" height="34" src="/images/btn_side.gif">
+       <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side", :alt => "") %>
      </div>
    <% end %>
    <p><%= image_tag url_for(:action=>:graph), :alt=>'' %></p>
index b8b267e..555613b 100644 (file)
@@ -27,6 +27,6 @@
     <li class="move gt"><a id="reco-<%=key%>-next" style="cursor:pointer;visibility:hidden"><%= image_tag "/images/item/gt.gif", :alt=>"→" %></a></li>
    </ul>
  </div>
- <div class="m_btm"><img src="/images/item/reco_bg_btm.gif" width="530" height="5" alt="" /></div>
+ <div class="m_btm"><%= image_tag("item/reco_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
 <% end %>
 <% end %>
index 713bf17..ab30858 100644 (file)
@@ -15,7 +15,7 @@
       <%= link_to_product recommend_product.product -%><br />
       <%= simple_format h recommend_product.description -%>
       <br clear="all" />
-      <div style="clear:both; background-color:#F3F3EC; text-align:center;"><img src="/images/mobile/border.gif" width="226" height="2" /><br /></div>
+      <div style="clear:both; background-color:#F3F3EC; text-align:center;"><%= image_tag("mobile/border.gif", :width => "226", :height => "2") %><br /></div>
     <%- end -%>
 
     <div style="background-color:#998A83;"><%= image_tag_mobile "spacer", :width => "100%", :height => "1" %><br /></div>
index e158ded..c86f204 100644 (file)
@@ -5,7 +5,9 @@
     <%- @recommend_xmls.each_with_index do | rx, idx | -%>
       <li class="rank<%=h idx+1 %>">
         <%= link_to((product_image_tag(rx.recommend, :small, :class=>"rank_item")), {:controller => "/products", :action => "show", :id => (rx.recommend_id),:category_id => rx.recommend.category_id}) %>
-        <div class="rank_img"><img src="/images/top/rank<%=h idx+1 %>.gif" width="41" height="41" alt="人気商品第<%=h idx+1 %>位" /></div>
+        <div class="rank_img">
+          <%= image_tag("top/rank" + (idx + 1) + ".gif", :width => "41", :height => "41", :alt => "人気商品第" + (idx + 1) + "位") %>
+        </div>
         <div class="rank_t"><p><%= link_to_product rx.recommend -%></p></div>
       </li>
     <%- end -%>
index 8aa9949..453742e 100755 (executable)
@@ -18,7 +18,8 @@
       <%= link_to_product recommend_xml.recommend, "#{recommend_xml.name}" %><br />
          <%= simple_format h recommend_xml.recommend.introduction -%>
          <br clear="all" />
-      <div style="clear:both; background-color:#F3F3EC; text-align:center;"><img src="/images/mobile/border.gif" width="226" height="2" /><br /></div>
+    <div style="clear:both; background-color:#F3F3EC; text-align:center;">
+      <%= image_tag("mobile/border.gif", :width => "226", :height => "2") %><br /></div>
     <%- end -%>
     <div style="background-color:#998A83;"><%= image_tag_mobile "spacer", :width => "100%", :height => "1" %><br /></div>
   </div>
index ddfd352..5724775 100644 (file)
        <ol>
          <% @recommend_xmls.each_with_index do | recommend_xml, i | %>
           <%- rank = i + 1 -%>
-          <%- img_src = "/images/common/kuchi_0"+rank.to_s+".gif" -%>
+          <%- img_src = "common/kuchi_0"+rank.to_s+".gif" -%>
           <%- img_alt = "人気商品ランキング"+rank.to_s+"位" -%>
                  <li>
-                   <div class="kuchi_img"><img src='<%=img_src%>' width="35" height="36" alt='<%=img_alt%>' /></div><div class="kuchi_t"><p><%= link_to_product recommend_xml.recommend, "#{recommend_xml.name}" %></p></div>
+      <div class="kuchi_img"><%= image_tag(img_src, :width => "35", :height => "36", :alt => img_alt) %></div><div class="kuchi_t"><p><%= link_to_product recommend_xml.recommend, "#{recommend_xml.name}" %></p></div>
                    <p class="kuchi_txt"><%=h recommend_xml.recommend.introduction%></p>
                  </li>
          <% end %>
        </ol>
        </div>
-       <div class="top_box_btm"><img src="/images/common/side_bg_btm.gif" width="200" height="5" alt="" /></div>
+  <div class="top_box_btm"><%= image_tag("common/side_bg_btm.gif", :width => "200", :height => "5", :alt => "") %></div>
        <% end %>
        <% end %>
 
index c6ebb78..765dd62 100644 (file)
@@ -4,7 +4,8 @@
     <%= javascript_include_tag :defaults %>
     <%= javascript_include_tag "jquery" %>
     <%= javascript_include_tag "no_confrict" %>
-    <%= javascript_include_tag "thickbox" %>
+    <%= javascript_include_tag js_url(:action => "thickbox") %>
+    <%= javascript_include_tag js_url(:action => "application") %>  
 <% end %>
 <h2 class="main_t"><%= (@campaign ? h(@campaign.name) : "キャンペーン") %></h2>
 <%= flash[:notice] %>
@@ -15,7 +16,7 @@
 
     <div class="campaign_box">
         <% if !@campaign.product_id.blank? && @status == "open" %>
-        <div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+          <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
         <div id="item_box" class="main_box">
             <div class="clearfix">
                 <div class="item_pic">
@@ -68,7 +69,7 @@
             </p>
         </div>
         <!-- /item_box -->
-        <div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+        <div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
         <% else %>
             <%= @free_spaces[@free_space_names[3]] %>
         <% end %>
index aa98df9..89d769d 100644 (file)
@@ -1,6 +1,6 @@
 <!-- 会員の方 -->
 <dl id="member">
-  <dt><img src="/images/login/login_t1.gif" width="350" height="49" alt="会員の方" /></dt>
+  <dt><%= image_tag("login/login_t1.gif", :width => "350", :height => "49", :alt => "会員の方") %></dt>
   <dd>
     <h3>会員登録がお済みのお客様</h3>
     <p>会員の方は、登録時に入力されたメールアドレスとパスワードでログインしてください。</p>
@@ -15,4 +15,4 @@
     <div id="remind">パスワードを忘れた方は<%= link_to 'こちら', {:controller => 'account', :action => 'reminder'} %></div>
     <div id="remind">メールアドレスを忘れた方は<%= link_to 'お問い合せページ', {:controller => 'inquiries', :action => 'new'} %>からお問い合わせください。</div>
   </dd>
-</dl>
\ No newline at end of file
+</dl>
index bf81baa..c993b34 100644 (file)
@@ -2,11 +2,12 @@
  <%= stylesheet_link_tag "front/cart" %>
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag "recommender_details" %>
+ <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <h2 class="main_t">ご注文の完了</h2>
 <div id="cart">
-  <img src="/images/cart/route04.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+  <%= image_tag("cart/route04.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
 
   <p class="comp">ご注文ありがとうございました。</p>
   <p class="comp_s">只今、ご注文の確認メールをお送りさせていただきました。<br />
index f7015f6..594bdb3 100644 (file)
@@ -5,7 +5,7 @@
 <h2 class="main_t">ショッピングカート</h2>
 <div id="cart">
 <!-- ショッピングカート -->
-  <img src="/images/cart/route03.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+  <%= image_tag("cart/route03.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
   <p class="tb_t">ご入力内容のご確認</p>
   <p class="m_btm">下記ご注文内容で送信してもよろしいでしょうか?<br />
   よろしければ、一番下の「ご注文完了ページへ」ボタンをクリックしてください。</p>
index dd65488..7a74ae1 100644 (file)
@@ -2,12 +2,13 @@
   <%= stylesheet_link_tag "front/cart" %>
   <%= javascript_include_tag :defaults %>
   <%= javascript_include_tag 'cart_purchase' %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <h2 class="main_t">ショッピングカート</h2>
 <div id="cart">
 <!-- ショッピングカート -->
-  <img src="/images/cart/route03.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+  <%= image_tag("cart/route03.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
   <span class="must"><%= flash[:notice] %></span>
   <span class="must"><%= flash[:error] %></span>
   <%= @order_delivery && error_messages_for(:order_delivery) %>
@@ -15,7 +16,7 @@
   <div id="pt_box" class="clearfix">
     <!-- お支払い方法 -->
     <dl id="payment">
-      <dt><img src="/images/cart/cart_t1.gif" width="260" height="49" alt="お支払い方法" /></dt>
+      <dt><%= image_tag("cart/cart_t1.gif", :width => "260", :height => "49", :alt => "お支払い方法") %></dt>
       <dd>
         <p>支払方法をお選びください。</p>
         <ul>
@@ -31,7 +32,7 @@
 
     <!-- お届け時間 -->
     <dl id="time">
-      <dt><img src="/images/cart/cart_t2.gif" width="260" height="49" alt="お届け時間" /></dt>
+      <dt><%= image_tag("cart/cart_t2.gif", :width => "260", :height => "49", :alt => "お届け時間") %></dt>
       <dd>
         <p>ご希望の時間帯をお選びください。</p>
                <span class="must">(※お支払方法を選択しないと、時間帯をお選びいただけません。)</span><br />
@@ -42,7 +43,7 @@
           </select>
       </dd>
     </dl>
-    <div><img src="/images/cart/cart_btm.gif" width="545" height="5" alt="" /></div>
+    <div><%= image_tag("cart/cart_btm.gif", :width => "545", :height => "5", :alt => "") %></div>
   </div><!-- /pt_box -->
 
    <% if @login_customer %>
index 581fb3f..efd478b 100644 (file)
@@ -1,14 +1,15 @@
 <% content_for :head do %>
   <%= stylesheet_link_tag "front/cart" %>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
   <%= popup_for_delivery_address_script %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to 'ショッピングカート', :action => 'show' %></li><li>お届け先住所</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to 'ショッピングカート', :action => 'show' %></li><li>お届け先住所</li></ol>
 <h2 class="main_t">お届け先の指定</h2>
 <div id="cart">
   <!-- ショッピングカート -->
-  <img src="/images/cart/route03.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+  <%= image_tag("cart/route03.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
 
   <p id="caption">
     下記一覧よりお届け先住所を選択して、「次へ」ボタンをクリックしてください。<br />
index 1366cea..6c209c5 100644 (file)
@@ -2,13 +2,14 @@
   <%= javascript_include_tag :defaults %>
   <%= stylesheet_link_tag "front/cart" %>
   <%= javascript_include_tag "recommender_details" %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>ショッピングカート</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>ショッピングカート</li></ol>
 <h2 class="main_t">ショッピングカート</h2>
 <div id="cart">
 <!-- ショッピングカート -->
-  <img src="/images/cart/route01.gif" width="583" height="31" alt="ご購入の流れ" class="route" />
+  <%= image_tag("cart/route01.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
 
   <p><%= flash[:notice] %><%= flash[:error] %><%= flash[:cart_add_product] %></p>
 
index 3f918f4..d5888e8 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= stylesheet_link_tag "front/cart" %>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <h2 class="main_t">お客様情報入力</h2>
@@ -37,8 +38,8 @@
         <th>郵便番号<span class="must">※</span></th>
         <td>
           〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} -%>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
-          <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
-          <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('temporary_customer_zipcode01','temporary_customer_zipcode02', null, 'temporary_customer_address_city', 'temporary_customer_address_detail', 'temporary_customer_prefecture_id', 'cart');" type="button" class="btn_s">
+          <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+          <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('temporary_customer_zipcode01','temporary_customer_zipcode02', null, 'temporary_customer_address_city', 'temporary_customer_address_detail', 'temporary_customer_prefecture_id', 'cart', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
           ※郵便番号を入力後、クリックしてください。
         </td>
       </tr>
         <th>郵便番号<span class="must">※</span></th>
         <td>
           〒<%= f.text_field :zipcode01, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} -%>-<%= f.text_field :zipcode02, {:class=>"form_s m_left",:style=>"ime-mode:inactive"} %>
-          <a href="http://search.post.japanpost.jp/zipcode/" target="_blank">郵便番号を調べる</a><br />
-          <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('optional_address_zipcode01','optional_address_zipcode02', null, 'optional_address_address_city', 'optional_address_address_detail', 'optional_address_prefecture_id', 'cart');" type="button" class="btn_s">
+          <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", :target => "_blank" %><br />
+          <input name="zipcode_input" value="住所自動入力" onclick="address_by_zip('optional_address_zipcode01','optional_address_zipcode02', null, 'optional_address_address_city', 'optional_address_address_detail', 'optional_address_prefecture_id', 'cart', '<%=h ActionController::Base.relative_url_root %>');" type="button" class="btn_s">
           ※郵便番号を入力後、クリックしてください。
         </td>
       </tr>
index 5e95cde..46a6d47 100644 (file)
@@ -1,8 +1,7 @@
 <% unless @feature.body.blank? %>      \r
-<!--説明文 -->\r
-<div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>\r
+  <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>\r
 <div id="main_comment" class="main_box">\r
 <%=@feature.body%>     \r
 </div>\r
-<div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>\r
-<% end %>
\ No newline at end of file
+<div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>\r
+<% end %>\r
index 51cca94..24fede3 100644 (file)
@@ -5,9 +5,9 @@
 
 <% unless @feature.body.blank? %>      
 <!--説明文 -->
-<div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+<div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
 <div id="main_comment" class="main_box"><%=@feature.body%></div>
-<div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+<div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
 <% end %>
 
 <!--商品一覧 -->
index b123064..4346f47 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= javascript_include_tag :defaults %>
   <%= stylesheet_link_tag "front/features" %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <div id="left_box" class="clearfix">
index 60c5b6c..b41b838 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= javascript_include_tag :defaults %>
   <%= stylesheet_link_tag "front/portal" %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <div id="container" class="clearfix">
index 40099b0..0295cdc 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= javascript_include_tag :defaults %>
   <%= stylesheet_link_tag "front/portal" %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <div id="container" class="clearfix">
index 77fffce..36e23df 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= javascript_include_tag :defaults %>
   <%= stylesheet_link_tag "front/portal" %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <div id="container" class="clearfix">
index 995b67e..bd601a0 100644 (file)
@@ -2,7 +2,7 @@
 <%= stylesheet_link_tag "front/entry" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>お問い合わせ</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>お問い合わせ</li></ol>
 <h2 class="main_t">問合せ個人情報の取扱いについて</h2>
 <div id="entry">
   <div class="agreement_box">
@@ -14,4 +14,4 @@
     <%= link_to image_tag("/images/common/btn02.gif", :width=>"101", :height=>"28", :alt=>"戻る"), :controller=>'inquiries', :action=>'show' %>
     <%= link_to image_tag("/images/common/ask_btn.gif", :width=>"101", :height=>"28", :alt=>"個人情報の取り扱いについて同意した上でお問い合わせ"), :controller=>'inquiries', :action=>'new' %>
   </p>  
-</div>
\ No newline at end of file
+</div>
index e346e9c..e719842 100644 (file)
@@ -2,7 +2,7 @@
 <%= stylesheet_link_tag "front/entry" %>
 <% end %>
 
-<ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li>お問い合わせ</li></ol>
+<ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li>お問い合わせ</li></ol>
 <h2 class="main_t">お問い合わせ</h2>
 <div id="entry">
   <p class="agreement_t">ご意見やご感想、ご質問はこちらで受けております。</p>
@@ -19,4 +19,4 @@
        
        お問い合わせは<%= link_to 'こちらへ', :controller => "inquiries", :action => "new" %><br /><br />
   </div>
-</div><!-- /entry -->
\ No newline at end of file
+</div><!-- /entry -->
diff --git a/app/views/javascript/application.html.erb b/app/views/javascript/application.html.erb
new file mode 100644 (file)
index 0000000..5f5e3ad
--- /dev/null
@@ -0,0 +1,18 @@
+Event.observe(window, 'load', function() {
+  var img = document.createElement('img');
+  document.body.appendChild(img);
+  img.id = 'loading-image';
+  img.alt = 'loading...';
+  with (img.style) {
+    display = 'none';
+    position = 'fixed';
+    top = '50%';
+    left = '50%';
+  }
+  img.src = '<%=h image_path('indicator.gif') %>';
+  if (img.width) {
+    img.style.marginLeft = String(-(img.width / 2)) + 'px';
+    img.style.marginTop = String(-(img.height / 2)) + 'px';
+  }
+});
+
diff --git a/app/views/javascript/thickbox.html.erb b/app/views/javascript/thickbox.html.erb
new file mode 100644 (file)
index 0000000..ef5e612
--- /dev/null
@@ -0,0 +1,320 @@
+/*
+ * Thickbox 3.1 - One Box To Rule Them All.
+ * By Cody Lindley (http://www.codylindley.com)
+ * Copyright (c) 2007 cody lindley
+ * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
+*/
+
+/* var tb_pathToImage = "/images/loadingAnimation.gif"; */
+var tb_pathToImage = "<%= image_path("loadingAnimation.gif") %>";
+
+/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
+
+//on page load call tb_init
+j$(document).ready(function(){
+       tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
+       imgLoader = new Image();// preload image
+       imgLoader.src = tb_pathToImage;
+});
+
+//add thickbox to href & area elements that have a class of .thickbox
+function tb_init(domChunk){
+       j$(domChunk).click(function(){
+       var t = this.title || this.name || null;
+       var a = this.href || this.alt;
+       var g = this.rel || false;
+       tb_show(t,a,g);
+       this.blur();
+       return false;
+       });
+}
+
+function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link
+
+       try {
+               if (typeof document.body.style.maxHeight === "undefined") {//if IE 6
+                       j$("body","html").css({height: "100%", width: "100%"});
+                       j$("html").css("overflow","hidden");
+                       if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6
+                               j$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
+                               j$("#TB_overlay").click(tb_remove);
+                       }
+               }else{//all others
+                       if(document.getElementById("TB_overlay") === null){
+                               j$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");
+                               j$("#TB_overlay").click(tb_remove);
+                       }
+               }
+
+               if(tb_detectMacXFF()){
+                       j$("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash
+               }else{
+                       j$("#TB_overlay").addClass("TB_overlayBG");//use background and opacity
+               }
+
+               if(caption===null){caption="";}
+               j$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");//add loader to the page
+               j$('#TB_load').show();//show loader
+
+               var baseURL;
+          if(url.indexOf("?")!==-1){ //ff there is a query string involved
+                       baseURL = url.substr(0, url.indexOf("?"));
+          }else{
+                       baseURL = url;
+          }
+
+          var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
+          var urlType = baseURL.toLowerCase().match(urlString);
+
+               if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images
+
+                       TB_PrevCaption = "";
+                       TB_PrevURL = "";
+                       TB_PrevHTML = "";
+                       TB_NextCaption = "";
+                       TB_NextURL = "";
+                       TB_NextHTML = "";
+                       TB_imageCount = "";
+                       TB_FoundURL = false;
+                       if(imageGroup){
+                               TB_TempArray = j$("a[@rel="+imageGroup+"]").get();
+                               for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) {
+                                       var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);
+                                               if (!(TB_TempArray[TB_Counter].href == url)) {
+                                                       if (TB_FoundURL) {
+                                                               TB_NextCaption = TB_TempArray[TB_Counter].title;
+                                                               TB_NextURL = TB_TempArray[TB_Counter].href;
+                                                               TB_NextHTML = "<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>";
+                                                       } else {
+                                                               TB_PrevCaption = TB_TempArray[TB_Counter].title;
+                                                               TB_PrevURL = TB_TempArray[TB_Counter].href;
+                                                               TB_PrevHTML = "<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>";
+                                                       }
+                                               } else {
+                                                       TB_FoundURL = true;
+                                                       TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length);
+                                               }
+                               }
+                       }
+
+                       imgPreloader = new Image();
+                       imgPreloader.onload = function(){
+                       imgPreloader.onload = null;
+
+                       // Resizing large images - orginal by Christian Montoya edited by me.
+                       var pagesize = tb_getPageSize();
+                       var x = pagesize[0] - 150;
+                       var y = pagesize[1] - 150;
+                       var imageWidth = imgPreloader.width;
+                       var imageHeight = imgPreloader.height;
+                       if (imageWidth > x) {
+                               imageHeight = imageHeight * (x / imageWidth);
+                               imageWidth = x;
+                               if (imageHeight > y) {
+                                       imageWidth = imageWidth * (y / imageHeight);
+                                       imageHeight = y;
+                               }
+                       } else if (imageHeight > y) {
+                               imageWidth = imageWidth * (y / imageHeight);
+                               imageHeight = y;
+                               if (imageWidth > x) {
+                                       imageHeight = imageHeight * (x / imageWidth);
+                                       imageWidth = x;
+                               }
+                       }
+                       // End Resizing
+
+                       TB_WIDTH = imageWidth + 30;
+                       TB_HEIGHT = imageHeight + 60;
+                       j$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'><img src='/images/common/close.png' width='53' height='21' border='0' /></a></div>");
+
+                       j$("#TB_closeWindowButton").click(tb_remove);
+
+                       if (!(TB_PrevHTML === "")) {
+                               function goPrev(){
+                                       if(j$(document).unbind("click",goPrev)){j$(document).unbind("click",goPrev);}
+                                       j$("#TB_window").remove();
+                                       j$("body").append("<div id='TB_window'></div>");
+                                       tb_show(TB_PrevCaption, TB_PrevURL, imageGroup);
+                                       return false;
+                               }
+                               j$("#TB_prev").click(goPrev);
+                       }
+
+                       if (!(TB_NextHTML === "")) {
+                               function goNext(){
+                                       j$("#TB_window").remove();
+                                       j$("body").append("<div id='TB_window'></div>");
+                                       tb_show(TB_NextCaption, TB_NextURL, imageGroup);
+                                       return false;
+                               }
+                               j$("#TB_next").click(goNext);
+
+                       }
+
+                       document.onkeydown = function(e){
+                               if (e == null) { // ie
+                                       keycode = event.keyCode;
+                               } else { // mozilla
+                                       keycode = e.which;
+                               }
+                               if(keycode == 27){ // close
+                                       tb_remove();
+                               } else if(keycode == 190){ // display previous image
+                                       if(!(TB_NextHTML == "")){
+                                               document.onkeydown = "";
+                                               goNext();
+                                       }
+                               } else if(keycode == 188){ // display next image
+                                       if(!(TB_PrevHTML == "")){
+                                               document.onkeydown = "";
+                                               goPrev();
+                                       }
+                               }
+                       };
+
+                       tb_position();
+                       j$("#TB_load").remove();
+                       j$("#TB_ImageOff").click(tb_remove);
+                       j$("#TB_window").css({display:"block"}); //for safari using css instead of show
+                       };
+
+                       imgPreloader.src = url;
+               }else{//code to show html
+
+                       var queryString = url.replace(/^[^\?]+\??/,'');
+                       var params = tb_parseQuery( queryString );
+
+                       TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL
+                       TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL
+                       ajaxContentW = TB_WIDTH - 30;
+                       ajaxContentH = TB_HEIGHT - 45;
+
+                       if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window
+                                       urlNoQuery = url.split('TB_');
+                                       j$("#TB_iframeContent").remove();
+                                       if(params['modal'] != "true"){//iframe no modal
+                                               j$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;' > </iframe>");
+                                       }else{//iframe modal
+                                       j$("#TB_overlay").unbind();
+                                               j$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH + 17)+"px;'> </iframe>");
+                                       }
+                       }else{// not an iframe, ajax
+                                       if(j$("#TB_window").css("display") != "block"){
+                                               if(params['modal'] != "true"){//ajax no modal
+                                               j$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+caption+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");
+                                               }else{//ajax modal
+                                               j$("#TB_overlay").unbind();
+                                               j$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>");
+                                               }
+                                       }else{//this means the window is already up, we are just loading new content via ajax
+                                               j$("#TB_ajaxContent")[0].style.width = ajaxContentW +"px";
+                                               j$("#TB_ajaxContent")[0].style.height = ajaxContentH +"px";
+                                               j$("#TB_ajaxContent")[0].scrollTop = 0;
+                                               j$("#TB_ajaxWindowTitle").html(caption);
+                                       }
+                       }
+
+                       j$("#TB_closeWindowButton").click(tb_remove);
+
+                               if(url.indexOf('TB_inline') != -1){
+                                       j$("#TB_ajaxContent").append(j$('#' + params['inlineId']).children());
+                                       j$("#TB_window").unload(function () {
+                                               j$('#' + params['inlineId']).append( j$("#TB_ajaxContent").children() ); // move elements back when you're finished
+                                       });
+                                       tb_position();
+                                       j$("#TB_load").remove();
+                                       j$("#TB_window").css({display:"block"});
+                               }else if(url.indexOf('TB_iframe') != -1){
+                                       tb_position();
+                                       if(j$.browser.safari){//safari needs help because it will not fire iframe onload
+                                               j$("#TB_load").remove();
+                                               j$("#TB_window").css({display:"block"});
+                                       }
+                               }else{
+                                       j$("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method
+                                               tb_position();
+                                               j$("#TB_load").remove();
+                                               tb_init("#TB_ajaxContent a.thickbox");
+                                               j$("#TB_window").css({display:"block"});
+                                       });
+                               }
+
+               }
+
+               if(!params['modal']){
+                       document.onkeyup = function(e){
+                               if (e == null) { // ie
+                                       keycode = event.keyCode;
+                               } else { // mozilla
+                                       keycode = e.which;
+                               }
+                               if(keycode == 27){ // close
+                                       tb_remove();
+                               }
+                       };
+               }
+
+       } catch(e) {
+               //nothing here
+       }
+}
+
+//helper functions below
+function tb_showIframe(){
+       j$("#TB_load").remove();
+       j$("#TB_window").css({display:"block"});
+}
+
+function tb_remove() {
+       j$("#TB_imageOff").unbind("click");
+       j$("#TB_closeWindowButton").unbind("click");
+       j$("#TB_window").fadeOut("fast",function(){j$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();});
+       j$("#TB_load").remove();
+       if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
+               j$("body","html").css({height: "auto", width: "auto"});
+               j$("html").css("overflow","");
+       }
+       document.onkeydown = "";
+       document.onkeyup = "";
+       return false;
+}
+
+function tb_position() {
+j$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'});
+       if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6
+               j$("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'});
+       }
+}
+
+function tb_parseQuery ( query ) {
+   var Params = {};
+   if ( ! query ) {return Params;}// return empty object
+   var Pairs = query.split(/[;&]/);
+   for ( var i = 0; i < Pairs.length; i++ ) {
+      var KeyVal = Pairs[i].split('=');
+      if ( ! KeyVal || KeyVal.length != 2 ) {continue;}
+      var key = unescape( KeyVal[0] );
+      var val = unescape( KeyVal[1] );
+      val = val.replace(/\+/g, ' ');
+      Params[key] = val;
+   }
+   return Params;
+}
+
+function tb_getPageSize(){
+       var de = document.documentElement;
+       var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
+       var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight;
+       arrayPageSize = [w,h];
+       return arrayPageSize;
+}
+
+function tb_detectMacXFF() {
+  var userAgent = navigator.userAgent.toLowerCase();
+  if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) {
+    return true;
+  }
+}
+
+
diff --git a/app/views/javascript/treemenu.html.erb b/app/views/javascript/treemenu.html.erb
new file mode 100644 (file)
index 0000000..ea4add1
--- /dev/null
@@ -0,0 +1,32 @@
+//imagefile = new Array("/images/menu_icon_on.gif", "/images/menu_icon.gif");\r
+imagefile = new Array("<%= image_path("menu_icon_on.gif") %>", "<%= image_path("menu_icon.gif") %>");\r
+\r
+image = new Array(imagefile.length);\r
+for(count = 0; count < (imagefile.length - 1); count++){\r
+       image[count] = new Image();\r
+       image[count].src = imagefile[count];\r
+}\r
+\r
+function ImgC(id){\r
+       if(window.document.images[id].src.indexOf(imagefile[0]) != -1){\r
+               window.document.images[id].src  = imagefile[1];\r
+       }else{\r
+               window.document.images[id].src  = imagefile[0];\r
+       }\r
+}\r
+\r
+function Tree(id){\r
+       if(document.all){\r
+               if(document.all(id).style.display == "block"){\r
+                       document.all(id).style.display = "none";\r
+               }else if(document.all(id).style.display == "none"){\r
+                       document.all(id).style.display = "block";\r
+               }\r
+       }else if(document.getElementById){\r
+               if(document.getElementById(id).style.display == "block"){\r
+                       document.getElementById(id).style.display = "none";\r
+               }else if(document.getElementById(id).style.display == "none"){\r
+                       document.getElementById(id).style.display = "block";\r
+               }\r
+       }\r
+}\r
index b277ed4..928265b 100644 (file)
@@ -6,8 +6,9 @@
     <title><%= @title || "管理画面" %></title>
     <%= javascript_include_tag :defaults %>
     <%= javascript_include_tag "admin/common" %>
-    <%= javascript_include_tag "treemenu" %>
+    <%= javascript_include_tag js_url(:action => "treemenu") %>
     <%= javascript_include_tag "rollover" %>
+    <%= javascript_include_tag js_url(:action => "application") %>
     <%= stylesheet_link_tag "admin" %>
     <%= yield :head -%>
   </head>
 <div id="wrapper" class="clearfix">
   <div id="header" class="clearfix"><!-- ヘッダー -->
     <div id="head_l">
-      <h1><a href="/admin/home"><img src="/images/logo.gif" width="169" height="50" alt="ECパッケージ管理画面" /></a></h1>
+      <h1><%= link_to image_tag("logo.gif", :width => "169", :height => "50", :alt => "ECパッケージ管理画面"), :controller => "home", :action => "index" %></h1>
     </div>
     <div id="head_m" class="clearfix">
       <ul id="con_menu" class="clearfix">
-        <li><a href="/admin/shops" id="shop"><img src="/images/store_btn.gif" width="122" height="51" alt="店舗管理" class="hoverImg" /></a></li>
-        <li><a href="/admin/products" id="product"><img src="/images/goods_btn.gif" width="122" height="51" alt="商品管理" class="hoverImg" /></a></li>
+        <li><%= link_to image_tag("store_btn.gif", :width => "122", :height => "51", :alt => "店舗管理", :class => "hoverImg"), {:controller => "shops", :action => "index"}, :id => "shop" %></li>
+        <li><%= link_to image_tag("goods_btn.gif", :width => "122", :height => "51", :alt => "商品管理", :class => "hoverImg"), {:controller => "products", :action => "index"}, :id => "product" %></li>
     <% if @system_supplier_use_flag %>
-        <li><a href="/admin/suppliers" id="depot"><img src="/images/order_btn.gif" width="122" height="51" alt="発注出荷管理" class="hoverImg" /></a></li>
+      <li><%= link_to image_tag("order_btn.gif", :width => "122", :height => "51", :alt => "発注出荷管理", :class => "hoverImg"), {:controller => "suppliers", :action => "index"}, :id => "depot" %></li>
        <%else%>
-               <li><a href="/admin/stock_in" id="depot"><img src="/images/order_btn.gif" width="122" height="51" alt="発注出荷管理" class="hoverImg" /></a></li>
+      <li><%= link_to image_tag("order_btn.gif", :width => "122", :height => "51", :alt => "発注出荷管理", :class => "hoverImg"), {:controller => "stock_in", :action => "index"}, :id => "depot" %></li>
        <%end%> 
-        <li><a href="/"><img src="/images/site_btn.gif" width="122" height="51" alt="サイトを表示" class="hoverImg" /></a></li>
+  <li><%= link_to image_tag("site_btn.gif", :width => "122", :height => "51", :alt => "サイトを表示", :class => "hoverImg"), {:controller => "/portal", :action => "show"} %></li>
       </ul>
       <div id="head_r" class="clearfix">
         <p id="user_name"><a href="#"><%=h session[:admin_user].name %></a>&nbsp様</p>
index fc3cf1a..0d9b260 100644 (file)
@@ -12,7 +12,7 @@
 
 <%= compound_title_tag(['K&B style', nil, nil, nil]) %>
 <%= javascript_include_tag 'sorry' %>
-<%= javascript_include_tag 'treemenu' %>
+<%= javascript_include_tag js_url(:action => "treemenu") %>
 <%= javascript_include_tag 'rollover' %>
 <%= stylesheet_link_tag "front/common" %>
 <%= yield :head -%>
@@ -21,7 +21,7 @@
 <body>
 <div id="wrapper" class="clearfix">
   <div id="header" class="clearfix"><!-- ヘッダー -->
-    <h1><a href="#"><img alt="K&amp;Bstyle" height="37" src="/images/common/logo.gif" width="133" /></a></h1>
+    <h1><a href="#"><%= image_tag("common/logo.gif", :width => "133", :height => "37", :alt => "K&amp;Bstyle") %></a></h1>
   <div id="store_desc"><span>オシャレな女性のためのお手軽通販サイト</span></div>
   <div id="my_menubox" class="clearfix">
   <p>
@@ -51,7 +51,7 @@
     <address>Copyright (c) 2000-2009 K&amp;Bstyle CO.LTD. All Rights Reserved.</address>
   </div>
   <div id="foot_r">
-    <a href="#header"><img width="79" height="24" alt="page top" src="/images/common/pagetop_btn.gif"/></a>
+    <a href="#header"><%= image_tag("common/pagetop_btn.gif", :width => "79", :height => "79", :alt => "page top") %></a>
   </div>
 </div><!-- /footer -->
 </body>
index b124136..68090a1 100644 (file)
@@ -12,7 +12,7 @@
 
 <%= compound_title_tag(['K&B style', @product_name, @category_name, @campaign_name]) %>
 <%= javascript_include_tag 'sorry' %>
-<%= javascript_include_tag 'treemenu' %>
+<%= javascript_include_tag js_url(:action => "treemenu") %>
 <%= javascript_include_tag 'rollover' %>
 <%= stylesheet_link_tag "front/common" %>
 <%= yield :head -%>
@@ -51,7 +51,7 @@
     <address>Copyright (c) 2000-2009 K&amp;Bstyle CO.LTD. All Rights Reserved.</address>
   </div>
   <div id="foot_r">
-    <a href="#header"><img width="79" height="24" alt="page top" src="/images/common/pagetop_btn.gif"/></a>
+    <a href="#header"><%= image_tag("common/pagetop_btn.gif", :width => "79", :height => "24", :alt => "page top") %></a>
   </div>
 </div><!-- /footer -->
 </body>
index ebcdcbf..60861f3 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>\r
   <%= javascript_include_tag :defaults %>\r
   <%= stylesheet_link_tag "front/portal" %>\r
+  <%= javascript_include_tag js_url(:action => "application") %>\r
 <% end %>\r
 \r
 <div id="container" class="clearfix">\r
index e6969ed..d46b357 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>\r
   <%= javascript_include_tag :defaults %>\r
   <%= stylesheet_link_tag "front/portal" %>\r
+  <%= javascript_include_tag js_url(:action => "application") %>\r
 <% end %>\r
 \r
 <div id="container" class="clearfix">\r
index 224f918..4609cbf 100644 (file)
@@ -4,7 +4,7 @@
 
 <div id="left_box" class="clearfix">
   <div id="top_img">
-    <img height="200" width="740" alt="カジュアルアイテム在庫一掃セール" src="images/common/top_img.jpg">
+    <%= image_tag("common/top_img.jpg", :width => "740", :height => "200", :alt => "カジュアルアイテム在庫一掃セール") %>
   </div>
   <%= render :partial => '/base/left_sidebar' %>
   <div id="main"><!-- メイン -->
index 1f66d92..620f05e 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>\r
   <%= javascript_include_tag :defaults %>\r
   <%= stylesheet_link_tag "front/portal" %>\r
+  <%= javascript_include_tag js_url(:action => "application") %>\r
 <% end %>\r
 <div id="container" class="clearfix">\r
   <ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => 'portal', :action => 'show' %></li><li>特定商取引に関する法律に基づく表記</li></ol>\r
index 68ed58c..f1976c9 100644 (file)
     <!--カテゴリ画像 -->
     <%= view_resource_id @category.resource_id,{:width=>"530px",:height=>"213px",:class =>"m_btm",:alt=>@category.free_space}%>
     <% end %>
-    <div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+    <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
     <div id="main_search" class="main_box">
     <dl class="clearfix">
       <dt>並び替え</dt>
       <dd><ul><li><%= link_order "price" %></li><li><%= link_order "update" %></li></ul></dd>
     </dl>
     </div>
-    <div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+    <div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
     <!-- pager -->
     <div id="pager_box" class="clearfix">
       <p><%=h ((@products.current_page-1)*@products.per_page)+1 %>~<%=h paginate_item_count(@products.current_page, @products.per_page, @products.total_entries) %>&nbsp;(<%=h @products.total_entries %>件中)</p>
index fbebb84..64439ae 100644 (file)
@@ -4,8 +4,9 @@
   <%= javascript_include_tag :defaults %>
   <%= javascript_include_tag "jquery" %>
   <%= javascript_include_tag "no_confrict" %>
-  <%= javascript_include_tag "thickbox" %>
+  <%= javascript_include_tag js_url(:action => "thickbox") %>
   <%= javascript_include_tag "recommender_details" %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <div id="left_box" class="clearfix">
   <!-- メイン -->
   <div id="main">
 
-  <ol id="bread_list" class="m_btm"><li class="bread_top"><a href="/">トップページ</a></li><li><%= link_to("商品一覧", { :controller => "/products", :action => "index"}) %></li><li><%= @product.name %></li></ol>
+  <ol id="bread_list" class="m_btm"><li class="bread_top"><%= link_to "トップページ", :controller => :portal, :action => :show %></li><li><%= link_to("商品一覧", { :controller => "/products", :action => "index"}) %></li><li><%= @product.name %></li></ol>
 
   <!-- 商品詳細 -->
-  <div><img src="/images/common/box_bg_top.gif" width="530" height="5" alt="" /></div>
+  <div><%= image_tag("common/box_bg_top.gif", :width => "530", :height => "5", :alt => "") %></div>
   <div id="item_box" class="main_box">
   <div id="item_box_top" class="clearfix">
   <div class="item_pic"><%= link_to((product_image_tag(@product, :medium, :width=>250)), { :controller => "/image_resource", :action => "show", :id => (@product.large_resource_id || @product.medium_resource_id),:format => "png", :height => 640, :width => 480 }, {:title => "#{@product.name}", :class => "thickbox"} ) %><p><%= h_br @product.medium_resource_comment unless @product.medium_resource_comment.blank? %></p><br /></div>
@@ -87,7 +88,7 @@
   </p>
 
   </div><!-- /item_box -->
-  <div class="m_btm"><img src="/images/common/box_bg_btm.gif" width="530" height="5" alt="" /></div>
+  <div class="m_btm"><%= image_tag("common/box_bg_btm.gif", :width => "530", :height => "5", :alt => "") %></div>
 
   <div id="under_line"></div>
   <% @reco_no = 0 %>
index 204b2b6..4ead1a6 100644 (file)
@@ -1,6 +1,7 @@
 <% content_for :head do %>
   <%= stylesheet_link_tag "front/questionnaire" %>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 <% end %>
 
 <div id="container" class="clearfix">
@@ -60,7 +61,7 @@
       <th>郵便番号<span class="pnt">※</span></th>
       <td>
         〒 <%= text_field "respondent", "zipcode01", :size => "3" %> - <%= text_field "respondent", "zipcode02", :size => "4" %> <%= link_to "郵便番号を調べる", "http://search.post.japanpost.jp/zipcode/", {:target => "_blank"} %> <br />
-               <input name="zipcode_input" class="btn_s" value="住所入力" onclick="address_by_zip('respondent_zipcode01','respondent_zipcode02', 'respondent_prefecture_name', 'respondent_address_city', 'respondent_address_details', 'respondent_prefecture_id', 'questionnaires');" type="button">
+               <input name="zipcode_input" class="btn_s" value="住所入力" onclick="address_by_zip('respondent_zipcode01','respondent_zipcode02', 'respondent_prefecture_name', 'respondent_address_city', 'respondent_address_details', 'respondent_prefecture_id', 'questionnaires', '<%=h ActionController::Base.relative_url_root %>');" type="button">
                ※郵便番号を入力後、クリックしてください。
       </td>
     </tr>
index 3f734d8..ccba373 100644 (file)
@@ -1,6 +1,6 @@
 <!-- マイメニュー -->
 <dl id="mymenu">
-  <dt><img src="/images/mypage/mymenu_t.gif" width="170" height="40" alt="マイメニュー" /></dt>
+  <dt><%= image_tag("mypage/mymenu_t.gif", :width => "170", :height => "40", :alt => "マイメニュー") %></dt>
   <dd><%= link_to image_tag("/images/mypage/mymenu_1.gif", :width=>"170", :height=>"40", :alt=>"購入履歴一覧"), :controller=>'accounts', :action=>'history_list' %></dd>
   <dd><%= link_to image_tag("/images/mypage/mymenu_2.gif", :width=>"170", :height=>"40", :alt=>"会員登録内容変更", :class=>"hoverImg"), :controller=>'accounts', :action=>'edit' %></dd>
   <dd><%= link_to image_tag("/images/mypage/mymenu_3.gif", :width=>"170", :height=>"40", :alt=>"お届け先追加・変更", :class=>"hoverImg"), :controller=>'accounts', :action=>'delivery' %></dd>
index ad9b41d..ec95a2a 100644 (file)
@@ -2,6 +2,7 @@
   <%= stylesheet_link_tag "front/user/user" %>
   <%= stylesheet_link_tag "front/user/address_new" %>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
   <%= closer_for_delivery_address_script %>
 </head>
 <body onload="closeDeliveryAddress('<%= h(@back_from_url) %>'); window.close();">
index 71d00af..7482066 100644 (file)
@@ -1,5 +1,6 @@
 <head>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 </head>
 <body>
 <h1>EC</h1>
index dc78ad3..f94a1cc 100644 (file)
@@ -1,5 +1,6 @@
 <head>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 </head>
 <body>
 <h1>EC</h1>
index ca93862..4210f35 100644 (file)
@@ -2,6 +2,7 @@
   <%= stylesheet_link_tag "front/user/user" %>
   <%= stylesheet_link_tag "front/user/address_list" %>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
   <%= popup_for_delivery_address_script %>
 </head>
 <body>
index 2bfe377..a8b6207 100644 (file)
@@ -4,6 +4,7 @@
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>お届け先追加・変更</title>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
   <%= popup_for_delivery_address_script %>
  </head>
  <body>
index e771467..6f28a61 100644 (file)
@@ -1,5 +1,6 @@
 <head>
   <%= javascript_include_tag :defaults %>
+  <%= javascript_include_tag js_url(:action => "application") %>
 </head>
 <body>
 <h1>EC</h1>
index dbba5b0..72185bd 100644 (file)
@@ -2,7 +2,7 @@
 # Be sure to restart your server when you modify this file
 
 # Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
+#RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
 
 # Bootstrap the Rails environment, frameworks, and default configuration
 require File.join(File.dirname(__FILE__), 'boot')
index 6c8a364..257cc1e 100644 (file)
@@ -77,6 +77,9 @@ ActionController::Routing::Routes.draw do |map|
   # my page
   map.connect 'accounts', :controller => 'accounts', :action => 'history'
 
+  # javascript
+  map.js 'js/:action.js', :controller => 'javascript'
+
   map.connect ':controller/:action/:id'
   map.connect ':controller/:action/:id.:format'
 end
index c27ee52..8ae1a60 100644 (file)
@@ -8,7 +8,7 @@ if (script_tag!=null) {
   host = script_tag.src.match(/^https*:\/\/[^\/]+/i);\r
 }\r
 \r
-var image_path = "/images/emoticons";\r
+//var image_path = "/images/emoticons";\r
 \r
 var isRichText = false;\r
 var rng;\r
@@ -328,7 +328,8 @@ function fnTextCount(id){
 }\r
 \r
 \r
-function writeRichText(id_name, html, width, height, buttons, readOnly, use_emoji) {\r
+function writeRichText(id_name, html, width, height, buttons, readOnly, use_emoji, _image_path) {\r
+  var image_path = _image_path;\r
   //init variables\r
   var target_area = "";\r
   if (document.all) {\r
@@ -368,7 +369,8 @@ function writeRichText(id_name, html, width, height, buttons, readOnly, use_emoj
         area_html += '    <span id="emoji_' + id_name + '"><INPUT type="button" value="絵文字を使用する" onClick="dlgEmojiPalette(\'' + id_name + '\', \'emoji\')" class="btn_s"></span>\n';\r
       }\r
       area_html += '    <div style="position: absolute; color: white; background: white; border:1px solid #000000;  padding: 0px; text-align: center; display: none;" id="emoji' + id_name + '" >\n';\r
-      area_html += '    <img src="'+ host +'/images/emoticons/emoticons.gif" style="border: 0px none \;" usemap="#emoji" alt="">\n';\r
+      //area_html += '    <img src="'+ host +'/images/emoticons/emoticons.gif" style="border: 0px none \;" usemap="#emoji" alt="">\n';\r
+      area_html += '    <img src="'+ image_path +'/emoticons.gif" style="border: 0px none \;" usemap="#emoji" alt="">\n';\r
       area_html += '    <map name="emoji" id="emoji_map'+id_name+'">\n';\r
 \r
       var size=20;\r
@@ -392,7 +394,7 @@ function writeRichText(id_name, html, width, height, buttons, readOnly, use_emoj
     target_area.innerHTML = area_html;\r
     document.getElementById('hdn' + id_name).value = html;\r
     enableDesignMode(id_name, html, readOnly);\r
-    addMapEvent(id_name);\r
+    addMapEvent(id_name, image_path);\r
   } else {\r
     if (!readOnly) {\r
       area_html += '<textarea name="' + id_name + '" id="' + id_name + '" style="width: ' + width + 'px; height: ' + height + 'px;">' + html + '</textarea>\n';\r
@@ -722,9 +724,10 @@ function lowerButton(e) {
 \r
 \r
 \r
-var emojiBase = host + image_path +"/";\r
+//var emojiBase = host + image_path +"/";\r
 \r
-function setEmojiTag(emoji) {\r
+function setEmojiTag(emoji, image_path) {\r
+  var emojiBase = host + image_path +"/";\r
   var img_url = emojiBase + emoji +".gif";\r
   window.setEmoji(img_url);\r
 }\r
@@ -742,10 +745,10 @@ function foreach(array,callback){
     callback(i,array[i],array);\r
 }\r
 \r
-function addMapEvent(id_name){\r
+function addMapEvent(id_name, image_path){\r
   var area = document.getElementById("emoji_map"+id_name).getElementsByTagName("area");\r
   foreach(area, function(i,el){\r
-    addEvent(el, "mouseup", function(){ setEmojiTag( el.id );\r
+    addEvent(el, "mouseup", function(){ setEmojiTag( el.id, image_path );\r
     });\r
   });\r
 }\r
index 992cddd..cee1700 100644 (file)
@@ -8,7 +8,7 @@ function fnSubWindow(URL,Winname,Wwidth,Wheight){
   WIN.focus();
 }
 
-function address_by_zip(zipcode_first, zipcode_second, prefecture_name, city_name, town_name, prefecture_id, controller){
+function address_by_zip(zipcode_first, zipcode_second, prefecture_name, city_name, town_name, prefecture_id, controller, base_path){
 //郵便番号から住所を自動入力
   var first = $F(zipcode_first);
   var second = $F(zipcode_second);
@@ -17,7 +17,7 @@ function address_by_zip(zipcode_first, zipcode_second, prefecture_name, city_nam
     return;
   }
   var params = $H({first: first, second: second});
-  new Ajax.Request('/'+controller+'/get_address?' + params.toQueryString(), {
+  new Ajax.Request(base_path + '/'+controller+'/get_address?' + params.toQueryString(), {
     method: "get",
     onSuccess: function(request) { 
       var data = request.responseText.split("/");
@@ -34,7 +34,7 @@ function address_by_zip(zipcode_first, zipcode_second, prefecture_name, city_nam
   });
 
 }
-
+/*
 Event.observe(window, 'load', function() {
   var img = document.createElement('img');
   document.body.appendChild(img);
@@ -52,7 +52,7 @@ Event.observe(window, 'load', function() {
     img.style.marginTop = String(-(img.height / 2)) + 'px';
   }
 });
-
+*/
 Ajax.Responders.register({
   onCreate: function() {
     Element.show('loading-image');
index c0eb8f7..19884ec 100644 (file)
@@ -1,5 +1,5 @@
 @charset "utf-8";\r
-/*------����------*/\r
+/*------共通------*/\r
 body, div, h1, h2, h3, h4, h5, h6,\r
 p, brockquote, pre, address,\r
 ul, ol, li, dl, dt, dd,\r
@@ -35,7 +35,7 @@ html { overflow-y: scroll; }
 li { list-style-type: none; }\r
 textarea { font-size: 100%; }\r
 \r
-/*------�����N�F------*/\r
+/*------リンク色------*/\r
 a {\r
   text-decoration: none;\r
   font-weight: normal;\r
@@ -48,12 +48,12 @@ a:hover {
 }\r
 a:active { color: #414d8d; }\r
 \r
-/*---------------�S��--------------*/\r
+/*---------------全体--------------*/\r
 body {\r
   width: 100%;\r
   height: 100%;\r
   background-color: #f6f6f6;\r
-  font-family: Verdana, Osaka, "�l�r ï¿½o�S�V�b�N", sans-serif;\r
+  font-family: Verdana, Osaka, "ï¼­ï¼³ ï¼°ã\82´ã\82·ã\83\83ã\82¯", sans-serif;\r
   font-size: 75%;\r
 }\r
 \r
@@ -73,7 +73,7 @@ html>/**/body {
   border-right: 3px solid #ffffff;\r
 }\r
 \r
-/*-----------�w�b�_�[-----------*/\r
+/*-----------ヘッダー-----------*/\r
 #header {\r
   width: 950px;\r
 }\r
@@ -126,7 +126,7 @@ html>/**/body {
   background: url("../images/list_mizu.gif") no-repeat 0 center;\r
 }\r
 \r
-/*------�J�������C�A�E�g------*/\r
+/*------カラムレイアウト------*/\r
 #sub {\r
   float: left;\r
   width: 200px;\r
@@ -139,7 +139,7 @@ html>/**/body {
   background-color: #ffffec;\r
 }\r
 \r
-/*------���j���[------*/\r
+/*------メニュー------*/\r
 #menu {\r
   width: 190px;\r
   background-color: #84d0db;\r
@@ -205,7 +205,7 @@ html>/**/body {
   display: block;\r
 }\r
 \r
-/*----------�t�b�^�[----------*/\r
+/*----------フッター----------*/\r
 #footer {\r
   width: 944px;\r
   height: 60px;\r
@@ -237,7 +237,7 @@ html>/**/body {
   line-height: 0;\r
 }\r
 \r
-/*-------���o��-------*/\r
+/*-------見出し-------*/\r
 h2 {\r
   width: 672px;\r
   height: 43px;\r
@@ -261,7 +261,7 @@ h3 {
   color: #ffffff;\r
 }\r
 \r
-/*-------�e�[�u�����-------*/\r
+/*-------テーブル周り-------*/\r
 .req {\r
   text-align: right;\r
   margin: -11px 0 4px 0;\r
@@ -300,7 +300,7 @@ h3 {
   background-color: #ffffff;\r
 }\r
 \r
-/*---------�t�H�[��---------*/\r
+/*---------フォーム---------*/\r
 .data input {\r
   border: 1px solid #bbbbbb;\r
   margin-right: 5px;\r
@@ -337,7 +337,7 @@ h3 {
   background: url(../images/btn_s.gif) repeat-x;\r
 }\r
 \r
-/*----------�{�^��----------*/\r
+/*----------ボタン----------*/\r
 .btn {\r
   height: 34px;\r
   padding: 0 18px;\r
@@ -368,8 +368,8 @@ h3 {
 }\r
 \r
 \r
-/*-------���ʃ{�b�N�X-------*/\r
+/*-------共通ボックス-------*/\r
 #input_area .mybtn input,\r
 #input_area .mybtn2 input {\r
   border:  none;\r
-}
\ No newline at end of file
+}\r
index 7f73092..e46b0f6 100644 (file)
@@ -8,7 +8,7 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 #main select {\r
@@ -17,7 +17,7 @@
 }\r
 \r
 .main_box {\r
-  background: url(/images/common/box_bg.gif) repeat-y;\r
+  background: url(../../images/common/box_bg.gif) repeat-y;\r
   width: 510px;\r
 }\r
 \r
@@ -94,7 +94,7 @@
   height: 2px;\r
   width: 510px;\r
   margin: 10px 0;\r
-  background: url(/images/common/main_hr.gif) no-repeat;\r
+  background: url(../../images/common/main_hr.gif) no-repeat;\r
 }\r
 \r
 .description {\r
 \r
 .btn_s {\r
   height: 22px;\r
-  background: url(/images/btn_s.gif) repeat-x;\r
+  background: url(../../images/btn_s.gif) repeat-x;\r
   cursor: pointer;\r
 }\r
 \r
index ce50274..61da4c9 100644 (file)
@@ -8,7 +8,7 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 #cart {\r
@@ -65,7 +65,7 @@
 \r
 .cart_complete a {\r
   margin: 0 10px;\r
-  background: url(/images/common/list_pink.gif) no-repeat 0 6px;\r
+  background: url(../../images/common/list_pink.gif) no-repeat 0 6px;\r
   padding: 3px 0 3px 15px;\r
 }\r
 \r
 \r
 /*---Payment Delivery time---*/\r
 #pt_box {\r
-  background: url(/images/cart/cart_bg.gif) repeat-y;\r
+  background: url(../../images/cart/cart_bg.gif) repeat-y;\r
   width: 545px;\r
   margin: 0 auto 30px;\r
 }\r
index f23abae..e7ed210 100644 (file)
@@ -1,10 +1,10 @@
 @charset "utf-8";\r
 \r
 .main_box {\r
-  background: url(/images/common/box_bg.gif) repeat-y;\r
+  background: url(../../images/common/box_bg.gif) repeat-y;\r
 }\r
 \r
-/*------�J�e�S���̟��-------*/\r
+/*----Category Search----*/\r
 #main_search {\r
   padding: 7px 20px;\r
 }\r
@@ -50,7 +50,7 @@
   margin-bottom: -4px;\r
 }\r
 \r
-/*------�y�[�W���[-------*/\r
+/*----Pager----*/\r
 #pager_box {\r
   padding-bottom: 7px;\r
   margin-bottom: 10px;\r
@@ -87,7 +87,7 @@ ol.pager li em {
   font-weight: bold;\r
 }\r
 \r
-/*------�J�e�S�����i�ꗗ-------*/\r
+/*----Category Product Lists----*/\r
 #ctgr_box {\r
   margin-bottom: 15px;\r
 }\r
@@ -124,11 +124,11 @@ ol.pager li em {
   text-align: right;\r
 }\r
 \r
-/*------�����L���O�ꗗ-------*/\r
+/*----Ranking List----*/\r
 .rank_t {\r
   width: 490px;\r
   height: 41px;\r
-  background: url(/images/category/rank_t_bg.gif) no-repeat;\r
+  background: url(../../images/category/rank_t_bg.gif) no-repeat;\r
   padding-left: 40px;\r
   line-height: 41px;\r
   font-size: 130%;\r
@@ -136,25 +136,25 @@ ol.pager li em {
 }\r
 \r
 #ctgr_box li.rank1 {\r
-  background: url(/images/category/rank1.gif) no-repeat center top;\r
+  background: url(../../images/category/rank1.gif) no-repeat center top;\r
   padding-top: 30px;\r
   margin-top: 5px;\r
 }\r
 \r
 #ctgr_box li.rank2 {\r
-  background: url(/images/category/rank2.gif) no-repeat center top;\r
+  background: url(../../images/category/rank2.gif) no-repeat center top;\r
   padding-top: 30px;\r
   margin-top: 5px;\r
 }\r
 \r
 #ctgr_box li.rank3 {\r
-  background: url(/images/category/rank3.gif) no-repeat center top;\r
+  background: url(../../images/category/rank3.gif) no-repeat center top;\r
   padding-top: 30px;\r
   margin-top: 5px;\r
 }\r
 \r
 #ctgr_box li.rank4 {\r
-  background: url(/images/category/rank4.gif) no-repeat center top;\r
+  background: url(../../images/category/rank4.gif) no-repeat center top;\r
   padding-top: 30px;\r
   margin-top: 5px;\r
 }\r
index 9f4accc..02080cf 100644 (file)
@@ -77,8 +77,8 @@ a:active { color: #ff0066; }
 body {\r
   width: 100%;\r
   height: 100%;\r
-  background: url("/images/common/body_bg.gif") repeat-x;\r
-  font-family: Verdana, Osaka, "?l?r ?o?S?V?b?N","MS PGothic", Sans-serif;\r
+  background: url("../../images/common/body_bg.gif") repeat-x;\r
+  font-family: Verdana, Osaka, "MS Pゴシック","MS PGothic", Sans-serif;\r
   font-size: 75%;\r
 }\r
 \r
@@ -103,7 +103,7 @@ body > #wrapper {
 \r
 #container {\r
   width: 955px;\r
-  background: #ffffff url("/images/common/container_bg.gif") repeat-y left 0;\r
+  background: #ffffff url("../../images/common/container_bg.gif") repeat-y left 0;\r
   margin-left: 5px;\r
   padding: 0 10px 10px 0;\r
 }\r
@@ -113,7 +113,7 @@ body > #wrapper {
   width: 970px;\r
   height: 70px;\r
   margin-bottom: 10px;\r
-  background: url("/images/common/header_bg.jpg") no-repeat;\r
+  background: url("../../images/common/header_bg.jpg") no-repeat;\r
 }\r
 \r
 #header h1 {\r
@@ -187,7 +187,7 @@ body > #wrapper {
 #bread_list li {\r
   display: inline;\r
   padding-left: 20px;\r
-  background: url("/images/common/gt.gif") no-repeat 6px center;\r
+  background: url("../../images/common/gt.gif") no-repeat 6px center;\r
 }\r
 \r
 #bread_list li.bread_top {\r
@@ -202,13 +202,13 @@ body > #wrapper {
   padding-left: 45px;\r
   font-size: 130%;\r
   font-weight: bold;\r
-  background: url(/images/common/title_bg.gif) no-repeat;\r
+  background: url(../../images/common/title_bg.gif) no-repeat;\r
   line-height: 43px;\r
 }\r
 \r
 /*------left side column------*/\r
 .side_box {\r
-  background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+  background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
 }\r
 \r
 #h3_t {\r
@@ -225,7 +225,7 @@ body > #wrapper {
   height: 2px;\r
   margin-bottom: 7px;\r
   border: 0 none;\r
-  background: url("/images/common/side_hr.gif") no-repeat;\r
+  background: url("../../images/common/side_hr.gif") no-repeat;\r
 }\r
 \r
 .side_hr hr {\r
@@ -253,7 +253,7 @@ body > #wrapper {
 \r
 /*---category list---*/\r
 #category_list_box {\r
-  background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+  background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
   padding: 10px 10px 5px;\r
 }\r
 \r
@@ -263,7 +263,7 @@ body > #wrapper {
 \r
 /*------right side column------*/\r
 .side_box_r {\r
-  background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+  background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
   padding: 6px 10px;\r
 }\r
 \r
@@ -296,7 +296,7 @@ body > #wrapper {
 }\r
 \r
 #remind {\r
-  background: url("/images/common/list_pink.gif") no-repeat;\r
+  background: url("../../images/common/list_pink.gif") no-repeat;\r
   margin-bottom: 5px;\r
   padding-left: 14px;\r
 }\r
@@ -319,18 +319,18 @@ body > #wrapper {
 /*----------information----------*/\r
 #info_box li {\r
   padding: 3px 0 3px 15px;\r
-  background: url("/images/common/list_pink.gif") no-repeat 0 6px;\r
+  background: url("../../images/common/list_pink.gif") no-repeat 0 6px;\r
   line-height: 120%;\r
 }\r
 \r
 /*----kuchikomi ranking-----*/\r
 #kuchikomi_box {\r
-  background: url("/images/common/side_bg_mid.gif") repeat-y;\r
+  background: url("../../images/common/side_bg_mid.gif") repeat-y;\r
   padding: 0 10px 6px;\r
 }\r
 \r
 #kuchikomi_box li {\r
-  background: url("/images/common/side_hr.gif") no-repeat 0 bottom;\r
+  background: url("../../images/common/side_hr.gif") no-repeat 0 bottom;\r
   padding: 5px 0;\r
 }\r
 \r
@@ -380,7 +380,7 @@ body > #wrapper {
   text-align: center;\r
   font-weight: bold;\r
   font-size: 110%;\r
-  background: url("/images/common/rank_t_bg.gif") no-repeat;\r
+  background: url("../../images/common/rank_t_bg.gif") no-repeat;\r
 }\r
 \r
 /*----recentry checked----*/\r
@@ -482,7 +482,7 @@ body > #wrapper {
   width: 970px;\r
   height: 88px;\r
   margin: -88px auto 0;\r
-  background: url("/images/common/footer_bg.gif");\r
+  background: url("../../images/common/footer_bg.gif");\r
 }\r
 \r
 #foot_l {\r
index 07b4639..8f75730 100644 (file)
@@ -8,7 +8,7 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 #entry {\r
index bb843be..7065318 100644 (file)
@@ -1,7 +1,7 @@
 @charset "utf-8";
 
 .main_box {
-  background: url(/images/common/box_bg.gif) repeat-y;
+  background: url(../../images/common/box_bg.gif) repeat-y;
 }
 
 /*------特集商品一覧説明文-------*/
@@ -57,4 +57,4 @@
 
 #feature_box dd {
   text-align: right;
-}
\ No newline at end of file
+}
index 7e1f71f..a779263 100644 (file)
@@ -6,7 +6,7 @@
 }\r
 \r
 .main_box {\r
-  background: url(/images/common/box_bg.gif) repeat-y;\r
+  background: url(../../images/common/box_bg.gif) repeat-y;\r
 }\r
 \r
 /*------商品詳細-------*/\r
@@ -84,7 +84,7 @@
   height: 2px;\r
   width: 510px;\r
   margin: 10px 0;\r
-  background: url(/images/common/main_hr.gif) no-repeat;\r
+  background: url(../../images/common/main_hr.gif) no-repeat;\r
 }\r
 \r
 .description {\r
 \r
 /*------レコメンド-------*/\r
 #reco_box {\r
-  background: url(/images/item/reco_bg.gif) repeat-y;\r
+  background: url(../../images/item/reco_bg.gif) repeat-y;\r
   padding: 7px 0 5px;\r
 }\r
 \r
 #reco_box ul {\r
-  background: url(/images/item/reco_hr.gif) repeat-y 147px top;\r
+  background: url(../../images/item/reco_hr.gif) repeat-y 147px top;\r
 }\r
 \r
 #reco_box li {\r
 \r
 /*------クチコミ-------*/\r
 #kuchi_box {\r
-  background: url(/images/item/reco_bg.gif) repeat-y;\r
+  background: url(../../images/item/reco_bg.gif) repeat-y;\r
   padding: 10px 15px 5px;\r
 }\r
 \r
   width: 500px;\r
   margin-bottom: 7px;\r
   padding-bottom: 7px;\r
-  background: url(/images/common/main_hr.gif) no-repeat 0 bottom;\r
+  background: url(../../images/common/main_hr.gif) no-repeat 0 bottom;\r
 }\r
 \r
 #kuchi_box dt {\r
@@ -193,4 +193,4 @@ margin: 10px 0 5px;
   width: 492px;\r
   padding: 2px;\r
   margin-bottom: 5px;\r
-}
\ No newline at end of file
+}\r
index b708fb4..77f7a29 100644 (file)
@@ -8,12 +8,12 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 #login_area {\r
   width: 715px;\r
-  background: url(/images/login/login_mid.gif) repeat-y;\r
+  background: url(../../images/login/login_mid.gif) repeat-y;\r
   margin: 0 auto 40px;\r
 }\r
 \r
index 1b5ea74..8b06ae4 100644 (file)
@@ -8,7 +8,7 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 #mypage {\r
@@ -30,7 +30,7 @@
 .mypage_box {\r
   width: 515px;\r
   padding: 1px 10px 10px;\r
-  background: url(/images/mypage/mypage_bg.gif) repeat-y;\r
+  background: url(../../images/mypage/mypage_bg.gif) repeat-y;\r
 }\r
 \r
 .tb_t {\r
 .mypage_box .my_btn input,\r
 .mypage_box .my_btn2 input {\r
   border: none;\r
-}
\ No newline at end of file
+}\r
index d614c8c..4a40072 100644 (file)
@@ -8,7 +8,7 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 #cart {\r
@@ -40,7 +40,7 @@
   float: left;\r
 }\r
 \r
-/*---�t�H�[�����i---*/\r
+/*----Cart----*/\r
 #cart input,\r
 #cart select {\r
   border: 1px solid #999999;\r
@@ -61,7 +61,7 @@
 }\r
 \r
 .m_left {\r
-  margin-leftt: 5px;\r
+  margin-left: 5px;\r
 }\r
 \r
 .total2 {\r
@@ -81,8 +81,7 @@
   width: 700px;\r
 }\r
 \r
-/*---�������---*/\r
-\r
+/*----Comp----*/\r
 .comp {\r
   text-align: center;\r
   font-size: 140%;\r
   padding: 2px 0;\r
 }\r
 \r
-/*---���x������@�E���͂�����---*/\r
+/*----Payment----*/\r
 #pt_box {\r
-  background: url(/images/cart/cart_bg.gif) repeat-y;\r
+  background: url(../../images/cart/cart_bg.gif) repeat-y;\r
   width: 545px;\r
   margin: 0 auto 30px;\r
 }\r
 }\r
 .btn_s {\r
   height: 22px;\r
-  background: url(/images/btn_s.gif) repeat-x;\r
+  background: url(../../images/btn_s.gif) repeat-x;\r
   cursor: pointer;\r
 }\r
 .errorExplanation {\r
   border: 1px solid #ff0000;\r
   margin: 5px 0;\r
   color: #ff0000;\r
-}
\ No newline at end of file
+}\r
index 8ee5864..001e766 100644 (file)
@@ -8,7 +8,7 @@
 \r
 .main_t {\r
   width: 690px;\r
-  background: url(/images/common/main_t_l.gif) no-repeat;\r
+  background: url(../../images/common/main_t_l.gif) no-repeat;\r
 }\r
 \r
 .error_mes {\r
@@ -29,7 +29,7 @@
 \r
 .btn_s {\r
   height: 22px;\r
-  background: url(/images/btn_s.gif) repeat-x;\r
+  background: url(../../images/btn_s.gif) repeat-x;\r
   cursor: pointer;\r
 }\r
 \r
index 4c56656..7903c45 100644 (file)
@@ -25,14 +25,14 @@ h2.clearfix span.more {
   width: 107px;\r
   height: 34px;\r
   padding-top: 16px;\r
-  background: url(/images/top/title_r.gif) no-repeat;\r
+  background: url(../../images/top/title_r.gif) no-repeat;\r
 }\r
 \r
 /*-------新着アイテム-------*/\r
 #new_item {\r
   width: 520px;\r
   padding: 0 5px 10px;\r
-  background: url(/images/top/top_bg.gif) repeat-y;\r
+  background: url(../../images/top/top_bg.gif) repeat-y;\r
 }\r
 \r
 #new_item li {\r
@@ -58,7 +58,7 @@ h2.clearfix span.more {
 #ranking {\r
   width: 509px;\r
   padding: 0 11px 10px 10px;\r
-  background: url(/images/top/top_bg.gif) repeat-y;\r
+  background: url(../../images/top/top_bg.gif) repeat-y;\r
 }\r
 \r
 .rank_item {\r
@@ -78,15 +78,15 @@ h2.clearfix span.more {
 }\r
 \r
 .rank1 {\r
-  background: url(/images/top/rank1_bg.gif) repeat-x;\r
+  background: url(../../images/top/rank1_bg.gif) repeat-x;\r
 }\r
 \r
 .rank2 {\r
-  background: url(/images/top/rank2_bg.gif) repeat-x;\r
+  background: url(../../images/top/rank2_bg.gif) repeat-x;\r
 }\r
 \r
 .rank3 {\r
-  background: url(/images/top/rank3_bg.gif) repeat-x;\r
+  background: url(../../images/top/rank3_bg.gif) repeat-x;\r
 }\r
 \r
 \r
@@ -127,7 +127,7 @@ h2.clearfix span.more {
 #reco_item {\r
   width: 510px;\r
   padding: 0 10px;\r
-  background: url(/images/top/top_bg.gif) repeat-y;\r
+  background: url(../../images/top/top_bg.gif) repeat-y;\r
 }\r
 \r
 #reco_item li {\r