9 => '',
0 => '',
}
- if request.mobile.is_a?(Jpmobile::Mobile::Softbank)
- h = {
- 1 => '\e$F<\ f',
- 2 => '\e$F=\ f',
- 3 => '\e$F>\ f',
- 4 => '\e$F?\ f',
- 5 => '\e$F@\ f',
- 6 => '\e$FA\ f',
- 7 => '\e$FB\ f',
- 8 => '\e$FC\ f',
- 9 => '\e$FD\ f',
- 0 => '\e$FE\ f',
- }
- end
+# if request.mobile.is_a?(Jpmobile::Mobile::Softbank)
+# h = {
+# 1 => '\e$F<\ f',
+# 2 => '\e$F=\ f',
+# 3 => '\e$F>\ f',
+# 4 => '\e$F?\ f',
+# 5 => '\e$F@\ f',
+# 6 => '\e$FA\ f',
+# 7 => '\e$FB\ f',
+# 8 => '\e$FC\ f',
+# 9 => '\e$FD\ f',
+# 0 => '\e$FE\ f',
+# }
+# end
h[accesskey] + link_to(name, options, html_options)
else
link_to(name, options, html_options)
+# -*- coding: utf-8 -*-
# override vender/plugins/jpmobile/lib/jpmobile/filter.rb
module Jpmobile
module Emoticon
class Outer < Base
include ApplyOnlyForMobile
- def to_external(str, controller, use_webcode=true)
+ def to_external(str, controller, use_webcode=false)
table = nil
to_sjis = false
case controller.request.mobile
signature = Zlib.crc32([request.env['HTTP_USER_AGENT'].to_s,
request.env['HTTP_X_MSIM_USE'].to_s,
request.env['HTTP_X_UP_SUBNO'].to_s,
- request.env['HTTP_X_JPHONE_UID'].to_s,
+ #request.env['HTTP_X_JPHONE_UID'].to_s,
].join('\1'))
session[:_signature] ||= signature
session_key = ActionController::Base.session_options.merge(request.session_options || {})[:key]