camaleon_cms 1.1.0 → 2.0.1

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 (635) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -60
  3. data/app/apps/plugins/attack/admin_controller.rb +1 -1
  4. data/app/apps/plugins/attack/attack_helper.rb +4 -4
  5. data/app/apps/plugins/attack/config/config.json +1 -1
  6. data/app/apps/plugins/attack/config/custom_models.rb +1 -1
  7. data/app/apps/plugins/attack/views/admin/settings.html.erb +2 -2
  8. data/app/apps/plugins/contact_form/admin_forms_controller.rb +8 -7
  9. data/app/apps/plugins/contact_form/config/custom_models.rb +1 -1
  10. data/app/apps/plugins/contact_form/contact_form_helper.rb +4 -5
  11. data/app/apps/plugins/contact_form/contact_form_html_helper.rb +2 -2
  12. data/app/apps/plugins/contact_form/front_controller.rb +1 -1
  13. data/app/apps/plugins/contact_form/views/admin_forms/_form.html.erb +5 -5
  14. data/app/apps/plugins/contact_form/views/admin_forms/edit.html.erb +19 -35
  15. data/app/apps/plugins/contact_form/views/admin_forms/index.html.erb +3 -3
  16. data/app/apps/plugins/contact_form/views/admin_forms/responses.html.erb +6 -13
  17. data/app/apps/plugins/contact_form/views/forms_shorcode.html.erb +1 -1
  18. data/app/apps/plugins/contact_form/views/front/index.html.erb +1 -1
  19. data/app/apps/plugins/front_cache/admin_controller.rb +1 -1
  20. data/app/apps/plugins/front_cache/config/initializer.rb +1 -1
  21. data/app/apps/plugins/front_cache/front_cache_helper.rb +37 -42
  22. data/app/apps/plugins/front_cache/views/admin/settings.html.erb +3 -3
  23. data/app/apps/plugins/visibility_post/config/config.json +1 -1
  24. data/app/apps/plugins/visibility_post/visibility_post_helper.rb +21 -23
  25. data/app/apps/themes/camaleon_first/assets/css/main.css +1 -1
  26. data/app/apps/themes/camaleon_first/assets/js/main.js +1 -1
  27. data/app/apps/themes/camaleon_first/views/admin/settings.html.erb +1 -1
  28. data/app/apps/themes/default/views/admin/settings.html.erb +1 -1
  29. data/app/apps/themes/default/views/category.html.erb +1 -1
  30. data/app/apps/themes/default/views/layouts/index.html.erb +7 -7
  31. data/app/apps/themes/default/views/partials/_comments.html.erb +1 -1
  32. data/app/apps/themes/default/views/partials/_forms.html.erb +2 -2
  33. data/app/apps/themes/default/views/partials/_search_form.html.erb +4 -4
  34. data/app/apps/themes/default/views/post_tag.html.erb +1 -1
  35. data/app/apps/themes/default/views/post_type.html.erb +1 -1
  36. data/app/apps/themes/default/views/search.html.erb +1 -1
  37. data/app/apps/themes/new/assets/js/main.js +0 -1
  38. data/app/apps/themes/new/views/admin/settings.html.erb +1 -1
  39. data/app/apps/themes/new/views/category.html.erb +1 -1
  40. data/app/apps/themes/new/views/layouts/_footer.html.erb +0 -1
  41. data/app/apps/themes/new/views/layouts/_header.html.erb +7 -7
  42. data/app/apps/themes/new/views/layouts/index.html.erb +0 -1
  43. data/app/apps/themes/new/views/partials/_comments.html.erb +1 -1
  44. data/app/apps/themes/new/views/partials/_forms.html.erb +2 -2
  45. data/app/apps/themes/new/views/partials/_search_form.html.erb +2 -3
  46. data/app/apps/themes/new/views/post_tag.html.erb +1 -1
  47. data/app/apps/themes/new/views/post_type.html.erb +1 -1
  48. data/app/apps/themes/new/views/search.html.erb +1 -1
  49. data/app/assets/fonts/{glyphicons-halflings-regular.eot → camaleon_cms/glyphicons-halflings-regular.eot} +0 -0
  50. data/app/assets/fonts/{glyphicons-halflings-regular.svg → camaleon_cms/glyphicons-halflings-regular.svg} +0 -0
  51. data/app/assets/fonts/{glyphicons-halflings-regular.ttf → camaleon_cms/glyphicons-halflings-regular.ttf} +0 -0
  52. data/app/assets/fonts/{glyphicons-halflings-regular.woff → camaleon_cms/glyphicons-halflings-regular.woff} +0 -0
  53. data/app/assets/images/camaleon_cms/admin/admin_spinner.gif +0 -0
  54. data/app/assets/images/{admin → camaleon_cms/admin}/glyphicons-halflings.png +0 -0
  55. data/app/assets/images/{admin → camaleon_cms/admin}/intro/menus.png +0 -0
  56. data/app/assets/images/{admin → camaleon_cms/admin}/no_image.jpg +0 -0
  57. data/app/assets/images/{bg-tree.jpeg → camaleon_cms/bg-tree.jpeg} +0 -0
  58. data/app/assets/images/{camaleon-dark.png → camaleon_cms/camaleon-dark.png} +0 -0
  59. data/app/assets/images/camaleon_cms/camaleon.png +0 -0
  60. data/app/assets/images/{category-icon.png → camaleon_cms/category-icon.png} +0 -0
  61. data/app/assets/images/camaleon_cms/favicon.ico +0 -0
  62. data/app/assets/images/{image-not-found.png → camaleon_cms/image-not-found.png} +0 -0
  63. data/app/assets/images/{language → camaleon_cms/language}/de.png +0 -0
  64. data/app/assets/images/{language → camaleon_cms/language}/en.png +0 -0
  65. data/app/assets/images/{language → camaleon_cms/language}/es.png +0 -0
  66. data/app/assets/images/{language → camaleon_cms/language}/fr.png +0 -0
  67. data/app/assets/images/{language → camaleon_cms/language}/it.png +0 -0
  68. data/app/assets/images/{language → camaleon_cms/language}/pt.png +0 -0
  69. data/app/assets/images/camaleon_cms/language/pt_br.png +0 -0
  70. data/app/assets/images/{language → camaleon_cms/language}/zh.png +0 -0
  71. data/app/assets/images/{loader.gif → camaleon_cms/loader.gif} +0 -0
  72. data/app/assets/images/{users → camaleon_cms/users}/no-image.jpg +0 -0
  73. data/app/assets/javascripts/{admin/actions.js → camaleon_cms/admin/_actions.js} +3 -5
  74. data/app/assets/javascripts/camaleon_cms/admin/_custom_fields.js +178 -0
  75. data/app/assets/javascripts/{admin/data.js → camaleon_cms/admin/_data.js} +4 -9
  76. data/app/assets/javascripts/{admin/i18n.js → camaleon_cms/admin/_i18n.js} +10 -4
  77. data/app/assets/javascripts/{admin/jquery-ui.min.js → camaleon_cms/admin/_jquery-ui.min.js} +0 -0
  78. data/app/assets/javascripts/camaleon_cms/admin/_jquery.slugify.js +67 -0
  79. data/app/assets/javascripts/{admin/jquery.tagsinput.min.js → camaleon_cms/admin/_jquery.tagsinput.min.js} +0 -0
  80. data/app/assets/javascripts/camaleon_cms/admin/_libraries.js +339 -0
  81. data/app/assets/javascripts/{admin/modal.js → camaleon_cms/admin/_modal.js} +42 -25
  82. data/app/assets/javascripts/camaleon_cms/admin/_post.js +303 -0
  83. data/app/assets/javascripts/{admin/translator.js → camaleon_cms/admin/_translator.js} +4 -3
  84. data/app/assets/javascripts/{admin/underscore.js → camaleon_cms/admin/_underscore.js} +0 -0
  85. data/app/assets/javascripts/camaleon_cms/admin/admin-basic-manifest.js +3 -0
  86. data/app/assets/javascripts/{admin → camaleon_cms/admin}/admin-manifest.js +23 -18
  87. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-colorpicker.js +0 -0
  88. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-datepicker.js +0 -0
  89. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-datetimepicker.min.js +0 -0
  90. data/app/assets/javascripts/{admin → camaleon_cms/admin}/bootstrap-select.js +0 -0
  91. data/app/assets/javascripts/camaleon_cms/admin/custom_fields_form.js +69 -0
  92. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form-builder/formbuilder.js +0 -0
  93. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form-builder/vendor.js +0 -0
  94. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form/cropper.min.js +0 -0
  95. data/app/assets/javascripts/{admin → camaleon_cms/admin}/form/jquery.form.js +0 -0
  96. data/app/assets/javascripts/{admin/introjs/intro.min.js → camaleon_cms/admin/introjs/_intro.min.js} +0 -0
  97. data/app/assets/javascripts/{admin → camaleon_cms/admin}/jquery-sieve.js +0 -0
  98. data/app/assets/javascripts/{admin → camaleon_cms/admin}/jquery.nestable.js +0 -0
  99. data/app/assets/javascripts/{admin → camaleon_cms/admin}/jquery.validate.js +0 -0
  100. data/app/assets/javascripts/{admin → camaleon_cms/admin/jquery_validate}/es.js +0 -0
  101. data/app/assets/javascripts/{admin → camaleon_cms/admin/jquery_validate}/it.js +0 -0
  102. data/app/assets/javascripts/camaleon_cms/admin/jquery_validate/pt_br.js +74 -0
  103. data/app/assets/javascripts/{admin → camaleon_cms/admin}/login.js.coffee +0 -0
  104. data/app/assets/javascripts/{admin → camaleon_cms/admin}/login_manifest.js +0 -0
  105. data/app/assets/javascripts/{admin → camaleon_cms/admin}/lte/app.js +0 -0
  106. data/app/assets/javascripts/{admin → camaleon_cms/admin}/nav-menu.js +5 -0
  107. data/app/assets/javascripts/{admin → camaleon_cms/admin}/plugins.js +0 -0
  108. data/app/assets/javascripts/{admin/tageditor/jquery.caret.min.js → camaleon_cms/admin/tageditor/_jquery.caret.min.js} +0 -0
  109. data/app/assets/javascripts/{admin/tageditor/jquery.tag-editor.js → camaleon_cms/admin/tageditor/_jquery.tag-editor.js} +0 -0
  110. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/en.js +0 -0
  111. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/es.js +0 -0
  112. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/it.js +0 -0
  113. data/app/assets/javascripts/camaleon_cms/admin/tinymce/langs/pt_br.js +219 -0
  114. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/langs/readme.md +0 -0
  115. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
  116. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
  117. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
  118. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
  119. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
  120. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
  121. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
  122. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
  123. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
  124. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
  125. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
  126. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
  127. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
  128. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
  129. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
  130. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
  131. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/filemanager/plugin.min.js +3 -4
  132. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/plugins/visualblocks/css/visualblocks.css +0 -0
  133. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/content.min.css.scss +2 -2
  134. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
  135. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.svg +0 -0
  136. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
  137. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
  138. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  139. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.svg +0 -0
  140. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  141. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  142. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/anchor.gif +0 -0
  143. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/loader.gif +0 -0
  144. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/object.gif +0 -0
  145. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/skins/lightgray/img/trans.gif +0 -0
  146. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/themes/modern/theme.min.js +0 -0
  147. data/app/assets/javascripts/{admin → camaleon_cms/admin}/tinymce/tinymce.min.js +0 -0
  148. data/app/assets/javascripts/camaleon_cms/admin/uploader/_jquery.uploadfile.min.js +8 -0
  149. data/app/assets/javascripts/camaleon_cms/admin/uploader/_media_manager.js.coffee +161 -0
  150. data/app/assets/javascripts/camaleon_cms/admin/uploader/uploader_manifest.js +2 -0
  151. data/app/assets/javascripts/camaleon_cms/admin/user_profile.js +70 -0
  152. data/app/assets/javascripts/{bootstrap.min.js → camaleon_cms/bootstrap.min.js} +0 -0
  153. data/app/assets/javascripts/{gibberish-aes.js → camaleon_cms/gibberish-aes.js} +0 -0
  154. data/app/assets/stylesheets/camaleon_cms/admin/_custom_admin.css.scss +267 -0
  155. data/app/assets/stylesheets/{admin/jquery.tagsinput.css → camaleon_cms/admin/_jquery.tagsinput.css} +0 -0
  156. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/admin-basic-manifest.css +3 -3
  157. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/admin-manifest.css +16 -8
  158. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/bootstrap-datepicker.css.scss +0 -0
  159. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/bootstrap-datetimepicker.css.scss +1 -1
  160. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/colorpicker.css.scss +4 -4
  161. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/cropper/cropper.min.css +0 -0
  162. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/form-builder/formbuilder.css +0 -0
  163. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/bg.png +0 -0
  164. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/colorpicker/alpha.png +0 -0
  165. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/colorpicker/hue.png +0 -0
  166. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/colorpicker/saturation.png +0 -0
  167. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/girls-1.jpg +0 -0
  168. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/jquery/resize-icon.png +0 -0
  169. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/loading.gif +0 -0
  170. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/logo-small.png +0 -0
  171. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/logo.png +0 -0
  172. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/no_image.jpg +0 -0
  173. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/rormeleon-white.png +0 -0
  174. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/img/thumb_no_found.jpg +0 -0
  175. data/app/assets/stylesheets/{admin/introjs/introjs.min.css → camaleon_cms/admin/introjs/_introjs.min.css} +0 -0
  176. data/app/assets/stylesheets/{admin/jquery/jquery-ui.scss → camaleon_cms/admin/jquery/_jquery-ui.scss} +16 -16
  177. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  178. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  179. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  180. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  181. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  182. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  183. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  184. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  185. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_222222_256x240.png +0 -0
  186. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  187. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_454545_256x240.png +0 -0
  188. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_888888_256x240.png +0 -0
  189. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  190. data/app/assets/stylesheets/{admin/lte/admin.css.scss → camaleon_cms/admin/lte/_admin.css.scss} +4 -0
  191. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-black-light.css +0 -0
  192. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-black.css +0 -0
  193. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-blue-light.css +0 -0
  194. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-blue.css +0 -0
  195. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-green-light.css +0 -0
  196. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-green.css +0 -0
  197. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-purple-light.css +0 -0
  198. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-purple.css +0 -0
  199. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-red-light.css +0 -0
  200. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-red.css +0 -0
  201. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-yellow-light.css +0 -0
  202. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/lte/skins/skin-yellow.css +0 -0
  203. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/nav-menu.css.scss +0 -0
  204. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/nestable/jquery.nestable.css +0 -0
  205. data/app/assets/stylesheets/{admin/tageditor/jquery.tag-editor.css.scss → camaleon_cms/admin/tageditor/_jquery.tag-editor.css.scss} +0 -0
  206. data/app/assets/stylesheets/camaleon_cms/admin/uploader/_uploadfile.css.scss +253 -0
  207. data/app/assets/stylesheets/{admin → camaleon_cms/admin}/widgets.css.scss +0 -0
  208. data/app/assets/stylesheets/camaleon_cms/bootstrap.min.css.scss +5 -0
  209. data/app/controllers/{admin → camaleon_cms/admin}/appearances/nav_menus_controller.rb +14 -11
  210. data/app/controllers/{admin → camaleon_cms/admin}/appearances/themes_controller.rb +4 -2
  211. data/app/controllers/{admin → camaleon_cms/admin}/appearances/widgets/assign_controller.rb +5 -5
  212. data/app/controllers/{admin → camaleon_cms/admin}/appearances/widgets/main_controller.rb +8 -6
  213. data/app/controllers/{admin → camaleon_cms/admin}/appearances/widgets/sidebar_controller.rb +9 -9
  214. data/app/controllers/{admin → camaleon_cms/admin}/categories_controller.rb +18 -10
  215. data/app/controllers/camaleon_cms/admin/comments_controller.rb +97 -0
  216. data/app/controllers/{admin → camaleon_cms/admin}/installers_controller.rb +10 -10
  217. data/app/controllers/camaleon_cms/admin/media_controller.rb +84 -0
  218. data/app/controllers/{admin → camaleon_cms/admin}/plugins_controller.rb +7 -6
  219. data/app/controllers/{admin → camaleon_cms/admin}/post_tags_controller.rb +18 -10
  220. data/app/controllers/{admin → camaleon_cms/admin}/posts/drafts_controller.rb +5 -5
  221. data/app/controllers/{admin → camaleon_cms/admin}/posts_controller.rb +40 -23
  222. data/app/controllers/{admin → camaleon_cms/admin}/sessions_controller.rb +45 -35
  223. data/app/controllers/{admin → camaleon_cms/admin}/settings/custom_fields_controller.rb +13 -12
  224. data/app/controllers/{admin → camaleon_cms/admin}/settings/post_types_controller.rb +14 -13
  225. data/app/controllers/{admin → camaleon_cms/admin}/settings/sites_controller.rb +17 -15
  226. data/app/controllers/{admin → camaleon_cms/admin}/settings_controller.rb +8 -5
  227. data/app/controllers/{admin → camaleon_cms/admin}/user_roles_controller.rb +12 -11
  228. data/app/controllers/{admin → camaleon_cms/admin}/users_controller.rb +42 -48
  229. data/app/controllers/{admin_controller.rb → camaleon_cms/admin_controller.rb} +28 -9
  230. data/app/controllers/{apps → camaleon_cms/apps}/plugins_admin_controller.rb +7 -3
  231. data/app/controllers/camaleon_cms/apps/plugins_front_controller.rb +38 -0
  232. data/app/controllers/{apps → camaleon_cms/apps}/themes_admin_controller.rb +1 -1
  233. data/app/controllers/{apps → camaleon_cms/apps}/themes_front_controller.rb +1 -1
  234. data/app/controllers/camaleon_cms/camaleon_controller.rb +99 -0
  235. data/app/controllers/{frontend_controller.rb → camaleon_cms/frontend_controller.rb} +56 -45
  236. data/app/controllers/concerns/{frontend_concern.rb → camaleon_cms/frontend_concern.rb} +8 -8
  237. data/app/decorators/{application_decorator.rb → camaleon_cms/application_decorator.rb} +5 -17
  238. data/app/decorators/{category_decorator.rb → camaleon_cms/category_decorator.rb} +8 -3
  239. data/app/decorators/{custom_field_decorator.rb → camaleon_cms/custom_field_decorator.rb} +1 -1
  240. data/app/decorators/{custom_fields_concern.rb → camaleon_cms/custom_fields_concern.rb} +4 -3
  241. data/app/decorators/{metas_decorator_methods.rb → camaleon_cms/metas_decorator_methods.rb} +1 -1
  242. data/app/decorators/{nav_menu_item_decorator.rb → camaleon_cms/nav_menu_item_decorator.rb} +2 -2
  243. data/app/decorators/{post_comment_decorator.rb → camaleon_cms/post_comment_decorator.rb} +3 -2
  244. data/app/decorators/{post_decorator.rb → camaleon_cms/post_decorator.rb} +61 -14
  245. data/app/decorators/{post_tag_decorator.rb → camaleon_cms/post_tag_decorator.rb} +8 -3
  246. data/app/decorators/{post_type_decorator.rb → camaleon_cms/post_type_decorator.rb} +29 -6
  247. data/app/decorators/{site_decorator.rb → camaleon_cms/site_decorator.rb} +24 -22
  248. data/app/decorators/{term_taxonomy_decorator.rb → camaleon_cms/term_taxonomy_decorator.rb} +15 -15
  249. data/app/decorators/{theme_decorator.rb → camaleon_cms/theme_decorator.rb} +1 -1
  250. data/app/decorators/{user_decorator.rb → camaleon_cms/user_decorator.rb} +23 -11
  251. data/app/decorators/{widget_decorator.rb → camaleon_cms/widget_decorator.rb} +2 -2
  252. data/app/helpers/{admin → camaleon_cms/admin}/application_helper.rb +17 -9
  253. data/app/helpers/{admin → camaleon_cms/admin}/breadcrumb_helper.rb +6 -20
  254. data/app/helpers/{admin → camaleon_cms/admin}/category_helper.rb +6 -3
  255. data/app/helpers/{admin → camaleon_cms/admin}/custom_fields_helper.rb +21 -20
  256. data/app/helpers/{admin → camaleon_cms/admin}/menus_helper.rb +26 -36
  257. data/app/helpers/{admin → camaleon_cms/admin}/post_type_helper.rb +4 -4
  258. data/app/helpers/{camaleon_helper.rb → camaleon_cms/camaleon_helper.rb} +23 -19
  259. data/app/helpers/{captcha_helper.rb → camaleon_cms/captcha_helper.rb} +21 -17
  260. data/app/helpers/camaleon_cms/comment_helper.rb +48 -0
  261. data/app/helpers/{content_helper.rb → camaleon_cms/content_helper.rb} +12 -10
  262. data/app/helpers/{frontend → camaleon_cms/frontend}/application_helper.rb +7 -7
  263. data/app/helpers/{frontend → camaleon_cms/frontend}/nav_menu_helper.rb +21 -34
  264. data/app/helpers/{frontend → camaleon_cms/frontend}/seo_helper.rb +5 -5
  265. data/app/helpers/{frontend → camaleon_cms/frontend}/site_helper.rb +17 -10
  266. data/app/helpers/{hooks_helper.rb → camaleon_cms/hooks_helper.rb} +1 -1
  267. data/app/helpers/camaleon_cms/html_helper.rb +106 -0
  268. data/app/helpers/{plugins_helper.rb → camaleon_cms/plugins_helper.rb} +49 -64
  269. data/app/helpers/{session_helper.rb → camaleon_cms/session_helper.rb} +29 -26
  270. data/app/helpers/{short_code_helper.rb → camaleon_cms/short_code_helper.rb} +50 -16
  271. data/app/helpers/{site_helper.rb → camaleon_cms/site_helper.rb} +14 -19
  272. data/app/helpers/{theme_helper.rb → camaleon_cms/theme_helper.rb} +37 -43
  273. data/app/helpers/camaleon_cms/uploader_helper.rb +366 -0
  274. data/app/helpers/{user_roles_helper.rb → camaleon_cms/user_roles_helper.rb} +3 -3
  275. data/app/mailers/{html_mailer.rb → camaleon_cms/html_mailer.rb} +7 -7
  276. data/app/models/{ability.rb → camaleon_cms/ability.rb} +3 -3
  277. data/app/models/{category.rb → camaleon_cms/category.rb} +15 -12
  278. data/app/models/{custom_field.rb → camaleon_cms/custom_field.rb} +8 -10
  279. data/app/models/{custom_field_group.rb → camaleon_cms/custom_field_group.rb} +12 -11
  280. data/app/models/{custom_fields_relationship.rb → camaleon_cms/custom_fields_relationship.rb} +4 -4
  281. data/app/models/{meta.rb → camaleon_cms/meta.rb} +2 -5
  282. data/app/models/{nav_menu.rb → camaleon_cms/nav_menu.rb} +14 -13
  283. data/app/models/{nav_menu_item.rb → camaleon_cms/nav_menu_item.rb} +18 -7
  284. data/app/models/{plugin.rb → camaleon_cms/plugin.rb} +3 -3
  285. data/app/models/{post.rb → camaleon_cms/post.rb} +57 -32
  286. data/app/models/{post_comment.rb → camaleon_cms/post_comment.rb} +10 -9
  287. data/app/models/{post_default.rb → camaleon_cms/post_default.rb} +24 -19
  288. data/app/models/{post_relationship.rb → camaleon_cms/post_relationship.rb} +5 -5
  289. data/app/models/{post_tag.rb → camaleon_cms/post_tag.rb} +4 -4
  290. data/app/models/{post_type.rb → camaleon_cms/post_type.rb} +49 -17
  291. data/app/models/{site.rb → camaleon_cms/site.rb} +38 -80
  292. data/app/models/{term_relationship.rb → camaleon_cms/term_relationship.rb} +6 -4
  293. data/app/models/camaleon_cms/term_taxonomy.rb +81 -0
  294. data/app/models/{theme.rb → camaleon_cms/theme.rb} +3 -3
  295. data/app/models/{user.rb → camaleon_cms/user.rb} +23 -37
  296. data/app/models/{user_relationship.rb → camaleon_cms/user_relationship.rb} +4 -4
  297. data/app/models/camaleon_cms/user_role.rb +140 -0
  298. data/app/models/{widget.rb → camaleon_cms/widget.rb} +1 -1
  299. data/app/models/{widget → camaleon_cms/widget}/assigned.rb +4 -4
  300. data/app/models/{widget → camaleon_cms/widget}/main.rb +5 -5
  301. data/app/models/{widget → camaleon_cms/widget}/sidebar.rb +3 -3
  302. data/app/models/concerns/{categories_tags_for_posts.rb → camaleon_cms/categories_tags_for_posts.rb} +3 -3
  303. data/app/models/concerns/{custom_fields_read.rb → camaleon_cms/custom_fields_read.rb} +10 -11
  304. data/app/models/concerns/camaleon_cms/metas.rb +135 -0
  305. data/app/views/camaleon_cms/404.html.erb +4 -0
  306. data/app/views/camaleon_cms/500.html.erb +4 -0
  307. data/app/views/{_flash_messages.html.erb → camaleon_cms/_flash_messages.html.erb} +0 -0
  308. data/app/views/camaleon_cms/admin/appearances/nav_menus/_custom_fields.html.erb +6 -0
  309. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/_custom_menus.html.erb +2 -2
  310. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/_external_menu.html.erb +3 -3
  311. data/app/views/camaleon_cms/admin/appearances/nav_menus/_menu_form.html.erb +36 -0
  312. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/_menu_list.html.erb +5 -5
  313. data/app/views/{admin → camaleon_cms/admin}/appearances/nav_menus/index.html.erb +8 -8
  314. data/app/views/{admin → camaleon_cms/admin}/appearances/themes/index.html.erb +7 -6
  315. data/app/views/{admin → camaleon_cms/admin}/appearances/themes/preview.html.erb +0 -0
  316. data/app/views/{admin → camaleon_cms/admin}/appearances/themes/theme_load_data.html.erb +1 -1
  317. data/app/views/{admin → camaleon_cms/admin}/appearances/widgets/assign/_form.html.erb +5 -5
  318. data/app/views/{admin → camaleon_cms/admin}/appearances/widgets/main/_sidebar.html.erb +4 -4
  319. data/app/views/camaleon_cms/admin/appearances/widgets/main/form.html.erb +27 -0
  320. data/app/views/camaleon_cms/admin/appearances/widgets/main/index.html.erb +41 -0
  321. data/app/views/{admin → camaleon_cms/admin}/appearances/widgets/sidebar/form.html.erb +5 -5
  322. data/app/views/camaleon_cms/admin/categories/_form.html.erb +42 -0
  323. data/app/views/{admin/settings/post_types → camaleon_cms/admin/categories}/edit.html.erb +1 -1
  324. data/app/views/{admin → camaleon_cms/admin}/categories/index.html.erb +16 -26
  325. data/app/views/camaleon_cms/admin/comments/form.html.erb +12 -0
  326. data/app/views/camaleon_cms/admin/comments/form_answer.html.erb +12 -0
  327. data/app/views/camaleon_cms/admin/comments/index.html.erb +21 -0
  328. data/app/views/camaleon_cms/admin/comments/list.html.erb +36 -0
  329. data/app/views/{admin/dashboard/index.html.erb → camaleon_cms/admin/dashboard.html.erb} +2 -2
  330. data/app/views/{admin → camaleon_cms/admin}/installers/form.html.erb +6 -6
  331. data/app/views/camaleon_cms/admin/installers/welcome.html.erb +8 -0
  332. data/app/views/camaleon_cms/admin/media/_files_list.html.erb +7 -0
  333. data/app/views/camaleon_cms/admin/media/_render_file_item.html.erb +27 -0
  334. data/app/views/camaleon_cms/admin/media/_render_folder_item.html.erb +13 -0
  335. data/app/views/camaleon_cms/admin/media/index.html.erb +25 -0
  336. data/app/views/{admin → camaleon_cms/admin}/plugins/_plugins_list.html.erb +10 -10
  337. data/app/views/{admin → camaleon_cms/admin}/plugins/index.html.erb +10 -6
  338. data/app/views/{admin → camaleon_cms/admin}/post_tags/_form.html.erb +8 -14
  339. data/app/views/{admin → camaleon_cms/admin}/post_tags/edit.html.erb +2 -2
  340. data/app/views/camaleon_cms/admin/post_tags/index.html.erb +58 -0
  341. data/app/views/camaleon_cms/admin/posts/_filter_posts.html.erb +5 -0
  342. data/app/views/{admin → camaleon_cms/admin}/posts/_sidebar.html.erb +34 -36
  343. data/app/views/camaleon_cms/admin/posts/form.html.erb +97 -0
  344. data/app/views/{admin → camaleon_cms/admin}/posts/index.html.erb +34 -31
  345. data/app/views/{admin → camaleon_cms/admin}/posts/show.html.erb +1 -1
  346. data/app/views/camaleon_cms/admin/search.html.erb +68 -0
  347. data/app/views/camaleon_cms/admin/sessions/forgot.html.erb +44 -0
  348. data/app/views/camaleon_cms/admin/sessions/login.html.erb +49 -0
  349. data/app/views/camaleon_cms/admin/sessions/register.html.erb +63 -0
  350. data/app/views/camaleon_cms/admin/settings/_configuration_settings.html.erb +35 -0
  351. data/app/views/camaleon_cms/admin/settings/_email_settings.html.erb +33 -0
  352. data/app/views/camaleon_cms/admin/settings/_file_system_settings.html.erb +23 -0
  353. data/app/views/camaleon_cms/admin/settings/_seo_settings.html.erb +22 -0
  354. data/app/views/{admin/settings/custom_fields/get_items.html.erb → camaleon_cms/admin/settings/custom_fields/_get_items.html.erb} +19 -39
  355. data/app/views/{admin → camaleon_cms/admin}/settings/custom_fields/_meta_data.html.erb +2 -2
  356. data/app/views/{admin → camaleon_cms/admin}/settings/custom_fields/_render.html.erb +25 -31
  357. data/app/views/{admin/settings/custom_fields/fields/audio.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_audio.html.erb} +1 -1
  358. data/app/views/{admin/settings/custom_fields/fields/checkbox.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_checkbox.html.erb} +0 -0
  359. data/app/views/{admin/settings/custom_fields/fields/checkboxes.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_checkboxes.html.erb} +0 -0
  360. data/app/views/{admin/settings/custom_fields/fields/colorpicker.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_colorpicker.html.erb} +0 -0
  361. data/app/views/{admin/settings/custom_fields/fields/date.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_date.html.erb} +0 -0
  362. data/app/views/{admin/settings/custom_fields/fields/editor.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_editor.html.erb} +0 -1
  363. data/app/views/{admin/settings/custom_fields/fields/email.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_email.html.erb} +0 -0
  364. data/app/views/camaleon_cms/admin/settings/custom_fields/fields/_field_attrs.html.erb +8 -0
  365. data/app/views/{admin/settings/custom_fields/fields/file.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_file.html.erb} +1 -1
  366. data/app/views/{admin/settings/custom_fields/fields/image.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_image.html.erb} +1 -1
  367. data/app/views/{admin/settings/custom_fields/fields/numeric.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_numeric.html.erb} +0 -0
  368. data/app/views/{admin/settings/custom_fields/fields/phone.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_phone.html.erb} +0 -0
  369. data/app/views/{admin/settings/custom_fields/fields/posts.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_posts.html.erb} +0 -0
  370. data/app/views/{admin/settings/custom_fields/fields/radio.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_radio.html.erb} +0 -0
  371. data/app/views/{admin/settings/custom_fields/fields/select.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_select.html.erb} +0 -0
  372. data/app/views/{admin/settings/custom_fields/fields/select_eval.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_select_eval.html.erb} +0 -0
  373. data/app/views/{admin/settings/custom_fields/fields/text_area.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_text_area.html.erb} +0 -0
  374. data/app/views/{admin/settings/custom_fields/fields/text_box.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_text_box.html.erb} +0 -0
  375. data/app/views/{admin/settings/custom_fields/fields/url.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_url.html.erb} +0 -0
  376. data/app/views/{admin/settings/custom_fields/fields/users.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_users.html.erb} +0 -0
  377. data/app/views/{admin/settings/custom_fields/fields/video.html.erb → camaleon_cms/admin/settings/custom_fields/fields/_video.html.erb} +1 -1
  378. data/app/views/camaleon_cms/admin/settings/custom_fields/form.html.erb +137 -0
  379. data/app/views/{admin → camaleon_cms/admin}/settings/custom_fields/index.html.erb +18 -14
  380. data/app/views/{admin → camaleon_cms/admin}/settings/languages.html.erb +7 -7
  381. data/app/views/camaleon_cms/admin/settings/post_types/_form.html.erb +134 -0
  382. data/app/views/{admin/categories → camaleon_cms/admin/settings/post_types}/edit.html.erb +2 -2
  383. data/app/views/camaleon_cms/admin/settings/post_types/index.html.erb +54 -0
  384. data/app/views/camaleon_cms/admin/settings/shortcodes.html.erb +37 -0
  385. data/app/views/camaleon_cms/admin/settings/site.html.erb +112 -0
  386. data/app/views/{admin → camaleon_cms/admin}/settings/sites/form.html.erb +9 -9
  387. data/app/views/camaleon_cms/admin/settings/sites/index.html.erb +58 -0
  388. data/app/views/camaleon_cms/admin/user_roles/form.html.erb +160 -0
  389. data/app/views/camaleon_cms/admin/user_roles/index.html.erb +51 -0
  390. data/app/views/camaleon_cms/admin/users/form.html.erb +233 -0
  391. data/app/views/camaleon_cms/admin/users/index.html.erb +55 -0
  392. data/app/views/camaleon_cms/admin/users/profile.html.erb +1 -0
  393. data/app/views/{admin → camaleon_cms/admin}/users/profile/_activity.html.erb +0 -0
  394. data/app/views/{admin → camaleon_cms/admin}/users/profile/_settings.html.erb +0 -0
  395. data/app/views/camaleon_cms/default_theme/admin/settings.html.erb +1 -0
  396. data/app/views/{default_theme → camaleon_cms/default_theme}/category.html.erb +0 -0
  397. data/app/views/{default_theme → camaleon_cms/default_theme}/category.rss.builder +0 -0
  398. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/audio.html.erb +0 -0
  399. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/checkbox.html.erb +0 -0
  400. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/checkboxes.html.erb +0 -0
  401. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/colorpicker.html.erb +0 -0
  402. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/date.html.erb +0 -0
  403. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/editor.html.erb +0 -0
  404. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/email.html.erb +0 -0
  405. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/field_attrs.html.erb +0 -0
  406. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/file.html.erb +0 -0
  407. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/image.html.erb +0 -0
  408. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/numeric.html.erb +0 -0
  409. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/phone.html.erb +0 -0
  410. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/posts.html.erb +0 -0
  411. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/radio.html.erb +0 -0
  412. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/select.html.erb +0 -0
  413. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/select_eval.html.erb +0 -0
  414. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/text_area.html.erb +0 -0
  415. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/text_box.html.erb +0 -0
  416. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/url.html.erb +0 -0
  417. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/users.html.erb +0 -0
  418. data/app/views/{default_theme → camaleon_cms/default_theme}/custom_fields/video.html.erb +0 -0
  419. data/app/views/{default_theme → camaleon_cms/default_theme}/index.html.erb +0 -0
  420. data/app/views/{default_theme → camaleon_cms/default_theme}/layouts/_footer.html.erb +0 -1
  421. data/app/views/{default_theme → camaleon_cms/default_theme}/layouts/_header.html.erb +7 -7
  422. data/app/views/{default_theme → camaleon_cms/default_theme}/layouts/index.html.erb +0 -0
  423. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_breadcrumb.html.erb +0 -0
  424. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_categories_list.html.erb +0 -0
  425. data/app/views/camaleon_cms/default_theme/partials/_comments.html.erb +33 -0
  426. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_comments_list.html.erb +0 -0
  427. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_flash_messages.html.erb +0 -0
  428. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_forms.html.erb +2 -2
  429. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_post_list_item.html.erb +0 -0
  430. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_render_custom_field.html.erb +0 -0
  431. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_search_form.html.erb +2 -4
  432. data/app/views/{default_theme → camaleon_cms/default_theme}/partials/_sidebar.html.erb +0 -0
  433. data/app/views/{default_theme → camaleon_cms/default_theme}/post_tag.html.erb +0 -0
  434. data/app/views/{default_theme → camaleon_cms/default_theme}/post_tag.rss.builder +0 -0
  435. data/app/views/{default_theme → camaleon_cms/default_theme}/post_type.html.erb +0 -0
  436. data/app/views/{default_theme → camaleon_cms/default_theme}/post_type.rss.builder +0 -0
  437. data/app/views/{default_theme → camaleon_cms/default_theme}/profile.html.erb +0 -0
  438. data/app/views/camaleon_cms/default_theme/robots.text.erb +1 -0
  439. data/app/views/{default_theme → camaleon_cms/default_theme}/rss.rss.builder +0 -0
  440. data/app/views/{default_theme → camaleon_cms/default_theme}/search.html.erb +0 -0
  441. data/app/views/{default_theme → camaleon_cms/default_theme}/single.html.erb +0 -0
  442. data/app/views/{default_theme → camaleon_cms/default_theme}/single.rss.builder +0 -0
  443. data/app/views/{default_theme → camaleon_cms/default_theme}/sitemap.html.erb +0 -0
  444. data/app/views/{default_theme → camaleon_cms/default_theme}/sitemap.xml.builder +0 -0
  445. data/app/views/{html_mailer → camaleon_cms/html_mailer}/mailer.html.erb +0 -0
  446. data/app/views/{shortcode_templates → camaleon_cms/shortcode_templates}/widget.html.erb +1 -1
  447. data/app/views/layouts/camaleon_cms/admin.html.erb +49 -0
  448. data/app/views/layouts/camaleon_cms/admin/_ajax.html.erb +6 -0
  449. data/app/views/layouts/{admin → camaleon_cms/admin}/_flash_messages.html.erb +9 -0
  450. data/app/views/layouts/{admin → camaleon_cms/admin}/_footer.html.erb +0 -0
  451. data/app/views/layouts/{admin → camaleon_cms/admin}/_form_error.html.erb +1 -1
  452. data/app/views/layouts/{admin → camaleon_cms/admin}/_header.html.erb +11 -11
  453. data/app/views/layouts/camaleon_cms/admin/_sidebar.html.erb +19 -0
  454. data/app/views/layouts/{admin → camaleon_cms/admin}/installer.html.erb +5 -5
  455. data/app/views/layouts/{application.html.erb → camaleon_cms/application.html.erb} +0 -0
  456. data/app/views/layouts/{login.html.erb → camaleon_cms/login.html.erb} +5 -4
  457. data/app/views/layouts/{mailer.html.erb → camaleon_cms/mailer.html.erb} +0 -0
  458. data/config/initializers/action_view.rb +31 -0
  459. data/config/initializers/active_record_extension.rb +52 -2
  460. data/config/initializers/assets.rb +0 -18
  461. data/config/initializers/custom_initializers.rb +7 -0
  462. data/config/locales/camaleon_cms/admin/en.yml +648 -0
  463. data/config/locales/camaleon_cms/admin/es.yml +597 -0
  464. data/config/locales/camaleon_cms/admin/it.yml +607 -0
  465. data/config/locales/camaleon_cms/admin/js.yml +127 -0
  466. data/config/locales/camaleon_cms/admin/pt_br.yml +610 -0
  467. data/config/locales/camaleon_cms/common.yml +193 -0
  468. data/config/locales/{languages.yml → camaleon_cms/languages.yml} +0 -0
  469. data/config/locales/{routes.yml → camaleon_cms/routes.yml} +8 -0
  470. data/config/locales/{pt.yml → pt-BR.yml} +1 -1
  471. data/config/routes.rb +8 -24
  472. data/config/routes/admin.rb +114 -98
  473. data/config/routes/frontend.rb +39 -27
  474. data/config/system.json +5 -3
  475. data/db/migrate/20150611161134_post_table_into_utf8.rb +15 -15
  476. data/db/migrate/20150926095310_rename_column_posts.rb +4 -4
  477. data/lib/camaleon_cms/engine.rb +6 -9
  478. data/lib/camaleon_cms/version.rb +1 -1
  479. data/lib/ext/string.rb +10 -45
  480. data/lib/ext/translator.rb +3 -2
  481. data/lib/generators/camaleon_cms/gem_plugin_generator.rb +90 -83
  482. data/lib/generators/camaleon_cms/gem_plugin_template/app/controllers/plugins/my_plugin/admin_controller.rb +1 -1
  483. data/lib/generators/camaleon_cms/gem_plugin_template/app/controllers/plugins/my_plugin/front_controller.rb +1 -1
  484. data/lib/generators/camaleon_cms/gem_plugin_template/app/views/plugins/my_plugin/admin/index.html.erb +9 -2
  485. data/lib/generators/camaleon_cms/gem_theme_generator.rb +97 -0
  486. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/assets/images → camaleon_cms/gem_theme_template/app/assets/images/themes/my_plugin}/image.png +0 -0
  487. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/assets/js → camaleon_cms/gem_theme_template/app/assets/javascripts/themes/my_plugin}/main.js +1 -1
  488. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/assets/css → camaleon_cms/gem_theme_template/app/assets/stylesheets/themes/my_plugin}/main.css +1 -1
  489. data/lib/generators/camaleon_cms/gem_theme_template/app/helpers/themes/my_plugin/main_helper.rb +26 -0
  490. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/views → camaleon_cms/gem_theme_template/app/views/themes/my_plugin}/admin/settings.html.erb +1 -1
  491. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/views → camaleon_cms/gem_theme_template/app/views/themes/my_plugin}/index.html.erb +0 -0
  492. data/lib/generators/camaleon_cms/gem_theme_template/app/views/themes/my_plugin/layouts/index.html.erb +71 -0
  493. data/lib/generators/{ctheme_template/app/apps/themes/my_theme/views → camaleon_cms/gem_theme_template/app/views/themes/my_plugin}/partials/readme.txt +0 -0
  494. data/lib/generators/camaleon_cms/gem_theme_template/config/camaleon_theme.json +14 -0
  495. data/lib/generators/camaleon_cms/install_template/system.json +4 -2
  496. data/lib/generators/camaleon_cms/theme_generator.rb +71 -0
  497. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/assets/css/main.css +12 -0
  498. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/assets/images/image.png +0 -0
  499. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/assets/js/main.js +14 -0
  500. data/lib/generators/{ctheme_template → camaleon_cms/theme_template}/app/apps/themes/my_theme/config/config.json +0 -0
  501. data/lib/generators/{ctheme_template → camaleon_cms/theme_template}/app/apps/themes/my_theme/main_helper.rb +0 -0
  502. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/admin/settings.html.erb +4 -0
  503. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/index.html.erb +25 -0
  504. data/lib/generators/{ctheme_template → camaleon_cms/theme_template}/app/apps/themes/my_theme/views/layouts/index.html.erb +8 -8
  505. data/lib/generators/camaleon_cms/theme_template/app/apps/themes/my_theme/views/partials/readme.txt +1 -0
  506. data/lib/plugin_routes.rb +59 -28
  507. data/lib/tasks/camaleon_cms/rspec_test.rake +16 -0
  508. metadata +458 -548
  509. data/app/apps/plugins/contact_form/views/admin_forms/manual.html.erb +0 -59
  510. data/app/apps/themes/new/assets/js/plugins/modal_elfinder.js +0 -29
  511. data/app/assets/javascripts/admin/admin-basic-manifest.js +0 -3
  512. data/app/assets/javascripts/admin/custom_fields.js +0 -167
  513. data/app/assets/javascripts/admin/elfinder-manifest.js +0 -7
  514. data/app/assets/javascripts/admin/elfinder/elfinder.full.js +0 -12646
  515. data/app/assets/javascripts/admin/elfinder/i18n/elfinder.es.js +0 -294
  516. data/app/assets/javascripts/admin/elfinder/i18n/elfinder.fr.js +0 -298
  517. data/app/assets/javascripts/admin/elfinder/i18n/elfinder.it.js +0 -366
  518. data/app/assets/javascripts/admin/elfinder/proxy/elFinderSupportVer1.js +0 -338
  519. data/app/assets/javascripts/admin/elfinder/upload_elfinder.js +0 -237
  520. data/app/assets/javascripts/admin/jquery.slugify.js +0 -65
  521. data/app/assets/javascripts/admin/libraries.js +0 -266
  522. data/app/assets/javascripts/admin/post.js +0 -273
  523. data/app/assets/javascripts/admin/widgets.js +0 -54
  524. data/app/assets/javascripts/elfinder_front.js +0 -85
  525. data/app/assets/stylesheets/admin/custom_admin.css.scss +0 -193
  526. data/app/assets/stylesheets/admin/elfinder-manifest.css +0 -6
  527. data/app/assets/stylesheets/admin/elfinder/elfinder-theme.scss +0 -191
  528. data/app/assets/stylesheets/admin/elfinder/elfinder.css +0 -1922
  529. data/app/assets/stylesheets/admin/elfinder/images/arrows-active.png +0 -0
  530. data/app/assets/stylesheets/admin/elfinder/images/arrows-normal.png +0 -0
  531. data/app/assets/stylesheets/admin/elfinder/images/crop.gif +0 -0
  532. data/app/assets/stylesheets/admin/elfinder/images/dialogs.png +0 -0
  533. data/app/assets/stylesheets/admin/elfinder/images/icons-big.png +0 -0
  534. data/app/assets/stylesheets/admin/elfinder/images/icons-small.png +0 -0
  535. data/app/assets/stylesheets/admin/elfinder/images/logo.png +0 -0
  536. data/app/assets/stylesheets/admin/elfinder/images/progress.gif +0 -0
  537. data/app/assets/stylesheets/admin/elfinder/images/quicklook-bg.png +0 -0
  538. data/app/assets/stylesheets/admin/elfinder/images/quicklook-icons.png +0 -0
  539. data/app/assets/stylesheets/admin/elfinder/images/resize.png +0 -0
  540. data/app/assets/stylesheets/admin/elfinder/images/spinner-mini.gif +0 -0
  541. data/app/assets/stylesheets/admin/elfinder/images/toolbar.png +0 -0
  542. data/app/assets/stylesheets/admin/elfinder/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  543. data/app/assets/stylesheets/admin/elfinder/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  544. data/app/assets/stylesheets/admin/elfinder/images/ui-icons_222222_256x240.png +0 -0
  545. data/app/assets/stylesheets/bootstrap.min.css.scss +0 -5
  546. data/app/controllers/admin/appearances_controller.rb +0 -13
  547. data/app/controllers/admin/comments_controller.rb +0 -113
  548. data/app/controllers/admin/media_controller.rb +0 -53
  549. data/app/controllers/api/api_controller.rb +0 -31
  550. data/app/controllers/api/v1/category_controller.rb +0 -15
  551. data/app/controllers/api/v1/contact_form_controller.rb +0 -55
  552. data/app/controllers/api/v1/page_controller.rb +0 -8
  553. data/app/controllers/api/v1/post_controller.rb +0 -8
  554. data/app/controllers/apps/plugins_front_controller.rb +0 -20
  555. data/app/controllers/camaleon_controller.rb +0 -116
  556. data/app/helpers/html_helper.rb +0 -118
  557. data/app/helpers/uploader_helper.rb +0 -214
  558. data/app/models/concerns/metas.rb +0 -136
  559. data/app/models/grid_template.rb +0 -15
  560. data/app/models/term_taxonomy.rb +0 -157
  561. data/app/models/user_role.rb +0 -139
  562. data/app/serializers/api/base_serializer.rb +0 -9
  563. data/app/serializers/api/v1/category_serializer.rb +0 -8
  564. data/app/views/admin/appearances/nav_menus/_custom_fields.html.erb +0 -6
  565. data/app/views/admin/appearances/nav_menus/_menu_form.html.erb +0 -32
  566. data/app/views/admin/appearances/widgets/main/form.html.erb +0 -27
  567. data/app/views/admin/appearances/widgets/main/index.html.erb +0 -69
  568. data/app/views/admin/categories/_form.html.erb +0 -42
  569. data/app/views/admin/comments/form.html.erb +0 -52
  570. data/app/views/admin/comments/index.html.erb +0 -41
  571. data/app/views/admin/comments/reply.html.erb +0 -196
  572. data/app/views/admin/installers/welcome.html.erb +0 -8
  573. data/app/views/admin/media/iframe.html.erb +0 -33
  574. data/app/views/admin/media/index.html.erb +0 -19
  575. data/app/views/admin/post_tags/index.html.erb +0 -74
  576. data/app/views/admin/posts/_filter_posts.html.erb +0 -6
  577. data/app/views/admin/posts/form.html.erb +0 -103
  578. data/app/views/admin/sessions/forgot.html.erb +0 -45
  579. data/app/views/admin/sessions/login.html.erb +0 -49
  580. data/app/views/admin/sessions/register.html.erb +0 -62
  581. data/app/views/admin/settings/custom_fields/fields/field_attrs.html.erb +0 -8
  582. data/app/views/admin/settings/custom_fields/form.html.erb +0 -248
  583. data/app/views/admin/settings/post_types/_form.html.erb +0 -93
  584. data/app/views/admin/settings/post_types/index.html.erb +0 -72
  585. data/app/views/admin/settings/site.html.erb +0 -188
  586. data/app/views/admin/settings/sites/index.html.erb +0 -55
  587. data/app/views/admin/taxonomy/_form.html.erb +0 -62
  588. data/app/views/admin/taxonomy/edit.html.erb +0 -18
  589. data/app/views/admin/taxonomy/index.html.erb +0 -79
  590. data/app/views/admin/user_roles/form.html.erb +0 -167
  591. data/app/views/admin/user_roles/index.html.erb +0 -48
  592. data/app/views/admin/users/form.html.erb +0 -306
  593. data/app/views/admin/users/index.html.erb +0 -53
  594. data/app/views/admin/users/profile.html.erb +0 -118
  595. data/app/views/admin/users/profile_edit.html.erb +0 -312
  596. data/app/views/default_theme/admin/settings.html.erb +0 -1
  597. data/app/views/default_theme/partials/_comments.html.erb +0 -33
  598. data/app/views/default_theme/robots.text.erb +0 -1
  599. data/app/views/layouts/admin.html.erb +0 -56
  600. data/app/views/layouts/admin/_ajax.html.erb +0 -2
  601. data/app/views/layouts/admin/_sidebar.html.erb +0 -22
  602. data/app/views/shortcode_templates/form.html.erb +0 -1
  603. data/config/initializers/cache_helper.rb +0 -17
  604. data/config/initializers/doorkeeper.rb +0 -128
  605. data/config/initializers/elfinder.rb +0 -63
  606. data/config/initializers/page_caching.rb +0 -42
  607. data/config/initializers/rufus_cron.rb +0 -33
  608. data/config/initializers/swagger.rb +0 -18
  609. data/config/locales/admin/en.yml +0 -618
  610. data/config/locales/admin/es.yml +0 -584
  611. data/config/locales/admin/it.yml +0 -605
  612. data/config/locales/admin/js.yml +0 -118
  613. data/config/locales/common.yml +0 -189
  614. data/config/locales/doorkeeper.en.yml +0 -123
  615. data/db/migrate/20150930115030_doorkeeper_configuration.rb +0 -45
  616. data/lib/generators/camaleon_cms/install_template/apps/plugins/readme.txt +0 -1
  617. data/lib/generators/camaleon_cms/install_template/apps/themes/readme.txt +0 -1
  618. data/lib/generators/cplugin_generator.rb +0 -82
  619. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/admin_controller.rb +0 -8
  620. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/assets/css/readme.txt +0 -1
  621. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/assets/images/readme.txt +0 -1
  622. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/assets/js/readme.txt +0 -1
  623. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/config.json +0 -21
  624. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/locales/readme.txt +0 -1
  625. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/routes_admin.txt +0 -1
  626. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/config/routes_front.txt +0 -1
  627. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/front_controller.rb +0 -8
  628. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/main_helper.rb +0 -22
  629. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/models/my_plugin.rb +0 -7
  630. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/views/admin/index.html.erb +0 -2
  631. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/views/front/index.html.erb +0 -2
  632. data/lib/generators/cplugin_template/app/apps/plugins/my_plugin/views/layouts/readme.txt +0 -2
  633. data/lib/generators/ctheme_generator.rb +0 -65
  634. data/lib/tasks/camaleon_cms_tasks.rake +0 -23
  635. data/lib/tasks/precompile_overrides.rake +0 -6
