locomotive_cms 0.0.3.3 → 0.0.4.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (839) hide show
  1. data/Gemfile +47 -33
  2. data/README.textile +11 -5
  3. data/app/controllers/admin/accounts_controller.rb +6 -6
  4. data/app/controllers/admin/api_contents_controller.rb +9 -9
  5. data/app/controllers/admin/asset_collections_controller.rb +9 -9
  6. data/app/controllers/admin/assets_controller.rb +13 -13
  7. data/app/controllers/admin/base_controller.rb +21 -21
  8. data/app/controllers/admin/content_types_controller.rb +7 -3
  9. data/app/controllers/admin/contents_controller.rb +16 -16
  10. data/app/controllers/admin/cross_domain_sessions_controller.rb +34 -0
  11. data/app/controllers/admin/current_sites_controller.rb +9 -9
  12. data/app/controllers/admin/custom_fields_controller.rb +11 -11
  13. data/app/controllers/admin/images_controller.rb +51 -0
  14. data/app/controllers/admin/imports_controller.rb +51 -0
  15. data/app/controllers/admin/memberships_controller.rb +4 -4
  16. data/app/controllers/admin/my_accounts_controller.rb +9 -9
  17. data/app/controllers/admin/pages_controller.rb +23 -12
  18. data/app/controllers/admin/passwords_controller.rb +6 -6
  19. data/app/controllers/admin/rendering_controller.rb +6 -6
  20. data/app/controllers/admin/sessions_controller.rb +8 -8
  21. data/app/controllers/admin/sitemaps_controller.rb +6 -6
  22. data/app/controllers/admin/sites_controller.rb +9 -9
  23. data/app/controllers/admin/snippets_controller.rb +10 -8
  24. data/app/controllers/admin/theme_assets_controller.rb +28 -17
  25. data/app/controllers/application_controller.rb +9 -1
  26. data/app/controllers/home_controller.rb +4 -4
  27. data/app/helpers/admin/accounts_helper.rb +3 -3
  28. data/app/helpers/admin/assets_helper.rb +11 -5
  29. data/app/helpers/admin/base_helper.rb +9 -9
  30. data/app/helpers/admin/custom_fields_helper.rb +11 -11
  31. data/app/helpers/admin/login_helper.rb +7 -7
  32. data/app/helpers/admin/pages_helper.rb +22 -18
  33. data/app/helpers/admin/sites_helper.rb +5 -5
  34. data/app/models/account.rb +33 -16
  35. data/app/models/asset.rb +19 -15
  36. data/app/models/asset_collection.rb +29 -20
  37. data/app/models/content_instance.rb +34 -17
  38. data/app/models/content_type.rb +29 -22
  39. data/app/models/editable_element.rb +21 -0
  40. data/app/models/editable_file.rb +9 -0
  41. data/app/models/editable_long_text.rb +3 -0
  42. data/app/models/editable_short_text.rb +12 -0
  43. data/app/models/extensions/asset/vignette.rb +13 -11
  44. data/app/models/extensions/page/editable_elements.rb +111 -0
  45. data/app/models/extensions/page/parse.rb +107 -0
  46. data/app/models/extensions/page/render.rb +8 -14
  47. data/app/models/extensions/page/templatized.rb +16 -16
  48. data/app/models/extensions/page/tree.rb +33 -24
  49. data/app/models/membership.rb +12 -12
  50. data/app/models/page.rb +41 -39
  51. data/app/models/site.rb +46 -41
  52. data/app/models/snippet.rb +63 -2
  53. data/app/models/theme_asset.rb +103 -59
  54. data/app/uploaders/asset_uploader.rb +19 -18
  55. data/app/uploaders/editable_file_uploader.rb +11 -0
  56. data/app/uploaders/theme_asset_uploader.rb +11 -22
  57. data/app/views/admin/accounts/new.html.haml +4 -4
  58. data/app/views/admin/asset_collections/edit.html.haml +10 -10
  59. data/app/views/admin/asset_collections/index.html.haml +2 -2
  60. data/app/views/admin/asset_collections/new.html.haml +2 -2
  61. data/app/views/admin/assets/edit.html.haml +1 -1
  62. data/app/views/admin/assets/new.html.haml +2 -2
  63. data/app/views/admin/content_types/_form.html.haml +4 -4
  64. data/app/views/admin/content_types/edit.html.haml +3 -3
  65. data/app/views/admin/content_types/new.html.haml +2 -2
  66. data/app/views/admin/contents/_form.html.haml +1 -1
  67. data/app/views/admin/contents/_list.html.haml +3 -3
  68. data/app/views/admin/contents/edit.html.haml +1 -1
  69. data/app/views/admin/contents/index.html.haml +6 -6
  70. data/app/views/admin/contents/new.html.haml +3 -3
  71. data/app/views/admin/cross_domain_sessions/new.html.haml +14 -0
  72. data/app/views/admin/current_sites/_form.html.haml +9 -9
  73. data/app/views/admin/current_sites/edit.html.haml +3 -2
  74. data/app/views/admin/custom_fields/_custom_form.html.haml +4 -4
  75. data/app/views/admin/custom_fields/_edit_field.html.haml +2 -2
  76. data/app/views/admin/custom_fields/_index.html.haml +24 -24
  77. data/app/views/admin/custom_fields/edit_category.html.haml +16 -16
  78. data/app/views/admin/errors/404.html.haml +7 -0
  79. data/app/views/admin/errors/500.html.haml +7 -0
  80. data/app/views/admin/imports/new.html.haml +21 -0
  81. data/app/views/admin/imports/show.html.haml +19 -0
  82. data/app/views/admin/mailer/confirmation_instructions.html.haml +2 -2
  83. data/app/views/admin/mailer/reset_password_instructions.html.haml +4 -4
  84. data/app/views/admin/mailer/unlock_instructions.html.haml +3 -3
  85. data/app/views/admin/memberships/new.html.haml +3 -3
  86. data/app/views/admin/my_accounts/edit.html.haml +11 -10
  87. data/app/views/admin/pages/_editable_elements.html.haml +35 -0
  88. data/app/views/admin/pages/_form.html.haml +21 -26
  89. data/app/views/admin/pages/_page.html.haml +5 -5
  90. data/app/views/admin/pages/edit.html.haml +3 -3
  91. data/app/views/admin/pages/index.html.haml +2 -2
  92. data/app/views/admin/pages/new.html.haml +2 -2
  93. data/app/views/admin/passwords/edit.html.haml +4 -4
  94. data/app/views/admin/passwords/new.html.haml +6 -6
  95. data/app/views/admin/sessions/new.html.haml +2 -2
  96. data/app/views/admin/shared/_footer.html.haml +1 -1
  97. data/app/views/admin/shared/_form_actions.html.haml +2 -2
  98. data/app/views/admin/shared/_head.html.haml +3 -3
  99. data/app/views/admin/shared/_header.html.haml +9 -2
  100. data/app/views/admin/shared/menu/_contents.html.haml +3 -3
  101. data/app/views/admin/shared/menu/_settings.html.haml +1 -2
  102. data/app/views/admin/sitemaps/show.xml.builder +13 -3
  103. data/app/views/admin/sites/_form.html.haml +5 -5
  104. data/app/views/admin/sites/new.html.haml +2 -2
  105. data/app/views/admin/snippets/_form.html.haml +6 -3
  106. data/app/views/admin/snippets/_snippet.html.haml +3 -2
  107. data/app/views/admin/snippets/edit.html.haml +2 -2
  108. data/app/views/admin/snippets/index.html.haml +2 -2
  109. data/app/views/admin/snippets/new.html.haml +3 -3
  110. data/app/views/admin/theme_assets/_asset.html.haml +11 -10
  111. data/app/views/admin/theme_assets/_form.html.haml +19 -21
  112. data/app/views/admin/theme_assets/edit.html.haml +1 -1
  113. data/app/views/admin/theme_assets/images.html.haml +11 -11
  114. data/app/views/admin/theme_assets/index.html.haml +34 -19
  115. data/app/views/admin/theme_assets/new.html.haml +2 -2
  116. data/app/views/home/show.html.haml +2 -2
  117. data/app/views/layouts/admin/application.html.haml +6 -6
  118. data/app/views/layouts/admin/{login.html.haml → box.html.haml} +5 -3
  119. data/app/views/layouts/application.html.haml +1 -1
  120. data/config/application.rb +3 -1
  121. data/config/cucumber.yml +2 -8
  122. data/config/environments/development.rb +4 -3
  123. data/config/environments/production.rb +16 -1
  124. data/config/environments/test.rb +7 -1
  125. data/config/initializers/devise.rb +3 -9
  126. data/config/initializers/formtastic.rb +2 -2
  127. data/config/initializers/haml.rb +1 -0
  128. data/config/initializers/inflections.rb +6 -1
  129. data/config/initializers/locomotive.rb +8 -9
  130. data/config/initializers/rspec_generator.rb +1 -1
  131. data/config/initializers/secret_token.rb +1 -1
  132. data/config/locales/admin_ui_en.yml +93 -56
  133. data/config/locales/admin_ui_fr.yml +82 -68
  134. data/config/locales/default_en.yml +8 -10
  135. data/config/locales/default_fr.yml +32 -37
  136. data/config/locales/flash.en.yml +20 -21
  137. data/config/locales/flash.fr.yml +20 -21
  138. data/config/routes.rb +33 -27
  139. data/lib/generators/locomotive/copy_assets/copy_assets_generator.rb +5 -5
  140. data/lib/generators/locomotive/install/install_generator.rb +3 -3
  141. data/lib/generators/locomotive/install/templates/locomotive.rb +8 -8
  142. data/lib/locomotive/admin_responder.rb +5 -5
  143. data/lib/locomotive/carrierwave/base.rb +3 -3
  144. data/lib/locomotive/carrierwave/patches.rb +17 -13
  145. data/lib/locomotive/carrierwave.rb +5 -1
  146. data/lib/locomotive/configuration.rb +8 -8
  147. data/lib/{core_ext.rb → locomotive/core_ext.rb} +15 -11
  148. data/lib/locomotive/custom_fields.rb +6 -5
  149. data/lib/locomotive/delayed_job.rb +47 -0
  150. data/lib/locomotive/engine.rb +13 -4
  151. data/lib/locomotive/heroku/custom_domain.rb +14 -14
  152. data/lib/locomotive/heroku.rb +18 -16
  153. data/lib/locomotive/httparty/patches.rb +4 -4
  154. data/lib/locomotive/httparty/webservice.rb +4 -4
  155. data/lib/locomotive/httparty.rb +1 -1
  156. data/lib/locomotive/import/asset_collections.rb +53 -0
  157. data/lib/locomotive/import/assets.rb +74 -0
  158. data/lib/locomotive/import/content_types.rb +84 -0
  159. data/lib/locomotive/import/job.rb +73 -0
  160. data/lib/locomotive/import/pages.rb +114 -0
  161. data/lib/locomotive/import/site.rb +17 -0
  162. data/lib/locomotive/import/snippets.rb +23 -0
  163. data/lib/locomotive/import.rb +7 -0
  164. data/lib/locomotive/inherited_resources.rb +5 -4
  165. data/lib/locomotive/liquid/drops/asset.rb +21 -0
  166. data/lib/locomotive/liquid/drops/asset_collections.rb +47 -12
  167. data/lib/locomotive/liquid/drops/base.rb +12 -12
  168. data/lib/locomotive/liquid/drops/content.rb +10 -10
  169. data/lib/locomotive/liquid/drops/contents.rb +15 -20
  170. data/lib/locomotive/liquid/drops/page.rb +9 -11
  171. data/lib/locomotive/liquid/drops/site.rb +15 -0
  172. data/lib/locomotive/liquid/errors.rb +5 -0
  173. data/lib/locomotive/liquid/filters/date.rb +14 -14
  174. data/lib/locomotive/liquid/filters/html.rb +65 -24
  175. data/lib/locomotive/liquid/filters/misc.rb +11 -11
  176. data/lib/locomotive/liquid/filters/text.rb +7 -7
  177. data/lib/locomotive/liquid/tags/blueprint.rb +13 -13
  178. data/lib/locomotive/liquid/tags/consume.rb +23 -13
  179. data/lib/locomotive/liquid/tags/editable/base.rb +60 -0
  180. data/lib/locomotive/liquid/tags/editable/file.rb +23 -0
  181. data/lib/locomotive/liquid/tags/editable/long_text.rb +31 -0
  182. data/lib/locomotive/liquid/tags/editable/short_text.rb +31 -0
  183. data/lib/locomotive/liquid/tags/editable.rb +4 -0
  184. data/lib/locomotive/liquid/tags/extends.rb +42 -0
  185. data/lib/locomotive/liquid/tags/google_analytics.rb +39 -0
  186. data/lib/locomotive/liquid/tags/inherited_block.rb +31 -0
  187. data/lib/locomotive/liquid/tags/inline_editor.rb +52 -0
  188. data/lib/locomotive/liquid/tags/jquery.rb +8 -8
  189. data/lib/locomotive/liquid/tags/nav.rb +17 -17
  190. data/lib/locomotive/liquid/tags/paginate.rb +23 -23
  191. data/lib/locomotive/liquid/tags/snippet.rb +39 -14
  192. data/lib/locomotive/liquid/tags/with_scope.rb +11 -11
  193. data/lib/locomotive/liquid.rb +3 -3
  194. data/lib/locomotive/logger.rb +4 -4
  195. data/lib/locomotive/middlewares/fonts.rb +44 -0
  196. data/lib/locomotive/middlewares.rb +1 -0
  197. data/lib/locomotive/misc_form_builder.rb +47 -0
  198. data/lib/locomotive/mongoid/document.rb +7 -8
  199. data/lib/locomotive/mongoid/model_extensions.rb +1 -1
  200. data/lib/locomotive/mongoid/patches.rb +79 -51
  201. data/lib/locomotive/mongoid.rb +1 -1
  202. data/lib/locomotive/railties/tasks.rake +16 -0
  203. data/lib/locomotive/regexps.rb +4 -8
  204. data/lib/locomotive/render.rb +46 -36
  205. data/lib/locomotive/routing/default_constraint.rb +12 -13
  206. data/lib/locomotive/routing/site_dispatcher.rb +20 -18
  207. data/lib/locomotive/routing.rb +2 -0
  208. data/lib/locomotive/session_store.rb +57 -0
  209. data/lib/locomotive/version.rb +3 -0
  210. data/lib/locomotive.rb +22 -14
  211. data/lib/tasks/cucumber.rake +2 -2
  212. data/lib/tasks/rspec.rake +1 -1
  213. data/public/images/admin/{login → box}/bottom_panel_bg.png +0 -0
  214. data/public/images/admin/{login → box}/buttons/left_bg.png +0 -0
  215. data/public/images/admin/{login → box}/buttons/right_bg.png +0 -0
  216. data/public/images/admin/{login → box}/content_panel_bg.png +0 -0
  217. data/public/images/admin/{login → box}/input_bg.png +0 -0
  218. data/public/images/admin/{login → box}/light_bg.png +0 -0
  219. data/public/images/admin/{login → box}/top_panel_bg.png +0 -0
  220. data/public/images/admin/{login → box}/wrapper_bg.png +0 -0
  221. data/public/images/admin/buttons/dark-gray-bg.png +0 -0
  222. data/public/images/admin/form/spinner.gif +0 -0
  223. data/public/images/admin/inline_editor/action-left.png +0 -0
  224. data/public/images/admin/inline_editor/action-right.png +0 -0
  225. data/public/images/admin/inline_editor/bg.png +0 -0
  226. data/public/images/admin/inline_editor/drawer.png +0 -0
  227. data/public/images/admin/list/icons/states.png +0 -0
  228. data/public/images/admin/plugins/selectmenu/arrow.png +0 -0
  229. data/public/images/admin/plugins/selectmenu/background.png +0 -0
  230. data/public/javascripts/admin/account.js +4 -4
  231. data/public/javascripts/admin/aloha/VERSION.txt +2 -0
  232. data/public/javascripts/admin/aloha/aloha-nodeps.js +153 -0
  233. data/public/javascripts/admin/aloha/aloha.js +246 -0
  234. data/public/javascripts/admin/aloha/css/aloha.css +408 -0
  235. data/{vendor/plugins/custom_fields/MIT-LICENSE → public/javascripts/admin/aloha/deps/MIT-LICENSE.txt} +4 -4
  236. data/public/javascripts/admin/aloha/deps/extjs/resources/charts.swf +0 -0
  237. data/public/javascripts/admin/aloha/deps/extjs/resources/css/ext-all.css +6795 -0
  238. data/public/javascripts/admin/aloha/deps/extjs/resources/css/xtheme-gray.css +1654 -0
  239. data/public/javascripts/admin/aloha/deps/extjs/resources/expressinstall.swf +0 -0
  240. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners-blue.gif +0 -0
  241. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners.gif +0 -0
  242. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l-blue.gif +0 -0
  243. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l.gif +0 -0
  244. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r-blue.gif +0 -0
  245. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r.gif +0 -0
  246. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb-blue.gif +0 -0
  247. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb.gif +0 -0
  248. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/arrow.gif +0 -0
  249. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/btn.gif +0 -0
  250. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-cs.gif +0 -0
  251. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-lr.gif +0 -0
  252. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-tb.gif +0 -0
  253. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b-noline.gif +0 -0
  254. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b.gif +0 -0
  255. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-bo.gif +0 -0
  256. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-noline.gif +0 -0
  257. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-o.gif +0 -0
  258. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow.gif +0 -0
  259. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-add.gif +0 -0
  260. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-no.gif +0 -0
  261. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-yes.gif +0 -0
  262. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/editor/tb-sprite.gif +0 -0
  263. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/checkbox.gif +0 -0
  264. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.gif +0 -0
  265. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.psd +0 -0
  266. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.gif +0 -0
  267. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.psd +0 -0
  268. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/error-tip-corners.gif +0 -0
  269. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/exclamation.gif +0 -0
  270. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/radio.gif +0 -0
  271. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.gif +0 -0
  272. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.psd +0 -0
  273. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/text-bg.gif +0 -0
  274. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.gif +0 -0
  275. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.psd +0 -0
  276. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-tpl.gif +0 -0
  277. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.gif +0 -0
  278. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.psd +0 -0
  279. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/gradient-bg.gif +0 -0
  280. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-left-white.gif +0 -0
  281. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-right-white.gif +0 -0
  282. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-bottom.gif +0 -0
  283. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-top.gif +0 -0
  284. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/columns.gif +0 -0
  285. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/dirty.gif +0 -0
  286. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/done.gif +0 -0
  287. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-no.gif +0 -0
  288. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-yes.gif +0 -0
  289. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/footer-bg.gif +0 -0
  290. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-hd.gif +0 -0
  291. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-split.gif +0 -0
  292. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-hrow.gif +0 -0
  293. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-loading.gif +0 -0
  294. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-split.gif +0 -0
  295. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-vista-hd.gif +0 -0
  296. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hd-btn.gif +0 -0
  297. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow-over.gif +0 -0
  298. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow.gif +0 -0
  299. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
  300. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
  301. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-by.gif +0 -0
  302. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-collapse.gif +0 -0
  303. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand-sprite.gif +0 -0
  304. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand.gif +0 -0
  305. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hd-pop.gif +0 -0
  306. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-asc.gif +0 -0
  307. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-desc.gif +0 -0
  308. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.gif +0 -0
  309. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.png +0 -0
  310. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.gif +0 -0
  311. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.png +0 -0
  312. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/invalid_line.gif +0 -0
  313. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/loading.gif +0 -0
  314. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/mso-hd.gif +0 -0
  315. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/nowait.gif +0 -0
  316. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first-disabled.gif +0 -0
  317. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first.gif +0 -0
  318. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last-disabled.gif +0 -0
  319. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last.gif +0 -0
  320. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next-disabled.gif +0 -0
  321. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next.gif +0 -0
  322. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev-disabled.gif +0 -0
  323. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev.gif +0 -0
  324. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/pick-button.gif +0 -0
  325. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/refresh.gif +0 -0
  326. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-check-sprite.gif +0 -0
  327. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-expand-sprite.gif +0 -0
  328. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-over.gif +0 -0
  329. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-sel.gif +0 -0
  330. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort-hd.gif +0 -0
  331. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_asc.gif +0 -0
  332. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_desc.gif +0 -0
  333. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/wait.gif +0 -0
  334. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/collapse.gif +0 -0
  335. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/expand.gif +0 -0
  336. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/gradient-bg.gif +0 -0
  337. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-bottom.gif +0 -0
  338. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-left.gif +0 -0
  339. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-right.gif +0 -0
  340. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-top.gif +0 -0
  341. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-collapse.gif +0 -0
  342. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-expand.gif +0 -0
  343. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-close.gif +0 -0
  344. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-bg.gif +0 -0
  345. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-light-bg.gif +0 -0
  346. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stick.gif +0 -0
  347. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stuck.gif +0 -0
  348. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close-on.gif +0 -0
  349. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close.gif +0 -0
  350. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/checked.gif +0 -0
  351. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/group-checked.gif +0 -0
  352. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/item-over.gif +0 -0
  353. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu-parent.gif +0 -0
  354. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu.gif +0 -0
  355. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/unchecked.gif +0 -0
  356. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/corners-sprite.gif +0 -0
  357. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/left-right.gif +0 -0
  358. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/light-hd.gif +0 -0
  359. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
  360. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprites.gif +0 -0
  361. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tools-sprites-trans.gif +0 -0
  362. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.gif +0 -0
  363. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.png +0 -0
  364. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-corners-sprite.gif +0 -0
  365. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-left-right.gif +0 -0
  366. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-top-bottom.gif +0 -0
  367. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/progress/progress-bg.gif +0 -0
  368. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/bg.gif +0 -0
  369. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/close.gif +0 -0
  370. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
  371. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-sprite.gif +0 -0
  372. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/s.gif +0 -0
  373. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-c.png +0 -0
  374. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-lr.png +0 -0
  375. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow.png +0 -0
  376. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/blue-loading.gif +0 -0
  377. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/calendar.gif +0 -0
  378. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/glass-bg.gif +0 -0
  379. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/hd-sprite.gif +0 -0
  380. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/large-loading.gif +0 -0
  381. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/left-btn.gif +0 -0
  382. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/loading-balls.gif +0 -0
  383. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/right-btn.gif +0 -0
  384. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/warning.gif +0 -0
  385. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle-dark.gif +0 -0
  386. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle.gif +0 -0
  387. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle-dark.gif +0 -0
  388. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle.gif +0 -0
  389. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle-dark.gif +0 -0
  390. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle.gif +0 -0
  391. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle-dark.gif +0 -0
  392. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle.gif +0 -0
  393. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle-dark.gif +0 -0
  394. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle.gif +0 -0
  395. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/square.gif +0 -0
  396. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle-dark.gif +0 -0
  397. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle.gif +0 -0
  398. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-bg.png +0 -0
  399. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-thumb.png +0 -0
  400. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-bg.png +0 -0
  401. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-thumb.png +0 -0
  402. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-left.gif +0 -0
  403. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-right.gif +0 -0
  404. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroller-bg.gif +0 -0
  405. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
  406. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
  407. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
  408. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
  409. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
  410. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
  411. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-close.gif +0 -0
  412. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.gif +0 -0
  413. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.png +0 -0
  414. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
  415. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tabs-sprite.gif +0 -0
  416. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/bg.gif +0 -0
  417. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
  418. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow.gif +0 -0
  419. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-over-bg.gif +0 -0
  420. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/gray-bg.gif +0 -0
  421. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/more.gif +0 -0
  422. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-bg.gif +0 -0
  423. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
  424. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
  425. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
  426. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/arrows.gif +0 -0
  427. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-add.gif +0 -0
  428. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-between.gif +0 -0
  429. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-no.gif +0 -0
  430. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-over.gif +0 -0
  431. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-under.gif +0 -0
  432. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-yes.gif +0 -0
  433. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
  434. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus.gif +0 -0
  435. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
  436. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus.gif +0 -0
  437. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end.gif +0 -0
  438. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-line.gif +0 -0
  439. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus-nl.gif +0 -0
  440. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus.gif +0 -0
  441. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus-nl.gif +0 -0
  442. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus.gif +0 -0
  443. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow.gif +0 -0
  444. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder-open.gif +0 -0
  445. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder.gif +0 -0
  446. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/leaf.gif +0 -0
  447. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/loading.gif +0 -0
  448. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/s.gif +0 -0
  449. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-error.gif +0 -0
  450. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-info.gif +0 -0
  451. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-question.gif +0 -0
  452. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-warning.gif +0 -0
  453. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.png +0 -0
  454. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.psd +0 -0
  455. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.png +0 -0
  456. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.psd +0 -0
  457. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.png +0 -0
  458. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.psd +0 -0
  459. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.png +0 -0
  460. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.psd +0 -0
  461. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-arrow.gif +0 -0
  462. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-sprite.gif +0 -0
  463. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn.gif +0 -0
  464. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-cs.gif +0 -0
  465. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-lr.gif +0 -0
  466. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-tb.gif +0 -0
  467. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-bo.gif +0 -0
  468. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-o.gif +0 -0
  469. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/clear-trigger.gif +0 -0
  470. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/date-trigger.gif +0 -0
  471. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/search-trigger.gif +0 -0
  472. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger-square.gif +0 -0
  473. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger.gif +0 -0
  474. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/gradient-bg.gif +0 -0
  475. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-bottom.gif +0 -0
  476. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-top.gif +0 -0
  477. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
  478. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
  479. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
  480. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow.gif +0 -0
  481. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow2.gif +0 -0
  482. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
  483. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
  484. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
  485. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-collapse.gif +0 -0
  486. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand-sprite.gif +0 -0
  487. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand.gif +0 -0
  488. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-first.gif +0 -0
  489. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-last.gif +0 -0
  490. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-next.gif +0 -0
  491. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-prev.gif +0 -0
  492. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/refresh.gif +0 -0
  493. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/row-expand-sprite.gif +0 -0
  494. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_asc.gif +0 -0
  495. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_desc.gif +0 -0
  496. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/group-checked.gif +0 -0
  497. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over-disabled.gif +0 -0
  498. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over.gif +0 -0
  499. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/menu-parent.gif +0 -0
  500. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/corners-sprite.gif +0 -0
  501. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/left-right.gif +0 -0
  502. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/light-hd.gif +0 -0
  503. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
  504. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprites.gif +0 -0
  505. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
  506. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.gif +0 -0
  507. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.png +0 -0
  508. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-corners-sprite.gif +0 -0
  509. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-left-right.gif +0 -0
  510. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-top-bottom.gif +0 -0
  511. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/progress/progress-bg.gif +0 -0
  512. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/bg.gif +0 -0
  513. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/close.gif +0 -0
  514. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
  515. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-sprite.gif +0 -0
  516. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/s.gif +0 -0
  517. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/hd-sprite.gif +0 -0
  518. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/left-btn.gif +0 -0
  519. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/right-btn.gif +0 -0
  520. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/e-handle.gif +0 -0
  521. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/ne-handle.gif +0 -0
  522. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/nw-handle.gif +0 -0
  523. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/s-handle.gif +0 -0
  524. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/se-handle.gif +0 -0
  525. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/square.gif +0 -0
  526. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/sw-handle.gif +0 -0
  527. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-thumb.png +0 -0
  528. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-v-thumb.png +0 -0
  529. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-left.gif +0 -0
  530. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-right.gif +0 -0
  531. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroller-bg.gif +0 -0
  532. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
  533. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
  534. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
  535. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
  536. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
  537. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
  538. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-close.gif +0 -0
  539. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
  540. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.png +0 -0
  541. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
  542. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tabs-sprite.gif +0 -0
  543. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/bg.gif +0 -0
  544. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
  545. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow.gif +0 -0
  546. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
  547. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/gray-bg.gif +0 -0
  548. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/more.gif +0 -0
  549. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-bg.gif +0 -0
  550. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
  551. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/arrows.gif +0 -0
  552. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
  553. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus.gif +0 -0
  554. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
  555. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus.gif +0 -0
  556. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-error.gif +0 -0
  557. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-info.gif +0 -0
  558. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-question.gif +0 -0
  559. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-warning.gif +0 -0
  560. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.png +0 -0
  561. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.pspimage +0 -0
  562. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-right.png +0 -0
  563. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/right-corners.png +0 -0
  564. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/top-bottom.png +0 -0
  565. data/public/javascripts/admin/aloha/deps/extjs/resources/resources.jsb +507 -0
  566. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/css/prettyPhoto.css +386 -0
  567. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnNext.png +0 -0
  568. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnPrevious.png +0 -0
  569. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/contentPattern.png +0 -0
  570. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/loader.gif +0 -0
  571. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/sprite.png +0 -0
  572. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnNext.png +0 -0
  573. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnPrevious.png +0 -0
  574. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/contentPattern.png +0 -0
  575. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/loader.gif +0 -0
  576. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/sprite.png +0 -0
  577. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnNext.png +0 -0
  578. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnPrevious.png +0 -0
  579. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternBottom.png +0 -0
  580. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternLeft.png +0 -0
  581. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternRight.png +0 -0
  582. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternTop.png +0 -0
  583. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/loader.gif +0 -0
  584. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/sprite.png +0 -0
  585. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnNext.png +0 -0
  586. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnPrevious.png +0 -0
  587. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/loader.gif +0 -0
  588. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/sprite.png +0 -0
  589. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnNext.png +0 -0
  590. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnPrevious.png +0 -0
  591. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/loader.gif +0 -0
  592. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/sprite.png +0 -0
  593. data/public/javascripts/admin/aloha/i18n/de.dict +5 -0
  594. data/public/javascripts/admin/aloha/i18n/en.dict +5 -0
  595. data/public/javascripts/admin/aloha/i18n/eo.dict +5 -0
  596. data/public/javascripts/admin/aloha/i18n/fi.dict +5 -0
  597. data/public/javascripts/admin/aloha/i18n/fr.dict +5 -0
  598. data/public/javascripts/admin/aloha/i18n/it.dict +5 -0
  599. data/public/javascripts/admin/aloha/i18n/ru.dict +5 -0
  600. data/public/javascripts/admin/aloha/images/base.gif +0 -0
  601. data/public/javascripts/admin/aloha/images/base.png +0 -0
  602. data/public/javascripts/admin/aloha/images/base_multi.png +0 -0
  603. data/public/javascripts/admin/aloha/images/fade_in.png +0 -0
  604. data/public/javascripts/admin/aloha/images/fade_out.png +0 -0
  605. data/public/javascripts/admin/aloha/images/gentics_logo.png +0 -0
  606. data/public/javascripts/admin/aloha/images/grabhandle.png +0 -0
  607. data/public/javascripts/admin/aloha/images/maximize.png +0 -0
  608. data/public/javascripts/admin/aloha/images/multisplit-close.gif +0 -0
  609. data/public/javascripts/admin/aloha/images/multisplit-open.gif +0 -0
  610. data/public/javascripts/admin/aloha/images/multisplit_base.jpg +0 -0
  611. data/public/javascripts/admin/aloha/images/pin.png +0 -0
  612. data/public/javascripts/admin/aloha/images/removeformat.png +0 -0
  613. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/de.dict +2 -0
  614. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/en.dict +2 -0
  615. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/eo.dict +2 -0
  616. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/fi.dict +2 -0
  617. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/fr.dict +2 -0
  618. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/it.dict +2 -0
  619. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/plugin.js +7 -0
  620. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/de.dict +2 -0
  621. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/en.dict +3 -0
  622. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/fi.dict +3 -0
  623. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/fr.dict +3 -0
  624. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/i18n/it.dict +3 -0
  625. data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummySave/plugin.js +7 -0
  626. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/de.dict +30 -0
  627. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/en.dict +30 -0
  628. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/eo.dict +29 -0
  629. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fi.dict +30 -0
  630. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fr.dict +30 -0
  631. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/it.dict +30 -0
  632. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/ru.dict +30 -0
  633. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/plugin.js +7 -0
  634. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/de.dict +20 -0
  635. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/en.dict +20 -0
  636. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/eo.dict +16 -0
  637. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/fi.dict +20 -0
  638. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/fr.dict +16 -0
  639. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/it.dict +20 -0
  640. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/plugin.js +7 -0
  641. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/css/HighlightEditables.css +14 -0
  642. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js +7 -0
  643. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/Link.css +15 -0
  644. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/jquery.autocomplete.css +48 -0
  645. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/deps/jquery.autocomplete.js +1 -0
  646. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/de.dict +4 -0
  647. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/en.dict +4 -0
  648. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/fr.dict +4 -0
  649. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/ru.dict +4 -0
  650. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/plugin.js +7 -0
  651. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressource.js +7 -0
  652. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressourcedummy.js +7 -0
  653. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressourceregistry.js +7 -0
  654. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/de.dict +2 -0
  655. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/en.dict +2 -0
  656. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/eo.dict +2 -0
  657. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fi.dict +2 -0
  658. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fr.dict +2 -0
  659. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/it.dict +2 -0
  660. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/ru.dict +2 -0
  661. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/plugin.js +7 -0
  662. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/plugin.js +1 -0
  663. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/de.dict +12 -0
  664. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/en.dict +12 -0
  665. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/eo.dict +12 -0
  666. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fi.dict +12 -0
  667. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fr.dict +12 -0
  668. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/it.dict +12 -0
  669. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/ru.dict +12 -0
  670. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/plugin.js +7 -0
  671. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/down.cur +0 -0
  672. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/left.cur +0 -0
  673. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css +194 -0
  674. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Loader/plugin.js +1 -0
  675. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/en.dict +2 -0
  676. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/fi.dict +2 -0
  677. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/fr.dict +2 -0
  678. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/person.css +3 -0
  679. data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/plugin.js +1 -0
  680. data/public/javascripts/admin/aloha/plugins/simpletable/plugin.js.deactivated +2330 -0
  681. data/public/javascripts/admin/application.js +112 -98
  682. data/public/javascripts/admin/asset_collections.js +50 -50
  683. data/public/javascripts/admin/assets.js +4 -4
  684. data/public/javascripts/admin/content_types.js +15 -15
  685. data/public/javascripts/admin/contents.js +20 -20
  686. data/public/javascripts/admin/custom_fields.js +154 -154
  687. data/public/javascripts/admin/editable_elements.js +30 -0
  688. data/public/javascripts/admin/import.js +32 -0
  689. data/public/javascripts/admin/inline_editor.js +64 -0
  690. data/public/javascripts/admin/inline_editor_toolbar.js +170 -0
  691. data/public/javascripts/admin/pages.js +86 -79
  692. data/public/javascripts/admin/plugins/imagepicker.js +81 -0
  693. data/public/javascripts/admin/plugins/plupload/src/flash.js +298 -0
  694. data/public/javascripts/admin/plugins/plupload/src/plupload.js +1333 -0
  695. data/public/javascripts/admin/plugins/selectmenu.js +527 -0
  696. data/public/javascripts/admin/plugins/smartupdater.js +155 -0
  697. data/public/javascripts/admin/plugins/tiny_mce/langs/fr.js +154 -0
  698. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/locomotive/window.css +72 -0
  699. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/css/locoimage.css +110 -0
  700. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin.js +1 -0
  701. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin_src.js +46 -0
  702. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/image.htm +62 -0
  703. data/public/javascripts/admin/plugins/tiny_mce/plugins/{advimage → locoimage}/img/sample.gif +0 -0
  704. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/js/image.js +172 -0
  705. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/en_dlg.js +9 -0
  706. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/fr_dlg.js +9 -0
  707. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/source_editor.js +37 -37
  708. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr.js +62 -0
  709. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
  710. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/content.css +36 -5
  711. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/dialog.css +53 -109
  712. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/butt2.png +0 -0
  713. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/button-bg.png +0 -0
  714. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/buttons.png +0 -0
  715. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/down_arrow.gif +0 -0
  716. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/fade-butt.png +0 -0
  717. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/icons.png +0 -0
  718. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/items.gif +0 -0
  719. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu-arrow.png +0 -0
  720. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu-check.png +0 -0
  721. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/progress.gif +0 -0
  722. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/tabs.gif +0 -0
  723. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/toolbarbg.png +0 -0
  724. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/ui.css +997 -213
  725. data/public/javascripts/admin/rails.js +16 -11
  726. data/public/javascripts/admin/site.js +42 -38
  727. data/public/javascripts/admin/snippets.js +21 -15
  728. data/public/javascripts/admin/theme_assets.js +32 -94
  729. data/public/javascripts/admin/utils.js +10 -10
  730. data/public/stylesheets/admin/application.css +142 -154
  731. data/public/stylesheets/admin/assets.css +54 -0
  732. data/public/stylesheets/admin/box.css +114 -59
  733. data/public/stylesheets/admin/buttons.css +36 -38
  734. data/public/stylesheets/admin/editable_elements.css +64 -0
  735. data/public/stylesheets/admin/fancybox_changes.css +101 -0
  736. data/public/stylesheets/admin/formtastic.css +3 -3
  737. data/public/stylesheets/admin/formtastic_changes.css +239 -232
  738. data/public/stylesheets/admin/inline_editor.css +90 -0
  739. data/public/stylesheets/admin/jquery/images/ui-icons_ffffff_256x240.png +0 -0
  740. data/public/stylesheets/admin/layout.css +86 -84
  741. data/public/stylesheets/admin/menu.css +106 -106
  742. data/public/stylesheets/admin/plugins/selectmenu.css +64 -0
  743. metadata +1104 -586
  744. data/app/controllers/admin/layouts_controller.rb +0 -13
  745. data/app/controllers/admin/page_parts_controller.rb +0 -12
  746. data/app/models/extensions/page/parts.rb +0 -54
  747. data/app/models/layout.rb +0 -48
  748. data/app/models/liquid_template.rb +0 -32
  749. data/app/models/page_part.rb +0 -35
  750. data/app/views/admin/layouts/_form.html.haml +0 -10
  751. data/app/views/admin/layouts/_layout.html.haml +0 -7
  752. data/app/views/admin/layouts/edit.html.haml +0 -18
  753. data/app/views/admin/layouts/index.html.haml +0 -15
  754. data/app/views/admin/layouts/new.html.haml +0 -15
  755. data/lib/locomotive/liquid/db_file_system.rb +0 -18
  756. data/lib/locomotive/liquid/drops/javascripts.rb +0 -18
  757. data/lib/locomotive/liquid/drops/stylesheets.rb +0 -19
  758. data/lib/locomotive/liquid/liquify_template.rb +0 -57
  759. data/lib/misc_form_builder.rb +0 -45
  760. data/public/images/admin/nocoffee.gif +0 -0
  761. data/public/javascripts/admin/page_parts.js +0 -88
  762. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/css/advimage.css +0 -13
  763. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin.js +0 -1
  764. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -50
  765. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/image.htm +0 -232
  766. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/js/image.js +0 -443
  767. data/public/javascripts/admin/plugins/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -43
  768. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_arrow.gif +0 -0
  769. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/img/menu_check.gif +0 -0
  770. data/public/stylesheets/admin/login.css +0 -141
  771. data/public/stylesheets/admin/page_parts.css +0 -67
  772. data/spec/factories.rb +0 -77
  773. data/spec/lib/core_ext_spec.rb +0 -37
  774. data/spec/lib/locomotive/heroku_spec.rb +0 -149
  775. data/spec/lib/locomotive/httparty/patches_spec.rb +0 -19
  776. data/spec/lib/locomotive/httparty/webservice_spec.rb +0 -24
  777. data/spec/lib/locomotive/liquid/drops/contents_spec.rb +0 -33
  778. data/spec/lib/locomotive/liquid/drops/page_spec.rb +0 -48
  779. data/spec/lib/locomotive/liquid/filters/html_spec.rb +0 -82
  780. data/spec/lib/locomotive/liquid/filters/misc_spec.rb +0 -36
  781. data/spec/lib/locomotive/liquid/filters/text_spec.rb +0 -11
  782. data/spec/lib/locomotive/liquid/tags/consume_spec.rb +0 -40
  783. data/spec/lib/locomotive/liquid/tags/nav_spec.rb +0 -50
  784. data/spec/lib/locomotive/liquid/tags/paginate_spec.rb +0 -99
  785. data/spec/lib/locomotive/liquid/tags/snippet_spec.rb +0 -20
  786. data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +0 -20
  787. data/spec/lib/locomotive/render_spec.rb +0 -127
  788. data/spec/models/account_spec.rb +0 -65
  789. data/spec/models/asset_collections_spec.rb +0 -177
  790. data/spec/models/content_instance_spec.rb +0 -33
  791. data/spec/models/content_type_spec.rb +0 -49
  792. data/spec/models/layout_spec.rb +0 -64
  793. data/spec/models/liquid_template_spec.rb +0 -19
  794. data/spec/models/membership_spec.rb +0 -56
  795. data/spec/models/page_spec.rb +0 -358
  796. data/spec/models/site_spec.rb +0 -147
  797. data/spec/models/snippet_spec.rb +0 -9
  798. data/spec/models/theme_asset_spec.rb +0 -89
  799. data/spec/spec_helper.rb +0 -18
  800. data/spec/support/be_valid.rb +0 -31
  801. data/spec/support/carrierwave.rb +0 -32
  802. data/spec/support/locomotive.rb +0 -36
  803. data/vendor/plugins/custom_fields/Gemfile +0 -12
  804. data/vendor/plugins/custom_fields/README +0 -13
  805. data/vendor/plugins/custom_fields/Rakefile +0 -29
  806. data/vendor/plugins/custom_fields/init.rb +0 -2
  807. data/vendor/plugins/custom_fields/lib/custom_fields/custom_fields_for.rb +0 -50
  808. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/embeds_many.rb +0 -31
  809. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/has_many_related.rb +0 -33
  810. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/proxy.rb +0 -20
  811. data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb +0 -28
  812. data/vendor/plugins/custom_fields/lib/custom_fields/field.rb +0 -82
  813. data/vendor/plugins/custom_fields/lib/custom_fields/proxy_class_enabler.rb +0 -37
  814. data/vendor/plugins/custom_fields/lib/custom_fields/types/boolean.rb +0 -29
  815. data/vendor/plugins/custom_fields/lib/custom_fields/types/category.rb +0 -85
  816. data/vendor/plugins/custom_fields/lib/custom_fields/types/date.rb +0 -35
  817. data/vendor/plugins/custom_fields/lib/custom_fields/types/default.rb +0 -37
  818. data/vendor/plugins/custom_fields/lib/custom_fields/types/file.rb +0 -27
  819. data/vendor/plugins/custom_fields/lib/custom_fields/types/string.rb +0 -13
  820. data/vendor/plugins/custom_fields/lib/custom_fields/types/text.rb +0 -15
  821. data/vendor/plugins/custom_fields/lib/custom_fields.rb +0 -28
  822. data/vendor/plugins/custom_fields/spec/fixtures/doc.txt +0 -1
  823. data/vendor/plugins/custom_fields/spec/integration/custom_fields_for_spec.rb +0 -28
  824. data/vendor/plugins/custom_fields/spec/integration/types/category_spec.rb +0 -26
  825. data/vendor/plugins/custom_fields/spec/integration/types/file_spec.rb +0 -18
  826. data/vendor/plugins/custom_fields/spec/models/person.rb +0 -10
  827. data/vendor/plugins/custom_fields/spec/models/project.rb +0 -18
  828. data/vendor/plugins/custom_fields/spec/models/task.rb +0 -10
  829. data/vendor/plugins/custom_fields/spec/spec_helper.rb +0 -27
  830. data/vendor/plugins/custom_fields/spec/support/carrierwave.rb +0 -31
  831. data/vendor/plugins/custom_fields/spec/support/mongoid.rb +0 -6
  832. data/vendor/plugins/custom_fields/spec/unit/custom_field_spec.rb +0 -42
  833. data/vendor/plugins/custom_fields/spec/unit/custom_fields_for_spec.rb +0 -106
  834. data/vendor/plugins/custom_fields/spec/unit/proxy_class_enabler_spec.rb +0 -25
  835. data/vendor/plugins/custom_fields/spec/unit/types/boolean_spec.rb +0 -81
  836. data/vendor/plugins/custom_fields/spec/unit/types/category_spec.rb +0 -112
  837. data/vendor/plugins/custom_fields/spec/unit/types/date_spec.rb +0 -59
  838. data/vendor/plugins/custom_fields/spec/unit/types/file_spec.rb +0 -23
  839. data/vendor/plugins/custom_fields/uninstall.rb +0 -1
