camaleon_cms 2.1.2.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of camaleon_cms might be problematic. Click here for more details.

Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -4
  3. data/app/apps/plugins/attack/attack_helper.rb +3 -0
  4. data/app/apps/plugins/attack/config/custom_models.rb +4 -2
  5. data/app/apps/plugins/attack/config/locales/translation.yml +19 -0
  6. data/app/apps/plugins/attack/models/attack.rb +1 -1
  7. data/app/apps/plugins/front_cache/config/initializer.rb +4 -2
  8. data/app/apps/plugins/front_cache/config/locales/translation.yml +19 -0
  9. data/app/apps/themes/camaleon_first/main_helper.rb +1 -3
  10. data/app/apps/themes/default/views/admin/settings.html.erb +0 -1
  11. data/app/apps/themes/default/views/layouts/index.html.erb +5 -5
  12. data/app/apps/themes/new/assets/css/main.css +1 -1
  13. data/app/apps/themes/new/assets/js/main.js +1 -1
  14. data/app/apps/themes/new/views/admin/settings.html.erb +1 -1
  15. data/app/assets/images/camaleon_cms/language/{pt_br.png → pt-BR.png} +0 -0
  16. data/app/assets/javascripts/camaleon_cms/admin/_custom_fields.js +105 -51
  17. data/app/assets/javascripts/camaleon_cms/admin/_libraries.js +4 -2
  18. data/app/assets/javascripts/camaleon_cms/admin/_translator.js +2 -2
  19. data/app/assets/javascripts/camaleon_cms/admin/custom_fields_form.js +9 -7
  20. data/app/assets/javascripts/camaleon_cms/admin/jquery_validate/{pt_br.js → pt-BR.js} +0 -0
  21. data/app/assets/javascripts/camaleon_cms/admin/momentjs/{pt_br.js → pt-BR.js} +1 -1
  22. data/app/assets/javascripts/camaleon_cms/admin/nav_menu.js.coffee +15 -1
  23. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/{pt_br.js → pt-BR.js} +1 -1
  24. data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js.coffee +24 -12
  25. data/app/assets/stylesheets/camaleon_cms/admin/_custom_admin.css.scss +9 -0
  26. data/app/assets/stylesheets/camaleon_cms/admin/lte/_admin.css.scss +1 -1
  27. data/app/controllers/camaleon_cms/admin/appearances/nav_menus_controller.rb +13 -6
  28. data/app/controllers/camaleon_cms/admin/appearances/themes_controller.rb +1 -1
  29. data/app/controllers/camaleon_cms/admin/appearances/widgets/assign_controller.rb +1 -1
  30. data/app/controllers/camaleon_cms/admin/appearances/widgets/main_controller.rb +1 -1
  31. data/app/controllers/camaleon_cms/admin/appearances/widgets/sidebar_controller.rb +1 -1
  32. data/app/controllers/camaleon_cms/admin/comments_controller.rb +1 -1
  33. data/app/controllers/camaleon_cms/admin/media_controller.rb +15 -5
  34. data/app/controllers/camaleon_cms/admin/plugins_controller.rb +1 -1
  35. data/app/controllers/camaleon_cms/admin/settings/custom_fields_controller.rb +14 -8
  36. data/app/controllers/camaleon_cms/admin/settings_controller.rb +22 -7
  37. data/app/controllers/camaleon_cms/admin/user_roles_controller.rb +1 -1
  38. data/app/controllers/camaleon_cms/admin/users_controller.rb +1 -1
  39. data/app/controllers/camaleon_cms/apps/plugins_admin_controller.rb +4 -1
  40. data/app/controllers/camaleon_cms/apps/plugins_front_controller.rb +5 -10
  41. data/app/controllers/camaleon_cms/apps/themes_front_controller.rb +1 -4
  42. data/app/controllers/camaleon_cms/camaleon_controller.rb +4 -13
  43. data/app/controllers/camaleon_cms/frontend_controller.rb +15 -9
  44. data/app/controllers/concerns/camaleon_cms/frontend_concern.rb +17 -8
  45. data/app/decorators/camaleon_cms/application_decorator.rb +3 -3
  46. data/app/decorators/camaleon_cms/custom_fields_concern.rb +21 -6
  47. data/app/decorators/camaleon_cms/post_comment_decorator.rb +21 -0
  48. data/app/decorators/camaleon_cms/site_decorator.rb +5 -5
  49. data/app/decorators/camaleon_cms/theme_decorator.rb +10 -0
  50. data/app/decorators/camaleon_cms/user_decorator.rb +2 -2
  51. data/app/helpers/camaleon_cms/admin/custom_fields_helper.rb +24 -2
  52. data/app/helpers/camaleon_cms/admin/menus_helper.rb +13 -12
  53. data/app/helpers/camaleon_cms/frontend/application_helper.rb +1 -1
  54. data/app/helpers/camaleon_cms/frontend/nav_menu_helper.rb +7 -6
  55. data/app/helpers/camaleon_cms/plugins_helper.rb +20 -18
  56. data/app/helpers/camaleon_cms/site_helper.rb +1 -20
  57. data/app/helpers/camaleon_cms/theme_helper.rb +1 -1
  58. data/app/helpers/camaleon_cms/uploader_helper.rb +25 -20
  59. data/app/helpers/camaleon_cms/user_roles_helper.rb +6 -1
  60. data/app/mailers/camaleon_cms/html_mailer.rb +2 -1
  61. data/app/models/camaleon_cms/ability.rb +3 -26
  62. data/app/models/camaleon_cms/custom_field.rb +2 -1
  63. data/app/models/camaleon_cms/custom_field_group.rb +23 -22
  64. data/app/models/camaleon_cms/custom_fields_relationship.rb +1 -1
  65. data/app/models/camaleon_cms/nav_menu.rb +1 -1
  66. data/app/models/camaleon_cms/nav_menu_item.rb +12 -19
  67. data/app/models/camaleon_cms/post.rb +1 -1
  68. data/app/models/camaleon_cms/post_comment.rb +3 -1
  69. data/app/models/camaleon_cms/post_default.rb +1 -1
  70. data/app/models/camaleon_cms/post_type.rb +5 -4
  71. data/app/models/camaleon_cms/site.rb +12 -0
  72. data/app/models/camaleon_cms/term_taxonomy.rb +1 -1
  73. data/app/models/camaleon_cms/user_role.rb +5 -1
  74. data/app/models/concerns/camaleon_cms/custom_fields_read.rb +99 -49
  75. data/app/uploaders/camaleon_cms_aws_uploader.rb +1 -1
  76. data/app/uploaders/camaleon_cms_local_uploader.rb +19 -3
  77. data/app/uploaders/camaleon_cms_uploader.rb +13 -6
  78. data/app/views/camaleon_cms/admin/appearances/nav_menus/_custom_menus.html.erb +9 -2
  79. data/app/views/camaleon_cms/admin/appearances/nav_menus/_form.html.erb +1 -1
  80. data/app/views/camaleon_cms/admin/appearances/nav_menus/_menu_items.html.erb +2 -2
  81. data/app/views/camaleon_cms/admin/appearances/themes/index.html.erb +1 -3
  82. data/app/views/camaleon_cms/admin/media/_render_file_item.html.erb +1 -0
  83. data/app/views/camaleon_cms/admin/media/index.html.erb +3 -3
  84. data/app/views/camaleon_cms/admin/posts/_sidebar.html.erb +1 -1
  85. data/app/views/camaleon_cms/admin/posts/form.html.erb +1 -1
  86. data/app/views/camaleon_cms/admin/settings/_configuration_settings.html.erb +4 -0
  87. data/app/views/camaleon_cms/admin/settings/custom_fields/_get_items.html.erb +6 -6
  88. data/app/views/camaleon_cms/admin/settings/custom_fields/_meta_data.html.erb +0 -9
  89. data/app/views/camaleon_cms/admin/settings/custom_fields/_render.html.erb +39 -55
  90. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_audio.html.erb +1 -1
  91. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_checkbox.html.erb +2 -2
  92. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_checkboxes.html.erb +3 -3
  93. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_colorpicker.html.erb +3 -3
  94. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_date.html.erb +3 -3
  95. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_editor.html.erb +2 -2
  96. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_email.html.erb +1 -1
  97. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_field_attrs.html.erb +3 -3
  98. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_file.html.erb +1 -1
  99. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb +2 -2
  100. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_numeric.html.erb +1 -1
  101. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_phone.html.erb +1 -1
  102. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_posts.html.erb +3 -3
  103. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_private_file.html.erb +4 -0
  104. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb +3 -3
  105. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_select.html.erb +3 -3
  106. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_select_eval.html.erb +1 -1
  107. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_text_area.html.erb +2 -2
  108. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_text_box.html.erb +2 -2
  109. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_url.html.erb +1 -1
  110. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_users.html.erb +1 -1
  111. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_video.html.erb +1 -1
  112. data/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb +8 -0
  113. data/app/views/camaleon_cms/admin/settings/site.html.erb +1 -20
  114. data/app/views/camaleon_cms/admin/settings/theme.html.erb +20 -0
  115. data/app/views/camaleon_cms/admin/user_roles/form.html.erb +2 -2
  116. data/app/views/camaleon_cms/default_theme/admin/settings.html.erb +0 -1
  117. data/app/views/camaleon_cms/default_theme/partials/_comments.html.erb +0 -2
  118. data/app/views/camaleon_cms/default_theme/partials/_search_form.html.erb +1 -1
  119. data/app/views/camaleon_cms/default_theme/partials/_sidebar.html.erb +3 -3
  120. data/app/views/layouts/camaleon_cms/admin/_footer.html.erb +1 -1
  121. data/config/initializers/action_view.rb +12 -7
  122. data/config/initializers/custom_initializers.rb +6 -12
  123. data/config/locales/camaleon_cms/admin/en.yml +1 -0
  124. data/config/locales/camaleon_cms/admin/es.yml +4 -0
  125. data/config/locales/camaleon_cms/admin/it.yml +1 -24
  126. data/config/locales/camaleon_cms/admin/js.yml +41 -0
  127. data/config/locales/camaleon_cms/admin/{pt_br.yml → pt-BR.yml} +48 -18
  128. data/config/locales/camaleon_cms/common.yml +66 -0
  129. data/config/locales/camaleon_cms/languages.yml +13 -0
  130. data/config/locales/camaleon_cms/routes.yml +2 -2
  131. data/config/routes/admin.rb +3 -0
  132. data/config/system.json +3 -3
  133. data/db/migrate/20160606135421_improve_menus_structure.rb +7 -0
  134. data/db/migrate/20160609121449_add_group_to_custom_field_values.rb +5 -0
  135. data/lib/camaleon_cms/engine.rb +4 -3
  136. data/lib/camaleon_cms/version.rb +1 -1
  137. data/lib/ext/string.rb +20 -0
  138. data/lib/ext/translator.rb +2 -2
  139. data/lib/generators/camaleon_cms/gem_plugin_generator.rb +1 -1
  140. data/lib/generators/camaleon_cms/gem_plugin_template/config/camaleon_plugin.json +1 -1
  141. data/lib/generators/camaleon_cms/install_generator.rb +1 -0
  142. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/main_helper.rb +1 -4
  143. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/index.html.erb +1 -25
  144. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/layouts/index.html.erb +17 -18
  145. data/lib/plugin_routes.rb +4 -4
  146. metadata +25 -48
  147. data/app/apps/plugins/contact_form/admin_forms_controller.rb +0 -85
  148. data/app/apps/plugins/contact_form/assets/css/admin/form-builder/formbuilder.css +0 -70
  149. data/app/apps/plugins/contact_form/assets/css/contact-form.css +0 -8
  150. data/app/apps/plugins/contact_form/assets/css/front/railsform.scss +0 -94
  151. data/app/apps/plugins/contact_form/assets/css/readme.txt +0 -1
  152. data/app/apps/plugins/contact_form/assets/js/contact_form.js +0 -2
  153. data/app/apps/plugins/contact_form/assets/js/form-builder/formbuilder.js +0 -1271
  154. data/app/apps/plugins/contact_form/assets/js/form-builder/vendor.js +0 -3072
  155. data/app/apps/plugins/contact_form/assets/js/readme.txt +0 -1
  156. data/app/apps/plugins/contact_form/config/config.json +0 -35
  157. data/app/apps/plugins/contact_form/config/custom_models.rb +0 -3
  158. data/app/apps/plugins/contact_form/config/locales/readme.txt +0 -1
  159. data/app/apps/plugins/contact_form/config/locales/translation.yml +0 -315
  160. data/app/apps/plugins/contact_form/config/routes_admin.txt +0 -4
  161. data/app/apps/plugins/contact_form/config/routes_front.txt +0 -2
  162. data/app/apps/plugins/contact_form/contact_form_helper.rb +0 -154
  163. data/app/apps/plugins/contact_form/contact_form_html_helper.rb +0 -140
  164. data/app/apps/plugins/contact_form/front_controller.rb +0 -50
  165. data/app/apps/plugins/contact_form/models/contact_form.rb +0 -26
  166. data/app/apps/plugins/contact_form/views/admin_forms/_form.html.erb +0 -33
  167. data/app/apps/plugins/contact_form/views/admin_forms/edit.html.erb +0 -338
  168. data/app/apps/plugins/contact_form/views/admin_forms/index.html.erb +0 -65
  169. data/app/apps/plugins/contact_form/views/admin_forms/responses.html.erb +0 -60
  170. data/app/apps/plugins/contact_form/views/contact_form/_email_content.html.erb +0 -26
  171. data/app/apps/plugins/contact_form/views/forms_shorcode.html.erb +0 -28
  172. data/app/apps/plugins/contact_form/views/front/index.html.erb +0 -3
  173. data/app/apps/themes/camaleon_first/views/admin/settings.html.erb +0 -4
  174. data/app/apps/themes/new/assets/css/bootstrap/bootstrap.min.css +0 -6735
  175. data/app/apps/themes/new/assets/js/plugins/bootstrap/bootstrap.min.js +0 -6
  176. data/app/apps/themes/new/assets/js/plugins/jquery/jquery.min.js +0 -4
  177. data/lib/generators/camaleon_cms/gem_theme_generator.rb +0 -97
  178. data/lib/generators/camaleon_cms/gem_theme_template/app/assets/images/themes/my_plugin/image.png +0 -0
  179. data/lib/generators/camaleon_cms/gem_theme_template/app/assets/javascripts/themes/my_plugin/main.js +0 -14
  180. data/lib/generators/camaleon_cms/gem_theme_template/app/assets/stylesheets/themes/my_plugin/main.css +0 -13
  181. data/lib/generators/camaleon_cms/gem_theme_template/app/helpers/themes/my_plugin/main_helper.rb +0 -26
  182. data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/admin/settings.html.erb +0 -4
  183. data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/index.html.erb +0 -25
  184. data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/layouts/index.html.erb +0 -70
  185. data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/partials/readme.txt +0 -1
  186. data/lib/generators/camaleon_cms/gem_theme_template/config/camaleon_theme.json +0 -14