@@ -4,15 +4,16 @@
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
7
- <%= raw the_head({title: (content_for?(:content) ? yield(:content) : t('admin.login.login'))}, false) if current_site.present? %>
8
- <%= stylesheet_link_tag "admin/admin-basic-manifest", media: "all" %>
7
+ <%= raw the_head({}) if current_site.present? %>
8
+ <title><%= (content_for?(:title) ? yield(:title) : t('camaleon_cms.admin.login.login')) %></title>
9
+ <%= stylesheet_link_tag "camaleon_cms/admin/admin-basic-manifest", media: "all" %>
9
10
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
10
- <%= javascript_include_tag "admin/admin-basic-manifest" %>
11
+ <%= javascript_include_tag "camaleon_cms/admin/admin-basic-manifest" %>
11
12
  </head>
12
13
  <body class="hold-transition login-page">
13
14
  <div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3 login-box">
14
15
  <div class="login-logo">
15
- <%= link_to(image_tag(current_site.the_logo), admin_login_path) rescue "Camaleon CMS" %>
16
+ <%= link_to(image_tag(current_site.the_logo), cama_admin_login_path) rescue image_tag("camaleon_cms/camaleon.png") %>
16
17
  </div>
17
18
  <div class="login-box-body">
18
19
  <%= yield %>
