forgeos_core 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +339 -0
- data/COPYING.LESSER +165 -0
- data/app/assets/images/forgeos/dataTables/Sorting icons.psd +0 -0
- data/app/assets/images/forgeos/dataTables/back_disabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/back_enabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/favicon.ico +0 -0
- data/app/assets/images/forgeos/dataTables/forward_disabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/forward_enabled.jpg +0 -0
- data/app/assets/images/forgeos/dataTables/sort_asc.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_asc_disabled.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_both.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_desc.png +0 -0
- data/app/assets/images/forgeos/dataTables/sort_desc_disabled.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/bubble-quantity-products.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-checked.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-unchecked.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/context.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/create.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-minus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-plus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dot.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/f.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/folder.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/li.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/remove.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/rename.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/throbber.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-minus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-plus.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/bubble-quantity-elements.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/context.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/create.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/dot.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/f.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/images.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/li.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/remove.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/rename.png +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/throbber.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker_rtl.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/plus.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.gif +0 -0
- data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.png +0 -0
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/commons.js +8 -3
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/dataTable.js +2 -2
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/tinyMCE.js +1 -1
- data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/trees.js +202 -257
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/left-sidebar.js +16 -23
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/settings.js +5 -5
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/tabs.js +3 -3
- data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/trees.js +2 -45
- data/app/assets/javascripts/forgeos/jquery.dataTables.min.js +138 -529
- data/app/assets/javascripts/forgeos/jstree/jquery.jstree.js +4544 -0
- data/app/assets/stylesheets/forgeos/admin/forgeos_core/_lightbox.css.sass +2 -21
- data/app/assets/stylesheets/forgeos/admin/forgeos_core/_settings.css.sass +77 -39
- data/app/assets/stylesheets/forgeos/dataTables/demo_table.css +150 -27
- data/app/assets/stylesheets/forgeos/jstree/themes/association_categories/style.css.sass +36 -154
- data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css.sass +59 -58
- data/app/controllers/admin/accounts_controller.rb +1 -1
- data/app/controllers/admin/administrators_controller.rb +13 -4
- data/app/controllers/admin/attachments_controller.rb +7 -3
- data/app/controllers/admin/base_controller.rbc +1305 -0
- data/app/controllers/admin/categories_controller.rb +1 -1
- data/app/controllers/admin/dashboard_controller.rbc +361 -0
- data/app/controllers/admin/person_sessions_controller.rbc +1248 -0
- data/app/controllers/admin/rights_controller.rb +6 -6
- data/app/controllers/admin/roles_controller.rb +8 -3
- data/app/controllers/admin/users_controller.rb +12 -6
- data/app/controllers/forgeos/application_controller.rb +1 -2
- data/app/controllers/forgeos/application_controller.rbc +2027 -0
- data/app/helpers/admin/attachment_helper.rbc +2340 -0
- data/app/helpers/admin/base_helper.rb +0 -15
- data/app/helpers/admin/base_helper.rbc +2522 -0
- data/app/helpers/forgeos/application_helper.rbc +3152 -0
- data/app/models/administrator.rbc +415 -0
- data/app/models/category.rb +3 -3
- data/app/models/person.rb +5 -9
- data/app/models/person.rbc +1498 -0
- data/app/models/person_session.rbc +142 -0
- data/app/models/right.rbc +432 -0
- data/app/models/role.rbc +469 -0
- data/app/models/setting.rbc +699 -0
- data/app/views/admin/accounts/_form.html.haml +1 -1
- data/app/views/admin/administrators/activate.js.erb +1 -0
- data/app/views/admin/administrators/destroy.js.erb +1 -0
- data/app/views/admin/administrators/index.json.erb +10 -12
- data/app/views/admin/attachments/_form.html.haml +2 -2
- data/app/views/admin/attachments/destroy.js.erb +1 -0
- data/app/views/admin/attachments/index.json.erb +4 -5
- data/app/views/admin/categories/_associated_elements.html.haml +4 -8
- data/app/views/admin/categories/index.json.erb +1 -1
- data/app/views/admin/rights/destroy.js.erb +1 -0
- data/app/views/admin/rights/index.json.erb +5 -6
- data/app/views/admin/roles/activate.js.erb +1 -0
- data/app/views/admin/roles/destroy.js.erb +1 -0
- data/app/views/admin/roles/index.json.erb +10 -12
- data/app/views/admin/settings/_tabs.html.haml +0 -6
- data/app/views/admin/settings/edit.html.haml +19 -16
- data/app/views/admin/sidebars/_attachments_popups.html.haml +1 -1
- data/app/views/admin/sidebars/_left_sidebar.html.haml +2 -2
- data/app/views/admin/users/activate.js.erb +1 -0
- data/app/views/admin/users/destroy.js.erb +1 -0
- data/app/views/admin/users/index.json.erb +8 -11
- data/app/views/admin/visual/_visual_popup.html.haml +2 -2
- data/app/views/admin/visual/_visuals_popup.html.haml +1 -1
- data/app/views/layouts/admin.html.haml +5 -4
- data/app/views/layouts/admin_login.html.haml +3 -3
- data/config/initializers/load_settings.rbc +330 -0
- data/config/routes.rb +5 -8
- data/config/routes.rbc +2203 -0
- data/lib/extensions/form_helper_extensions.rb +2 -2
- data/lib/extensions/form_helper_extensions.rbc +295 -0
- data/lib/extensions/i18n_fallbacks_config.rbc +246 -0
- data/lib/extensions.rbc +126 -0
- data/lib/forgeos/core/engine.rbc +316 -0
- data/lib/forgeos/core.rbc +325 -0
- data/lib/forgeos.rbc +1942 -0
- data/lib/forgeos_core.rbc +53 -0
- data/lib/map_fields.rbc +4437 -0
- data/lib/sortable_attachments.rbc +1399 -0
- data/lib/sphinx_globalize.rbc +785 -0
- metadata +286 -53
- data/app/assets/javascripts/forgeos/jstree/jquery.tree.js +0 -2061
- data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.contextmenu.js +0 -129
- data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.cookie.js +0 -70
- data/app/assets/stylesheets/forgeos/jquery.selectbox.css +0 -75
- data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css +0 -106
- data/app/assets/stylesheets/forgeos/jstree/tree_component.css.sass +0 -204
@@ -0,0 +1 @@
|
|
1
|
+
removedataTablesRow('#destroy_attachment_<%= @media.id -%>');
|
@@ -14,14 +14,13 @@
|
|
14
14
|
"#{media.size/1024} #{I18n.t('media.byte.kilo')}" <<
|
15
15
|
"N/A" <<
|
16
16
|
link_to('', [forgeos_core, :edit, :admin, media], :class => 'small-icons edit-link') +
|
17
|
-
link_to('',
|
17
|
+
link_to('', [forgeos_core, :admin, media],
|
18
18
|
:remote => true,
|
19
19
|
:method => :delete,
|
20
20
|
:confirm => I18n.t('media.destroy.confirm').capitalize,
|
21
|
-
:
|
22
|
-
:
|
23
|
-
|
24
|
-
})
|
21
|
+
:class => 'small-icons destroy-link',
|
22
|
+
:id => "destroy_#{link_id}"
|
23
|
+
)
|
25
24
|
end
|
26
25
|
media_array << media.public_filename << media.id << media.filename
|
27
26
|
end
|
@@ -3,19 +3,15 @@
|
|
3
3
|
- unless defined?(level)
|
4
4
|
- level = 0
|
5
5
|
|
6
|
-
- unless categories.
|
6
|
+
- unless categories.blank?
|
7
7
|
- categories.each do |category|
|
8
|
-
%li{ :id => "#{object_name}_category_#{category.id}", :class => category_ids.include?(category.id) ? '
|
8
|
+
%li{ :id => "#{object_name}_category_#{category.id}", :class => category_ids.include?(category.id) ? 'jstree-checked' : 'jstree-unchecked'}
|
9
9
|
- if category_ids.include?(category.id)
|
10
|
-
|
11
|
-
= category.name
|
12
|
-
%span
|
10
|
+
= link_to category.name, '#'
|
13
11
|
- if category_ids.include?(category.id)
|
14
12
|
= hidden_field_tag "#{object_name}[#{association_id}][]", category.id, :id => "#{association_id}_#{category.id}"
|
15
13
|
- else
|
16
|
-
|
17
|
-
= category.name
|
18
|
-
%span
|
14
|
+
= link_to category.name, '#'
|
19
15
|
- unless category.children.empty?
|
20
16
|
%ul
|
21
17
|
- category.children.each do |child|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
content_tag(:div, tag(:div, :class=>'handler') + tag(:div, :class=>'small-icons category'), :id => link_id, :class => 'handler_container'),
|
8
8
|
content_tag(:div, category.name, :class => 'category-name'),
|
9
9
|
category.id,
|
10
|
-
link_to(category.name, [forgeos_core, :admin, category])
|
10
|
+
link_to(category.name, '#')#[forgeos_core, :admin, category])
|
11
11
|
]
|
12
12
|
end
|
13
13
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
removedataTablesRow('#destroy_right_<%= @right.id -%>');
|
@@ -6,21 +6,20 @@
|
|
6
6
|
[
|
7
7
|
content_tag(:div,
|
8
8
|
tag(:div, :class => 'handler') +
|
9
|
-
|
9
|
+
tag(:div, :id => link_id, :class => 'small-icons right-ico'),
|
10
10
|
:class => 'handler_container'),
|
11
11
|
content_tag(:div, right.name, :class => 'right-name'),
|
12
12
|
right.controller_name,
|
13
13
|
right.action_name,
|
14
14
|
content_tag(:span, ' ', :class => 'small-icons duplicate-link duplicate-right') +
|
15
15
|
content_tag(:span, ' ', :class => 'small-icons edit-link edit-right') +
|
16
|
-
link_to('',
|
16
|
+
link_to('', [forgeos_core, :admin, right],
|
17
17
|
:remote => true,
|
18
18
|
:method => :delete,
|
19
19
|
:confirm => I18n.t('right.destroy.confirm').capitalize,
|
20
|
-
:
|
21
|
-
:
|
22
|
-
|
23
|
-
})
|
20
|
+
:class => 'small-icons destroy-link',
|
21
|
+
:id => "destroy_#{link_id}"
|
22
|
+
)
|
24
23
|
]
|
25
24
|
end
|
26
25
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
toggleActivate('#show_role_<%= @role.id -%>');
|
@@ -0,0 +1 @@
|
|
1
|
+
removedataTablesRow('#destroy_role_<%= @role.id -%>');
|
@@ -2,7 +2,7 @@
|
|
2
2
|
output = {
|
3
3
|
:iTotalDisplayRecords => @roles.total_entries || 0,
|
4
4
|
:aaData => @roles.collect do |role|
|
5
|
-
link_id = role.id
|
5
|
+
link_id = "role_#{role.id}"
|
6
6
|
klass = role.active? ? 'see-on' : 'see-off'
|
7
7
|
[
|
8
8
|
content_tag(:div, '<div class="image"> <span class="small-icons role-ico"> </span></div>', :id => link_id, :class => role.administrators.count > 0 ? 'some-variants plus' : ''),
|
@@ -10,23 +10,21 @@
|
|
10
10
|
content_tag(:p,role.administrators.all.collect{ |admin| link_to("#{admin.firstname} #{admin.lastname}", [forgeos_core, :admin, admin]) }.join('<br />') , :style=>'display:none'),
|
11
11
|
role.administrators.count,
|
12
12
|
role.created_at.to_s(:short),
|
13
|
-
link_to('', :
|
13
|
+
link_to('', [forgeos_core, :activate ,:admin, role],
|
14
14
|
:remote => true,
|
15
|
-
:
|
16
|
-
:
|
17
|
-
|
18
|
-
|
19
|
-
}),
|
15
|
+
:method => :post,
|
16
|
+
:class => "small-icons #{klass}",
|
17
|
+
:id => "show_#{link_id}"
|
18
|
+
),
|
20
19
|
#link_to('', [:duplicate, :admin, role], :class => 'small-icons duplicate-link') +
|
21
20
|
link_to('', [forgeos_core, :edit, :admin, role], :class => 'small-icons edit-link') +
|
22
|
-
link_to('',
|
21
|
+
link_to('', [forgeos_core, :admin, role],
|
23
22
|
:remote => true,
|
24
23
|
:method => :delete,
|
25
24
|
:confirm => I18n.t('role.destroy.confirm').capitalize,
|
26
|
-
:
|
27
|
-
:
|
28
|
-
|
29
|
-
})
|
25
|
+
:class => 'small-icons destroy-link',
|
26
|
+
:id => "destroy_#{link_id}"
|
27
|
+
)
|
30
28
|
]
|
31
29
|
end
|
32
30
|
}
|
@@ -1,9 +1,3 @@
|
|
1
1
|
%ul.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all
|
2
2
|
%li.ui-state-default.ui-corner-top.ui-tabs-selected.ui-state-active= link_to t('setting.global').capitalize, '#content'
|
3
3
|
%li.ui-state-default.ui-corner-top= link_to t(:notification, :count => 2).capitalize, '#'
|
4
|
-
#blocks-header.backgrounds.settings.ui-tabs.ui-widget.ui-widget-content.ui-corner-all
|
5
|
-
%ul.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all
|
6
|
-
%li.ui-state-default.ui-corner-top.ui-tabs-selected.ui-state-active= link_to t(:general, :scope => :setting).capitalize, '#general', :class => 'selected'
|
7
|
-
%li.ui-state-default.ui-corner-top= link_to t(:mailer, :scope => :setting).capitalize, '#mailer'
|
8
|
-
%li.ui-state-default.ui-corner-top= link_to t(:display, :scope => :setting).capitalize, '#display'
|
9
|
-
%li.ui-state-default.ui-corner-top= link_to t(:backup, :scope => :setting).capitalize, '#backup'
|
@@ -1,18 +1,21 @@
|
|
1
1
|
= render :partial => 'tabs'
|
2
2
|
= form_for @setting, :url => [forgeos_core, :admin, :setting] do |f|
|
3
|
-
.
|
4
|
-
|
5
|
-
|
6
|
-
=
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
3
|
+
#blocks-header.ui-tabs.ui-widget.ui-widget-content.ui-corner-all
|
4
|
+
%ul.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all
|
5
|
+
%li.ui-state-default.ui-corner-top.ui-tabs-selected.ui-state-active= link_to t(:general, :scope => :setting).capitalize, '#general', :class => 'selected'
|
6
|
+
%li.ui-state-default.ui-corner-top= link_to t(:mailer, :scope => :setting).capitalize, '#mailer'
|
7
|
+
%li.ui-state-default.ui-corner-top= link_to t(:display, :scope => :setting).capitalize, '#display'
|
8
|
+
%li.ui-state-default.ui-corner-top= link_to t(:backup, :scope => :setting).capitalize, '#backup'
|
9
|
+
.backgrounds.big-header
|
10
|
+
= f.text_field :name, :class => 'defaultValue field_name', :title => t('setting.shop_name')
|
11
|
+
.interact-links
|
12
|
+
= Forgeos_save_buttons [forgeos_core, :admin, :setting]
|
13
|
+
#general.grid_16.alpha.omega
|
14
|
+
= render :partial => 'general', :locals => { :f => f }
|
15
|
+
#mailer
|
16
|
+
= render :partial => 'mailer', :locals => { :f => f }
|
17
|
+
#display
|
18
|
+
= render :partial => 'display', :locals => { :f => f }
|
19
|
+
#backup
|
20
|
+
= render :partial => 'backup', :locals => { :f => f }
|
21
|
+
.clear
|
@@ -19,7 +19,7 @@
|
|
19
19
|
.sidebar-content
|
20
20
|
%h2{ :class => 'small-icons picture'}
|
21
21
|
= link_to_function I18n.t('media.picture.all').capitalize, "select_all_elements_without_category('picture-attachment-tree')"
|
22
|
-
#picture-attachment-tree
|
22
|
+
#picture-attachment-tree
|
23
23
|
.media-hoverlay-content.thumbnails
|
24
24
|
#thumbnail-table.table.datatable.media.selectable_rows
|
25
25
|
.media-hoverlay-content.table.hidden
|
@@ -24,6 +24,6 @@
|
|
24
24
|
.sidebar-content
|
25
25
|
%h2.small-icons{ :class => icon_class }
|
26
26
|
= link_to_function I18n.t(sidebar_title).capitalize, "select_all_elements_without_category()"
|
27
|
-
.
|
27
|
+
.category-tree{ :id => tree_id }
|
28
28
|
= form_for [forgeos_core, :admin, Category.new], :html => { :multipart => true } do |f|
|
29
|
-
=
|
29
|
+
=render :partial => 'admin/sidebars/attachments_popups', :locals => {:form => f}
|
@@ -0,0 +1 @@
|
|
1
|
+
toggleActivate('#show_user_<%= @user.id -%>');
|
@@ -0,0 +1 @@
|
|
1
|
+
removedataTablesRow('#destroy_user_<%= @user.id -%>');
|
@@ -13,23 +13,20 @@
|
|
13
13
|
|
14
14
|
unless params[:mode] == 'selection'
|
15
15
|
table <<
|
16
|
-
link_to('', :
|
16
|
+
link_to('', [forgeos_core, :activate, :admin, user],
|
17
17
|
:remote => true,
|
18
|
-
:
|
19
|
-
:
|
20
|
-
|
21
|
-
:id => "show_#{link_id}"
|
22
|
-
}
|
18
|
+
:method => :post,
|
19
|
+
:class => "small-icons #{klass}",
|
20
|
+
:id => "show_#{link_id}"
|
23
21
|
) <<
|
24
22
|
link_to('', [forgeos_core, :edit, :admin, user], :class => 'small-icons edit-link') +
|
25
|
-
link_to('',
|
23
|
+
link_to('', [forgeos_core, :admin, user],
|
26
24
|
:remote => true,
|
27
25
|
:method => :delete,
|
28
26
|
:confirm => I18n.t('user.destroy.confirm').capitalize,
|
29
|
-
:
|
30
|
-
:
|
31
|
-
|
32
|
-
})
|
27
|
+
:class => 'small-icons destroy-link',
|
28
|
+
:id => "destroy_#{link_id}"
|
29
|
+
)
|
33
30
|
else
|
34
31
|
table << user.id
|
35
32
|
end
|
@@ -24,7 +24,7 @@
|
|
24
24
|
.sidebar-content
|
25
25
|
%h2{ :class => 'small-icons picture'}
|
26
26
|
= link_to_function t('media.picture.all').capitalize, "select_all_elements_without_category('picture-attachment-tree')"
|
27
|
-
#picture-attachment-tree
|
27
|
+
#picture-attachment-tree
|
28
28
|
.media-hoverlay-content.thumbnails
|
29
29
|
#thumbnail-table-picture.table.datatable.media.selectable_rows
|
30
30
|
.media-hoverlay-content.table.hidden
|
@@ -110,7 +110,7 @@
|
|
110
110
|
.sidebar-content
|
111
111
|
%h2{ :class => 'small-icons picture'}
|
112
112
|
= link_to_function t('media.picture.all').capitalize, "select_all_elements_without_category('picture-attachment-tree')"
|
113
|
-
#picture-attachment-tree
|
113
|
+
#picture-attachment-tree
|
114
114
|
.media-hoverlay-content.thumbnails
|
115
115
|
#thumbnail-table-image.table.datatable.media.selectable_rows
|
116
116
|
.media-hoverlay-content.table.hidden
|
@@ -24,7 +24,7 @@
|
|
24
24
|
.sidebar-content
|
25
25
|
%h2{ :class => 'small-icons picture'}
|
26
26
|
= link_to_function I18n.t('media.picture.all').capitalize, "select_all_elements_without_category('picture-attachment-tree')"
|
27
|
-
#picture-attachment-tree
|
27
|
+
#picture-attachment-tree
|
28
28
|
.media-hoverlay-content.thumbnails
|
29
29
|
#thumbnail-table-visuals.table.datatable.media.selectable_rows
|
30
30
|
.media-hoverlay-content.table.hidden
|
@@ -3,9 +3,10 @@
|
|
3
3
|
%html{ "xml:lang" => I18n.locale, :xmlns => "http://www.w3.org/1999/xhtml" }
|
4
4
|
%head
|
5
5
|
%meta{ :content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type" }
|
6
|
-
%link{ :href => "/forgeos/admin/favicon.gif", :rel => "shortcut icon", :type => "image/gif" }
|
7
|
-
= stylesheet_link_tag 'forgeos/960', 'forgeos/jquery-ui/themes/forgeos', 'forgeos/
|
8
|
-
= javascript_include_tag '
|
6
|
+
%link{ :href => "/assets/forgeos/admin/favicon.gif", :rel => "shortcut icon", :type => "image/gif" }
|
7
|
+
= stylesheet_link_tag 'forgeos/960', 'forgeos/jquery-ui/themes/forgeos', 'forgeos/admin/base', :cache => 'forgeos/admin'
|
8
|
+
= javascript_include_tag 'jquery', 'forgeos/swfobject'
|
9
|
+
= csrf_meta_tag
|
9
10
|
%title= "#{I18n.t(:forgeos)} - #{I18n.t(controller.controller_name, :scope => ['back_office', 'menu']).capitalize}"
|
10
11
|
%body
|
11
12
|
#container.container_16
|
@@ -24,7 +25,7 @@
|
|
24
25
|
#footer
|
25
26
|
#dialog
|
26
27
|
= javascript_include_tag 'forgeos/admin/customselects', 'forgeos/admin/jquery-cookie-plugin', :cache => 'forgeos/admin/no-concat-lib'
|
27
|
-
= javascript_include_tag 'forgeos/tiny_mce/jquery.tinymce', '
|
28
|
+
= javascript_include_tag 'forgeos/tiny_mce/jquery.tinymce.js', 'jquery-ui', 'jquery_ujs', 'forgeos/jquery.dataTables.min.js', 'forgeos/jquery.dataSlides.js', 'forgeos/jstree/jquery.jstree.js', 'forgeos/jquery.uploadify.js', :cache => 'forgeos/admin/lib'
|
28
29
|
= eval("javascript_include_tag '#{forgeos_js_functions_files.join("','")}', :cache => 'forgeos/admin/functions'")
|
29
30
|
= eval("javascript_include_tag '#{forgeos_js_inits_files.join("','")}', :cache => 'forgeos/admin/inits'")
|
30
31
|
:javascript
|
@@ -3,16 +3,16 @@
|
|
3
3
|
%html{ 'xml:lang' => I18n.locale, :xmlns => 'http://www.w3.org/1999/xhtml' }
|
4
4
|
%head
|
5
5
|
%meta{ :content => 'text/html; charset=utf-8', 'http-equiv' => 'Content-Type' }
|
6
|
-
%link{ :href => '/forgeos/admin/favicon.gif', :rel => 'shortcut icon', :type => 'image/gif' }
|
6
|
+
%link{ :href => '/assets/forgeos/admin/favicon.gif', :rel => 'shortcut icon', :type => 'image/gif' }
|
7
7
|
= stylesheet_link_tag 'forgeos/960', 'forgeos/admin/login'
|
8
|
-
= javascript_include_tag '
|
8
|
+
= javascript_include_tag 'jquery'
|
9
9
|
%title= I18n.t(:login, :scope => ['back_office', 'menu'])
|
10
10
|
%body
|
11
11
|
= yield
|
12
12
|
= javascript_include_tag 'forgeos/admin/functions/forgeos_core/notifications', 'forgeos/admin/inits/forgeos_core/clicks', :cache => 'forgeos/admin/login'
|
13
13
|
:javascript
|
14
14
|
window._forgeos_js_vars = {
|
15
|
-
"locale": '#{I18n.locale}'
|
15
|
+
"locale": '#{I18n.locale}'
|
16
16
|
}
|
17
17
|
jQuery(document).ready(function(){
|
18
18
|
display_notifications();
|
@@ -0,0 +1,330 @@
|
|
1
|
+
!RBIX
|
2
|
+
5362583714419577066
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
168
|
13
|
+
45
|
14
|
+
0
|
15
|
+
1
|
16
|
+
43
|
17
|
+
2
|
18
|
+
49
|
19
|
+
3
|
20
|
+
0
|
21
|
+
49
|
22
|
+
4
|
23
|
+
0
|
24
|
+
45
|
25
|
+
5
|
26
|
+
6
|
27
|
+
49
|
28
|
+
7
|
29
|
+
0
|
30
|
+
49
|
31
|
+
8
|
32
|
+
1
|
33
|
+
13
|
34
|
+
9
|
35
|
+
32
|
36
|
+
15
|
37
|
+
45
|
38
|
+
5
|
39
|
+
9
|
40
|
+
49
|
41
|
+
10
|
42
|
+
0
|
43
|
+
19
|
44
|
+
0
|
45
|
+
9
|
46
|
+
164
|
47
|
+
45
|
48
|
+
11
|
49
|
+
12
|
50
|
+
20
|
51
|
+
0
|
52
|
+
49
|
53
|
+
13
|
54
|
+
0
|
55
|
+
13
|
56
|
+
18
|
57
|
+
2
|
58
|
+
49
|
59
|
+
14
|
60
|
+
1
|
61
|
+
15
|
62
|
+
15
|
63
|
+
45
|
64
|
+
15
|
65
|
+
16
|
66
|
+
20
|
67
|
+
0
|
68
|
+
49
|
69
|
+
17
|
70
|
+
0
|
71
|
+
49
|
72
|
+
18
|
73
|
+
0
|
74
|
+
13
|
75
|
+
18
|
76
|
+
2
|
77
|
+
49
|
78
|
+
19
|
79
|
+
1
|
80
|
+
15
|
81
|
+
15
|
82
|
+
45
|
83
|
+
20
|
84
|
+
21
|
85
|
+
43
|
86
|
+
2
|
87
|
+
20
|
88
|
+
0
|
89
|
+
49
|
90
|
+
22
|
91
|
+
0
|
92
|
+
9
|
93
|
+
91
|
94
|
+
20
|
95
|
+
0
|
96
|
+
49
|
97
|
+
22
|
98
|
+
0
|
99
|
+
49
|
100
|
+
23
|
101
|
+
0
|
102
|
+
8
|
103
|
+
93
|
104
|
+
7
|
105
|
+
24
|
106
|
+
13
|
107
|
+
18
|
108
|
+
2
|
109
|
+
49
|
110
|
+
25
|
111
|
+
1
|
112
|
+
15
|
113
|
+
15
|
114
|
+
20
|
115
|
+
0
|
116
|
+
49
|
117
|
+
26
|
118
|
+
0
|
119
|
+
9
|
120
|
+
130
|
121
|
+
45
|
122
|
+
20
|
123
|
+
27
|
124
|
+
43
|
125
|
+
2
|
126
|
+
20
|
127
|
+
0
|
128
|
+
49
|
129
|
+
26
|
130
|
+
0
|
131
|
+
49
|
132
|
+
28
|
133
|
+
0
|
134
|
+
13
|
135
|
+
18
|
136
|
+
2
|
137
|
+
49
|
138
|
+
29
|
139
|
+
1
|
140
|
+
15
|
141
|
+
8
|
142
|
+
131
|
143
|
+
1
|
144
|
+
15
|
145
|
+
20
|
146
|
+
0
|
147
|
+
49
|
148
|
+
30
|
149
|
+
0
|
150
|
+
9
|
151
|
+
161
|
152
|
+
45
|
153
|
+
20
|
154
|
+
31
|
155
|
+
43
|
156
|
+
2
|
157
|
+
20
|
158
|
+
0
|
159
|
+
49
|
160
|
+
30
|
161
|
+
0
|
162
|
+
49
|
163
|
+
28
|
164
|
+
0
|
165
|
+
13
|
166
|
+
18
|
167
|
+
2
|
168
|
+
49
|
169
|
+
32
|
170
|
+
1
|
171
|
+
15
|
172
|
+
8
|
173
|
+
162
|
174
|
+
1
|
175
|
+
8
|
176
|
+
165
|
177
|
+
1
|
178
|
+
15
|
179
|
+
2
|
180
|
+
11
|
181
|
+
I
|
182
|
+
4
|
183
|
+
I
|
184
|
+
1
|
185
|
+
I
|
186
|
+
0
|
187
|
+
I
|
188
|
+
0
|
189
|
+
n
|
190
|
+
p
|
191
|
+
33
|
192
|
+
x
|
193
|
+
12
|
194
|
+
ActiveRecord
|
195
|
+
n
|
196
|
+
x
|
197
|
+
4
|
198
|
+
Base
|
199
|
+
x
|
200
|
+
10
|
201
|
+
connection
|
202
|
+
x
|
203
|
+
6
|
204
|
+
tables
|
205
|
+
x
|
206
|
+
7
|
207
|
+
Setting
|
208
|
+
n
|
209
|
+
x
|
210
|
+
10
|
211
|
+
table_name
|
212
|
+
x
|
213
|
+
8
|
214
|
+
include?
|
215
|
+
n
|
216
|
+
x
|
217
|
+
7
|
218
|
+
current
|
219
|
+
x
|
220
|
+
4
|
221
|
+
Time
|
222
|
+
n
|
223
|
+
x
|
224
|
+
9
|
225
|
+
time_zone
|
226
|
+
x
|
227
|
+
5
|
228
|
+
zone=
|
229
|
+
x
|
230
|
+
4
|
231
|
+
I18n
|
232
|
+
n
|
233
|
+
x
|
234
|
+
4
|
235
|
+
lang
|
236
|
+
x
|
237
|
+
6
|
238
|
+
to_sym
|
239
|
+
x
|
240
|
+
15
|
241
|
+
default_locale=
|
242
|
+
x
|
243
|
+
12
|
244
|
+
ActionMailer
|
245
|
+
n
|
246
|
+
x
|
247
|
+
6
|
248
|
+
mailer
|
249
|
+
x
|
250
|
+
15
|
251
|
+
delivery_method
|
252
|
+
x
|
253
|
+
4
|
254
|
+
test
|
255
|
+
x
|
256
|
+
16
|
257
|
+
delivery_method=
|
258
|
+
x
|
259
|
+
13
|
260
|
+
smtp_settings
|
261
|
+
n
|
262
|
+
x
|
263
|
+
12
|
264
|
+
marshal_dump
|
265
|
+
x
|
266
|
+
14
|
267
|
+
smtp_settings=
|
268
|
+
x
|
269
|
+
17
|
270
|
+
sendmail_settings
|
271
|
+
n
|
272
|
+
x
|
273
|
+
18
|
274
|
+
sendmail_settings=
|
275
|
+
p
|
276
|
+
23
|
277
|
+
I
|
278
|
+
0
|
279
|
+
I
|
280
|
+
1
|
281
|
+
I
|
282
|
+
22
|
283
|
+
I
|
284
|
+
2
|
285
|
+
I
|
286
|
+
32
|
287
|
+
I
|
288
|
+
3
|
289
|
+
I
|
290
|
+
45
|
291
|
+
I
|
292
|
+
4
|
293
|
+
I
|
294
|
+
5d
|
295
|
+
I
|
296
|
+
0
|
297
|
+
I
|
298
|
+
65
|
299
|
+
I
|
300
|
+
5
|
301
|
+
I
|
302
|
+
83
|
303
|
+
I
|
304
|
+
0
|
305
|
+
I
|
306
|
+
84
|
307
|
+
I
|
308
|
+
6
|
309
|
+
I
|
310
|
+
a2
|
311
|
+
I
|
312
|
+
0
|
313
|
+
I
|
314
|
+
a4
|
315
|
+
I
|
316
|
+
1
|
317
|
+
I
|
318
|
+
a5
|
319
|
+
I
|
320
|
+
0
|
321
|
+
I
|
322
|
+
a8
|
323
|
+
x
|
324
|
+
90
|
325
|
+
/home/cyrill62/Sites/fcorer3/vendor/gems/forgeos_core/config/initializers/load_settings.rb
|
326
|
+
p
|
327
|
+
1
|
328
|
+
x
|
329
|
+
8
|
330
|
+
settings
|