@@ -0,0 +1,30 @@
1
+ button.b.tooltip=Bold
2
+ button.i.tooltip=Italic
3
+ button.u.tooltip=Underline
4
+ button.cite.tooltip=Cite
5
+ button.q.tooltip=
6
+ button.code.tooltip=Code
7
+ button.abbr.tooltip=Abbreviation
8
+ button.del.tooltip=Strikethrough
9
+ button.sub.tooltip=Subscript
10
+ button.sup.tooltip=Superscript
11
+ button.p.tooltip=Paragraph
12
+ button.h1.tooltip=Heading 1
13
+ button.h2.tooltip=Heading 2
14
+ button.h3.tooltip=Heading 3
15
+ button.h4.tooltip=Heading 4
16
+ button.h5.tooltip=Heading 5
17
+ button.h6.tooltip=Heading 6
18
+ button.pre.tooltip=Pre formated text
19
+ button.title.tooltip=Title
20
+ button.removeFormat.tooltip=Remove formatting
21
+ button.removeFormat.text=Remove formatting
22
+ GENTICS_button_p=GENTICS_button_p
23
+ GENTICS_button_h1=GENTICS_button_h1
24
+ GENTICS_button_h2=GENTICS_button_h2
25
+ GENTICS_button_h3=GENTICS_button_h3
26
+ GENTICS_button_h4=GENTICS_button_h4
27
+ GENTICS_button_h5=GENTICS_button_h5
28
+ GENTICS_button_h6=GENTICS_button_h6
29
+ GENTICS_button_pre=GENTICS_button_pre
30
+ GENTICS_button_title=GENTICS_button_title
@@ -0,0 +1,29 @@
1
+ button.i.tooltip=Oblikvigi
2
+ button.u.tooltip=Substreki
3
+ button.cite.tooltip=Citi
4
+ button.q.tooltip=
5
+ button.code.tooltip=Kodo
6
+ button.abbr.tooltip=Mallongigo
7
+ button.del.tooltip=Marki forvi�ita
8
+ button.sub.tooltip=Superskripto
9
+ button.sup.tooltip=Subskripto
10
+ button.p.tooltip=Alineo
11
+ button.h1.tooltip=Titolo 1
12
+ button.h2.tooltip=Subtitolo 2
13
+ button.h3.tooltip=Subtitolo 3
14
+ button.h4.tooltip=Subtitolo 4
15
+ button.h5.tooltip=Subtitolo 5
16
+ button.h6.tooltip=Subtitolo 6
17
+ button.pre.tooltip=Anta�formatigita teksto
18
+ button.title.tooltip=Titolo
19
+ button.removeFormat.tooltip=Forvi�i la formatigon
20
+ button.removeFormat.text=Forvi�i la formatigon
21
+ GENTICS_button_p=GENTICS_button_p
22
+ GENTICS_button_h1=GENTICS_button_h1
23
+ GENTICS_button_h2=GENTICS_button_h2
24
+ GENTICS_button_h3=GENTICS_button_h3
25
+ GENTICS_button_h4=GENTICS_button_h4
26
+ GENTICS_button_h5=GENTICS_button_h5
27
+ GENTICS_button_h6=GENTICS_button_h6
28
+ GENTICS_button_pre=GENTICS_button_pre
29
+ GENTICS_button_title=GENTICS_button_title
@@ -0,0 +1,30 @@
1
+ button.b.tooltip=Lihavointi
2
+ button.i.tooltip=Kursiivi
3
+ button.u.tooltip=Alleviivaus
4
+ button.cite.tooltip=Lainaus
5
+ button.q.tooltip=
6
+ button.code.tooltip=Koodi
7
+ button.abbr.tooltip=Lyhennelmä
8
+ button.del.tooltip=Yliviivaus
9
+ button.sub.tooltip=Alaindeksi
10
+ button.sup.tooltip=Yläindeksi
11
+ button.p.tooltip=Tekstikappale
12
+ button.h1.tooltip=Otsikko 1
13
+ button.h2.tooltip=Otsikko 2
14
+ button.h3.tooltip=Otsikko 3
15
+ button.h4.tooltip=Otsikko 4
16
+ button.h5.tooltip=Otsikko 5
17
+ button.h6.tooltip=Otsikko 6
18
+ button.pre.tooltip=Muotoiltu teksti
19
+ button.title.tooltip=Otsikko
20
+ button.removeFormat.tooltip=Poista muotoilut
21
+ button.removeFormat.text=Poista muotoilut
22
+ GENTICS_button_p=GENTICS_button_p
23
+ GENTICS_button_h1=GENTICS_button_h1
24
+ GENTICS_button_h2=GENTICS_button_h2
25
+ GENTICS_button_h3=GENTICS_button_h3
26
+ GENTICS_button_h4=GENTICS_button_h4
27
+ GENTICS_button_h5=GENTICS_button_h5
28
+ GENTICS_button_h6=GENTICS_button_h6
29
+ GENTICS_button_pre=GENTICS_button_pre
30
+ GENTICS_button_title=GENTICS_button_title
@@ -0,0 +1,30 @@
1
+ button.b.tooltip=Gras
2
+ button.i.tooltip=Italique
3
+ button.u.tooltip=Souligner
4
+ button.cite.tooltip=Cité
5
+ button.q.tooltip=Quote
6
+ button.code.tooltip=Code
7
+ button.abbr.tooltip=Abréviation
8
+ button.del.tooltip=Barré
9
+ button.sub.tooltip=Indice
10
+ button.sup.tooltip=Exposant
11
+ button.p.tooltip=Paragraphe
12
+ button.h1.tooltip=Titre1
13
+ button.h2.tooltip=Rubrique2
14
+ button.h3.tooltip=Rubrique3
15
+ button.h4.tooltip=Rubrique4
16
+ button.h5.tooltip=Rubrique5
17
+ button.h6.tooltip=Rubrique6
18
+ button.pre.tooltip=texte préformaté
19
+ button.title.tooltip=Titre
20
+ button.removeFormat.tooltip=Supprimer le formatage
21
+ button.removeFormat.text=Supprimer le formatage
22
+ GENTICS_button_p=GENTICS_button_p
23
+ GENTICS_button_h1=GENTICS_button_h1
24
+ GENTICS_button_h2=GENTICS_button_h2
25
+ GENTICS_button_h3=GENTICS_button_h3
26
+ GENTICS_button_h4=GENTICS_button_h4
27
+ GENTICS_button_h5=GENTICS_button_h5
28
+ GENTICS_button_h6=GENTICS_button_h6
29
+ GENTICS_button_pre=GENTICS_button_pre
30
+ GENTICS_button_title=GENTICS_button_title
@@ -0,0 +1,30 @@
1
+ button.b.tooltip=Grassetto
2
+ button.i.tooltip=Corsivo
3
+ button.u.tooltip=Sottolineato
4
+ button.cite.tooltip=Citazione
5
+ button.q.tooltip=
6
+ button.code.tooltip=Codice
7
+ button.abbr.tooltip=Abbreviazione
8
+ button.del.tooltip=Barrato
9
+ button.sub.tooltip=Pedice
10
+ button.sup.tooltip=Apice
11
+ button.p.tooltip=Paragrafo
12
+ button.h1.tooltip=Titolo 1
13
+ button.h2.tooltip=Titolo 2
14
+ button.h3.tooltip=Titolo 3
15
+ button.h4.tooltip=Titolo 4
16
+ button.h5.tooltip=Titolo 5
17
+ button.h6.tooltip=Titolo 6
18
+ button.pre.tooltip=Testo pre formattato
19
+ button.title.tooltip=Titolo
20
+ button.removeFormat.tooltip=Rimuovi formattazione
21
+ button.removeFormat.text=Rimuovi formattazione
22
+ GENTICS_button_p=GENTICS_button_p
23
+ GENTICS_button_h1=GENTICS_button_h1
24
+ GENTICS_button_h2=GENTICS_button_h2
25
+ GENTICS_button_h3=GENTICS_button_h3
26
+ GENTICS_button_h4=GENTICS_button_h4
27
+ GENTICS_button_h5=GENTICS_button_h5
28
+ GENTICS_button_h6=GENTICS_button_h6
29
+ GENTICS_button_pre=GENTICS_button_pre
30
+ GENTICS_button_title=GENTICS_button_title
@@ -0,0 +1,30 @@
1
+ button.b.tooltip=Полужирный
2
+ button.i.tooltip=Курсив
3
+ button.u.tooltip=Подчеркивание
4
+ button.cite.tooltip=Цитировать
5
+ button.q.tooltip=Цитата
6
+ button.code.tooltip=Код
7
+ button.abbr.tooltip=Аббривиатура
8
+ button.del.tooltip=Перечеркивание
9
+ button.sub.tooltip=Нижний индекс
10
+ button.sup.tooltip=Верхний индекс
11
+ button.p.tooltip=Параграф
12
+ button.h1.tooltip=Заголовок 1
13
+ button.h2.tooltip=Заголовок 2
14
+ button.h3.tooltip=Заголовок 3
15
+ button.h4.tooltip=Заголовок 4
16
+ button.h5.tooltip=Заголовок 5
17
+ button.h6.tooltip=Заголовок 6
18
+ button.pre.tooltip=Отформатированный текс
19
+ button.title.tooltip=Название
20
+ button.removeFormat.tooltip=Убрать форматирование
21
+ button.removeFormat.text=Убрать форматирование
22
+ GENTICS_button_p=GENTICS_button_p
23
+ GENTICS_button_h1=GENTICS_button_h1
24
+ GENTICS_button_h2=GENTICS_button_h2
25
+ GENTICS_button_h3=GENTICS_button_h3
26
+ GENTICS_button_h4=GENTICS_button_h4
27
+ GENTICS_button_h5=GENTICS_button_h5
28
+ GENTICS_button_h6=GENTICS_button_h6
29
+ GENTICS_button_pre=GENTICS_button_pre
30
+ GENTICS_button_title=GENTICS_button_title
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.Format=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.Format");GENTICS.Aloha.Format.languages=["en","de","fr","eo","fi","ru","it"];GENTICS.Aloha.Format.config=["b","i","del","sub","sup","p","title","h1","h2","h3","h4","h5","h6","pre","removeFormat"];GENTICS.Aloha.Format.init=function(){this.initButtons();var that=this;GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableActivated",function(e,params){that.applyButtonConfig(params.editable.obj)})};GENTICS.Aloha.Format.applyButtonConfig=function(obj){config=this.getEditableConfig(obj);for(var button in this.buttons){if(jQuery.inArray(button,config)!=-1){this.buttons[button].button.show()}else{this.buttons[button].button.hide()}}for(var i in this.multiSplitItems){if(jQuery.inArray(this.multiSplitItems[i].name,config)!=-1){this.multiSplitButton.extButton.showItem(this.multiSplitItems[i].name)}else{this.multiSplitButton.extButton.hideItem(this.multiSplitItems[i].name)}}};GENTICS.Aloha.Format.initButtons=function(){var scope="GENTICS.Aloha.continuoustext";this.buttons={};var that=this;this.multiSplitItems=new Array();this.multiSplitButton;jQuery.each(GENTICS.Aloha.Format.config,function(j,button){switch(button){case"b":case"i":case"cite":case"q":case"code":case"abbr":case"del":case"sub":case"sup":that.buttons[button]={button:new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_"+button,size:"small",onclick:function(){if(GENTICS.Aloha.activeEditable){GENTICS.Aloha.activeEditable.obj[0].focus()}var markup=jQuery("<"+button+"></"+button+">");var rangeObject=GENTICS.Aloha.Selection.rangeObject;var foundMarkup=rangeObject.findMarkup(function(){return this.nodeName.toLowerCase()==markup.get(0).nodeName.toLowerCase()},GENTICS.Aloha.activeEditable.obj);if(foundMarkup){if(rangeObject.isCollapsed()){GENTICS.Utils.Dom.removeFromDOM(foundMarkup,rangeObject,true)}else{GENTICS.Utils.Dom.removeMarkup(rangeObject,markup,GENTICS.Aloha.activeEditable.obj)}}else{if(rangeObject.isCollapsed()){GENTICS.Utils.Dom.extendToWord(rangeObject)}GENTICS.Utils.Dom.addMarkup(rangeObject,markup)}rangeObject.select();return false},tooltip:that.i18n("button."+button+".tooltip"),toggle:true}),markup:jQuery("<"+button+"></"+button+">")};GENTICS.Aloha.FloatingMenu.addButton(scope,that.buttons[button].button,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.format"),1);break;case"p":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"pre":that.multiSplitItems.push({name:button,tooltip:that.i18n("button."+button+".tooltip"),iconClass:"GENTICS_button "+that.i18n("GENTICS_button_"+button),markup:jQuery("<"+button+"></"+button+">"),click:function(){if(GENTICS.Aloha.activeEditable){GENTICS.Aloha.activeEditable.obj[0].focus()}GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+button+"></"+button+">"))}});break;case"removeFormat":that.multiSplitItems.push({name:button,text:that.i18n("button."+button+".text"),tooltip:that.i18n("button."+button+".tooltip"),iconClass:"GENTICS_button GENTICS_button_"+button,wide:true,click:function(){GENTICS.Aloha.Format.removeFormat()}});break;default:GENTICS.Aloha.log("warn",this,'Button "'+button+'" is not defined');break}});if(this.multiSplitItems.length>0){this.multiSplitButton=new GENTICS.Aloha.ui.MultiSplitButton({items:this.multiSplitItems});GENTICS.Aloha.FloatingMenu.addButton(scope,this.multiSplitButton,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.format"),3)}GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"selectionChanged",function(event,rangeObject){jQuery.each(that.buttons,function(index,button){for(var i=0;i<rangeObject.markupEffectiveAtStart.length;i++){var effectiveMarkup=rangeObject.markupEffectiveAtStart[i];if(GENTICS.Aloha.Selection.standardTextLevelSemanticsComparator(effectiveMarkup,button.markup)){button.button.setPressed(true);var statusWasSet=true}}if(!statusWasSet){button.button.setPressed(false)}});if(that.multiSplitItems.length>0){var foundMultiSplit=false;for(var i=0;i<rangeObject.markupEffectiveAtStart.length&&!foundMultiSplit;i++){var effectiveMarkup=rangeObject.markupEffectiveAtStart[i];for(var j=0;j<that.multiSplitItems.length&&!foundMultiSplit;j++){var multiSplitItem=that.multiSplitItems[j];if(!multiSplitItem.markup){continue}if(GENTICS.Aloha.Selection.standardTextLevelSemanticsComparator(effectiveMarkup,multiSplitItem.markup)){that.multiSplitButton.setActiveItem(multiSplitItem.name);foundMultiSplit=true}}}if(!foundMultiSplit){that.multiSplitButton.setActiveItem(null)}}})};GENTICS.Aloha.Format.removeFormat=function(){GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<p></p>"));var formats=["b","i","cite","q","code","abbr","del","sub","sup"];var rangeObject=GENTICS.Aloha.Selection.rangeObject;var startObj=jQuery(rangeObject.startContainer);var limitObj=jQuery(rangeObject.limitObject);if(rangeObject.isCollapsed()||startObj===limitObj){return}var parent=startObj.parent();while(parent.get(0)!==limitObj.get(0)){var index=formats.indexOf(parent.get(0).nodeName.toLowerCase());parent=parent.parent();if(index!=-1){GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+formats[index]+"></"+formats[index]+">"));formats.splice(index,1)}}for(var i in formats){GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+formats[i]+"></"+formats[i]+">"));GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+formats[i]+"></"+formats[i]+">"))}};GENTICS.Aloha.Format.toString=function(){return"com.gentics.aloha.plugins.Format"};
@@ -0,0 +1,20 @@
1
+ restcall.savepage = Seite speichern
2
+ restcall.savepage.error = Beim Speichern der Seite ist ein Fehler aufgetreten!
3
+ button.language = Sprache
4
+ button.page=Seite
5
+ button.preview=Vorschau
6
+ button.edit=Bearbeiten
7
+ button.livepreview=Live Vorschau
8
+ button.properties=Eigenschaften
9
+ button.objectproperties=Objekt Eigenschaften
10
+ button.timemanagement=Zeitmanagement
11
+ button.cancel=Abbrechen
12
+ button.quit=Beenden
13
+ button.save=Speichern
14
+ button.publish=Veröffentlichen
15
+ button.publishat=Veröffentlichen am...
16
+ insert_tag=Tag einfügen
17
+ restcall.createtag.error = Beim Erstellen eines neuen Tags ist ein Fehler aufgetreten!
18
+ restcall.reloadtag.error = Beim Aktualisieren eines Tags ist ein Fehler aufgetreten!
19
+ confirm.editable.modified = Die Seite wurde geändert! Möchten Sie die Änderungen jetzt speichern?
20
+ save.progress = Bitte warten, Änderungen werden gespeichert!
@@ -0,0 +1,20 @@
1
+ restcall.savepage = Save page
2
+ restcall.savepage.error = An error occurred while saving the page!
3
+ button.language = Language
4
+ button.page=Page
5
+ button.preview=Preview
6
+ button.edit=Edit
7
+ button.livepreview=Live Preview
8
+ button.properties=Properties
9
+ button.objectproperties=Object Properties
10
+ button.timemanagement=Timemanagement
11
+ button.cancel=Cancel
12
+ button.quit=Quit
13
+ button.save=Save
14
+ button.publish=Publish
15
+ button.publishat=Publish at...
16
+ insert_tag=Insert tag
17
+ restcall.createtag.error = An error occurred while creating a new tag!
18
+ restcall.reloadtag.error = An error occurred while reloading a tag!
19
+ confirm.editable.modified = The page has been modified! Do you want to save the changes now?
20
+ save.progress = Please wait while changes are saved!
@@ -0,0 +1,16 @@
1
+ restcall.savepage = Konservi la pa�on
2
+ restcall.savepage.error = Eraro okazis dum konservado de la pa�o
3
+ button.language = Lingvo
4
+ button.page=Pa�o
5
+ button.preview=Anta�vidi
6
+ button.edit=Redakti
7
+ button.livepreview=Anta�vidi realtempe
8
+ button.properties=Propra�oj
9
+ button.objectproperties=Propra�oj de la objekto
10
+ button.timemanagement=Tempa prizorgado
11
+ button.cancel=Nuligi
12
+ button.quit=Eliri
13
+ button.save=Konservi
14
+ button.publish=Publikigi
15
+ button.publishat=Publikigi en...
16
+ insert_tag=Enmeti etikedon
@@ -0,0 +1,20 @@
1
+ restcall.savepage = Tallenna sivu
2
+ restcall.savepage.error = Sivun tallennuksessa tapahtui virhe!
3
+ button.language = Kieli
4
+ button.page=Sivu
5
+ button.preview=Esikatselu
6
+ button.edit=Muokkaus
7
+ button.livepreview=Päivittyvä esikatselu
8
+ button.properties=Ominaisuudet
9
+ button.objectproperties=Olion ominaisuudet
10
+ button.timemanagement=Ajanhallinta
11
+ button.cancel=Peruuta
12
+ button.quit=Sulje
13
+ button.save=Tallenna
14
+ button.publish=Julkaise
15
+ button.publishat=Julkaise aikaan...
16
+ insert_tag=Lisää merkki
17
+ restcall.createtag.error = Uuden merkin luonnissa tapahtui virhe!
18
+ restcall.reloadtag.error = Merkin uudelleenlatauksessa tapahtui virhe!
19
+ confirm.editable.modified = Sivua on muokattu! Haluatko tallentaa muutokset?
20
+ save.progress = Odota, muutoksia tallennetaan!
@@ -0,0 +1,16 @@
1
+ restcall.savepage = Sauvegarder la page
2
+ restcall.savepage.error = Une erreur s'est produite lors de l'enregistrement de la page!
3
+ button.language = Langue
4
+ button.page=Page
5
+ button.preview=Prévisualisé
6
+ button.edit=Editer
7
+ button.livepreview=Prévisualisation en direct
8
+ button.properties=Propriétés
9
+ button.objectproperties=Propriétés de l'objet
10
+ button.timemanagement=La gestion du temps
11
+ button.cancel=Annuler
12
+ button.quit=Quitter
13
+ button.save=Sauvegarder
14
+ button.publish=Publier
15
+ button.publishat=Publier sur ...
16
+ insert_tag=Insert tag
@@ -0,0 +1,20 @@
1
+ restcall.savepage = Salva pagina
2
+ restcall.savepage.error = C'è stato un errore durante il salvataggio!
3
+ button.language = Lingua
4
+ button.page=Pagina
5
+ button.preview=Anteprima
6
+ button.edit=Modifica
7
+ button.livepreview=Anteprima Live
8
+ button.properties=Proprietà
9
+ button.objectproperties=Properties dell'oggetto
10
+ button.timemanagement=Pianificazione tempo
11
+ button.cancel=Annulla
12
+ button.quit=Esci
13
+ button.save=Salva
14
+ button.publish=Pubblica
15
+ button.publishat=Pubblica alle..
16
+ insert_tag=Inserisci tag
17
+ restcall.createtag.error = C'è stato un errore durante la creazione del tag!
18
+ restcall.reloadtag.error = C'è stato un errore durante il caricamento del tag!
19
+ confirm.editable.modified = La pagina è stata modificata! Salvare le modifiche?
20
+ save.progress = Attendere il termine del salvataggio!
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.GCN=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.GCN");GENTICS.Aloha.GCN.languages=["en","de","fr","eo","fi","it"];GENTICS.Aloha.GCN.maximized=false;GENTICS.Aloha.GCN.buttons={};GENTICS.Aloha.GCN.lastActiveEditable={};GENTICS.Aloha.GCN.backendUrl="../CNPortletapp/";GENTICS.Aloha.GCN.restUrl=GENTICS.Aloha.GCN.backendUrl+"rest";GENTICS.Aloha.GCN.closeLightbox=function(){jQuery.prettyPhoto.close();GENTICS.Aloha.Ribbon.show();if(GENTICS.Aloha.GCN.lastActiveEditable!=undefined){GENTICS.Aloha.GCN.lastActiveEditable.activate();GENTICS.Aloha.GCN.lastActiveEditable.obj.focus()}};GENTICS.Aloha.GCN.init=function(){var that=this;jQuery().prettyPhoto({theme:"light_square",opacity:0.4,markup:'<div class="pp_pic_holder"> <div class="pp_top"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> <div class="pp_content_container"> <div class="pp_left"> <div class="pp_right"> <div class="pp_content"> <div class="pp_fade"> <a href="#" class="pp_expand" title="Expand the image">Expand</a> <div class="pp_loaderIcon"></div> <div class="pp_hoverContainer"> <a class="pp_next" href="#">next</a> <a class="pp_previous" href="#">previous</a> </div> <div id="pp_full_res"></div> <div class="pp_details"> </div> </div> </div> </div> </div> </div> <div class="pp_bottom"> <div class="pp_left"></div> <div class="pp_middle"></div> <div class="pp_right"></div> </div> </div> <div class="pp_overlay"></div> <div class="ppt"></div>'});var maximizeOptions=null;if(this.isGCNFrame()){GENTICS.Aloha.settings.ribbon=false;jQuery("head").append('<link type="text/css" href="'+this.createGCNURL({url:that.settings.stag_prefix,params:{"do":20,url:"lib/css/gui.css"}})+'" rel="stylesheet">');jQuery("body").append('<div style="z-index: 999999; position: absolute; visibility: hidden" class="gentics_submenu" id="nodesubmenu1"> </div>');jQuery("head").append('<script type="text/javascript" src="'+this.createGCNURL({url:this.settings.stag_prefix,params:{"do":20,url:"lib/js/layer.js"}})+'"><\/script>');jQuery("head").append('<script type="text/javascript" src="'+this.createGCNURL({url:this.settings.stag_prefix,params:{"do":20,url:"lib/js/tools.js"}})+'"><\/script>');jQuery("head").append('<script type="text/javascript" src="'+this.createGCNURL({url:this.settings.stag_prefix,params:{"do":20,url:"lib/js/menu1.js"}})+'"><\/script>');if(top.menu){top.menu.location=this.createGCNURL({url:this.settings.stag_prefix,params:{"do":14004,MENU_LAYER:0,ass_pre_flapped:0,aloha:true}})}jQuery("html").click(function(){hide_layer(get_layer("nodesubmenu1"));if(top.menu){top.menu.nodesubmenu1_clicked=false}});jQuery("html").mouseover(function(){if(top.tree&&top.tree.frame_small){top.tree.frame_small()}})}GENTICS.Aloha.GCN.updateFrameUI();jQuery(window).unload(function(){that.restoreFrameUI();if(GENTICS.Aloha.isModified()){if(confirm(GENTICS.Aloha.i18n(GENTICS.Aloha,"confirm_editable_modified"))){that.savePage({silent:true,async:false});return false}}});this.alohaEditables(this.settings.editables);this.alohaBlocks(this.settings.blocks);if(this.settings.welcomeMessages){jQuery.each(this.settings.welcomeMessages,function(index,message){GENTICS.Aloha.showMessage(new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:message.message,type:GENTICS.Aloha.Message.Type.ALERT}))})}if(GENTICS.Aloha.Log.isDebugEnabled()){var editables=0;var blocks=0;if(this.settings.editables){editables=this.settings.editables.length}if(this.settings.blocks){blocks=this.settings.blocks.length}GENTICS.Aloha.Log.debug(this,"Loaded page with id { "+this.settings.id+" }.");GENTICS.Aloha.Log.debug(this,"Found "+editables+" editables and "+blocks+" blocks.")}var pageMenu=new Array();pageMenu.push(new GENTICS.Aloha.ui.Button({label:this.i18n("button.preview"),onclick:function(){that.previewPage()}}));pageMenu.push(new GENTICS.Aloha.ui.Button({label:this.i18n("button.edit"),onclick:function(){that.editPage()}}));pageMenu.push(new GENTICS.Aloha.ui.Button({label:this.i18n("button.livepreview"),onclick:function(){that.savePage({onsuccess:function(){that.openGCNURL({url:that.settings.stag_prefix,popup:true,params:{live:that.settings.id,"do":14001}})},onfailure:function(){},silent:true})}}));var propsBackParam=this.isGCNFrame()?"":'a:3:{s:4:"REDO";s:5:"14012";s:6:"realid";s:'+String(this.settings.id).length+':"'+this.settings.id+'";s:4:"real";s:4:"edit";}';pageMenu.push(new GENTICS.Aloha.ui.Button({label:this.i18n("button.properties"),onclick:function(){that.openGCNURL({url:that.settings.stag_prefix,params:{"do":14000,PAGE_ID:that.settings.id,FOLDER_ID:that.settings.folderId,back:propsBackParam}})}}));var pageButton=new GENTICS.Aloha.ui.Button({label:this.i18n("button.page"),menu:pageMenu});GENTICS.Aloha.Ribbon.addButton(pageButton);if(this.settings.languageMenu&&this.settings.languageMenu.length>0){var menu=Array();jQuery.each(this.settings.languageMenu,function(index,language){menu.push(new GENTICS.Aloha.ui.Button({label:language.name,icon:that.createGCNURL({url:that.settings.stag_prefix,params:{"do":14203,base:"doc_hi.png",lang:language.code,module:"content"}}),onclick:function(){that.openGCNURL({url:that.settings.stag_prefix,params:{"do":14015,t_type:10007,redo:14001,CONTENTGROUP_ID:language.id}})}}))});GENTICS.Aloha.Ribbon.addButton(new GENTICS.Aloha.ui.Button({label:this.i18n("button.language"),menu:menu}))}var publishParams=this.isGCNFrame()?{"do":14003,cmd:"pub"}:{"do":14012,realid:this.settings.id,real:"pub"};var publishAtParams=this.isGCNFrame()?{"do":14021}:{"do":14021,PAGE_ID:this.settings.id,FOLDER_ID:this.settings.folderId,back:propsBackParam};var saveButtonMenu=Array();saveButtonMenu.push(new GENTICS.Aloha.ui.Button({label:this.i18n("button.publish"),onclick:function(){that.openGCNURL({url:that.settings.stag_prefix,params:publishParams})}}));if(this.isGCNFrame()){saveButtonMenu.push(new GENTICS.Aloha.ui.Button({label:this.i18n("button.publishat"),onclick:function(){that.openGCNURL({url:that.settings.stag_prefix,params:publishAtParams})}}))}var saveButton=new GENTICS.Aloha.ui.Button({label:this.i18n("button.save"),onclick:function(){that.savePage()},menu:saveButtonMenu});GENTICS.Aloha.Ribbon.addButton(saveButton);if(GENTICS.Aloha.settings.readonly){GENTICS.Aloha.Ribbon.addButton(new GENTICS.Aloha.ui.Button({label:this.i18n("button.quit"),onclick:function(){that.quitEdit()}}))}else{var cancelButton=new GENTICS.Aloha.ui.Button({label:this.i18n("button.cancel"),onclick:function(){that.cancelEdit(function(){that.previewPage()})},menu:[new GENTICS.Aloha.ui.Button({label:this.i18n("button.quit"),onclick:function(){that.quitEdit()}})]});GENTICS.Aloha.Ribbon.addButton(cancelButton)}if(this.isGCNFrame()){GENTICS.Aloha.Ribbon.hide()}GENTICS.Aloha.Ribbon.setIcon("GENTICS_logo");var contentTagsMenu=new Array();var constructs=new Array();if(this.settings.constructCategories){for(var i=0;i<this.settings.constructCategories.length;i++){constructs=new Array();for(var j=0;j<this.settings.constructCategories[i].constructs.length;j++){constructs.push(new GENTICS.Aloha.ui.Button({label:this.settings.constructCategories[i].constructs[j].name,icon:this.createGCNURL({url:that.settings.stag_prefix,params:{"do":11,img:"constr/"+this.settings.constructCategories[i].constructs[j].icon,module:"content"}}),constructId:this.settings.constructCategories[i].constructs[j].id,onclick:function(){that.createTag(this.constructId)}}))}contentTagsMenu.push(new GENTICS.Aloha.ui.Button({label:this.settings.constructCategories[i].name,icon:this.createGCNURL({url:that.settings.stag_prefix,params:{"do":11,img:"constructopen.gif",module:"content"}}),menu:constructs,onclick:function(){}}))}if(contentTagsMenu.length>0){GENTICS.Aloha.FloatingMenu.addButton("GENTICS.Aloha.continuoustext",new GENTICS.Aloha.ui.Button({tooltip:this.i18n("insert_tag"),icon:this.createGCNURL({url:that.settings.stag_prefix,params:{"do":11,img:"constructopen.gif",module:"content"}}),menu:contentTagsMenu,size:"medium"}),GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.insert"),1)}}GENTICS.Utils.Position.addMouseMoveCallback(function(){if(GENTICS.Aloha.activeEditable){jQuery(".GENTICS_editable_active .GENTICS_editicon:not(.GENTICS_editicon_hover)").fadeIn("fast")}else{jQuery(".GENTICS_editicon:not(.GENTICS_editicon_hover)").show()}});GENTICS.Utils.Position.addMouseStopCallback(function(){if(GENTICS.Aloha.activeEditable){jQuery(".GENTICS_editable_active .GENTICS_editicon:not(.GENTICS_editicon_hover)").fadeOut("normal")}else{jQuery(".GENTICS_editicon:not(.GENTICS_editicon_hover)").fadeOut("normal")}});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableActivated",function(){jQuery(".GENTICS_editicon").fadeOut("normal")})};GENTICS.Aloha.GCN.alohaEditables=function(editables){if(editables){jQuery.each(editables,function(index,editable){jQuery("#"+editable.id).aloha()})}};GENTICS.Aloha.GCN.alohaBlocks=function(blocks){if(blocks){jQuery.each(blocks,function(index,block){jQuery("#"+block.id).addClass("GENTICS_block").attr("contenteditable",false);if(!GENTICS.Aloha.settings.readonly){var imgTag=jQuery("<img>");imgTag.attr("border",0);imgTag.attr("src",block.iconurl);var buttonTag=jQuery("<button>");buttonTag.click(function(){GENTICS.Aloha.GCN.openTagFill(block.tagid)});buttonTag.attr("alt",block.icontitle).attr("title",block.icontitle).addClass("GENTICS_editicon").mouseover(function(){jQuery(this).addClass("GENTICS_editicon_hover")}).mouseout(function(){jQuery(this).removeClass("GENTICS_editicon_hover")}).prepend(imgTag);jQuery("#"+block.id).prepend(buttonTag)}})}};GENTICS.Aloha.GCN.maximizeOptions={fsContent_cols:"0,*,0",frameset0_cols:"315,*",frameset2_rows:"101,*"};GENTICS.Aloha.GCN.toggleEditFrame=function(){if(!top.main){return}if(this.isEditFrameMaximized()){this.normalizeEditFrame()}else{this.maximizeEditFrame()}};GENTICS.Aloha.GCN.normalizeEditFrame=function(){top.main.document.getElementById("fsContent").cols=this.maximizeOptions.fsContent_cols;top.document.getElementsByTagName("frameset")[0].cols=this.maximizeOptions.frameset0_cols;top.document.getElementsByTagName("frameset")[2].rows=this.maximizeOptions.frameset2_rows;this.buttons.maximizeButton.setPressed(false)};GENTICS.Aloha.GCN.maximizeEditFrame=function(){this.maximizeOptions.fsContent_cols=top.main.document.getElementById("fsContent").cols;this.maximizeOptions.frameset0_cols=top.document.getElementsByTagName("frameset")[0].cols;this.maximizeOptions.frameset2_rows=top.document.getElementsByTagName("frameset")[2].rows;top.main.document.getElementById("fsContent").cols="0,*,0";top.document.getElementsByTagName("frameset")[0].cols="0,*";top.document.getElementsByTagName("frameset")[2].rows="0,*";this.buttons.maximizeButton.setPressed(true)};GENTICS.Aloha.GCN.isEditFrameMaximized=function(){if(!this.isGCNFrame()){return false}if(top.document.getElementsByTagName("frameset")[0].cols=="0,*"){return true}else{return false}};GENTICS.Aloha.GCN.isGCNFrame=function(){if(!window.parent){return false}var assistant=jQuery("frame",window.parent.document).eq(0);if(assistant.attr("name")==="ass"){return true}assistant=jQuery("frame",window.parent.document).eq(2);if(assistant.attr("name")==="ass"){return true}return false};GENTICS.Aloha.GCN.updateFrameUI=function(){if(this.isGCNFrame()){var assistantFrameset=jQuery("frameset",window.parent.document);this.originalColumns=assistantFrameset.attr("cols");this.originalRows=assistantFrameset.attr("rows");if(this.originalColumns){assistantFrameset.attr("cols","0,*,0")}if(this.originalRows){assistantFrameset.attr("rows","*,0,0")}var menuFrame=jQuery(window.parent.parent.frames[2].document);menuFrame.find("#ProgressStatusInfo_0").hide()}};GENTICS.Aloha.GCN.restoreFrameUI=function(){if(this.isGCNFrame()){var assistantFrameset=jQuery("frameset",window.parent.document);if(this.originalColumns){assistantFrameset.attr("cols",this.originalColumns)}if(this.originalRows){assistantFrameset.attr("rows",this.originalRows)}}};GENTICS.Aloha.GCN.cancelEdit=function(callback){var that=this;for(var i in GENTICS.Aloha.editables){if(GENTICS.Aloha.editables[i].setUnmodified){GENTICS.Aloha.editables[i].setUnmodified()}}this.performRESTRequest({url:this.settings.stag_prefix+this.restUrl+"/page/cancel/"+this.settings.id,description:"restcall.cancelpage",success:callback,error:function(data){GENTICS.Aloha.showMessage(new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:that.i18n("restcall.cancelpage.error"),type:GENTICS.Aloha.Message.Type.ALERT}))}})};GENTICS.Aloha.GCN.quitEdit=function(){var that=this;if(this.isEditFrameMaximized()){this.normalizeEditFrame()}this.cancelEdit(function(){if(that.settings.backurl){document.location.href=that.settings.backurl}else{if(that.isGCNFrame()){that.openGCNURL({url:that.settings.stag_prefix,params:{"do":13011}})}else{that.openGCNURL({url:that.settings.stag_prefix,params:{"do":14300,close:true}})}}})};GENTICS.Aloha.GCN.previewPage=function(){var that=this;this.openGCNURL({url:this.settings.stag_prefix+this.backendUrl+"/alohapage",params:{realid:that.settings.id,language:that.settings.languageid,real:"view",links:that.settings.links}})};GENTICS.Aloha.GCN.editPage=function(){var that=this;this.openGCNURL({url:this.settings.stag_prefix+this.backendUrl+"/alohapage",params:{realid:that.settings.id,language:that.settings.languageid,real:"edit",links:that.settings.links}})};GENTICS.Aloha.GCN.savePage=function(data){var that=this;if(typeof data=="undefined"){data={}}if(typeof data.async=="undefined"){data.async=true}if(!data.async){var saveProgress=new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:GENTICS.Aloha.i18n(that,"save.progress"),type:GENTICS.Aloha.Message.Type.WAIT});GENTICS.Aloha.showMessage(saveProgress)}var requestBody={unlock:data.closeAfterSave?true:false,page:{id:this.settings.id,templateId:this.settings.templateId,folderId:this.settings.folderId,name:this.settings.name,fileName:this.settings.fileName,description:this.settings.description,priority:this.settings.priority}};requestBody.page.tags={};for(var i=0;i<GENTICS.Aloha.editables.length;++i){var editable=GENTICS.Aloha.editables[i];var gcnEditable=this.findLoadedEditable(editable.getId());if(gcnEditable){var content=editable.getContents();content=content.replace(/<span class=\"GENTICS_block\" id=\"(\w+)\">x<\/span>/g,"<node $1>");if(gcnEditable.metaproperty){if(gcnEditable.metaproperty.indexOf("page.")!=0){continue}var prop=gcnEditable.metaproperty.replace(/^page\./,"");requestBody.page[prop]=content}else{var properties={};if(!requestBody.page.tags[gcnEditable.tagname]){requestBody.page.tags[gcnEditable.tagname]={name:gcnEditable.tagname,active:true,properties:{}}}requestBody.page.tags[gcnEditable.tagname].properties[gcnEditable.partname]={type:"RICHTEXT",stringValue:content}}}else{}}var onsuccess=data?data.onsuccess:undefined;var onfailure=data?data.onfailure:undefined;if(typeof onfailure!="function"){onfailure=function(data){GENTICS.Aloha.showMessage(new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:that.i18n("restcall.savepage.error"),type:GENTICS.Aloha.Message.Type.ALERT}))}}var showMessages=data&&data.silent?false:true;this.performRESTRequest({url:this.settings.stag_prefix+this.restUrl+"/page/save/"+this.settings.id,body:requestBody,description:"restcall.savepage",success:function(data){for(var i in GENTICS.Aloha.editables){if(GENTICS.Aloha.editables[i].setUnmodified){GENTICS.Aloha.editables[i].setUnmodified()}}if(typeof saveProgress!="undefined"){GENTICS.Aloha.hideMessage(saveProgress)}if(showMessages&&data.messages){jQuery.each(data.messages,function(index,message){GENTICS.Aloha.showMessage(new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:message.message,type:GENTICS.Aloha.Message.Type.ALERT}))})}if(onsuccess){onsuccess(data)}},error:function(data){if(typeof saveProgress!="undefined"){GENTICS.Aloha.hideMessage(saveProgress)}if(onfailure){onfailure(data)}},async:data.async})};GENTICS.Aloha.GCN.publishPage=function(success){var that=this;this.savePage({onsuccess:function(){var publishParams=success?{"do":14022,page_id:that.settings.id}:(that.isGCNFrame()?{"do":14003,cmd:"pub",PAGE_ID:that.settings.id}:{"do":14012,realid:that.settings.id,real:"pub"});if(success){that.performRESTRequest({url:that.settings.stag_prefix,params:publishParams,success:function(){success.apply()}})}else{that.openGCNURL({url:that.settings.stag_prefix,params:publishParams})}},onfailure:function(){},silent:success?true:false})};GENTICS.Aloha.GCN.publishPageAt=function(){var that=this;this.savePage({onsuccess:function(){var propsBackParam=that.isGCNFrame()?"":'a:3:{s:4:"REDO";s:5:"14012";s:6:"realid";s:'+String(that.settings.id).length+':"'+that.settings.id+'";s:4:"real";s:4:"edit";}';var publishAtParams=that.isGCNFrame()?{"do":14021}:{"do":14021,PAGE_ID:that.settings.id,FOLDER_ID:that.settings.folderId,back:propsBackParam};that.openGCNURL({url:that.settings.stag_prefix,params:publishAtParams})},onfailure:function(){}})};GENTICS.Aloha.GCN.findLoadedEditable=function(id){if(this.settings.editables){for(var i=0;i<this.settings.editables.length;++i){if(this.settings.editables[i].id==id){return this.settings.editables[i]}}}};GENTICS.Aloha.GCN.makeClean=function(obj){if(this.settings.blocks){jQuery.each(this.settings.blocks,function(index,block){obj.find("#"+block.id).replaceWith('<span class="GENTICS_block" id="'+block.tagname+'">x</span>')})}};GENTICS.Aloha.GCN.performRESTRequest=function(data){var that=this;if(!data.type){data.type="POST"}var ajaxObject={type:data.type,dataType:"json",timeout:10000,contentType:"application/json; charset=utf-8",data:jQuery.toJSON(data.body)};ajaxObject.url=data.url+"?sid="+this.settings.sid+"&time="+(new Date()).getTime();if(data.params){for(var paramName in data.params){ajaxObject.url+="&"+paramName+"="+encodeURI(data.params[paramName])}}if(typeof data.async!="undefined"){ajaxObject.async=data.async}if(data.success){ajaxObject.success=data.success}if(data.error){ajaxObject.error=data.error}jQuery.ajax(ajaxObject)};GENTICS.Aloha.GCN.createGCNURL=function(data){var url=data.url+"?sid="+this.settings.sid+"&time="+(new Date()).getTime();for(var paramName in data.params){url+="&"+paramName+"="+encodeURI(data.params[paramName])}return url};GENTICS.Aloha.GCN.openGCNURL=function(data){var url=this.createGCNURL(data);var popup=data.popup;if(this.isEditFrameMaximized()){this.normalizeEditFrame()}this.openURL(url,popup)};GENTICS.Aloha.GCN.openURL=function(url,popup){if(GENTICS.Aloha.isModified()){this.savePage({unlock:false,onsuccess:function(){if(GENTICS.Aloha.Log.isDebugEnabled()){this.log("debug","opening url: "+url)}if(popup){window.open(url)}else{document.location.href=url}},silent:true,async:false})}else{if(GENTICS.Aloha.Log.isDebugEnabled()){this.log("debug","opening url: "+url)}if(popup){window.open(url)}else{document.location.href=url}}};GENTICS.Aloha.GCN.openTagFill=function(tagid){var that=this;GENTICS.Aloha.FloatingMenu.setScope("GENTICS.Aloha.empty");if(GENTICS.Aloha.activeEditable){GENTICS.Aloha.activeEditable.blur();GENTICS.Aloha.Ribbon.hide()}var editdo=10008;var block=this.getBlock(tagid);if(block&&block.editdo){editdo=block.editdo}var tagfillBackParam=this.isGCNFrame()?"":"realid|"+this.settings.id;var editLink=this.createGCNURL({url:this.settings.stag_prefix,params:{"do":editdo,id:tagid,type:"page",keepsid:1,backparam:tagfillBackParam}});if(GENTICS.Aloha.isModified()){this.savePage({onsuccess:function(){GENTICS.Aloha.Ribbon.hide();try{GENTICS.Aloha.activeEditable.blur();GENTICS.Aloha.GCN.lastActiveEditable=GENTICS.Aloha.activeEditable}catch(e){GENTICS.Aloha.GCN.lastActiveEditable=undefined}jQuery.prettyPhoto.open(new Array(editLink+"&iframe=true&width=100%&height=100%"))},unlock:false,silent:true,async:false})}else{GENTICS.Aloha.Ribbon.hide();try{GENTICS.Aloha.activeEditable.blur();GENTICS.Aloha.GCN.lastActiveEditable=GENTICS.Aloha.activeEditable}catch(e){GENTICS.Aloha.GCN.lastActiveEditable=undefined}jQuery.prettyPhoto.open(new Array(editLink+"&iframe=true&width=100%&height=100%"))}};GENTICS.Aloha.GCN.createTag=function(constructId){var that=this;this.performRESTRequest({url:this.settings.stag_prefix+this.restUrl+"/page/newtag/"+this.settings.id,params:{constructId:constructId},description:"restcall.createtag",success:function(data){that.performRESTRequest({url:that.settings.stag_prefix+that.backendUrl+"/alohatag",type:"GET",params:{realid:that.settings.id,real:"edit",template:"<node "+data.tag.name+">",language:that.settings.languageid,links:that.settings.links},success:function(data){that.handleBlock(data,true)},error:function(){GENTICS.Aloha.showMessage(new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:GENTICS.Aloha.i18n(that,"restcall.createtag.error"),type:GENTICS.Aloha.Message.Type.ALERT}))}})}})};GENTICS.Aloha.GCN.getBlock=function(tagid){if(!this.settings.blocks){return false}for(var i=0;i<this.settings.blocks.length;++i){if(this.settings.blocks[i].tagid==tagid){return this.settings.blocks[i]}}return false};GENTICS.Aloha.GCN.reloadBlock=function(tagid){var block=this.getBlock(tagid);var that=this;if(!block){return}this.performRESTRequest({url:this.settings.stag_prefix+this.backendUrl+"/alohatag",type:"GET",params:{realid:that.settings.id,real:"edit",template:"<node "+block.tagname+">",language:that.settings.languageid,links:that.settings.links},success:function(data){that.handleBlock(data,false)},error:function(){GENTICS.Aloha.showMessage(new GENTICS.Aloha.Message({title:"Gentics Content.Node",text:GENTICS.Aloha.i18n(that,"restcall.reloadtag.error"),type:GENTICS.Aloha.Message.Type.ALERT}))}})};GENTICS.Aloha.GCN.handleBlock=function(data,insert){if(this.settings.renderBlockContentURL){data.content=this.renderBlockContent(data.content)}var blockObj=jQuery(data.content);jQuery("#"+blockObj.attr("id")).replaceWith(data.content);if(insert){GENTICS.Aloha.Markup.insertHTMLCode(data.content)}if(data.editables){if(!this.settings.editables){this.settings.editables=new Array()}for(var i=0;i<data.editables.length;++i){this.settings.editables.push(data.editables[i])}this.alohaEditables(data.editables)}if(data.blocks){if(!this.settings.blocks){this.settings.blocks=new Array()}for(var i=0;i<data.blocks.length;++i){this.settings.blocks.push(data.blocks[i])}this.alohaBlocks(data.blocks)}};GENTICS.Aloha.GCN.renderBlockContent=function(content){var that=this;var newContent=content;jQuery.ajax({url:this.settings.renderBlockContentURL,type:"POST",timeout:10000,data:{content:content},dataType:"text",async:false,success:function(data){newContent=data}});return newContent};function cn3_go_list(url){GENTICS.Aloha.GCN.openURL(url)};
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+
8
+ .GENTICS_editable_highlight {
9
+ outline: #FFE767 solid 5px !important;
10
+ }
11
+
12
+ .GENTICS_editable_active, .GENTICS_editable_active[contenteditable=true]:focus {
13
+ outline: #B7D6FA solid 5px !important;
14
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.HighlightEditables=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.highlighteditables");GENTICS.Aloha.HighlightEditables.init=function(){var that=this;GENTICS.Utils.Position.addMouseMoveCallback(function(){for(var i=0;i<GENTICS.Aloha.editables.length;i++){var editable=GENTICS.Aloha.editables[i].obj;if(!GENTICS.Aloha.activeEditable){editable.addClass("GENTICS_editable_highlight")}}});GENTICS.Utils.Position.addMouseStopCallback(function(){that.fade()});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableActivated",function(jEvent,aEvent){aEvent.editable.obj.addClass("GENTICS_editable_active");that.fade()});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableDeactivated",function(jEvent,aEvent){aEvent.editable.obj.removeClass("GENTICS_editable_active")})};GENTICS.Aloha.HighlightEditables.fade=function(){for(var i=0;i<GENTICS.Aloha.editables.length;i++){var editable=GENTICS.Aloha.editables[i].obj;if(editable.hasClass("GENTICS_editable_highlight")){editable.removeClass("GENTICS_editable_highlight").css("outline","5px solid #FFE767").animate({outlineWidth:"0px"},300,"swing",function(){jQuery(this).css("outline","")})}}};
@@ -0,0 +1,15 @@
1
+ /*!
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+
8
+ .GENTICS_link_pointer {
9
+ cursor: pointer;
10
+ }
11
+
12
+ .GENTICS_link_text {
13
+ cursor: text;
14
+ }
15
+
@@ -0,0 +1,48 @@
1
+ .ac_results {
2
+ padding: 0px;
3
+ border: 1px solid gray;
4
+ background-color: white;
5
+ overflow: hidden;
6
+ z-index: 99999;
7
+ }
8
+
9
+ .ac_results ul {
10
+ width: 100%;
11
+ list-style-position: outside;
12
+ list-style: none;
13
+ padding: 0;
14
+ margin: 0;
15
+ }
16
+
17
+ .ac_results li {
18
+ margin: 0px;
19
+ padding: 2px 5px;
20
+ cursor: default;
21
+ display: block;
22
+ /*
23
+ if width will be 100% horizontal scrollbar will apear
24
+ when scroll mode will be used
25
+ */
26
+ /*width: 100%;*/
27
+ font: menu;
28
+ font-size: 12px;
29
+ /*
30
+ it is very important, if line-height not setted or setted
31
+ in relative units scroll will be broken in firefox
32
+ */
33
+ line-height: 16px;
34
+ overflow: hidden;
35
+ }
36
+
37
+ .ac_loading {
38
+ background: white url('indicator.gif') right center no-repeat;
39
+ }
40
+
41
+ .ac_odd {
42
+ background-color: #eee;
43
+ }
44
+
45
+ .ac_over {
46
+ background-color: #B7D6FA;
47
+ color: white;
48
+ }
@@ -0,0 +1 @@
1
+ (function($){$.fn.extend({autocomplete:function(urlOrData,options){var isUrl=typeof urlOrData=="string";options=$.extend({},$.Autocompleter.defaults,{url:isUrl?urlOrData:null,data:isUrl?null:urlOrData,delay:isUrl?$.Autocompleter.defaults.delay:10,max:options&&!options.scroll?10:150},options);options.highlight=options.highlight||function(value){return value};options.formatMatch=options.formatMatch||options.formatItem;return this.each(function(){new $.Autocompleter(this,options)})},result:function(handler){return this.bind("result",handler)},search:function(handler){return this.trigger("search",[handler])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(options){return this.trigger("setOptions",[options])},unautocomplete:function(){return this.trigger("unautocomplete")}});$.Autocompleter=function(input,options){var KEY={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var $input=$(input).attr("autocomplete","off").addClass(options.inputClass);var timeout;var previousValue="";var cache=$.Autocompleter.Cache(options);var hasFocus=0;var lastKeyPressCode;var config={mouseDownOnSelect:false};var select=$.Autocompleter.Select(options,input,selectCurrent,config);var blockSubmit;$.browser.opera&&$(input.form).bind("submit.autocomplete",function(){if(blockSubmit){blockSubmit=false;return false}});$input.bind(($.browser.opera?"keypress":"keydown")+".autocomplete",function(event){hasFocus=1;lastKeyPressCode=event.keyCode;switch(event.keyCode){case KEY.UP:event.preventDefault();if(select.visible()){select.prev()}else{onChange(0,true)}break;case KEY.DOWN:event.preventDefault();if(select.visible()){select.next()}else{onChange(0,true)}break;case KEY.PAGEUP:event.preventDefault();if(select.visible()){select.pageUp()}else{onChange(0,true)}break;case KEY.PAGEDOWN:event.preventDefault();if(select.visible()){select.pageDown()}else{onChange(0,true)}break;case options.multiple&&$.trim(options.multipleSeparator)==","&&KEY.COMMA:case KEY.TAB:case KEY.RETURN:if(selectCurrent()){event.preventDefault();blockSubmit=true;return false}break;case KEY.ESC:select.hide();break;default:clearTimeout(timeout);timeout=setTimeout(onChange,options.delay);break}}).focus(function(){hasFocus++}).blur(function(){hasFocus=0;if(!config.mouseDownOnSelect){hideResults()}}).click(function(){if(hasFocus++>1&&!select.visible()){onChange(0,true)}}).bind("search",function(){var fn=(arguments.length>1)?arguments[1]:null;function findValueCallback(q,data){var result;if(data&&data.length){for(var i=0;i<data.length;i++){if(data[i].result.toLowerCase()==q.toLowerCase()){result=data[i];break}}}if(typeof fn=="function"){fn(result)}else{$input.trigger("result",result&&[result.data,result.value])}}$.each(trimWords($input.val()),function(i,value){request(value,findValueCallback,findValueCallback)})}).bind("flushCache",function(){cache.flush()}).bind("setOptions",function(){$.extend(options,arguments[1]);if("data" in arguments[1]){cache.populate()}}).bind("unautocomplete",function(){select.unbind();$input.unbind();$(input.form).unbind(".autocomplete")});function selectCurrent(){var selected=select.selected();if(!selected){return false}var v=selected.result;previousValue=v;if(options.multiple){var words=trimWords($input.val());if(words.length>1){var seperator=options.multipleSeparator.length;var cursorAt=$(input).selection().start;var wordAt,progress=0;$.each(words,function(i,word){progress+=word.length;if(cursorAt<=progress){wordAt=i;return false}progress+=seperator});words[wordAt]=v;v=words.join(options.multipleSeparator)}v+=options.multipleSeparator}$input.val(v);hideResultsNow();$input.trigger("result",[selected.data,selected.value]);return true}function onChange(crap,skipPrevCheck){if(lastKeyPressCode==KEY.DEL){select.hide();return}var currentValue=$input.val();if(!skipPrevCheck&&currentValue==previousValue){return}previousValue=currentValue;currentValue=lastWord(currentValue);if(currentValue.length>=options.minChars){$input.addClass(options.loadingClass);if(!options.matchCase){currentValue=currentValue.toLowerCase()}request(currentValue,receiveData,hideResultsNow)}else{stopLoading();select.hide()}}function trimWords(value){if(!value){return[""]}if(!options.multiple){return[$.trim(value)]}return $.map(value.split(options.multipleSeparator),function(word){return $.trim(value).length?$.trim(word):null})}function lastWord(value){if(!options.multiple){return value}var words=trimWords(value);if(words.length==1){return words[0]}var cursorAt=$(input).selection().start;if(cursorAt==value.length){words=trimWords(value)}else{words=trimWords(value.replace(value.substring(cursorAt),""))}return words[words.length-1]}function autoFill(q,sValue){if(options.autoFill&&(lastWord($input.val()).toLowerCase()==q.toLowerCase())&&lastKeyPressCode!=KEY.BACKSPACE){$input.val($input.val()+sValue.substring(lastWord(previousValue).length));$(input).selection(previousValue.length,previousValue.length+sValue.length)}}function hideResults(){clearTimeout(timeout);timeout=setTimeout(hideResultsNow,200)}function hideResultsNow(){var wasVisible=select.visible();select.hide();clearTimeout(timeout);stopLoading();if(options.mustMatch){$input.search(function(result){if(!result){if(options.multiple){var words=trimWords($input.val()).slice(0,-1);$input.val(words.join(options.multipleSeparator)+(words.length?options.multipleSeparator:""))}else{$input.val("");$input.trigger("result",null)}}})}}function receiveData(q,data){if(data&&data.length&&hasFocus){stopLoading();select.display(data,q);autoFill(q,data[0].value);select.show()}else{hideResultsNow()}}function request(term,success,failure){if(!options.matchCase){term=term.toLowerCase()}var data=cache.load(term);if(data&&data.length){success(term,data)}else{if((typeof options.url=="string")&&(options.url.length>0)){var extraParams={timestamp:+new Date()};$.each(options.extraParams,function(key,param){extraParams[key]=typeof param=="function"?param():param});$.ajax({mode:"abort",port:"autocomplete"+input.name,dataType:options.dataType,url:options.url,data:$.extend({q:lastWord(term),limit:options.max},extraParams),success:function(data){var parsed=options.parse&&options.parse(data)||parse(data);cache.add(term,parsed);success(term,parsed)}})}else{select.emptyList();failure(term)}}}function parse(data){var parsed=[];var rows=data.split("\n");for(var i=0;i<rows.length;i++){var row=$.trim(rows[i]);if(row){row=row.split("|");parsed[parsed.length]={data:row,value:row[0],result:options.formatResult&&options.formatResult(row,row[0])||row[0]}}}return parsed}function stopLoading(){$input.removeClass(options.loadingClass)}};$.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(row){return row[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(value,term){return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};$.Autocompleter.Cache=function(options){var data={};var length=0;function matchSubset(s,sub){if(!options.matchCase){s=s.toLowerCase()}var i=s.indexOf(sub);if(options.matchContains=="word"){i=s.toLowerCase().search("\\b"+sub.toLowerCase())}if(i==-1){return false}return i==0||options.matchContains}function add(q,value){if(length>options.cacheLength){flush()}if(!data[q]){length++}data[q]=value}function populate(){if(!options.data){return false}var stMatchSets={},nullData=0;if(!options.url){options.cacheLength=1}stMatchSets[""]=[];for(var i=0,ol=options.data.length;i<ol;i++){var rawValue=options.data[i];rawValue=(typeof rawValue=="string")?[rawValue]:rawValue;var value=options.formatMatch(rawValue,i+1,options.data.length);if(value===false){continue}var firstChar=value.charAt(0).toLowerCase();if(!stMatchSets[firstChar]){stMatchSets[firstChar]=[]}var row={value:value,data:rawValue,result:options.formatResult&&options.formatResult(rawValue)||value};stMatchSets[firstChar].push(row);if(nullData++<options.max){stMatchSets[""].push(row)}}$.each(stMatchSets,function(i,value){options.cacheLength++;add(i,value)})}setTimeout(populate,25);function flush(){data={};length=0}return{flush:flush,add:add,populate:populate,load:function(q){if(!options.cacheLength||!length){return null}if(!options.url&&options.matchContains){var csub=[];for(var k in data){if(k.length>0){var c=data[k];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub.push(x)}})}}return csub}else{if(data[q]){return data[q]}else{if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data[q.substr(0,i)];if(c){var csub=[];$.each(c,function(i,x){if(matchSubset(x.value,q)){csub[csub.length]=x}});return csub}}}}}return null}}};$.Autocompleter.Select=function(options,input,select,config){var CLASSES={ACTIVE:"ac_over"};var listItems,active=-1,data,term="",needsInit=true,element,list;function init(){if(!needsInit){return}element=$("<div/>").hide().addClass(options.resultsClass).css("position","absolute").appendTo(document.body);list=$("<ul/>").appendTo(element).mouseover(function(event){if(target(event).nodeName&&target(event).nodeName.toUpperCase()=="LI"){active=$("li",list).removeClass(CLASSES.ACTIVE).index(target(event));$(target(event)).addClass(CLASSES.ACTIVE)}}).click(function(event){$(target(event)).addClass(CLASSES.ACTIVE);select();input.focus();return false}).mousedown(function(){config.mouseDownOnSelect=true}).mouseup(function(){config.mouseDownOnSelect=false});if(options.width>0){element.css("width",options.width)}needsInit=false}function target(event){var element=event.target;while(element&&element.tagName!="LI"){element=element.parentNode}if(!element){return[]}return element}function moveSelect(step){listItems.slice(active,active+1).removeClass(CLASSES.ACTIVE);movePosition(step);var activeItem=listItems.slice(active,active+1).addClass(CLASSES.ACTIVE);if(options.scroll){var offset=0;listItems.slice(0,active).each(function(){offset+=this.offsetHeight});if((offset+activeItem[0].offsetHeight-list.scrollTop())>list[0].clientHeight){list.scrollTop(offset+activeItem[0].offsetHeight-list.innerHeight())}else{if(offset<list.scrollTop()){list.scrollTop(offset)}}}}function movePosition(step){active+=step;if(active<0){active=listItems.size()-1}else{if(active>=listItems.size()){active=0}}}function limitNumberOfItems(available){return options.max&&options.max<available?options.max:available}function fillList(){list.empty();var max=limitNumberOfItems(data.length);for(var i=0;i<max;i++){if(!data[i]){continue}var formatted=options.formatItem(data[i].data,i+1,max,data[i].value,term);if(formatted===false){continue}var li=$("<li/>").html(options.highlight(formatted,term)).addClass(i%2==0?"ac_even":"ac_odd").appendTo(list)[0];$.data(li,"ac_data",data[i])}listItems=list.find("li");if(options.selectFirst){listItems.slice(0,1).addClass(CLASSES.ACTIVE);active=0}if($.fn.bgiframe){list.bgiframe()}}return{display:function(d,q){init();data=d;term=q;fillList()},next:function(){moveSelect(1)},prev:function(){moveSelect(-1)},pageUp:function(){if(active!=0&&active-8<0){moveSelect(-active)}else{moveSelect(-8)}},pageDown:function(){if(active!=listItems.size()-1&&active+8>listItems.size()){moveSelect(listItems.size()-1-active)}else{moveSelect(8)}},hide:function(){element&&element.hide();listItems&&listItems.removeClass(CLASSES.ACTIVE);active=-1},visible:function(){return element&&element.is(":visible")},current:function(){return this.visible()&&(listItems.filter("."+CLASSES.ACTIVE)[0]||options.selectFirst&&listItems[0])},show:function(){var offset=$(input).offset();element.css({width:typeof options.width=="string"||options.width>0?options.width:$(input).width(),top:offset.top+input.offsetHeight,left:offset.left}).show();if(options.scroll){list.scrollTop(0);list.css({maxHeight:options.scrollHeight,overflow:"auto"});if($.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var listHeight=0;listItems.each(function(){listHeight+=this.offsetHeight});var scrollbarsVisible=listHeight>options.scrollHeight;list.css("height",scrollbarsVisible?options.scrollHeight:listHeight);if(!scrollbarsVisible){listItems.width(list.width()-parseInt(listItems.css("padding-left"))-parseInt(listItems.css("padding-right")))}}}},selected:function(){var selected=listItems&&listItems.filter("."+CLASSES.ACTIVE).removeClass(CLASSES.ACTIVE);return selected&&selected.length&&$.data(selected[0],"ac_data")},emptyList:function(){list&&list.empty()},unbind:function(){element&&element.remove()}}};$.fn.selection=function(start,end){if(start!==undefined){return this.each(function(){if(this.createTextRange){var selRange=this.createTextRange();if(end===undefined||start==end){selRange.move("character",start);selRange.select()}else{selRange.collapse(true);selRange.moveStart("character",start);selRange.moveEnd("character",end);selRange.select()}}else{if(this.setSelectionRange){this.setSelectionRange(start,end)}else{if(this.selectionStart){this.selectionStart=start;this.selectionEnd=end}}}})}var field=this[0];if(field.createTextRange){var range=document.selection.createRange(),orig=field.value,teststring="<->",textLength=range.text.length;range.text=teststring;var caretAt=field.value.indexOf(teststring);field.value=orig;this.selection(caretAt,caretAt+textLength);return{start:caretAt,end:caretAt+textLength}}else{if(field.selectionStart!==undefined){return{start:field.selectionStart,end:field.selectionEnd}}}}})(jQuery);
@@ -0,0 +1,4 @@
1
+ button.addlink.tooltip=Verweis einfügen
2
+ button.removelink.tooltip=Verweis entfernen
3
+ newlink.defaulttext=Neuer Verweis
4
+ floatingmenu.tab.link=Verweis
@@ -0,0 +1,4 @@
1
+ button.addlink.tooltip=Insert Link
2
+ button.removelink.tooltip=Remove Link
3
+ newlink.defaulttext=New Link
4
+ floatingmenu.tab.link=Link
@@ -0,0 +1,4 @@
1
+ button.addlink.tooltip=Insérer un lien
2
+ button.removelink.tooltip=Supprimer le lien
3
+ newlink.defaulttext=Nouveau lien
4
+ floatingmenu.tab.link=Lien
@@ -0,0 +1,4 @@
1
+ button.addlink.tooltip=Вставить ссылку
2
+ button.removelink.tooltip=Убрать ссылку
3
+ newlink.defaulttext=Новая ссылка
4
+ floatingmenu.tab.link=Ссылка
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.Link=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.Link");GENTICS.Aloha.Link.languages=["en","de","fr"];GENTICS.Aloha.Link.config=["a"];GENTICS.Aloha.Link.targetregex="";GENTICS.Aloha.Link.target="";GENTICS.Aloha.Link.cssclassregex="";GENTICS.Aloha.Link.cssclass="";GENTICS.Aloha.Link.mouseOverLink=null;GENTICS.Aloha.Link.ressource=null;GENTICS.Aloha.Link.init=function(){if(GENTICS.Aloha.Link.settings.targetregex!=undefined){GENTICS.Aloha.Link.targetregex=GENTICS.Aloha.Link.settings.targetregex}if(GENTICS.Aloha.Link.settings.target!=undefined){GENTICS.Aloha.Link.target=GENTICS.Aloha.Link.settings.target}if(GENTICS.Aloha.Link.settings.cssclassregex!=undefined){GENTICS.Aloha.Link.cssclassregex=GENTICS.Aloha.Link.settings.cssclassregex}if(GENTICS.Aloha.Link.settings.cssclass!=undefined){GENTICS.Aloha.Link.cssclass=GENTICS.Aloha.Link.settings.cssclass}if(GENTICS.Aloha.Link.settings.ressource!=undefined){GENTICS.Aloha.Link.ressource=GENTICS.Aloha.Link.settings.ressource}this.initButtons();this.subscribeEvents();this.bindInteractions()};GENTICS.Aloha.Link.initButtons=function(){var that=this;this.formatLinkButton=new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_a",size:"small",onclick:function(){that.formatLink()},tooltip:this.i18n("button.addlink.tooltip"),toggle:true});GENTICS.Aloha.FloatingMenu.addButton("GENTICS.Aloha.continuoustext",this.formatLinkButton,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.format"),1);this.insertLinkButton=new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_a",size:"small",onclick:function(){that.insertLink(false)},tooltip:this.i18n("button.addlink.tooltip"),toggle:false});GENTICS.Aloha.FloatingMenu.addButton("GENTICS.Aloha.continuoustext",this.insertLinkButton,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.insert"),1);GENTICS.Aloha.FloatingMenu.createScope(this.getUID("link"),"GENTICS.Aloha.continuoustext");this.srcFieldButton=new GENTICS.Aloha.Link.SrcField();GENTICS.Aloha.FloatingMenu.addButton(this.getUID("link"),this.srcFieldButton,this.i18n("floatingmenu.tab.link"),1);GENTICS.Aloha.FloatingMenu.addButton(this.getUID("link"),new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_a_remove",size:"small",onclick:function(){that.removeLink()},tooltip:this.i18n("button.removelink.tooltip")}),this.i18n("floatingmenu.tab.link"),1)};GENTICS.Aloha.Link.bindInteractions=function(){var that=this;for(var i=0;i<GENTICS.Aloha.editables.length;i++){GENTICS.Aloha.editables[i].obj.keydown(function(e){if((that.isCrtlDown||that.isMetaDown)&&e.which==76){if(that.findLinkMarkup()){GENTICS.Aloha.FloatingMenu.userActivatedTab=that.i18n("floatingmenu.tab.link");GENTICS.Aloha.FloatingMenu.doLayout();that.srcFieldButton.focus()}else{that.insertLink()}return false}});GENTICS.Aloha.editables[i].obj.find("a").each(function(i){jQuery(this).mouseenter(function(e){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"mouse over link.");that.mouseOverLink=this;that.updateMousePointer()});jQuery(this).mouseleave(function(e){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"mouse left link.");that.moseOverLink=null;that.updateMousePointer()});jQuery(this).click(function(e){if(e.metaKey||e.ctrlKey){GENTICS.Aloha.activeEditable.blur();setTimeout(function(){location.href=e.target},0);e.stopPropagation();return false}})})}jQuery(document).keyup(function(e){switch(e.which){case 17:GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"ctrl up");that.isCtrlDown=false;that.updateMousePointer();break;case 91:that.isMetaLDown=false;if(!that.isMetaRDown){that.isMetaDown=false;GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"meta up")}that.updateMousePointer();break;case 93:that.isMetaRDown=false;if(!that.isMetaLDown){that.isMetaDown=false;GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"meta up")}that.updateMousePointer();break}});jQuery(document).keydown(function(e){switch(e.which){case 17:GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"meta ctrl");that.isCtrlDown=true;that.updateMousePointer();break;case 91:GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"meta down");that.isMetaLDown=true;that.isMetaDown=true;that.updateMousePointer();break;case 93:GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"meta down");that.isMetaRDown=true;that.isMetaDown=true;that.updateMousePointer();break}})};GENTICS.Aloha.Link.updateMousePointer=function(){var that=this;if((that.isCrtlDown||that.isMetaDown)&&that.mouseOverLink!=null){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"set pointer");jQuery(that.mouseOverLink).removeClass("GENTICS_link_text");jQuery(that.mouseOverLink).addClass("GENTICS_link_pointer")}else{jQuery(that.mouseOverLink).removeClass("GENTICS_link_pointer");jQuery(that.mouseOverLink).addClass("GENTICS_link_text")}};GENTICS.Aloha.Link.subscribeEvents=function(){var that=this;GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"selectionChanged",function(event,rangeObject){if(GENTICS.Aloha.activeEditable){var config=that.getEditableConfig(GENTICS.Aloha.activeEditable.obj);if(jQuery.inArray("a",config)!=-1){that.formatLinkButton.show();that.insertLinkButton.show()}else{that.formatLinkButton.hide();that.insertLinkButton.hide();return}var foundMarkup=that.findLinkMarkup(rangeObject);if(foundMarkup){that.insertLinkButton.hide();that.formatLinkButton.setPressed(true);GENTICS.Aloha.FloatingMenu.setScope(that.getUID("link"));that.srcFieldButton.setAnchor(foundMarkup)}else{that.formatLinkButton.setPressed(false);that.srcFieldButton.setAnchor(null)}GENTICS.Aloha.FloatingMenu.doLayout()}})};GENTICS.Aloha.Link.findLinkMarkup=function(range){if(typeof range=="undefined"){var range=GENTICS.Aloha.Selection.getRangeObject()}return range.findMarkup(function(){return this.nodeName.toLowerCase()=="a"},GENTICS.Aloha.activeEditable.obj)};GENTICS.Aloha.Link.formatLink=function(){var that=this;var range=GENTICS.Aloha.Selection.getRangeObject();if(GENTICS.Aloha.activeEditable){if(that.findLinkMarkup(range)){that.removeLink()}else{that.insertLink()}}};GENTICS.Aloha.Link.insertLink=function(extendToWord){var that=this;if(that.findLinkMarkup(range)){return}GENTICS.Aloha.FloatingMenu.userActivatedTab=this.i18n("floatingmenu.tab.link");var range=GENTICS.Aloha.Selection.getRangeObject();if(range.isCollapsed()&&extendToWord!=false){GENTICS.Utils.Dom.extendToWord(range)}if(range.isCollapsed()){var linkText=this.i18n("newlink.defaulttext");var newLink=jQuery('<a href="#">'+linkText+"</a>");GENTICS.Utils.Dom.insertIntoDOM(newLink,range,jQuery(GENTICS.Aloha.activeEditable.obj));range.startContainer=range.endContainer=newLink.contents().get(0);range.startOffset=0;range.endOffset=linkText.length}else{var newLink=jQuery('<a href="#"></a>');GENTICS.Utils.Dom.addMarkup(range,newLink,false)}range.select();this.srcFieldButton.focus()};GENTICS.Aloha.Link.removeLink=function(){var that=this;var range=GENTICS.Aloha.Selection.getRangeObject();var foundMarkup=that.findLinkMarkup();if(foundMarkup){GENTICS.Utils.Dom.removeFromDOM(foundMarkup,range,true);GENTICS.Aloha.activeEditable.obj[0].focus();range.select()}};GENTICS.Aloha.Link.makeClean=function(obj){obj.find("a").each(function(){})};Ext.ux.LinkSrcButton=Ext.extend(Ext.Component,{wrapper:null,input:null,anchor:null,onRender:function(){var that=this;Ext.ux.LinkSrcButton.superclass.onRender.apply(this,arguments);this.wrapper=jQuery(this.el.dom);this.input=jQuery('<input id="GENTICS_Aloha_plugin_Link" type="text" style="width:300px">');if(GENTICS.Aloha.Link.settings.ressource||1==1){var data=[{id:1,text:"Link A",url:"/page1"},{id:2,text:"Link B",url:"/page2"},{id:3,text:"Link C",url:"/page3"},{id:4,text:"Link D",url:"/page4"}];this.input.autocomplete(data,{formatItem:function(item){return item.text+'<br /><i style="font-size:75%;color:#555">'+item.url+"</i>"}}).result(function(event,item){that.input.val(item.url);jQuery(that.anchor).attr("id",item.id)})}this.input.keyup(function(event){if(that.anchor){if(that.input.val().length>=2){jQuery(that.anchor).attr("href",that.input.val())}else{jQuery(that.anchor).attr("href","#")}}if(event.keyCode==13||event.keyCode==27){GENTICS.Aloha.activeEditable.obj[0].focus();GENTICS.Aloha.Selection.getRangeObject().select()}else{that.setAttribute(that.input.val(),"target",GENTICS.Aloha.Link.targetregex,GENTICS.Aloha.Link.target);that.setAttribute(that.input.val(),"class",GENTICS.Aloha.Link.cssclassregex,GENTICS.Aloha.Link.cssclass)}});this.input.blur(function(event){if(that.input.val()==""){GENTICS.Aloha.Link.removeLink()}});this.wrapper.append(this.input);if(this.getFocus){this.getFocus=undefined;this.input.select();this.input.focus()}},setAttribute:function(input,attr,regex,value){var that=this;if(typeof value!="undefined"){var setTarget=true;if(typeof regex!="undefined"){var regex=new RegExp(regex);if(input.match(regex)){setTarget=true}else{setTarget=false}}if(setTarget){jQuery(that.anchor).attr(attr,value)}else{jQuery(that.anchor).removeAttr(attr)}}},setAnchor:function(anchor){this.anchor=anchor;if(this.input){if(this.anchor){this.input.val(jQuery(this.anchor).attr("href"))}else{this.input.val("")}}},focus:function(){if(this.input){this.input.select();this.input.focus()}else{this.getFocus=true}}});Ext.reg("linksrcbutton",Ext.ux.LinkSrcButton);GENTICS.Aloha.Link.SrcField=function(){GENTICS.Aloha.ui.Button.apply(this,arguments)};GENTICS.Aloha.Link.SrcField.prototype=new GENTICS.Aloha.ui.Button();GENTICS.Aloha.Link.SrcField.prototype.getExtConfigProperties=function(){return{xtype:"linksrcbutton",id:this.id}};GENTICS.Aloha.Link.SrcField.prototype.setAnchor=function(anchor){if(this.extButton){this.extButton.setAnchor(anchor)}};GENTICS.Aloha.Link.SrcField.prototype.focus=function(){if(this.extButton){this.extButton.focus()}};
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.Ressource=function(ressourcePrefix,basePath){this.prefix=ressourcePrefix;this.basePath=basePath?basePath:ressourcePrefix;GENTICS.Aloha.RessourceRegistry.register(this)};GENTICS.Aloha.Ressource.prototype.settings=null;GENTICS.Aloha.Ressource.prototype.init=function(){};GENTICS.Aloha.Ressource.prototype.query=function(attrs){return null};GENTICS.Aloha.Ressource.prototype.resolveRessource=function(obj){return null};
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.Ressources.Dummy=new GENTICS.Aloha.Ressource("com.gentics.aloha.resources.Dummy");GENTICS.Aloha.Ressources.Dummy.init=function(){var data=[{id:1,text:"Link A",url:"/page1"},{id:2,text:"Link B",url:"/page2"},{id:3,text:"Link C",url:"/page3"},{id:4,text:"Link D",url:"/page4"}]};GENTICS.Aloha.Ressources.Dummy.query=function(attrs){return this.data};GENTICS.Aloha.Ressources.Dummy.resolve=function(obj){return null};
@@ -0,0 +1,7 @@
1
+ /*
2
+ * Aloha Editor
3
+ * Author & Copyright (c) 2010 Gentics Software GmbH
4
+ * aloha-sales@gentics.com
5
+ * Licensed unter the terms of http://www.aloha-editor.com/license.html
6
+ */
7
+ GENTICS.Aloha.RessourceRegistry=function(){this.ressources=new Array()};GENTICS.Aloha.RessourceRegistry.prototype.register=function(ressource){if(ressource instanceof GENTICS.Aloha.Ressource){this.ressources.push(ressource)}};GENTICS.Aloha.RessourceRegistry.prototype.init=function(){for(var i=0;i<this.ressources.length;i++){var ressource=this.ressources[i];if(GENTICS.Aloha.settings.ressources==undefined){GENTICS.Aloha.settings.ressources={}}ressource.settings=GENTICS.Aloha.settings.ressources[ressource.prefix];if(ressource.settings==undefined){ressource.settings={}}if(ressource.settings.enabled==undefined){ressource.settings.enabled=true}if(ressource.settings.enabled==true){this.ressources[i].init()}}};GENTICS.Aloha.RessourceRegistry.toString=function(){return"com.gentics.aloha.RessourceRegistry"};GENTICS.Aloha.RessourceRegistry=new GENTICS.Aloha.RessourceRegistry();GENTICS.Aloha.Ressources={};
@@ -0,0 +1,2 @@
1
+ button.createulist.tooltip=Unsortierte Liste einfügen
2
+ button.createolist.tooltip=Sortierte Liste einfügen
@@ -0,0 +1,2 @@
1
+ button.createulist.tooltip=Insert Unordered List
2
+ button.createolist.tooltip=Insert Ordered List
@@ -0,0 +1,2 @@
1
+ button.createulist.tooltip=Enmeti senordan liston
2
+ button.createolist.tooltip=Enmeti ordan liston
@@ -0,0 +1,2 @@
1
+ button.createulist.tooltip=Lisää järjestelemätön lista
2
+ button.createolist.tooltip=Lisää järjestelty lista
@@ -0,0 +1,2 @@
1
+ button.createulist.tooltip=Insérer une liste non ordonnée
2
+ button.createolist.tooltip=Insérer liste ordonnée
@@ -0,0 +1,2 @@
1
+ button.createulist.tooltip=Inserisci una lista
2
+ button.createolist.tooltip=Inserisci una lista numerata