@@ -0,0 +1,31 @@
1
+ =begin
2
+ Camaleon CMS is a content management system
3
+ Copyright (C) 2015 by Owen Peredo Diaz
4
+ Email: owenperedo@gmail.com
5
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7
+ See the GNU Affero General Public License (GPLv3) for more details.
8
+ =end
9
+
10
+ # this is a customization to support multiple prefix to render partials
11
+ module ActionView
12
+ class LookupContext #:nodoc:
13
+ module ViewPaths
14
+ # fix to add camaleon prefix to search partials and layouts
15
+ def find(name, prefixes = [], partial = false, keys = [], options = {})
16
+ prefixes = [""] unless prefixes.present?
17
+ prefixes = self.prefixes + prefixes if prefixes.is_a?(Array)
18
+ @view_paths.find(*args_for_lookup(name, prefixes, partial, keys, options))
19
+ end
20
+ alias :find_template :find
21
+
22
+ # fix to add camaleon prefixes on verify template exist
23
+ def exists?(name, prefixes = [], partial = false, keys = [], options = {})
24
+ prefixes = [""] unless prefixes.present?
25
+ prefixes += self.prefixes if prefixes.is_a?(Array)
26
+ @view_paths.exists?(*args_for_lookup(name, prefixes, partial, keys, options))
27
+ end
28
+ alias :template_exists? :exists?
29
+ end
30
+ end
31
+ end
@@ -35,10 +35,60 @@ ActiveRecord::Associations::CollectionProxy.class_eval do
35
35
  # Arguments:
36
36
  # key: (String) Custom field key
37
37
  # order: (String) order direction (ASC | DESC)
38
- # sample: Site.first.posts.sort_by_field("untitled-field-attributes", "desc")
38
+ # sample: CamaleonCms::Site.first.posts.sort_by_field("untitled-field-attributes", "desc")
39
39
  def sort_by_field(key, order = "ASC")
40
40
  # class_name = self.build.class.name
41
41
  # table_name = class_name.classify.table_name
42
- self.includes(:custom_field_values).where("#{CustomFieldsRelationship.table_name}.custom_field_slug = ? and #{CustomFieldsRelationship.table_name}.object_class = ?", key, self.build.class.name).reorder("#{CustomFieldsRelationship.table_name}.value #{order}")
42
+ self.includes(:custom_field_values).where("#{CamaleonCms::CustomFieldsRelationship.table_name}.custom_field_slug = ? and #{CamaleonCms::CustomFieldsRelationship.table_name}.object_class = ?", key, self.build.class.name).reorder("#{CamaleonCms::CustomFieldsRelationship.table_name}.value #{order}")
43
+ end
44
+
45
+ # Filter by custom field values
46
+ # Arguments:
47
+ # key: (String) Custom field key
48
+ # sample: my_posts_that_include_my_field = CamaleonCms::Site.first.posts.filter_by_field("untitled-field-attributes")
49
+ # this will return all posts of the first site that include custom field "untitled-field-attributes"
50
+ # additionally, you can add extra filter: my_posts_that_include_my_field.where("#{CamaleonCms::CustomFieldsRelationship.table_name}.value=?", "my_value_for_field")
51
+ def filter_by_field(key)
52
+ self.includes(:custom_field_values).where("#{CamaleonCms::CustomFieldsRelationship.table_name}.custom_field_slug = ? and #{CamaleonCms::CustomFieldsRelationship.table_name}.object_class = ?", key, self.build.class.name)
43
53
  end