@@ -1,4 +1,4 @@
1
1
  <div class="group-input-fields-content input-group">
2
- <input data-dimension="<%= @field.options[:dimension] %>" data-versions="<%= @field.options[:versions] %>" data-thumb_size="<%= @field.options[:thumb_size] %>" type="url" name="<%= @field_name %>[<%= @field.slug %>][values][]" class="data-error-place-parent form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/>
3
- <span class="input-group-addon btn_upload" onclick="load_upload_image_field(this);return false;"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_image')%> <%= "(#{@field.get_option('dimension')})" if @field.get_option('dimension').present? %></span>
2
+ <input data-dimension="<%= field.options[:dimension] %>" data-versions="<%= field.options[:versions] %>" data-thumb_size="<%= field.options[:thumb_size] %>" type="url" name="<%= field_name %>[<%= field.slug %>][values][]" class="data-error-place-parent form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
3
+ <span class="input-group-addon btn_upload" onclick="load_upload_image_field($(this).prev());"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_image')%> <%= "(#{field.get_option('dimension')})" if field.get_option('dimension').present? %></span>
4
4
  </div>
@@ -1,4 +1,4 @@
1
1
  <div class="group-input-fields-content">
2
- <input type="number" name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value number <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/>
2
+ <input type="number" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value number <%= "required" if field.options[:required].to_s.to_bool %>" />
3
3
  </div>
