Changeset 4431
- Timestamp:
- 08/09/07 18:11:56 (3 years ago)
- Files:
-
- rubricks_core/branches/rubricks_core_for_mobile_from_4351/app/models/rubricks_mobile_menu.rb (added)
- rubricks_core/branches/rubricks_core_for_mobile_from_4351/components/system/mobile/index.rhtml (modified) (1 diff)
- rubricks_core/branches/rubricks_core_for_mobile_from_4351/components/system/mobile/menu.rhtml (modified) (1 diff)
- rubricks_core/branches/rubricks_core_for_mobile_from_4351/components/system/mobile_controller.rb (modified) (1 diff)
- rubricks_core/branches/rubricks_core_for_mobile_from_4351/db/migrate/003_rubricks_core_schema_003.rb (added)
- rubricks_core/branches/rubricks_core_for_mobile_from_4351/vendor/plugins/rubricks/lib/action_view_mobile_helper.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
rubricks_core/branches/rubricks_core_for_mobile_from_4351/components/system/mobile/index.rhtml
r4419 r4431 2 2 <% form_tag({:controller => '/system/mobile', :action => 'login'}) do %> 3 3 <p> 4 <%= hl('[_Common_UserId]') %><br />5 <%= text_field 'login', 'login_name', :size => 16, :class => 'input_text_inactive focus' %>4 <%= render_mobile_emoticon(:n1) %><%= hl('[_Common_UserId]') %><br /> 5 <%= text_field 'login', 'login_name', :size => 16, :class => 'input_text_inactive focus', :accesskey => 1, :isstyle => 3 %> 6 6 </p> 7 7 <p> 8 <%= hl('[_Common_Password]') %><br />9 <%= password_field 'login', 'raw_password', :size => 16, :class => 'input_text_inactive focus' %>8 <%= render_mobile_emoticon(:n2) %><%= hl('[_Common_Password]') %><br /> 9 <%= password_field 'login', 'raw_password', :size => 16, :class => 'input_text_inactive focus', :accesskey => 2, :isstyle => 3 %> 10 10 </p> 11 11 <p> rubricks_core/branches/rubricks_core_for_mobile_from_4351/components/system/mobile/menu.rhtml
r4419 r4431 3 3 <% @rmm_list.each_with_index do |rmm, i| %> 4 4 <% if i < 9 %> 5 <li><%= render_mobile_emoticon("n#{i+1}".to_sym) %> test</li>5 <li><%= render_mobile_emoticon("n#{i+1}".to_sym) %><%= hl(rmm.title) %></li> 6 6 <% else %> 7 <li><%= render_mobile_emoticon(:n_) %> test</li>7 <li><%= render_mobile_emoticon(:n_) %><%= hl(rmm.title) %></li> 8 8 <% end %> 9 9 <% end %> rubricks_core/branches/rubricks_core_for_mobile_from_4351/components/system/mobile_controller.rb
r4419 r4431 23 23 24 24 def menu 25 @rmm_list = ['', '', '', '']25 @rmm_list = RubricksMobileMenu.find(:all, :conditions => ['effective = true and visible = true'], :order => 'menu_order asc') 26 26 end 27 27 rubricks_core/branches/rubricks_core_for_mobile_from_4351/vendor/plugins/rubricks/lib/action_view_mobile_helper.rb
r4419 r4431 45 45 46 46 def render_mobile_style 47 html = '<style type="text/css"> '47 html = '<style type="text/css"><!--' 48 48 html += render_mobile_style_default 49 49 html += render_mobile_style_custom 50 html += ' </style>'50 html += '--></style>' 51 51 return html 52 52 end