44
54
  end
55
+
56
+
57
+ # add cache_var for models
58
+ ActiveRecord::Base.class_eval do
59
+ # save cache value for this key
60
+ def cama_set_cache(key, val)
61
+ @cama_cache_vars ||= {}
62
+ @cama_cache_vars[cama_build_cache_key(key)] = val
63
+ val
64
+ end
65
+
66
+ # remove cache value for this key
67
+ def cama_remove_cache(key)
68
+ @cama_cache_vars.delete(cama_build_cache_key(key))
69
+ end
70
+
71
+ # fetch the cache value for this key
72
+ def cama_fetch_cache(key)
73
+ @cama_cache_vars ||= {}
74
+ _key = cama_build_cache_key(key)
75
+ if @cama_cache_vars.has_key?(_key)
76
+ # puts "*********** using model cache var: #{_key}"
77
+ @cama_cache_vars[_key]
78
+ else
79
+ @cama_cache_vars[_key] = yield
80
+ @cama_cache_vars[_key]
81
+ end
82
+ end
83
+
84
+ # return the cache value for this key
85
+ def cama_get_cache(key)
86
+ @cama_cache_vars ||= {}
87
+ @cama_cache_vars[cama_build_cache_key(key)] rescue nil
88
+ end
89
+
90
+ # internal helper to generate cache key
91
+ def cama_build_cache_key(key)
92
+ _key = "cama_cache_#{self.class.name}_#{self.id}_#{key}"
93
+ end
94
+ end
@@ -14,25 +14,7 @@ Rails.application.config.assets.version = '1.0'
14
14
  # Add additional assets to the asset load path