4
4
 
@@ -1,3 +1,3 @@
1
1
  <div class="group-input-fields-content">
2
- <input type="text" name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/>
2
+ <input type="text" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
3
3
  </div>
@@ -1,8 +1,8 @@
1
1
  <div class="group-input-fields-content">
2
- <select name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>>
2
+ <select name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" >
3
3
  <option value=""></option>
4
- <% if @field.options[:post_types].present? %>
5
- <% (@field.options[:post_types].include?("all") ? current_site.post_types : current_site.post_types.where(id: @field.options[:post_types])).each do |pt| %>
4
+ <% if field.options[:post_types].present? %>
5
+ <% (field.options[:post_types].include?("all") ? current_site.post_types : current_site.post_types.where(id: field.options[:post_types])).each do |pt| %>
6
6
  <optgroup label="<%= pt.name %>">
7
7
  <%
8
8
  pt.posts.public_posts.each do |post|
@@ -0,0 +1,4 @@
1
+ <div class="group-input-fields-content input-group">
2
+ <input onfocus="$(this).blur();" type="text" data-formats="<%= field.options[:formats] || "" %>" name="<%= field_name %>[<%= field.slug %>][values][]" class="disabled form-control input-value data-error-place-parent file_format <%= "required" if field.options[:required].to_s.to_bool %>" />
3
+ <span class="input-group-addon btn_upload" onclick="load_upload_private_file_field(this);return false;"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_file') %></span>
4
+ </div>
@@ -1,5 +1,5 @@
1
- <div class="group-input-fields-content" data-callback-set-value="custom_field_radio_val">
2
- <% @field.options[:multiple_options].each do |option| %>
3
- <div class="radio"><label><input type="radio" value="<%= option[:value] %>" name="<%= @field_name %>[<%= @field.slug %>][values][]" <%= 'checked' if @default_use && option[:default].present? && option[:default] != 'none' %> <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>> <%= option[:title] %></label></div>
1
+ <div class="group-input-fields-content" data-callback-render="custom_field_radio_val">
2
+ <% field.options[:multiple_options].each do |option| %>
3
+ <div class="radio"><label><input type="radio" value="<%= option[:value] %>" name="<%= field_name %>[<%= field.slug %>][values][]" <%= 'checked' if default_use && option[:default].present? && option[:default] != 'none' %> > <%= option[:title] %></label></div>
4
4
  <% end %>
