@@ -101,7 +101,7 @@
-
+
<%= f.select :link_open ,AdImage::LINK_OPEN_TYPES%>
@@ -111,7 +111,7 @@
-
+
<%= f.text_field :weight ,:class=> 'span3',:placeholder=>"在套圖中出現次數 1次請輸入1" %>
@@ -121,7 +121,7 @@
-
+
<%= f.text_field :out_link ,:class=> 'span3',:placeholder => "輸入連結"%>
diff --git a/app/views/admin/assets/_asset.html.erb b/app/views/admin/assets/_asset.html.erb
index 3040f8725..c67ade0e4 100644
--- a/app/views/admin/assets/_asset.html.erb
+++ b/app/views/admin/assets/_asset.html.erb
@@ -2,7 +2,7 @@
<%= check_box_tag 'to_delete[]', asset.id, false, :class => "checkbox_in_list" %> |
<%= asset.title rescue nil %> |
-
+
- <%= link_to t(:edit), edit_admin_asset_path(asset), :remote => true, :class => 'edit' %>
diff --git a/app/views/admin/dashboards/index.html.erb b/app/views/admin/dashboards/index.html.erb
index 1cb360881..b0f114742 100644
--- a/app/views/admin/dashboards/index.html.erb
+++ b/app/views/admin/dashboards/index.html.erb
@@ -3,7 +3,7 @@
<% end -%>
- <%= t(:content) %>
+ <%= t(:content) %>
<%= t(:all_content) %><%= @module_app_contents_total %>
@@ -445,7 +445,7 @@
- <%= t(:traffic) %>
+ <%= t(:traffic) %>
<%= t(:total_visitors) %><%= display_visitors %>
@@ -493,7 +493,7 @@
- <%= t(:recent_update) %>
+ <%= t(:recent_update) %>
@@ -530,7 +530,7 @@
- <%= t(:most_visited_page) %>
+ <%= t(:most_visited_page) %>
diff --git a/app/views/admin/module_store/index.html.erb b/app/views/admin/module_store/index.html.erb
new file mode 100644
index 000000000..4a9eaa12f
--- /dev/null
+++ b/app/views/admin/module_store/index.html.erb
@@ -0,0 +1,58 @@
+<% content_for :side_bar do %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
+<% end %>
+
+<% content_for :page_specific_css do %>
+ <%= stylesheet_link_tag 'modulestore' %>
+<% end %>
+
+<% content_for :page_specific_javascript do %>
+ <%= javascript_include_tag 'lib/jquery.cycle.all.latest.js' %>
+
+<% end %>
+
+
+
+
+
+
+ <% 9.times do %>
+
+ <% end %>
+
+
+
\ No newline at end of file
diff --git a/app/views/admin/module_store/show.html.erb b/app/views/admin/module_store/show.html.erb
new file mode 100644
index 000000000..64e88d028
--- /dev/null
+++ b/app/views/admin/module_store/show.html.erb
@@ -0,0 +1,97 @@
+<% content_for :side_bar do %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
+<% end %>
+
+<% content_for :page_specific_css do %>
+ <%= stylesheet_link_tag 'modulestore' %>
+<% end %>
+
+<% content_for :page_specific_javascript do %>
+ <%= javascript_include_tag 'lib/jquery.cycle.all.latest.js' %>
+
+<% end %>
+
+
+
+
+ <%= image_tag 'modulestore/app-icon.jpg', :class => "app-icon" %>
+ Free download
+
+
+
+
+
+ Orbit app name here
+ Description
+
+ Orbit Blog makes it easy to post text, photos and video onto your blog.
+
+ We created Orbit blog to give you an easy way to share your thoughts about current events, what's going on in your life, or anything else you'd care to discuss with the world. We've developed a host of features to make blogging as simple and effective as possible:
+
+ * Free hosting for your images, video, and blog content
+ * Powerful Template Designer for customizing your blog's look and feel
+ * Drag and drop widget arrangements
+ * Hundreds of background images and of flexible default templates
+ * Built-in blog stats for realtime traffic data
+ * Easy, built-in monetization with AdSense
+ * Mobile support for blogging-on-the-go
+ * Use your custom URL for free
+ * Support for individual, team, and private blogs
+ * Post and comment notifications
+ * Gadget directory with hundreds of free widgets and add-ons
+ * Available in 4 languages
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/admin/plugins/index.html.erb b/app/views/admin/plugins/index.html.erb
index 9e6496771..db5b75b3f 100644
--- a/app/views/admin/plugins/index.html.erb
+++ b/app/views/admin/plugins/index.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t(:user), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
diff --git a/app/views/admin/sites/_side_bar.html.erb b/app/views/admin/sites/_side_bar.html.erb
index a35eef329..67b7c6619 100644
--- a/app/views/admin/sites/_side_bar.html.erb
+++ b/app/views/admin/sites/_side_bar.html.erb
@@ -1,5 +1,5 @@
<%= content_tag :li, :class => active_for_controllers('sites') do -%>
- <%= link_to content_tag(:i, nil, :class => 'icons-cog') + t('site.settings'), admin_site_site_info_path(@site) %>
+ <%= link_to content_tag(:i, nil, :class => 'icons-cog') + content_tag(:span, t('site.settings')), admin_site_site_info_path(@site) %>
<%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('sites')) do -%>
<%= content_tag :li, link_to(t('site.info'), admin_site_site_info_path(@site)), :class => active_for_action('sites', 'site_info') %>
@@ -13,5 +13,13 @@
<% end -%>
<%= content_tag :li, :class => active_for_controllers('designs') do -%>
- <%= link_to content_tag(:i, nil, :class => 'icons-window-block') + content_tag(:span, t(:template)), admin_designs_path %>
+ <%= link_to content_tag(:i, nil, :class => 'icons-brush') + content_tag(:span, t(:template)), admin_designs_path %>
+<% end -%>
+
+<%= content_tag :li, :class => active_for_controllers('template_store', 'module_store') do -%>
+ <%= link_to content_tag(:i, nil, :class => 'icons-cart') + content_tag(:span, t(:purchase)), admin_purchases_path %>
+ <%= content_tag :ul, :class => ("nav nav-list " + visible_for_controllers('template_store', 'module_store')) do -%>
+ <%= content_tag :li, link_to(t('store.template'), admin_template_store_path), :class => active_for_action('template_store', 'index') %>
+ <%= content_tag :li, link_to(t('store.module'), admin_module_store_path), :class => active_for_action('module_store', 'index') %>
+ <% end %>
<% end -%>
diff --git a/app/views/admin/template_store/index.html.erb b/app/views/admin/template_store/index.html.erb
new file mode 100644
index 000000000..0599c44cf
--- /dev/null
+++ b/app/views/admin/template_store/index.html.erb
@@ -0,0 +1,30 @@
+<% content_for :side_bar do %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
+<% end %>
+
+<% content_for :page_specific_css do %>
+ <%= stylesheet_link_tag 'templatestore' %>
+<% end %>
+
+
+
+
+
+ <% 9.times do %>
+
+ <% end %>
+
+
+
+
+
diff --git a/app/views/admin/template_store/show.html.erb b/app/views/admin/template_store/show.html.erb
new file mode 100644
index 000000000..1a3e37d70
--- /dev/null
+++ b/app/views/admin/template_store/show.html.erb
@@ -0,0 +1,77 @@
+<% content_for :side_bar do %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %>
+<% end %>
+
+<% content_for :page_specific_css do %>
+ <%= stylesheet_link_tag 'templatestore' %>
+<% end %>
+
+<% content_for :page_specific_javascript do %>
+ <%= javascript_include_tag 'lib/jquery.cycle.all.latest.js' %>
+
+<% end %>
+
+
+
+
+
+ <%= image_tag 'templatestore/template-icon.jpg', :class => "template-icon" %>
+ Free download
+
+
+
+
+
+ Orbit Template name here
+ Description
+
+ Orbit Blog makes it easy to post text, photos and video onto your blog.
+
+ We created Orbit blog to give you an easy way to share your thoughts about current events, what's going on in your life, or anything else you'd care to discuss with the world. We've developed a host of features to make blogging as simple and effective as possible:
+
+ * Free hosting for your images, video, and blog content
+ * Powerful Template Designer for customizing your blog's look and feel
+ * Drag and drop widget arrangements
+ * Hundreds of background images and of flexible default templates
+ * Built-in blog stats for realtime traffic data
+ * Easy, built-in monetization with AdSense
+ * Mobile support for blogging-on-the-go
+ * Use your custom URL for free
+ * Support for individual, team, and private blogs
+ * Post and comment notifications
+ * Gadget directory with hundreds of free widgets and add-ons
+ * Available in 4 languages
+
+
+
+
+
\ No newline at end of file
diff --git a/app/views/admin/users_new_interface/_plugin_summary.html.erb b/app/views/admin/users_new_interface/_plugin_summary.html.erb
index 09871ad83..4db0b9229 100644
--- a/app/views/admin/users_new_interface/_plugin_summary.html.erb
+++ b/app/views/admin/users_new_interface/_plugin_summary.html.erb
@@ -1,5 +1,5 @@
- Module Name
+ Module Name
diff --git a/app/views/admin/users_new_interface/edit.html.erb b/app/views/admin/users_new_interface/edit.html.erb
index 7a0b82995..60ed1d05f 100644
--- a/app/views/admin/users_new_interface/edit.html.erb
+++ b/app/views/admin/users_new_interface/edit.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<% content_for :page_specific_css do -%>
diff --git a/app/views/admin/users_new_interface/index.html.erb b/app/views/admin/users_new_interface/index.html.erb
index 58f4f0aa4..cb1c6594e 100644
--- a/app/views/admin/users_new_interface/index.html.erb
+++ b/app/views/admin/users_new_interface/index.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<%= render :partial => "js_and_css"%>
diff --git a/app/views/admin/users_new_interface/index_summary.html.erb b/app/views/admin/users_new_interface/index_summary.html.erb
index 5de99bb37..38812d018 100644
--- a/app/views/admin/users_new_interface/index_summary.html.erb
+++ b/app/views/admin/users_new_interface/index_summary.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<%= render :partial => "js_and_css"%>
diff --git a/app/views/admin/users_new_interface/index_thumbnail.html.erb b/app/views/admin/users_new_interface/index_thumbnail.html.erb
index 3f07dbe7f..73794ea60 100644
--- a/app/views/admin/users_new_interface/index_thumbnail.html.erb
+++ b/app/views/admin/users_new_interface/index_thumbnail.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<%= render :partial => "js_and_css"%>
diff --git a/app/views/admin/users_new_interface/new.html.erb b/app/views/admin/users_new_interface/new.html.erb
index 108e9a085..7d27e5c2e 100644
--- a/app/views/admin/users_new_interface/new.html.erb
+++ b/app/views/admin/users_new_interface/new.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<% content_for :page_specific_css do -%>
diff --git a/app/views/admin/users_new_interface/plugin_dashbroad.html.erb b/app/views/admin/users_new_interface/plugin_dashbroad.html.erb
index 3dc728197..b2552719b 100644
--- a/app/views/admin/users_new_interface/plugin_dashbroad.html.erb
+++ b/app/views/admin/users_new_interface/plugin_dashbroad.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
diff --git a/app/views/admin/users_new_interface/show.html.erb b/app/views/admin/users_new_interface/show.html.erb
index a5813fff6..7fb825f59 100644
--- a/app/views/admin/users_new_interface/show.html.erb
+++ b/app/views/admin/users_new_interface/show.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<%= render :partial => "js_and_css"%>
diff --git a/app/views/admin/users_new_interface/temp_edit.html.erb b/app/views/admin/users_new_interface/temp_edit.html.erb
index ac81ef48a..45f2cd6ff 100644
--- a/app/views/admin/users_new_interface/temp_edit.html.erb
+++ b/app/views/admin/users_new_interface/temp_edit.html.erb
@@ -1,5 +1,5 @@
<% content_for :side_bar do %>
- <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
+ <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-group', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
<% content_for :page_specific_css do -%>
diff --git a/app/views/layouts/_guest_orbit_menu.erb b/app/views/layouts/_guest_orbit_menu.erb
index 606cf5fdd..636fc7b9f 100644
--- a/app/views/layouts/_guest_orbit_menu.erb
+++ b/app/views/layouts/_guest_orbit_menu.erb
@@ -1,5 +1,5 @@
Orbit
\ No newline at end of file
diff --git a/app/views/layouts/_member_orbit_menu.erb b/app/views/layouts/_member_orbit_menu.erb
index 1ec88b3f1..c1d3b23c9 100644
--- a/app/views/layouts/_member_orbit_menu.erb
+++ b/app/views/layouts/_member_orbit_menu.erb
@@ -1,14 +1,14 @@
Orbit
|