15
15
  # Rails.application.config.assets.paths << Emoji.images_path
16
16
 
17
- # Precompile additional assets.
18
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
19
- # Rails.application.config.assets.precompile += %w( search.js )
20
- # Rails.application.config.assets.precompile += [/.*\.js/,/.*\.css/]
21
-
22
- # Rails.application.config.assets.precompile += Dir[Rails.root.join("app", "apps", "themes", "*", "assets", "**", "^(?!_)*.{js,css,png,jpg,gif}")]
23
- # Rails.application.config.assets.precompile += Dir[Rails.root.join("app", "apps", "plugins", "*", "assets", "**", "^(?!_)*.{js,css,png,jpg,gif}")]
24
- #
25
- # Rails.application.config.assets.precompile += Dir[File.join($camaleon_engine_dir, "app", "apps", "themes", "*", "assets", "**", "^(?!_)*.{js,css,png,jpg,gif}")]
26
- # Rails.application.config.assets.precompile += Dir[File.join($camaleon_engine_dir, "app", "apps", "plugins", "*", "assets", "**", "^(?!_)*.{js,css,png,jpg,gif}")]
27
-
28
- # Rails.application.config.assets.precompile += %w( themes/*/assets/css/^(?!_)* )
29
- # Rails.application.config.assets.precompile += %w( plugins/*/assets/js/^(?!_)* )
30
- # Rails.application.config.assets.precompile += %w( themes/*/assets/[images|img]/* )
31
- # Rails.application.config.assets.precompile += %w( plugins/*/assets/[images|img]/* )
32
- # Rails.application.config.assets.precompile += %w( plugins/*/assets/* )
33
-
34
17
  # This will precompile any assets, not just JavaScript (.js, .coffee, .swf, .css, .scss)