5
5
  </div>
@@ -1,7 +1,7 @@
1
1
  <div class="group-input-fields-content">
2
- <select name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>>
3
- <% @field.options[:multiple_options].each do |option| %>
4
- <option value="<%= option[:value] %>" <%= 'selected' if @default_use && option[:default].present? %>><%= option[:title] %></option>
2
+ <select name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" >
3
+ <% field.options[:multiple_options].each do |option| %>
4
+ <option value="<%= option[:value] %>" <%= 'selected' if default_use && option[:default].present? %>><%= option[:title] %></option>
5
5
  <% end %>
6
6
  </select>
7
7
  </div>
@@ -1,3 +1,3 @@
1
1
  <div class="group-input-fields-content">
2
- <%= select_tag "#{@field_name}[#{@field.slug}][values][]", instance_eval(@field.options[:command].to_s.strip), class: "form-control input-value #{'required' if @field.options[:required].to_s.to_bool}" %>
2
+ <%= select_tag "#{field_name}[#{field.slug}][values][]", instance_eval(field.options[:command].to_s.strip), class: "form-control input-value #{'required' if field.options[:required].to_s.to_bool}" %>
3
3
  </div>
@@ -1,3 +1,3 @@
1
- <div class="group-input-fields-content" data-callback-function="custom_field_text_area">
2
- <textarea name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value <%= 'is_translate' if @field.options[:translate].to_s.to_bool %> <%= "required" if @field.options[:required].to_s.to_bool %>" rows="6" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>></textarea>
1
+ <div class="group-input-fields-content" data-callback-render="custom_field_text_area">
2
+ <textarea name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= 'is_translate' if field.options[:translate].to_s.to_bool %> <%= "required" if field.options[:required].to_s.to_bool %>" rows="6" ></textarea>
3
3
  </div>
@@ -1,3 +1,3 @@
1
- <div class="group-input-fields-content" data-callback-function="custom_field_text_box">
2
- <input type="text" name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value <%= 'is_translate' if @field.options[:translate].to_s.to_bool %> <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %> />
1
+ <div class="group-input-fields-content" data-callback-render="custom_field_text_box">
2
+ <input type="text" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= 'is_translate' if field.options[:translate].to_s.to_bool %> <%= "required" if field.options[:required].to_s.to_bool %>" />
3
3
  </div>
@@ -1,3 +1,3 @@
1
1
  <div class="group-input-fields-content">
2
- <input type="url" name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control url input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/>
2
+ <input type="url" name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control url input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
3
3
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="group-input-fields-content">
2
- <select name="<%= @field_name %>[<%= @field.slug %>][values][]" class="form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>>
2
+ <select name="<%= field_name %>[<%= field.slug %>][values][]" class="form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" >
3
3
  <option value=""></option>
4
4
  <% current_site.users.all.each do |user| %>
5
5
  <option value="<%= user.id %>"><%= user.fullname %></option>
@@ -1,4 +1,4 @@
1
1
  <div class="group-input-fields-content input-group">
2
- <input type="url" name="<%= @field_name %>[<%= @field.slug %>][values][]" class="data-error-place-parent form-control input-value <%= "required" if @field.options[:required].to_s.to_bool %>" <%= "readonly" if @field.options[:readonly].present? %> <%= "disabled" if @field.options[:disabled].present? %>/>
2
+ <input type="url" name="<%= field_name %>[<%= field.slug %>][values][]" class="data-error-place-parent form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
3
3
  <span class="input-group-addon btn_upload" onclick="load_upload_video_field(this);return false;"><i class="fa fa-upload"></i> <%= t('camaleon_cms.admin.button.upload_video')%></span>
4
4
  </div>
@@ -18,6 +18,14 @@
18
18
  <%= f.label t('camaleon_cms.admin.table.name') %><br>
19
19
  <%= f.text_field :name, :class => "form-control required" %>
20
20
  </div>
21
+ <div class="form-group hidden">
22
+ <%#= f.label t('camaleon_cms.admin.table.slug') %><br>
23
+ <%#= f.text_field :slug, :class => "form-control slug", "data-parent" => 'custom_field_group_name' %>
24
+ </div>
25
+ <div class="form-group">
26
+ <%= f.label t('camaleon_cms.admin.custom_field.custom_group_support_multiple', default: 'Support multiple groups?') %><br>
27
+ <%= f.check_box :is_repeat, :class => "" %>
28
+ </div>
21
29
  <div class="form-group">
22
30
  <%= f.label t('camaleon_cms.admin.table.description') %><br>
23
31
  <%= f.text_area :description, :class => "form-control" %>
@@ -1,8 +1,4 @@
1
- <%
2
- groups = @site.get_field_groups
3
- theme_field_groups = current_theme.get_field_groups
4
- show_theme_tab = (theme_field_groups.present? || File.exist?(current_theme.settings_file)) ? true : false
5
- %>
1
+ <% groups = @site.get_field_groups %>
6
2
  <!-- PAGE CONTENT WRAPPER -->
7
3
  <div class="page-content-wrap">
8
4
  <div class="panel panel-default">
@@ -23,11 +19,6 @@
23
19
  <a data-toggle="tab" role="tab" href="#tab-other-configuration" aria-expanded="false"><%= t('camaleon_cms.admin.post_type.other_configuration') %></a>
24
20
  </li>
25
21
  <% end %>
26
- <% if show_theme_tab %>
27
- <li class="<%= "active" if "theme" == params[:tab] %>">
28
- <a data-toggle="tab" role="tab" href="#tab-theme-configuration" aria-expanded="false"><%= t('camaleon_cms.admin.settings.theme_setting') %></a>
29
- </li>
30
- <% end %>
31
22
  <li class="<%= "active" if "seo" == params[:tab] %>">
32
23
  <a data-toggle="tab" role="tab" href="#tab-seo_settings" aria-expanded="false"><%= t('camaleon_cms.admin.settings.seo_setting') %></a>
33
24
  </li>
@@ -68,16 +59,6 @@
68
59
  <div id="tab-other-configuration" class="<%= "active" if "other_config" == params[:tab] %> tab-pane ">
69
60
  <%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: @site, field_groups: groups} %>
70
61
  </div>
71
- <% end %>
72
- <% if show_theme_tab %>
73
- <div id="tab-theme-configuration" class="<%= "active" if "theme" == params[:tab] %> tab-pane">
74
- <% if File.exist?(current_theme.settings_file) %>
75
- <%= render template: "themes/#{current_theme.settings_file.split('/app/apps/themes/').last}" %>
76
- <%= render(partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups}) unless File.read(current_theme.settings_file).include?('.get_field_groups') %>
77
- <% else %>
78
- <%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups} %>
79
- <% end %>
80
- </div>
81
62
  <% end %>
82
63
  <%= render "seo_settings", f: f %>
83
64
  <%= render "email_settings", f: f %>
@@ -0,0 +1,20 @@
1
+ <% theme_field_groups = current_theme.get_field_groups %>
2
+ <div class="page-content-wrap">
3
+ <div class="panel panel-default">
4
+ <div class="panel-heading">
5
+ <h4><span class="fa fa-cog"></span> <%= t('camaleon_cms.admin.settings.theme_setting') %> </h4>
6
+ </div>
7
+ <%= form_tag url_for({action: :save_theme}), id: "theme_settings_form", class: "panel-body cama_ajax_request validate" do %>
8
+ <% if File.exist?(current_theme.settings_file) %>
9
+ <%= render template: "themes/#{current_theme.settings_file.split('/app/apps/themes/').last}" %>
10
+ <%= render(partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups}) unless File.read(current_theme.settings_file).include?('.get_field_groups') %>
11
+ <% else %>
12
+ <%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: theme_field_groups} %>
13
+ <% end %>
14
+
15
+ <div class="panel-footer">
16
+ <button class="btn btn-primary pull-right" type="submit"><%= t('camaleon_cms.admin.button.submit') %></button>
17
+ </div>
18
+ <% end %>
19
+ </div>
20
+ </div>
@@ -18,7 +18,7 @@
18
18
  <% rol_values_post_type = @user_role.new_record? ? {} : @user_role.get_meta("_post_type_#{current_site.id.to_s}") %>
19
19
  <% rol_values_manager = @user_role.new_record? ? {} : @user_role.get_meta("_manager_#{current_site.id.to_s}") %>
20
20
  <div id="contents-checkbox" class="form-horizontal">
21
- <div class="form-group">
21
+ <div class="">
22
22
  <table class="table table-responsive table-hover table-striped">
23
23
  <thead>
24
24
  <tr>
@@ -60,7 +60,7 @@
60
60
  </table>
61
61
  </div>
62
62
 
63
- <div class="form-group">
63
+ <div class="">
64
64
  <h5><%= t('camaleon_cms.admin.users.others_permissions')%></h5>
65
65
  <div class="row">
66
66
  <% values = rol_values_manager || {} %>
@@ -1 +0,0 @@
1
- <%= render partial: "camaleon_cms/admin/settings/custom_fields/render", locals: {record: current_theme, field_groups: current_theme.get_field_groups, fields_name: "theme_fields"} %>
@@ -16,8 +16,6 @@
16
16
  <% if signin? %>
17
17
  <%= form_for post, url:{action: :save_comment, post_id: post.id}, html: {method: "post", class: "form-comment"} do |f|%>
18
18
  <%= render partial: "camaleon_cms/flash_messages" %>
19
- <input type="hidden" name="post_comment[post_id]" value="<%= post.id %>">
20
- <input type="hidden" name="slug" value="<%= post.slug %>">
21
19
  <div class="form-group">
22
20
  <textarea id="textarea_comments" name="post_comment[content]" class="form-control counted" placeholder="<%= ct('comment', default: 'Here your comment')%>"></textarea>
23
21
  </div>
@@ -2,7 +2,7 @@
2
2
  <div class="input-group">
3
3
  <input type="text" name="q" class="form-control" placeholder="<%= ct("search", default: 'Search here') %>...">
4
4
  <div class="input-group-btn">
5
- <button type="submit" class="btn"><i class="fa fa-search"></i></button>
5
+ <button type="submit" class="btn"><i class="glyphicon glyphicon-search"></i></button>
6
6
  </div>
7
7
  </div>
8
8
  <% end %>
@@ -11,7 +11,7 @@
11
11
  <div class="panel panel-default">
12
12
  <div class="panel-heading"><%= ct("categories", default: 'Categories') %></div>
13
13
  <div class="panel-body">
14
- <ul>
14
+ <ul style="list-style-position: inside">
15
15
  <% categories.each do |cat| %>
16
16
  <li><a href="<%= cat.the_url %>"><%= cat.the_title %></a></li>
17
17
  <% end %>
@@ -26,7 +26,7 @@
26
26
  <%= ct("latest_articles", default: 'Latest Articles') %>
27
27
  </div>
28
28
  <div class="panel-body">
29
- <ul>
29
+ <ul style="list-style-position: inside">
30
30
  <% current_site.the_posts("post").latest.limit(7).decorate.each do |p| %>
31
31
  <li><a href="<%= p.the_url %>"><%= p.the_title %></a></li>
32
32
  <% end %>
@@ -41,7 +41,7 @@
41
41
  <%= ct("related_articles", default: 'Related Articles') %>
42
42
  </div>
43
43
  <div class="panel-body">
44
- <ul>
44
+ <ul style="list-style-position: inside">
45
45
  <% post.the_related_posts.latest.limit(7).decorate.each do |p| %>
46
46
  <li><a href="<%= p.the_url %>"><%= p.the_title %></a></li>
47
47
  <% end %>
@@ -3,7 +3,7 @@
3
3
  <div class="col-md-6"><strong>Copyright &copy; 2015-2016 <a href="http://camaleon.tuzitio.com">Camaleon CMS.</a> </strong></div>
4
4
  <div class="col-md-6 hidden-xs">
5
5
  <div class="pull-left">