35
- # Rails.application.config.assets.precompile << /(^[^_\/]|\/[^_])[^\/]*$/
36
18
  Rails.application.config.assets.precompile << Proc.new { |path|
37
19
  name = File.basename(path)
38
20
  content_type = MIME::Types.type_for(name).first.content_type rescue ""
@@ -14,4 +14,11 @@ if defined?(PluginRoutes)
14
14
  eval(File.read(f)) if File.exist?(f)
15
15
  end
16
16
  end
17
+ end
18
+
19
+ require 'base64'
20
+ Base64.class_eval do
21
+ def self.un_obfuscate(str)
22
+ Base64.decode64(str.slice(5..-1))
23
+ end
17
24
  end
@@ -0,0 +1,648 @@
1
+ en:
2
+ camaleon_cms:
3
+ welcome_message: "Welcome to Camaleon CMS"
4
+ page_not_exist: "<h1>ooops...</h1><h5>The page you're looking for does not exist.</h5>"
5
+ page_error_500: "<h1>ooops...</h1><h5>Error 500 Internal Server Error. Please contact to the administrator.</h5>"
6
+ admin:
7
+ request_error_message: "An error occurred, please contact to the administrator."
8
+ authorization_error: "You don't have authorization for this section."
9
+ header:
10
+ member_since: "Member since %{time}"
11
+ button:
12
+ activity: 'Activity'
13
+ add_new_field: 'Add new field'
14
+ add_option: 'Add option'
15
+ add_menu: 'Add to Menu'
16
+ add_widget: 'Add Widget'
17
+ accept: 'Accept'
18
+ add_folder: 'Add Folder'
19
+ actived: 'Activated'
20
+ activate_plugin: 'Activate Plugin'
21
+ back: 'Back'
22
+ change_photo: 'Change Photo'
23
+ change_password: 'Change Password'
24
+ create_menu: 'Create Menu'
25
+ create: 'Create'
26
+ cancel: 'Cancel'
27
+ chat: 'Chat'
28
+ close: 'Close'
29
+ delete: 'Delete'
30
+ disable_plugin: 'Disable Plugin'
31
+ enter: 'Enter'
32
+ edit: 'Edit'
33
+ new: 'New'
34
+ following: 'Following'
35
+ log_in: 'Log In'
36
+ move_trash: 'Move to trash'
37
+ no: 'No'
38
+ none: 'None'
39
+ not_actived: 'Not Active'
40
+ publish: 'Publish'
41
+ preview: 'Preview'
42
+ proccess: 'Proccess'
43
+ recover: 'Recover'
44
+ restore: 'Restore'
45
+ restore_selections: 'Restore Selections'
46
+ delete_complete: "Delete completely"
47
+ select: 'Select'
48
+ select_all: 'Select All'
49
+ select_file: 'Select File'
50
+ select_none: 'Select None'
51
+ sign_up: 'Sign Up'
52
+ submit: 'Submit'
53
+ settings: 'Settings'
54
+ sortable: 'Sortable'
55
+ update: 'Update'
56
+ update_menu: 'Update Menu'
57
+ upload_audio: 'Upload Audio'
58
+ upload_file: 'Upload File'
59
+ upload_image: 'Upload Image'
60
+ upload_icon: 'Upload Icon'
61
+ upload_video: 'Upload Video'
62
+ view_draft: 'View Draft'
63
+ view_page: 'View Page'
64
+ yes: 'Yes'
65
+ out_yes: 'Yes'
66
+ out_not: 'No'
67
+ domain: "Domain"
68
+ search: "Search"
69
+
70
+ comments:
71
+ new_msg: "New comment for this Content"
72
+ comments_list_post: 'List Comments Post'
73
+ responses: 'Responses'
74
+ message:
75
+ approved: 'Approved'
76
+ change_status: 'The response status has been changed to '
77
+ created: 'The comment has been created.'
78
+ destroy: 'The answers has been removed.'
79
+ destroy_comments: 'The comments has been removed.'
80
+ deleted: 'The answers has been removed.'
81
+ error: 'Not found comment'
82
+ pending: 'Pending'
83
+ responses: 'The reply has been created.'
84
+ spam: 'Spam'
85
+ there_no_comments: 'There is no comments.'
86
+ updated: 'The comment has been updated.'
87
+
88
+ tooltip:
89
+ approved_comment: 'Approve Comment'
90
+ comment_pending: 'Comment To Pending'
91
+ comment_spam: 'Comment To Spam'
92
+ reply_comment: 'Reply Comment'
93
+ delete_comment: 'Delete Comment'
94
+ custom_field:
95
+ message:
96
+ custom_group_error: 'Error custom field group'
97
+ custom_created: 'The custom field group has been created.'
98
+ custom_updated: 'The custom field group has been updated.'
99
+ fields:
100
+ text_box: 'Text Box'
101
+ text_area: 'Text Area'
102
+ select: 'Select'
103
+ colorpicker: 'Colorpicker'
104
+ date: 'Date'
105
+ email: 'Email'
106
+ file: 'File'
107
+ image: 'Image'
108
+ numeric: 'Numeric'
109
+ phone: 'Phone'
110
+ users: 'Users'
111
+ posts: 'Posts'
112
+ select_eval: 'Select Eval'
113
+ field_attrs: 'Field Attributes'
114
+ website: 'Website'
115
+ multiple_choice: 'Radio Button'
116
+
117
+
118
+ login:
119
+ already_have_account: 'Already have account?'
120
+ authentication: 'Authentication'
121
+ captcha: 'Captcha'
122
+ create_account: 'Create an account'
123
+ login: 'Login'
124
+ forgot_your_password_int: 'Forgot your password?'
125
+ message:
126
+ success: 'Welcome!!!'
127
+ fail: 'Username or Password incorrect'
128
+ forgot_url_incorrect: 'URL incorrect'
129
+ forgot_expired: 'Reset expired.'
130
+ hello: 'Hello'
131
+ reset_password_succes: 'Reset password success!'
132
+ reset_password_error: 'Password incorrect'
133
+ reset_url: 'Reset URL'
134
+ subject_email: 'Reset your access'
135
+ send_mail_succes: 'Send email reset success.'
136
+ send_mail_error: 'Not found email address.'
137
+ invalid_caption: 'Invalid captcha'
138
+ personal_info: 'Personal info'
139
+ please_login: 'Please login'
140
+ reset_password: 'reset password'
141
+ reCaptcha: 'reCaptcha'
142
+ send_email: 'Send email'
143
+ reset_password_html: '<strong>Send email</strong>, reset password'
144
+ welcome: 'Welcome'
145
+ welcome_login_html: '<strong>Welcome</strong>, Please login'
146
+ do_not_have_account_yet: "Do not have an account yet?"
147
+ msg_registration_html: '<strong>Registration</strong>, use form below'
148
+ username: "Username"
149
+ password: "Password"
150
+ password_confirm: "Password confirmation"
151
+ first_name: "First Name"
152
+ last_name: "Last Name"
153
+ email: "Email"
154
+ remember_me: "Remember Me"
155
+ logout:
156
+ log: 'Log'
157
+ out: 'Out'
158
+ logout: 'Logout'
159
+ logout_html: 'Log <strong>Out</strong>?'
160
+ message:
161
+ closed: 'Session Closed'
162
+ media:
163
+ media_manager: 'Media Manager'
164
+ home: "Home"
165
+ info: "Information"
166
+ menus:
167
+ link_url: 'Link URL'
168
+ message:
169
+ created: 'The nav menu has been created.'
170
+ deleted: 'The nav menu has been delete.'
171
+ error_menu: 'Error Menu'
172
+ name_link: 'Name Link'
173
+ name_menu: 'Name Menu'
174
+ external_link: 'External Link'
175
+ or: 'or'
176
+ create_new: 'create a new menu'
177
+ select: 'Select Menu'
178
+ select_edit: 'Select the menu you want to edit:'
179
+ message:
180
+ are_you_sure_you_want_log_out_int: 'Are you sure you want to log out?'
181
+ are_you_sure_to_import: "Are you sure you want to import?"
182
+ data_found_list: 'No data found in the list'
183
+ delete: 'Are you sure to delete this item?'
184
+ delete_item: 'Really want to delete this item?'
185
+ edit_menu: 'Place each item in the order you prefer. Click on the icon of a pencil to edit the item and click the icon in the form of x to delete the item.'
186
+ add_menus: 'Add menu items from the left column.'
187
+ press_no_continue_work_press_yes_logout: 'Press No if you want to continue work. Press Yes to logout current user.'
188
+ updated_success: 'Updated Successfully'
189
+ remove_items_submenu: 'Really remove this item and its sub menu items?'
190
+ you_must_upload_image: 'You must upload an image'
191
+ you_must_upload_video: 'You must upload an video'
192
+ so_their_data_has_not_been_saved: 'so their data has not been saved'
193
+ no_response_fields: 'No response fields '
194
+ quick_info: 'Some quick info about this user'
195
+ was_inactivated: 'was inactivated.'
196
+ was_activated: 'was activated.'
197
+ was_upgraded: 'was updated.'
198
+ can_not_be_removed: 'can not be removed.'
199
+ was_removed: 'was removed.'
200
+ processing: 'Procesando...'
201
+ change_photo: 'Use form below to upload file. Only image files.'
202
+ change_password: 'To change your password enter your old password first, then enter the new password and repeat the new password.'
203
+ you_must_upload_json_file: 'You must upload an json file'
204
+ import_process: 'Import in process'
205
+ unauthorized: "Access denied"
206
+ welcome: 'Welcome to the admin panel of your site.'
207
+ no_templates_defined: 'No templates defined'
208
+ avatar_updated: 'Updated Avatar'
209
+ form_error: 'Form Error'
210
+ page_title:
211
+ page_title: 'Page Title'
212
+ create: 'Create'
213
+ details: 'Details'
214
+ edit: 'Edit'
215
+ add: 'Add'
216
+ list: 'List'
217
+ list_of: 'List of'
218
+ new_site: 'New Site'
219
+ edit_site: 'Edit Site'
220
+ update: 'Update'
221
+ post:
222
+ add_tag: 'Add a Tag'
223
+ clone: 'Clone'
224
+ clone_content: 'Clone content'
225
+ label_required: 'Required Label'
226
+ placeholder_required: 'Required Placeholder'
227
+ message:
228
+ created: 'The %{post_type} has been created.'
229
+ updated: 'The %{post_type} has been updated.'
230
+ deleted: 'The %{post_type} has been removed.'
231
+ error: 'Error %{post_type}'
232
+ error_post_type: 'Error %{post_type}'
233
+ trash: 'The %{post_type} was moved to the trash.'
234
+ requires_different_slug: 'Requires different slug'
235
+ restore: 'The %{post_type} was restored.'
236
+ draft: 'Saved draft success'
237
+ recover: 'Recover...'
238
+ permalink: 'Permalink'
239
+ post_type:
240
+ all: 'All Items'
241
+ add: 'Add'
242
+ add_category: 'Add Category'
243
+ add_post_type: 'Add Post Type'
244
+ add_new: 'Add New'
245
+ add_post_tag: 'Add Post Tag'
246
+ categories: 'Categories'
247
+ category: 'Category'
248
+ configuration: 'Configuration'
249
+ other_configuration: 'Custom Configurations'
250
+ comments: 'Comments'
251
+ draft: 'Draft'
252
+ edit_post_type: 'Edit Post Type'
253
+ edit_category: 'Edit Category'
254
+ enter_password: 'Enter the password'
255
+ featured_image: 'Featured Image'
256
+ keywords: 'Keywords'
257
+ default_layout: 'Default Layout'
258
+ default_template: 'Default Template'
259
+ message:
260
+ error: 'Error class'
261
+ error_term: 'Error term class'
262
+ created: 'Saved'
263
+ updated: 'Updated'
264
+ deleted: 'Deleted'
265
+ no_created_html: '<br> No %{taxonomy} found'
266
+ pending: 'Pending'
267
+ permit_comments: 'Allow Comments?'
268
+ post_types: 'Post Types'
269
+ posts: 'Posts'
270
+ post_tags: 'Post Tags'
271
+ published: 'Published'
272
+ published_date: 'Published Date'
273
+ save_draft: 'Save Draft'
274
+ save_pending: 'Save Pending'
275
+ summary: 'Summary'
276
+ tags: 'Tags'
277
+ template: 'Template'
278
+ layout: 'Layout'
279
+ trash: 'Trash'
280
+ tooltip:
281
+ permission_asing_categories: 'Permit to manage your post contents by categories'
282
+ permission_add_tags: 'Enable the field to enter tags in post content'
283
+ permission_add_content: 'Enable the editor to enter the post content'
284
+ permission_add_content_summary: 'Enable the field to enter the post summary'
285
+ permission_reviews: 'Enable the option to indicate if post contents can be commented'
286
+ permission_add_image_presentation: 'Enable the editor to upload thumbnail in post contents'
287
+ permission_manage_template: 'Enable the field to select template in contents. (template: file that will be used to render a content)'
288
+ permission_manage_layout: 'Enable the field to select layout in contents. (Layout: File wrapper in which will be rendered the template)'
289
+ permission_add_keywords: 'Enable the field to enter the post keywords (SEO)'
290
+ default_layout: 'Select the default layout for all contents of this post type'
291
+ default_template: 'Select the default template for all contents of this post type'
292
+ upload_image: 'Upload Image'
293
+ view_comments: 'View Comments'
294
+ plugins:
295
+ active_plugins: 'Active Plugins'
296
+ disabled_plugins: 'Disabled Plugins'
297
+ all_plugins: 'All Plugins'
298
+ status_false: 'Inactive'
299
+ status_true: 'Active'
300
+ type_contents: 'Type Contents'
301
+ upgrade_to: "Upgrade to"
302
+ settings:
303
+ activate_create_account: 'Activate Create Account'
304
+ activate_login_social_networks: 'Activate Login Social Networks'
305
+ add_field_group: 'Add Field Group'
306
+ admin_language: 'Admin language'
307
+ allow_user_registration: 'Allow user registration'
308
+ available_fields: 'Available fields'
309
+ available_languages: 'Available languages'
310
+ categories_in: 'Categories in'
311
+ configuration_site: 'Configuration Site'
312
+ current_languages: 'Current Languages'
313
+ details_custom_field_group: 'Details Custom Field Group'
314
+ details_site: 'Details Site'
315
+ edit_custom_field_group: 'Edit Custom Field Group'
316
+ field: 'Field'
317
+ fields: 'Fields'
318
+ information_basic: 'Basic Information'
319
+ theme_setting: "Theme settings"
320
+ input_only_date: 'Input only the date'
321
+ input_date_time: 'Input date and time'
322
+ languages_configuration: 'Languages configuration'
323
+ list_custom_fields_group: 'List Custom Fields Group'
324
+ list_sites: 'List Sites'
325
+ login_twitter: 'Twitter'
326
+ login_facebook: 'Facebook'
327
+ login_google: 'Google+'
328
+ email_enabled: "Use this settings to send emails"
329
+ email_server: "Email Server"
330
+ email_port: "Email Port"
331
+ email_domain: "Email Domain"
332
+ email_username: "User Name"
333
+ email_pass: "User Password"
334
+ email_from: "Email From"
335
+ email_cc: "Email CC"
336
+ twitter_card: "Twitter Card"
337
+ author: "Author Name"
338
+ seo_setting: "Seo Settings"
339
+ email_settings: "Email Settings (SMTP)"
340
+ filesystem_type: "Filesystem type"
341
+ filesystem_s3_access_key: "AWS S3 Access Key"
342
+ filesystem_s3_secret_key: "AWS S3 Secret Key"
343
+ filesystem_s3_bucket_name: "AWS S3 Bucket name"
344
+ filesystem_region: "AWS S3 Region"
345
+ filesystem_cdn: "CDN url"
346
+ security:
347
+ captcha_user_register: "Enable captcha on user registration?"
348
+ message:
349
+ language_updated: 'Your languages was configured.'
350
+ site_updated: 'The site has been updated.'
351
+ new_custom_field_group: 'New Custom Field Group'
352
+ options_select: 'Options select'
353
+ option_title: 'Option Title'
354
+ others: 'Others'
355
+ please_separated_commas: 'Please separated by commas'
356
+ comment_status: 'Register comments as approved?'
357
+ list_per_page_front: 'Quantity of items to be listed on frontend'
358
+ list_per_page_admin: 'Quantity of items to be listed on backend'
359
+ permission_register_users: 'Permission to Register Users'
360
+ permission_login_twitter: 'Permission to Login with Twitter'
361
+ permission_login_facebook: 'Permission to Login with Facebook'
362
+ permission_login_google: 'Permission to Login with Google+'
363
+ posts_in: 'Posts in'
364
+ settings: 'Settings'
365
+ tooltip:
366
+ add_custom_field_posts: 'Add Custom Field in Posts of '
367
+ add_custom_field_categories: 'Add Custom Field in Categories of '
368
+ add_custom_field_users: 'Add Custom Field in Users '
369
+ add_custom_field_sites: 'Add Custom Field in Site '
370
+ add_custom_field_themes: 'Add Custom Field in Theme '
371
+ add_custom_field_widget: 'Add Custom Field in Widget '
372
+ untitled: 'Untitled'
373
+ where_display_group: 'Where to display this group'
374
+ sidebar:
375
+ appearance: 'Appearance'
376
+ comments: 'Comments'
377
+ content: 'Content'
378
+ contents: 'Contents'
379
+ content_groups: 'Content Groups'
380
+ custom_fields: 'Custom Fields'
381
+ dashboard: 'Dashboard'
382
+ general_site: 'General Site'
383
+ information: 'Information'
384
+ languages: 'Languages'
385
+ shortcodes: "Shortcodes"
386
+ media: 'Media'
387
+ menus: 'Menus'
388
+ navigation: 'Navigation'
389
+ plugins: 'Plugins'
390
+ post_type: 'Post Type'
391
+ settings: 'Settings'
392
+ site_settings: 'Site settings'
393
+ sites: 'Sites'
394
+ themes: 'Themes'
395
+ users: 'Users'
396
+ widget: 'Widget'
397
+ widgets: 'Widgets'
398
+ main_navigation: "MAIN NAVIGATION"
399
+ sidebar_top:
400
+ admin_panel: 'Admin. Panel'
401
+ visit: 'Visit'
402
+ sites:
403
+ add_site: 'Add Site'
404
+ message:
405
+ error: 'Not found site'
406
+ created: 'The site has been created.'
407
+ updated: 'The site has been updated.'
408
+ deleted: 'Correct Deleted'
409
+ enter_key_domain: 'Enter a key or a domain'
410
+ enter_key_domain_empty: 'Enter a key (site2) or a domain (my_domain.com). Key will be the name of your subdomain.'
411
+ signin:
412
+ message:
413
+ enter_username_password: 'You must enter a username and/or password'
414
+ combination_username_password_invalid: 'Combination of username/password invalid.'
415
+ success_user: 'Success User'
416
+ table:
417
+ actions: 'Actions'
418
+ attribute: 'Attribute'
419
+ author: 'Author'
420
+ basic: 'Basic'
421
+ categories: 'Categories'
422
+ updated_at: "Updated at"
423
+ comments: 'Comments'
424
+ count: 'Count'
425
+ date_published: 'Date Published'
426
+ default: 'Default'
427
+ default_thumbnail: 'Default Thumbnail'
428
+ default_value: 'Default Value'
429
+ description: 'Description'
430
+ dimensions: 'Dimensions'
431
+ display_objects: 'Display Objects'
432
+ draft: 'Draft'
433
+ email: 'Email'
434
+ e_mail: 'E-mail'
435
+ email_address: 'Email Address'
436
+ error: 'Error'
437
+ errors: 'Errors'
438
+ excerpt: 'Excerpt'
439
+ facebook: 'Facebook'
440
+ favicon: 'Favicon'
441
+ screenshot: "Screenshot"
442
+ first_names: 'First Name'
443
+ group_name: 'Group Name'
444
+ google_plus: 'Google plus'
445
+ hide: 'Hide'
446
+ home_page: 'Home Page'
447
+ has_keywords: 'Has Keywords'
448
+ manage_keywords: 'Manage Keywords'
449
+ id: 'ID'
450
+ images: 'Images'
451
+ import: 'Import'
452
+ instagram: 'Instagram'
453
+ keywords: 'Keywords (enter separated by commas)'
454
+ kind: 'Kind'
455
+ last_login: 'Last login'
456
+ last_names: 'Last Name'
457
+ last_visit: 'Last visit'
458
+ link: 'Link'
459
+ linkedin: 'Linkedin'
460
+ login: 'Login'
461
+ logo: 'Logo'
462
+ manage_category: 'Manage Category'
463
+ manage_content: 'Manage Content'
464
+ manage_picture: 'Manage Picture'
465
+ manage_summary: 'Manage Summary'
466
+ manage_tags: 'Manage Tags'
467
+ manage_template: 'Manage Template'
468
+ manage_layout: 'Manage Layout'
469
+ modified: 'Modified'
470
+ multiple_field_int: 'Multiple field?'
471
+ required_field_int: 'Required field?'
472
+ translate_field_int: 'Translate field?'
473
+ show_in_frontend: 'Show in Frontend (Only post contents)'
474
+ name: 'Name'
475
+ new_password: 'New Password'
476
+ no_default: 'No Default'
477
+ old_password: 'Old Password'
478
+ options: 'Options'
479
+ settings: 'Settings'
480
+ options_field: 'Options Field'
481
+ parent: 'Parent'
482
+ password: 'Password'
483
+ password_confirmation: 'Password Confirmation'
484
+ password_protection: 'Password protection'
485
+ permit_comments_default: 'Allow Comments (default)'
486
+ post: 'Post'
487
+ post_type: 'Post Type'
488
+ pending: 'Pending'
489
+ private: 'Private'
490
+ public: 'Public'
491
+ qty: 'Quantity'
492
+ quick_info: 'Quick Info'
493
+ registration: 'Registration'
494
+ repeat_new: 'Repeat New'
495
+ role: 'Role'
496
+ slogan: 'Slogan'
497
+ slug: 'Slug'
498
+ short_code: 'Short Code'
499
+ site_name: 'Site Name'
500
+ size: 'Size'
501
+ social: 'Social'
502
+ skype: 'Skype'
503
+ status: 'Status'
504
+ owner: 'Page Owner'
505
+ tags: 'Tags'
506
+ text: 'Text'
507
+ title: 'Title'
508
+ total: 'Total'
509
+ trash: 'Trash'
510
+ twitter: 'Twitter'
511
+ username: 'Username'
512
+ value: 'Value'
513
+ version: 'Version'
514
+ visibility: 'Visibility'
515
+ page_404: '404 Page'
516
+ youtube: 'Youtube'
517
+ more_actions: 'More actions'
518
+ more_actions_info: 'More actions...'
519
+ shorcodes: "Shortcodes"
520
+ themes:
521
+ footer_copyright: 'Footer Copyright'
522
+ theme_select: 'Select Theme'
523
+ title: 'Theme %{theme} Settings '
524
+ analytics_code: 'Analytics Code'
525
+ social_share: 'Social share'
526
+
527
+ message:
528
+ updated: 'Theme updated'
529
+ users:
530
+ all_users: 'All Users'
531
+ add_user: 'Add User'
532
+ add_user_role: 'Add User Role'
533
+ avatar: 'Avatar'
534
+ create_user: 'Create User'
535
+ edit_profile: 'Edit Profile'
536
+ list_users: 'List Users'
537
+ list_user_roles: 'User Roles'
538
+ message:
539
+ error: 'Not found user.'
540
+ error_captcha: 'Oh! Its error with CAPTCHA!'
541
+ created: 'The user has been created.'
542
+ updated: 'The user has been updated.'
543
+ deleted: 'The user has been deleted.'
544
+ incorrect_old_password: 'Incorrect old password'
545
+ rol_error: 'Not found group user.'
546
+ rol_created: 'The user role has been created.'
547
+ rol_updated: 'The user role has been updated.'
548
+ rol_deleted: 'The user role has been deleted.'
549
+ requires_different_name: 'Requires different name'
550
+ requires_different_username: 'Requires different username'
551
+ requires_different_email: 'Requires different email'
552
+ new_photo: 'New Photo'
553
+ others_permissions: 'Others permissions'
554
+ profile: 'Profile'
555
+ slogan: 'Slogan'
556
+ type_contents: 'Type of Contents'
557
+ user_roles: 'User Roles'
558
+ roles_values:
559
+ comments: 'Comments'
560
+ forms: 'Forms'
561
+ media: 'Media'
562
+ publish: 'Publish'
563
+ themes: 'Themes'
564
+ html_create_or_edit: 'Create<br>or Edit'
565
+ html_edit_other: 'Edit <br> Other'
566
+ html_edit_publish: 'Edit <br> Publish'
567
+ html_delete_other: 'Delete <br> Other'
568
+ html_delete_publish: 'Delete <br> Publish'
569
+ html_read_private: 'Read <br> Private'
570
+ html_manage_categories: 'Manage <br> Categories'
571
+ html_manage_tags: 'Manage <br> Tags'
572
+ tool_tip:
573
+ comments: 'Allowing the comments section'
574
+ delete: 'You need permission to Create or Edit to delete posts of your property. '
575
+ forms: 'Allowing Forms section'
576
+ media: 'Permission to the midsection'
577
+ publish: 'You need permits Create or Edit, Edit Other, Edit, Publish, to enable this permission'
578
+ themes: 'Themes permission to section'
579
+ widgets: 'Widgets permission to section'
580
+ menus: 'Permission to the Menu section'
581
+ plugins: 'Permission to the Plugins section'
582
+ users: 'Permission to create, edit, delete Users'
583
+ settings: 'Permission to section Settings'
584
+ create_or_edit: 'It lets you create and edit your posts (the post is not published)'
585
+ edit_other: 'It allows you to edit the post of other users (the post is not published)'
586
+ edit_publish: 'It allows you to edit the post published'
587
+ delete_other: 'You need permission to remove edit other posts by other users'
588
+ delete_publish: 'You need permits Delete, Delete Other, to enable this permission'
589
+ read_private: 'Allows you to view private posts'
590
+ manage_categories: 'Permission to create, edit and delete categories'
591
+ manage_tags: 'Permission to create, edit and delete post tags'
592
+ validate:
593
+ required: 'This field is required.'
594
+ remote: 'Please fix this field.'
595
+ email: 'Please enter a valid email address.'
596
+ url: 'Please enter a valid URL.'
597
+ date: 'Please enter a valid date.'
598
+ dateiso: 'Please enter a valid date ( ISO ).'
599
+ number: 'Please enter a valid number.'
600
+ digits: 'Please enter only digits.'
601
+ creditcard: 'Please enter a valid credit card number.'
602
+ equalto: 'Please enter the same value again.'
603
+ maxlength: 'Please enter no more than {0} characters.'
604
+ minlength: 'Please enter at least {0} characters.'
605
+ rangelength: 'Please enter a value between {0} and {1} characters long.'
606
+ range: 'Please enter a value between {0} and {1}.'
607
+ max: 'Please enter a value less than or equal to {0}.'
608
+ min: 'Please enter a value greater than or equal to {0}.'
609
+ widgets:
610
+ create_widget: 'Create Widget'
611
+ create_sidebar: 'Create Sidebar'
612
+ complex_widgets: 'Complex Widgets'
613
+ simple_widgets: 'Simple Widgets'
614
+ message:
615
+ created: 'The widget has been created.'
616
+ updated: 'The widget has been updated.'
617
+ deleted: 'The widget has been delete.'
618
+ error_created: 'Not Created Widget.'
619
+ error_updated: 'Not Updated Widget.'
620
+ not_registered_widgets: 'There are no registered widgets'
621
+ assign:
622
+ updated: "Widget assign updated"
623
+ error_updated: "Widget assign not updated"
624
+ sidebar:
625
+ created: "Sidebar Create."
626
+ updated: "Sidebar Update."
627
+ error_created: "No created sidebar."
628
+ error_updated: "No Update sidebar."
629
+ error_deleted: "Sidebar deleted."
630
+ intro:
631
+ profile: "In this place you can see your profile options."
632
+ content: "This block contains all content groups of your site. Each content can have different structure configured in settings => Content Groups"
633
+ #dashboard: "In this section you can see "
634
+ media: "This section manage your all your public media files"
635
+ comments: "This section manage all the comments of your contents"
636
+ appearance: "Manage all the information related to Public Interface"
637
+ themes: "In this section you can choose your preferred theme (Public Interface)"
638
+ widgets: "This module permit you to manage your widgets and paste the code in any content."
639
+ menus: "<img style=\"max-width: 100%;\" src=\"%{image}\" /> This module permit you to control your menus for Public Interface in multiple levels."
640
+ plugins: "In this section you can see all plugins (custom applications to extend your site functionality)."
641
+ users: "Permit you to manage all users of the site. Also you can manage the roles for the users."
642
+ settings: "In this section you can find all site configurations"
643
+ gral_site: "This is a section where you can configure all settings of the site and current theme"
644
+ sites: "This module permit you to manage your sub sites, i.e. you can create unlimited sites like this (This is visible only for main site). Check /config/system.json to customize settings."
645
+ custom_fields: "This section permit you to extend easily your contents, themes,... by custom fields."
646
+ post_type: "In this module you can manage your content groups without programing anything."
647
+ languages: "This module permit you to manage all languages for your site. Also you can configure the language for your admin panel."
648
+ shortcodes: "In this section you can see all available shortcodes to use in your contents."