6
- <a id="link_see_intro" href="#" onclick="init_intro(); return false;"><i class="fa fa-tv"></i> See Intro.</a>
6
+ <a id="link_see_intro" href="#" onclick="init_intro(); return false;"><i class="fa fa-tv"></i> <%= I18n.t('camaleon_cms.see_intro') %>.</a>
7
7
  </div>
8
8
  <div class="pull-right">
9
9
  <b>Version </b><%= CamaleonCms::VERSION %>
@@ -10,14 +10,17 @@
10
10
  # this is a customization to support multiple prefix to render partials
11
11
  module ActionView
12
12
  class LookupContext #:nodoc:
13
+ attr_accessor :use_camaleon_partial_prefixes
13
14
  module ViewPaths
14
15
  # fix to add camaleon prefix to search partials and layouts
15
16
  def find(name, prefixes = [], partial = false, keys = [], options = {})
16
- if !partial && !prefixes.present? && File.exist?(name) # fix for windows ==> render file: '....'
17
- #puts "rendering specific file (render file: '....')"
18
- else
19
- prefixes = [""] unless prefixes.present?
20
- prefixes = self.prefixes + prefixes if prefixes.is_a?(Array)
17
+ if use_camaleon_partial_prefixes.present?
18
+ if !partial && !prefixes.present? && File.exist?(name) # fix for windows ==> render file: '....'
19
+ #puts "rendering specific file (render file: '....')"
20
+ else
21
+ prefixes = [""] unless prefixes.present?
22
+ prefixes = (self.prefixes + prefixes).uniq if prefixes.is_a?(Array)
23
+ end
21
24
  end
22
25
  @view_paths.find(*args_for_lookup(name, prefixes, partial, keys, options))
23
26
  end
@@ -25,8 +28,10 @@ module ActionView
25
28
 
26
29
  # fix to add camaleon prefixes on verify template exist
27
30
  def exists?(name, prefixes = [], partial = false, keys = [], options = {})
28
- prefixes = [""] unless prefixes.present?
29
- prefixes += self.prefixes if prefixes.is_a?(Array)
31
+ if use_camaleon_partial_prefixes.present?
32
+ prefixes = [""] unless prefixes.present?
33
+ prefixes = (prefixes+self.prefixes).uniq if prefixes.is_a?(Array)
34
+ end
30
35
  @view_paths.exists?(*args_for_lookup(name, prefixes, partial, keys, options))
31
36
  end
32
37
  alias :template_exists? :exists?
@@ -7,18 +7,12 @@
7
7
  See the GNU Affero General Public License (GPLv3) for more details.
8
8
  =end
9
9
  # load all custom initializers of plugins or themes
10
- if defined?(PluginRoutes)
11
- PluginRoutes.all_enabled_apps.each do |ap|
12
- if ap["path"].present?
13
- f = File.join(ap["path"], "config", "initializer.rb")
14
- eval(File.read(f)) if File.exist?(f)
15
- end
16
- end
17
- end
10
+ PluginRoutes.all_apps.each do |ap|
11
+ if ap["path"].present?
12
+ f = File.join(ap["path"], "config", "initializer.rb")
13
+ eval(File.read(f)) if File.exist?(f)
18
14
 
19
- require 'base64'
20
- Base64.class_eval do
21
- def self.un_obfuscate(str)
22
- Base64.decode64(str.slice(5..-1))
15
+ f = File.join(ap["path"], "config", "custom_models.rb")
16
+ eval(File.read(f)) if File.exist?(f)
23
17
  end
24
18
  end
@@ -1,5 +1,6 @@
1
1
  en:
2
2
  camaleon_cms:
3
+ see_intro: "See intro"
3
4
  welcome_message: "Welcome to Camaleon CMS"
4
5
  page_not_exist: "<h1>ooops...</h1><h5>The page you're looking for does not exist.</h5>"
5
6
  page_error_500: "<h1>ooops...</h1><h5>Error 500 Internal Server Error. Please contact to the administrator.</h5>"
@@ -3,11 +3,13 @@ es:
3
3
  camaleon_cms:
4
4
  welcome_message: "Bienvenido a Camaleon CMS"
5
5
  captcha_placeholder: 'Por favor ingrese el texto de la imagen'
6
+ errors_found_msg: 'Se encontraron varios errores, por favor verifique.'
6
7
  admin:
7
8
  request_error_message: "Un error a ocurrido, por favor contacte con el administrador."
8
9
  button:
9
10
  activity: 'Actividad'
10
11
  add_new_field: 'Añadir nuevo campo'
12
+ add_new_group: 'Añadir nuevo grupo'
11
13
  add_option: 'Añadir opción'
12
14
  add_menu: 'Añadir Menú'
13
15
  update_menu: 'Actualizar Menú'
@@ -89,6 +91,7 @@ es:
89
91
  reply_comment: 'Responder Comentario'
90
92
  delete_comment: 'Eliminar Comentario'
91
93
  custom_field:
94
+ custom_group_support_multiple: 'Soporta multiple grupos?'
92
95
  message:
93
96
  custom_group_error: 'Error grupo de campos personalizados'
94
97
  custom_created: 'El grupo de campos personalizados se ha creado.'
@@ -353,6 +356,7 @@ es:
353
356
  options_select: 'Selecciones opciones'
354
357
  option_title: 'Opción Título'
355
358
  comment_status: 'Registrar comentarios como aprobados?'
359
+ comment_anonymous: 'Permitir comentarios anónimos'
356
360
  list_per_page_front: 'Cantidad de items para listar en panel público'
357
361
  list_per_page_admin: 'Cantidad de items para listar en panel admin'
358
362
  please_separated_commas: 'Por favor, separar por comas'
@@ -582,27 +582,4 @@ it:
582
582
  deleted: 'Widget eliminato.'
583
583
  error_created: 'Widget non creato.'
584
584
  error_updated: 'Widget non aggiornato.'
585
- not_registered_widgets: 'Non ci sono widget registrati'
586
-
587
- plugin:
588
- contact_form:
589
- contact_form: 'Form di contatto'
590
- add_form: 'Aggiungi form'
591
- label_required: "ergoineroinregfoin"
592
- placeholder_required: "rofmfvopfrmpvo"
593
- list: 'Lista'
594
- name: 'Nome'
595
- description: 'Descrizione'
596
- slug: 'Slug'
597
- shortcode: 'Shortcode'
598
- count: 'Contatore'
599
- actions: 'Azioni'
600
- msg_data_found_list: 'Nessun messaggio trovato'
601
- button:
602
- back: 'Indietro'
603
- submit: 'Conferma'
604
- attack:
605
- settings: 'Impostazioni'
606
- front_cache:
607
- settings: 'Impostazioni'
608
- clean_cache: 'Pulisci Cache'
585
+ not_registered_widgets: 'Non ci sono widget registrati'
@@ -40,6 +40,47 @@ en:
40
40
  url: "URL"
41
41
  root: "root"
42
42
 
43
+ pt-BR:
44
+ camaleon_cms:
45
+ admin:
46
+ js:
47
+ msg:
48
+ approved: 'Aprovado'
49
+ draft: 'Rascunho salvo com sucesso'
50
+ updated_success: 'Atualizado com sucesso'
51
+ edit_menu: 'Posicione cada item na ordem de sua preferência. Clique no ícone do lápis para editar o item e clique no formato de X para deletar o item.'
52
+ delete_item: 'Realmente deseja deletar esse item?'
53
+ remove_items_submenu: 'Realmente deseja remover esse item e seus sub menu items?'
54
+ you_must_upload_image: 'Você deve fazer o upload de uma image'
55
+ you_must_upload_video: 'Você deve fazer o upload de um vídeo'
56
+ no_response_fields: 'Não há campos de resposta '
57
+ you_must_upload_json_file: 'Você deve fazer o upload de um JSON'
58
+ no_templates_defined: 'Não há templates definidos'
59
+ avatar_updated: 'Avatar Atualizado'
60
+ form_error: 'Erro no Form'
61
+ option_title: 'Título de Opção'
62
+ permalink: 'Link Permanente'
63
+ recover: 'Recuperando...'
64
+ type_contents: 'Conteúdo de Tipo'
65
+ confirm_del: "Tem certeza que deseja deletar esse item?"
66
+ media_title: 'Uploader de Mídia'
67
+
68
+ button:
69
+ edit: "Editar"
70
+ accept: "Aceitar"
71
+ cancel: "Cancelar"
72
+ delete: "Deletar"
73
+ clone: "Clonar"
74
+ add_tag: 'Adicionar Tag'
75
+ close: 'Fechar'
76
+ settings: 'Configurações'
77
+ save: "Salvar"
78
+ submit: "Submeter"
79
+ name: "Nome"
80
+ size: "Tamanho"
81
+ insert: "Inserir"
82
+ url: "URL"
83
+ root: "raiz"
43
84
  es:
44
85
  camaleon_cms:
45
86
  admin:
@@ -1,8 +1,14 @@
1
1
  # pt-BR translations for Camaleon CMS by Igor_portela
2
- pt_br:
2
+ pt-BR:
3
3
  camaleon_cms:
4
- camaleon_message: "Bem-vindo ao Camaleon CMS"
4
+ see_intro: "Ver introdução"
5
+ welcome_message: "Bem-vindo ao Camaleon CMS"
6
+ captcha_placeholder: 'Por favor, digite o texto da imagem'
7
+ page_not_exist: "<h1>ooops...</h1><h5>A página que você procura não existe.</h5>"
8
+ page_error_500: "<h1>ooops...</h1><h5>Erro tipo 500 - Erro interno de servidor. Por favor, contate o administrador.</h5>"
5
9
  admin:
10
+ request_error_message: "Um erro ocorreu, por favor contate o administrador."
11
+ authorization_error: "Você não possui autorização para essa seção."
6
12
  header:
7
13
  member_since: "Membro desde %{time}"
8
14
  button:
@@ -34,10 +40,11 @@ pt_br:
34
40
  not_actived: 'Desativado'
35
41
  publish: 'Publicar'
36
42
  preview: 'Visualização'
37
- proccess: 'Processo'
43
+ proccess: 'Enviar'
38
44
  recover: 'Recuperar'
39
45
  restore: 'Restaurar'
40
46
  restore_selections: 'Restaurar seleções'
47
+ search: 'Procurar'
41
48
  select: 'Selecionar'
42
49
  select_all: 'Selecionar Tudo'
43
50
  select_file: 'Selecionar Arquivo'
@@ -126,14 +133,19 @@ pt_br:
126
133
  subject_email: 'Restabeleça seu acesso'
127
134
  send_mail_succes: 'Email de redefinição enviado com sucesso.'
128
135
  send_mail_error: 'Nenhum endereço de email encontrado.'
136
+ invalid_caption: 'Catpcha Inválido'
137
+ email_not_validated: 'Email não foi validado'
138
+ confirm_email_token_incorrect: 'URL incorreta'
139
+ confirm_email_token_expired: 'URL de confirmação expirou'
140
+ confirm_email_success: 'Email confirmado com sucesso'
129
141
  personal_info: 'Informações pessoais'
130
- please_login: 'Por favor entre'
142
+ please_login: 'Por favor faça login para prosseguir'
131
143
  reset_password: 'Redefinir senha'
132
144
  reCaptcha: 'reCaptcha'
133
145
  send_email: 'Enviar email'
134
146
  reset_password_html: '<strong>Enviar email</strong>, redefinir senha'
135
147
  welcome: 'Bem-vindo'
136
- welcome_login_html: '<strong>Bem-vindo</strong>, Por favor entre'
148
+ welcome_login_html: '<strong>Bem-vindo</strong>, por favor faça login para prosseguir'
137
149
  do_not_have_account_yet: "Não tem uma conta ainda?"
138
150
  msg_registration_html: '<strong>Inscrição</strong>, use o formulário abaixo'
139
151
  username: "Usuário"
@@ -212,7 +224,7 @@ pt_br:
212
224
  add_tag: 'Adicionar uma tag'
213
225
  clone: 'Clonar'
214
226
  clone_content: 'Clonar conteúdo'
215
- label_required: 'Etiqueta(label) necessária'
227
+ label_required: 'Tag(label) necessária'
216
228
  placeholder_required: 'Placeholder necessário'
217
229
  message:
218
230
  created: 'O %{post_type} foi criado.'
@@ -221,7 +233,7 @@ pt_br:
221
233
  error: 'Erro %{post_type}'
222
234
  error_post_type: 'Erro %{post_type}'
223
235
  trash: 'O %{post_type} foi movido para lixeira.'
224
- requires_different_slug: 'Slug diferente é necessário'
236
+ requires_different_slug: 'É necessário que o slug seja único'
225
237
  restore: 'O %{post_type} foi restaurado.'
226
238
  draft: 'Rascunho salvo com sucesso'
227
239
  recover: 'Recuperar...'
@@ -244,6 +256,9 @@ pt_br:
244
256
  enter_password: 'Entre com a senha'
245
257
  featured_image: 'Imagem destacada'
246
258
  keywords: 'Palavras-chave'
259
+ default_layout: 'Layout Padrão'
260
+ default_template: 'Template Padrão'
261
+ icon: 'Ícone'
247
262
  message:
248
263
  error: 'Erro de classe'
249
264
  error_term: 'Erro de termo de classe'
@@ -274,6 +289,7 @@ pt_br:
274
289
  permission_add_image_presentation: 'Permissão para adicionar uma imagem de apresentação'
275
290
  permission_manage_template: 'Permissão gerenciar Template'
276
291
  permission_add_keywords: 'Permissão para adicionar palavras-chave'
292
+ permission_to_support_parent_structure: 'Permitir o post indicar página pai'
277
293
  upload_image: 'Carregar imagem'
278
294
  view_comments: 'Ver comentários'
279
295
  plugins:
@@ -284,6 +300,10 @@ pt_br:
284
300
  type_contents: 'Tipo de conteúdo'
285
301
  upgrade_to: "Atualizar para"
286
302
  settings:
303
+ aws: "Salvar arquivos na Amazon"
304
+ filesystem_settings: "Configurações de arquivos"
305
+ filesystem_thumb_size: "Tamanho do thumbnail [100x100]"
306
+ filesystem_max_file_size: "Tamanho máximo do arquivo para Upload [MB]"
287
307
  activate_create_account: 'Ative criar conta'
288
308
  activate_login_social_networks: 'Ative login por meio de redes sociais'
289
309
  add_field_group: 'Adicionar grupo de campo'
@@ -321,6 +341,13 @@ pt_br:
321
341
  author: "Nome do autor"
322
342
  seo_setting: "Configurações SEO"
323
343
  email_settings: "Configurações de Email (SMTP)"
344
+ filesystem_type: "Tipo de sistema de arquivos"
345
+ filesystem_s3_access_key: "Chave de acesso da AWS S3"
346
+ filesystem_s3_secret_key: "Chave secreta da AWS S3"
347
+ filesystem_s3_bucket_name: "Nome do Bucket da AWS S3"
348
+ filesystem_s3_endpoint: "Endpoint do bucket da AWS S3"
349
+ filesystem_region: "Região da AWS S3"
350
+ filesystem_cdn: "Url da CDN"
324
351
  security:
325
352
  captcha_user_register: "Habilitar captcha no registro de usuários"
326
353
  message:
@@ -353,6 +380,7 @@ pt_br:
353
380
  appearance: 'Aparência'
354
381
  comments: 'Comentários'
355
382
  content: 'Conteúdo'
383
+ contents: 'Conteúdos'
356
384
  content_groups: 'Gupos de conteúdo'
357
385
  custom_fields: 'Campos personalizados'
358
386
  dashboard: 'Painel'
@@ -421,6 +449,7 @@ pt_br:
421
449
  hide: 'Esconder'
422
450
  home_page: 'Página inicial'
423
451
  has_keywords: 'Tem palavras-chave'
452
+ manage_keywords: 'Gerenciar Palavras Chave'
424
453
  id: 'ID'
425
454
  images: 'Imagens'
426
455
  import: 'Importar'
@@ -434,12 +463,13 @@ pt_br:
434
463
  linkedin: 'Linkedin'
435
464
  login: 'Login'
436
465
  logo: 'Logo'
437
- manage_category: 'Genrenciar Categoria'
438
- manage_content: 'Genrenciar Conteúdo'
439
- manage_picture: 'Genrenciar Imagem'
440
- manage_summary: 'Genrenciar Resumo'
441
- manage_tags: 'Genrenciar Tags'
442
- manage_template: 'Genrenciar Template'
466
+ manage_category: 'Gerenciar Categoria'
467
+ manage_content: 'Gerenciar Conteúdo'
468
+ manage_picture: 'Gerenciar Imagem'
469
+ manage_summary: 'Gerenciar Resumo'
470
+ manage_tags: 'Gerenciar Tags'
471
+ manage_template: 'Gerenciar Template'
472
+ manage_layout: 'Gerenciar Layout'
443
473
  modified: 'Modificado'
444
474
  multiple_field_int: 'Campo múltiplo?'
445
475
  required_field_int: 'Campo obrigatório?'
@@ -463,10 +493,10 @@ pt_br:
463
493
  public: 'Público'
464
494
  qty: 'Quantidade'
465
495
  quick_info: 'Informação rápida'
466
- registration: 'Registration'
467
- repeat_new: 'Repeat New'
468
- role: 'Role'
469
- slogan: 'Slogan'
496
+ registration: 'Registro'
497
+ repeat_new: 'Repetir Novo'
498
+ role: 'Cargo'
499
+ slogan: 'Descrição'
470
500
  slug: 'Slug'
471
501
  short_code: 'Short Code'
472
502
  site_name: 'Nome do Site'
@@ -608,4 +638,4 @@ pt_br:
608
638
  custom_fields: "Esta seção permite você extender facilmente seu conteúdo, temas, ... por campos personalizados."
609
639
  post_type: "Neste módulo você pode gerenciar grupos de conteúdos sem programar nada."
610
640
  languages: "Este módulo permite você gerenciar todos os idiomas para seu site. Você também pode configurar o idioma para seu painel administrativo."
611
- shortcodes: "Nesta seção você pode ver todos os atalhos (shortcodes) disposníveis para usar no seu conteúdo."
641
+ shortcodes: "Nesta seção você pode ver todos os atalhos (shortcodes) disposníveis para usar no seu conteúdo."