erp_app 3.1.16 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1634) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/app/controllers/erp_app/desktop/configuration_management/base_controller.rb +2 -2
  4. data/app/controllers/erp_app/desktop/configuration_management/options_controller.rb +14 -14
  5. data/app/controllers/erp_app/desktop/configuration_management/types_controller.rb +3 -3
  6. data/app/controllers/erp_app/desktop/control_panel/application_management_controller.rb +2 -2
  7. data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +1 -1
  8. data/app/controllers/erp_app/desktop/job_tracker/base_controller.rb +5 -6
  9. data/app/controllers/erp_app/desktop/security_management/base_controller.rb +7 -7
  10. data/app/controllers/erp_app/desktop/security_management/capabilities_controller.rb +37 -42
  11. data/app/controllers/erp_app/desktop/security_management/groups_controller.rb +70 -75
  12. data/app/controllers/erp_app/desktop/security_management/roles_controller.rb +63 -68
  13. data/app/controllers/erp_app/desktop/security_management/users_controller.rb +45 -50
  14. data/app/controllers/erp_app/login_controller.rb +20 -11
  15. data/app/controllers/erp_app/mobile/user_management/base_controller.rb +4 -5
  16. data/app/controllers/erp_app/organizer/application_management_controller.rb +47 -0
  17. data/app/controllers/erp_app/organizer/crm/contact_mechanisms_controller.rb +150 -0
  18. data/app/controllers/erp_app/organizer/crm/parties_controller.rb +326 -0
  19. data/app/controllers/erp_app/organizer/crm/relationship_controller.rb +28 -30
  20. data/app/controllers/erp_app/organizer/crm/users_controller.rb +250 -0
  21. data/app/controllers/erp_app/public_controller.rb +9 -2
  22. data/app/controllers/erp_app/shared/audit_log_controller.rb +68 -0
  23. data/app/controllers/erp_app/shared/configuration_controller.rb +3 -3
  24. data/app/controllers/erp_app/shared/notes_controller.rb +50 -40
  25. data/app/controllers/erp_app/widget_proxy_controller.rb +6 -4
  26. data/app/models/application.rb +8 -2
  27. data/app/models/configuration.rb +46 -24
  28. data/app/models/configuration_item.rb +8 -0
  29. data/app/models/desktop.rb +0 -14
  30. data/app/models/organizer.rb +0 -14
  31. data/app/models/widget.rb +0 -3
  32. data/app/views/erp_app/desktop/base/index.erb +28 -35
  33. data/app/views/erp_app/login/index.erb +5 -2
  34. data/app/views/erp_app/organizer/base/index.erb +22 -17
  35. data/app/views/erp_app/organizer/crm/parties/details.erb +89 -0
  36. data/app/views/erp_app/pixlr/close.erb +5 -0
  37. data/config/routes.rb +74 -42
  38. data/db/data_migrations/20130703181549_create_tail_desktop_application.rb +4 -7
  39. data/db/data_migrations/20131102171801_add_customer_role_type.rb +11 -0
  40. data/db/data_migrations/20131108191057_add_customer_employee_reln.rb +26 -0
  41. data/db/data_migrations/20140122205941_remove_theme_preference.rb +21 -0
  42. data/db/migrate/20131112013049_add_erp_app_missing_indexes.rb +31 -0
  43. data/db/migrate/20131129205550_add_precedence_to_configuration_item_types.rb +7 -0
  44. data/lib/active_ext/active_ext.rb +1 -1
  45. data/lib/active_ext/ext_helpers/field_builder.rb +140 -140
  46. data/lib/erp_app/application_resource_loader/desktop_organizer_loader.rb +1 -2
  47. data/lib/erp_app/engine.rb +0 -5
  48. data/lib/erp_app/extensions/active_record/has_user_preferences.rb +70 -69
  49. data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +29 -27
  50. data/lib/erp_app/version.rb +7 -3
  51. data/lib/erp_app/widgets/base.rb +21 -4
  52. data/lib/erp_app/widgets/loader.rb +2 -2
  53. data/lib/erp_app.rb +1 -0
  54. data/lib/generators/cms_widget/USAGE +0 -6
  55. data/lib/generators/cms_widget/templates/javascript/base.js.erb +1 -1
  56. data/lib/generators/desktop_application/templates/migrate/migration_template.erb +4 -6
  57. data/lib/generators/organizer_application/templates/controllers/controller_template.erb +1 -2
  58. data/lib/generators/organizer_application/templates/public/base.js.erb +21 -25
  59. data/public/images/art/compass-ae-logo-reverse-1.png +0 -0
  60. data/public/images/btn/save/save_16x16.png +0 -0
  61. data/public/images/btn/save_all/save_all_16x16.png +0 -0
  62. data/public/images/btn_light/add/add_16x16.png +0 -0
  63. data/public/images/btn_light/left_panel/left_panel_16x16.png +0 -0
  64. data/public/images/btn_light/left_right_panel/left_right_panel_16x16.png +0 -0
  65. data/public/images/btn_light/right_panel/right_panel_16x16.png +0 -0
  66. data/public/images/btn_light/save/save_16x16.png +0 -0
  67. data/public/images/btn_light/save_all/save_all_16x16.png +0 -0
  68. data/public/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
  69. data/public/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
  70. data/public/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
  71. data/public/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
  72. data/public/images/erp_app/desktop/compass_logo_start_icon.png +0 -0
  73. data/public/images/erp_app/organizer/applications/crm/business.png +0 -0
  74. data/public/images/erp_app/organizer/applications/crm/business_64x64.png +0 -0
  75. data/public/images/erp_app/organizer/applications/crm/customer-contact.png +0 -0
  76. data/public/images/erp_app/organizer/applications/crm/customer_360_64x64.png +0 -0
  77. data/public/images/erp_app/organizer/applications/crm/people.png +0 -0
  78. data/public/images/erp_app/organizer/applications/crm/person.png +0 -0
  79. data/public/images/erp_app/organizer/applications/crm/toolbar_find.png +0 -0
  80. data/public/images/erp_app/organizer/applications/crm/vcard.png +0 -0
  81. data/public/images/icons/add/add_16x16.png +0 -0
  82. data/public/images/icons/add/add_light_16x16.png +0 -0
  83. data/public/images/icons/arrow_left_blue/arrow_left_blue_16x16.png +0 -0
  84. data/public/images/icons/arrow_left_blue/arrow_left_blue_32x32.png +0 -0
  85. data/public/images/icons/arrow_left_blue/arrow_left_blue_48x48.png +0 -0
  86. data/public/images/icons/arrow_right_blue/arrow_right_blue_16x16.png +0 -0
  87. data/public/images/icons/arrow_right_blue/arrow_right_blue_32x32.png +0 -0
  88. data/public/images/icons/arrow_right_blue/arrow_right_blue_48x48.png +0 -0
  89. data/public/images/icons/article/article_16x16.png +0 -0
  90. data/public/images/icons/blog/blog_16x16.png +0 -0
  91. data/public/images/icons/blog/blog_24x24.png +0 -0
  92. data/public/images/icons/blog/blog_32x32.png +0 -0
  93. data/public/images/icons/blog/blog_48x48.png +0 -0
  94. data/public/images/icons/book/book_16x16.png +0 -0
  95. data/public/images/icons/calendar/calendar_16x16.png +0 -0
  96. data/public/images/icons/calendar/calendar_64x64.png +0 -0
  97. data/public/images/icons/calendar/calendar_light_16x16.png +0 -0
  98. data/public/images/icons/code/code_16x16.png +0 -0
  99. data/public/images/icons/console/console_16x16.png +0 -0
  100. data/public/images/icons/console/console_64x64.png +0 -0
  101. data/public/images/icons/contact-us/contact-us_48x48.png +0 -0
  102. data/public/images/icons/content/content_16x16.png +0 -0
  103. data/public/images/icons/control_panel/control_panel_16x16.png +0 -0
  104. data/public/images/icons/control_panel/control_panel_48x48.png +0 -0
  105. data/public/images/icons/control_panel/control_panel_64x64.png +0 -0
  106. data/public/images/icons/copy/copy_16x16.png +0 -0
  107. data/public/images/icons/creditcards/creditcards_16x16.png +0 -0
  108. data/public/images/icons/creditcards/creditcards_24x24.png +0 -0
  109. data/public/images/icons/creditcards/creditcards_32x32.png +0 -0
  110. data/public/images/icons/creditcards/creditcards_48x48.png +0 -0
  111. data/public/images/icons/creditcards/creditcards_64x64.png +0 -0
  112. data/public/images/icons/crm/crm_16x16.png +0 -0
  113. data/public/images/icons/crm/crm_light_16x16.png +0 -0
  114. data/public/images/icons/csr/csr_16x16.png +0 -0
  115. data/public/images/icons/csr/csr_256x256.png +0 -0
  116. data/public/images/icons/csr/csr_500x500.png +0 -0
  117. data/public/images/icons/data/data_16x16.png +0 -0
  118. data/public/images/icons/data/data_64x64.png +0 -0
  119. data/public/images/icons/database/database_16x16.png +0 -0
  120. data/public/images/icons/database_column/database_column_16x16.png +0 -0
  121. data/public/images/icons/db_edit_data/db_edit_data_16x16.png +0 -0
  122. data/public/images/icons/db_table/db_table_16x16.png +0 -0
  123. data/public/images/icons/delete/delete_16x16.png +0 -0
  124. data/public/images/icons/doc_settings/doc_settings_16x16.png +0 -0
  125. data/public/images/icons/document/document_16x16.png +0 -0
  126. data/public/images/icons/document_lock/document_lock_16x16.png +0 -0
  127. data/public/images/icons/document_pulse/document_pulse_64x64.png +0 -0
  128. data/public/images/icons/edit/edit_16x16.png +0 -0
  129. data/public/images/icons/exit/exit_16x16.png +0 -0
  130. data/public/images/icons/eye/eye_16x16.png +0 -0
  131. data/public/images/icons/eye/eye_24x24.png +0 -0
  132. data/public/images/icons/eye/eye_32x32.png +0 -0
  133. data/public/images/icons/eye/eye_48x48.png +0 -0
  134. data/public/images/icons/fieldtypes/business_party.png +0 -0
  135. data/public/images/icons/fieldtypes/check.png +0 -0
  136. data/public/images/icons/fieldtypes/date.png +0 -0
  137. data/public/images/icons/fieldtypes/display.png +0 -0
  138. data/public/images/icons/fieldtypes/email.png +0 -0
  139. data/public/images/icons/fieldtypes/file.png +0 -0
  140. data/public/images/icons/fieldtypes/file_assets.png +0 -0
  141. data/public/images/icons/fieldtypes/image.png +0 -0
  142. data/public/images/icons/fieldtypes/money.png +0 -0
  143. data/public/images/icons/fieldtypes/number.png +0 -0
  144. data/public/images/icons/fieldtypes/password.png +0 -0
  145. data/public/images/icons/fieldtypes/question.png +0 -0
  146. data/public/images/icons/fieldtypes/radio.png +0 -0
  147. data/public/images/icons/fieldtypes/select.png +0 -0
  148. data/public/images/icons/fieldtypes/text.png +0 -0
  149. data/public/images/icons/fieldtypes/text.psd +0 -0
  150. data/public/images/icons/fieldtypes/text_area.png +0 -0
  151. data/public/images/icons/fieldtypes/time.png +0 -0
  152. data/public/images/icons/fieldtypes/yes_no.png +0 -0
  153. data/public/images/icons/file_manager/file_manager_16x16.png +0 -0
  154. data/public/images/icons/file_manager/file_manager_light_16x16.png +0 -0
  155. data/public/images/icons/folders/folders_64x64.png +0 -0
  156. data/public/images/icons/footprints/footprints_16x16.png +0 -0
  157. data/public/images/icons/footprints/footprints_light_16x16.png +0 -0
  158. data/public/images/icons/form/form_16x16.png +0 -0
  159. data/public/images/icons/form/form_light_16x16.png +0 -0
  160. data/public/images/icons/gantt/gantt_24x24.png +0 -0
  161. data/public/images/icons/gear/gear_16x16.png +0 -0
  162. data/public/images/icons/gear/gear_light_16x16.png +0 -0
  163. data/public/images/icons/globe/globe_16x16.png +0 -0
  164. data/public/images/icons/globe/globe_64x64.png +0 -0
  165. data/public/images/icons/globe/globe_light_16x16.png +0 -0
  166. data/public/images/icons/google-map/google-map_48x48.png +0 -0
  167. data/public/images/icons/grid/grid_16x16.png +0 -0
  168. data/public/images/icons/grid/grid_64x64.png +0 -0
  169. data/public/images/icons/hierarchy/hierarchy_16x16.png +0 -0
  170. data/public/images/icons/history/history_16x16.png +0 -0
  171. data/public/images/icons/history/history_64x64.png +0 -0
  172. data/public/images/icons/history/history_light_16x16.png +0 -0
  173. data/public/images/icons/home/home_16x16.png +0 -0
  174. data/public/images/icons/home/home_48x48.png +0 -0
  175. data/public/images/icons/ia/ia_16x16.png +0 -0
  176. data/public/images/icons/information/information_16x16.png +0 -0
  177. data/public/images/icons/invoicing/invoicing_48x48.png +0 -0
  178. data/public/images/icons/invoicing/invoicing_64x64.png +0 -0
  179. data/public/images/icons/key/key_16x16.png +0 -0
  180. data/public/images/icons/key/key_64x64.png +0 -0
  181. data/public/images/icons/knitkit/knitkit_16x16.png +0 -0
  182. data/public/images/icons/knitkit/knitkit_48x48.png +0 -0
  183. data/public/images/icons/knitkit/knitkit_light_16x16.png +0 -0
  184. data/public/images/icons/login/login_48x48.png +0 -0
  185. data/public/images/icons/magnifying-glass/magnifying-glass_48x48.png +0 -0
  186. data/public/images/icons/mail/mail_16x16.png +0 -0
  187. data/public/images/icons/mail/mail_24x24.png +0 -0
  188. data/public/images/icons/mail/mail_32x32.png +0 -0
  189. data/public/images/icons/mail/mail_48x48.png +0 -0
  190. data/public/images/icons/manage-profile/manage-profile_48x48.png +0 -0
  191. data/public/images/icons/menu/menu_16x16.png +0 -0
  192. data/public/images/icons/ordered_list/ordered_list_16x16.png +0 -0
  193. data/public/images/icons/package/package_16x16.png +0 -0
  194. data/public/images/icons/package/package_64x64.png +0 -0
  195. data/public/images/icons/package/package_light_16x16.png +0 -0
  196. data/public/images/icons/palette/palette_64x64.png +0 -0
  197. data/public/images/icons/person/person_16x16.png +0 -0
  198. data/public/images/icons/phone/phone_16x16.png +0 -0
  199. data/public/images/icons/phone/phone_64x64.png +0 -0
  200. data/public/images/icons/picture/picture_16x16.png +0 -0
  201. data/public/images/icons/play/play_16x16.png +0 -0
  202. data/public/images/icons/product/product_16x16.png +0 -0
  203. data/public/images/icons/product/product_64x64.png +0 -0
  204. data/public/images/icons/product/product_light_16x16.png +0 -0
  205. data/public/images/icons/query/query_16x16.png +0 -0
  206. data/public/images/icons/redo/redo_16x16.png +0 -0
  207. data/public/images/icons/refresh/refresh_16x16.png +0 -0
  208. data/public/images/icons/report/report_16x16.png +0 -0
  209. data/public/images/icons/reset-password/reset-password_48x48.png +0 -0
  210. data/public/images/icons/rowselect/rowselect_16x16.png +0 -0
  211. data/public/images/icons/save/save_16x16.png +0 -0
  212. data/public/images/icons/save_as/save_as_16x16.png +0 -0
  213. data/public/images/icons/scaffold/scaffold_16x16.png +0 -0
  214. data/public/images/icons/scaffold/scaffold_light_16x16.png +0 -0
  215. data/public/images/icons/search/search_16x16.png +0 -0
  216. data/public/images/icons/search/search_24x24.png +0 -0
  217. data/public/images/icons/search/search_32x32.png +0 -0
  218. data/public/images/icons/search/search_48x48.png +0 -0
  219. data/public/images/icons/search/search_light_16x16.png +0 -0
  220. data/public/images/icons/section/section_16x16.png +0 -0
  221. data/public/images/icons/section/section_24x24.png +0 -0
  222. data/public/images/icons/section/section_32x32.png +0 -0
  223. data/public/images/icons/section/section_48x48.png +0 -0
  224. data/public/images/icons/section_lock/section_lock_16x16.png +0 -0
  225. data/public/images/icons/section_lock/section_lock_24x24.png +0 -0
  226. data/public/images/icons/section_lock/section_lock_32x32.png +0 -0
  227. data/public/images/icons/section_lock/section_lock_48x48.png +0 -0
  228. data/public/images/icons/secure/secure_16x16.png +0 -0
  229. data/public/images/icons/settings/settings_16x16.png +0 -0
  230. data/public/images/icons/settings/settings_light_16x16.png +0 -0
  231. data/public/images/icons/shopping_cart/shopping_card_64x64.png +0 -0
  232. data/public/images/icons/shopping_cart/shopping_cart_32x32.png +0 -0
  233. data/public/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
  234. data/public/images/icons/sign_up/sign_up_32x32.png +0 -0
  235. data/public/images/icons/sign_up/sign_up_48x48.png +0 -0
  236. data/public/images/icons/sign_up/sign_up_64x64.png +0 -0
  237. data/public/images/icons/signup/signup_48x48.png +0 -0
  238. data/public/images/icons/simple_arrow/simple_arrow_16x16.png +0 -0
  239. data/public/images/icons/small_gear/small_gear_16x16.png +0 -0
  240. data/public/images/icons/sql/sql_16x16.png +0 -0
  241. data/public/images/icons/tables/tables_16x16.png +0 -0
  242. data/public/images/icons/theme/theme_16x16.png +0 -0
  243. data/public/images/icons/theme_upload/theme_upload_16x16.png +0 -0
  244. data/public/images/icons/ticket/tag_16x16.png +0 -0
  245. data/public/images/icons/undo/undo_16x16.png +0 -0
  246. data/public/images/icons/user/user_128x128.png +0 -0
  247. data/public/images/icons/user/user_16x16.png +0 -0
  248. data/public/images/icons/user/user_64x64.png +0 -0
  249. data/public/images/icons/user/user_light_16x16.png +0 -0
  250. data/public/images/icons/user_mgt/user_mgt_16x16.png +0 -0
  251. data/public/images/icons/user_mgt/user_mgt_light_16x16.png +0 -0
  252. data/public/images/icons/vcard/vcard_16x16.png +0 -0
  253. data/public/images/icons/view/view_16x16.png +0 -0
  254. data/public/images/icons/view/view_24x24.png +0 -0
  255. data/public/images/icons/view/view_32x32.png +0 -0
  256. data/public/images/icons/view/view_48x48.png +0 -0
  257. data/public/images/icons/warning/waring_16x16.png +0 -0
  258. data/public/images/icons/website/website_16x16.png +0 -0
  259. data/public/images/icons/website_download/website_download_16x16.png +0 -0
  260. data/public/images/icons/website_publications/website_publications_16x16.png +0 -0
  261. data/public/images/icons/website_upload/website_upload_16x16.png +0 -0
  262. data/public/images/loading_icon.gif +0 -0
  263. data/public/images/splash_screen/browse_docs_icon.png +0 -0
  264. data/public/images/splash_screen/desktop_icon.png +0 -0
  265. data/public/images/tab/tab-default-close.png +0 -0
  266. data/public/javascripts/erp_app/authentication/compass_user.js +77 -69
  267. data/public/javascripts/erp_app/ckeditor/ckeditor.js +927 -152
  268. data/public/javascripts/erp_app/ckeditor/config.js +12 -11
  269. data/public/javascripts/erp_app/ckeditor/contents.css +84 -6
  270. data/public/javascripts/erp_app/ckeditor/lang/en.js +3 -4
  271. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -7
  272. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  273. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  274. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  275. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
  276. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  277. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  278. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  279. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  280. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  281. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
  282. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  283. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  284. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  285. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  286. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  287. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
  288. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +11 -0
  289. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +10 -0
  290. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  291. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  292. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  293. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  294. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +10 -0
  295. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +9 -0
  296. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  297. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
  298. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
  299. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  300. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  301. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
  302. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  303. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  304. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  305. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  306. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  307. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
  308. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  309. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +10 -0
  310. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  311. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
  312. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +8 -0
  313. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  314. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +10 -0
  315. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
  316. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +9 -0
  317. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +9 -0
  318. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  319. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
  320. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  321. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  322. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +10 -0
  323. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  324. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  325. data/public/javascripts/erp_app/ckeditor/plugins/about/dialogs/about.js +7 -6
  326. data/public/javascripts/erp_app/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  327. data/public/javascripts/erp_app/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  328. data/public/javascripts/erp_app/ckeditor/plugins/clipboard/dialogs/paste.js +11 -7
  329. data/public/javascripts/erp_app/ckeditor/plugins/codemirror/lang/en.js +12 -0
  330. data/public/javascripts/erp_app/ckeditor/plugins/codemirror/plugin.js +756 -59
  331. data/public/javascripts/erp_app/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -7
  332. data/public/javascripts/erp_app/ckeditor/plugins/dialog/dialogDefinition.js +4 -4
  333. data/public/javascripts/erp_app/ckeditor/plugins/div/dialogs/div.js +9 -8
  334. data/public/javascripts/erp_app/ckeditor/{images → plugins/fakeobjects/images}/spacer.gif +0 -0
  335. data/public/javascripts/erp_app/ckeditor/plugins/find/dialogs/find.js +24 -10
  336. data/public/javascripts/erp_app/ckeditor/plugins/flash/dialogs/flash.js +24 -9
  337. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/button.js +8 -6
  338. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/checkbox.js +8 -6
  339. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/form.js +8 -6
  340. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -6
  341. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/radio.js +8 -6
  342. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/select.js +20 -9
  343. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textarea.js +8 -6
  344. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textfield.js +10 -6
  345. data/public/javascripts/erp_app/ckeditor/plugins/icons.png +0 -0
  346. data/public/javascripts/erp_app/ckeditor/plugins/icons_hidpi.png +0 -0
  347. data/public/javascripts/erp_app/ckeditor/plugins/iframe/dialogs/iframe.js +10 -7
  348. data/public/javascripts/erp_app/ckeditor/plugins/image/dialogs/image.js +43 -13
  349. data/public/javascripts/erp_app/ckeditor/{skins/kama → plugins/image}/images/noimage.png +0 -0
  350. data/public/javascripts/erp_app/ckeditor/plugins/inlineeditsave/plugin.js +3 -1
  351. data/public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js +2 -5
  352. data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/anchor.js +8 -6
  353. data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js +36 -12
  354. data/public/javascripts/erp_app/ckeditor/plugins/link/images/anchor.png +0 -0
  355. data/public/javascripts/erp_app/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  356. data/public/javascripts/erp_app/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -7
  357. data/public/javascripts/erp_app/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  358. data/public/javascripts/erp_app/ckeditor/plugins/magicline/images/icon.png +0 -0
  359. data/public/javascripts/erp_app/ckeditor/plugins/pastefromword/filter/default.js +31 -11
  360. data/public/javascripts/erp_app/ckeditor/plugins/scayt/LICENSE.md +28 -0
  361. data/public/javascripts/erp_app/ckeditor/plugins/scayt/README.md +25 -0
  362. data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/options.js +20 -8
  363. data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/toolbar.css +70 -5
  364. data/public/javascripts/erp_app/ckeditor/plugins/smiley/dialogs/smiley.js +10 -7
  365. data/public/javascripts/erp_app/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  366. data/public/javascripts/erp_app/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  367. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  368. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
  369. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
  370. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  371. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  372. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  373. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  374. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  375. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  376. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  377. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  378. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  379. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  380. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  381. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  382. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  383. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
  384. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/he.js +13 -0
  385. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  386. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
  387. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
  388. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  389. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
  390. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  391. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  392. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  393. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  394. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  395. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  396. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  397. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
  398. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
  399. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
  400. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  401. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
  402. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  403. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  404. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  405. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  406. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  407. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
  408. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/vi.js +13 -0
  409. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  410. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -7
  411. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/dialogs/syntaxhighlight.js +418 -0
  412. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/icons/syntaxhighlight.png +0 -0
  413. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/de.js +22 -0
  414. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/en.js +22 -0
  415. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/fr.js +22 -0
  416. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/lang/zh-cn.js +22 -0
  417. data/public/javascripts/erp_app/ckeditor/plugins/syntaxhighlight/plugin.js +144 -0
  418. data/public/javascripts/erp_app/ckeditor/plugins/table/dialogs/table.js +21 -9
  419. data/public/javascripts/erp_app/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -8
  420. data/public/javascripts/erp_app/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  421. data/public/javascripts/erp_app/ckeditor/plugins/templates/dialogs/templates.js +10 -7
  422. data/public/javascripts/erp_app/ckeditor/plugins/templates/templates/default.js +6 -6
  423. data/public/javascripts/erp_app/ckeditor/plugins/wsc/LICENSE.md +28 -0
  424. data/public/javascripts/erp_app/ckeditor/plugins/wsc/README.md +25 -0
  425. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/ciframe.html +17 -0
  426. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/tmp.html +131 -0
  427. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.css +77 -1
  428. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.js +67 -7
  429. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc_ie.js +11 -0
  430. data/public/javascripts/erp_app/ckeditor/skins/moono/dialog.css +5 -0
  431. data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_ie.css +5 -0
  432. data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_ie7.css +5 -0
  433. data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_ie8.css +5 -0
  434. data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  435. data/public/javascripts/erp_app/ckeditor/skins/moono/dialog_opera.css +5 -0
  436. data/public/javascripts/erp_app/ckeditor/skins/moono/editor.css +20 -0
  437. data/public/javascripts/erp_app/ckeditor/skins/moono/editor_gecko.css +5 -0
  438. data/public/javascripts/erp_app/ckeditor/skins/moono/editor_ie.css +5 -0
  439. data/public/javascripts/erp_app/ckeditor/skins/moono/editor_ie7.css +5 -0
  440. data/public/javascripts/erp_app/ckeditor/skins/moono/editor_ie8.css +5 -0
  441. data/public/javascripts/erp_app/ckeditor/skins/moono/editor_iequirks.css +5 -0
  442. data/public/javascripts/erp_app/ckeditor/skins/moono/icons.png +0 -0
  443. data/public/javascripts/erp_app/ckeditor/skins/moono/icons_hidpi.png +0 -0
  444. data/public/javascripts/erp_app/ckeditor/skins/moono/images/arrow.png +0 -0
  445. data/public/javascripts/erp_app/ckeditor/skins/moono/images/close.png +0 -0
  446. data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  447. data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  448. data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  449. data/public/javascripts/erp_app/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  450. data/public/javascripts/erp_app/ckeditor/skins/moono/images/lock-open.png +0 -0
  451. data/public/javascripts/erp_app/ckeditor/skins/moono/images/lock.png +0 -0
  452. data/public/javascripts/erp_app/ckeditor/skins/moono/images/refresh.png +0 -0
  453. data/public/javascripts/erp_app/ckeditor/skins/moono/readme.md +51 -0
  454. data/public/javascripts/erp_app/ckeditor/styles.js +111 -0
  455. data/public/javascripts/erp_app/codemirror/lib/codemirror.css +204 -106
  456. data/public/javascripts/erp_app/codemirror/lib/codemirror.js +55 -3165
  457. data/public/javascripts/erp_app/codemirror/theme/3024-day.css +34 -0
  458. data/public/javascripts/erp_app/codemirror/theme/3024-night.css +34 -0
  459. data/public/javascripts/erp_app/codemirror/theme/ambiance-mobile.css +5 -0
  460. data/public/javascripts/erp_app/codemirror/theme/ambiance.css +10 -17
  461. data/public/javascripts/erp_app/codemirror/theme/base16-dark.css +34 -0
  462. data/public/javascripts/erp_app/codemirror/theme/base16-light.css +34 -0
  463. data/public/javascripts/erp_app/codemirror/theme/blackboard.css +7 -4
  464. data/public/javascripts/erp_app/codemirror/theme/cobalt.css +7 -4
  465. data/public/javascripts/erp_app/codemirror/theme/eclipse.css +3 -5
  466. data/public/javascripts/erp_app/codemirror/theme/elegant.css +4 -1
  467. data/public/javascripts/erp_app/codemirror/theme/erlang-dark.css +19 -10
  468. data/public/javascripts/erp_app/codemirror/theme/lesser-dark.css +9 -10
  469. data/public/javascripts/erp_app/codemirror/theme/mbo.css +37 -0
  470. data/public/javascripts/erp_app/codemirror/theme/mdn-like.css +44 -0
  471. data/public/javascripts/erp_app/codemirror/theme/midnight.css +43 -0
  472. data/public/javascripts/erp_app/codemirror/theme/monokai.css +5 -4
  473. data/public/javascripts/erp_app/codemirror/theme/neat.css +3 -0
  474. data/public/javascripts/erp_app/codemirror/theme/neo.css +40 -0
  475. data/public/javascripts/erp_app/codemirror/theme/night.css +7 -4
  476. data/public/javascripts/erp_app/codemirror/theme/paraiso-dark.css +34 -0
  477. data/public/javascripts/erp_app/codemirror/theme/paraiso-light.css +34 -0
  478. data/public/javascripts/erp_app/codemirror/theme/pastel-on-dark.css +48 -0
  479. data/public/javascripts/erp_app/codemirror/theme/rubyblue.css +6 -6
  480. data/public/javascripts/erp_app/codemirror/theme/solarized.css +167 -0
  481. data/public/javascripts/erp_app/codemirror/theme/the-matrix.css +26 -0
  482. data/public/javascripts/erp_app/codemirror/theme/tomorrow-night-eighties.css +34 -0
  483. data/public/javascripts/erp_app/codemirror/theme/twilight.css +28 -0
  484. data/public/javascripts/erp_app/codemirror/theme/vibrant-ink.css +9 -6
  485. data/public/javascripts/erp_app/codemirror/theme/xq-dark.css +8 -5
  486. data/public/javascripts/erp_app/codemirror/theme/xq-light.css +43 -0
  487. data/public/javascripts/erp_app/codemirror_highlight.js +2 -2
  488. data/public/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +22 -32
  489. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +1 -1
  490. data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +2 -2
  491. data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +66 -49
  492. data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +109 -110
  493. data/public/javascripts/erp_app/desktop/applications/job_tracker/jobs_grid.js +3 -3
  494. data/public/javascripts/erp_app/desktop/applications/job_tracker/module.js +1 -1
  495. data/public/javascripts/erp_app/desktop/applications/scaffold/module.js +2 -2
  496. data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +49 -65
  497. data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +206 -218
  498. data/public/javascripts/erp_app/desktop/applications/security_management/common_widget.js +33 -0
  499. data/public/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +1 -1
  500. data/public/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +272 -287
  501. data/public/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +206 -218
  502. data/public/javascripts/erp_app/desktop/applications/security_management/module.js +150 -46
  503. data/public/javascripts/erp_app/desktop/applications/security_management/north_panel.js +31 -0
  504. data/public/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +284 -287
  505. data/public/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +206 -218
  506. data/public/javascripts/erp_app/desktop/applications/security_management/south_panel.js +126 -0
  507. data/public/javascripts/erp_app/desktop/applications/security_management/users_effective_security.js +112 -105
  508. data/public/javascripts/erp_app/desktop/applications/security_management/users_panel.js +53 -85
  509. data/public/javascripts/erp_app/desktop/applications/security_management/users_widget.js +210 -218
  510. data/public/javascripts/erp_app/desktop/applications/tail/module.js +2 -2
  511. data/public/javascripts/erp_app/desktop/applications/user_management/module.js +50 -40
  512. data/public/javascripts/erp_app/desktop/applications/user_management/personal_info_panel.js +113 -113
  513. data/public/javascripts/erp_app/desktop/applications/web_navigator/module.js +18 -8
  514. data/public/javascripts/erp_app/desktop/ext_ux_desktop_module.js +937 -881
  515. data/public/javascripts/erp_app/jquery_support.js +19 -30
  516. data/public/javascripts/erp_app/login/window.js +121 -110
  517. data/public/javascripts/erp_app/organizer/applications/crm/base.js +54 -342
  518. data/public/javascripts/erp_app/organizer/layout.js +184 -95
  519. data/public/javascripts/erp_app/organizer/preference_window.js +66 -55
  520. data/public/javascripts/erp_app/shared/MoneyField.js +119 -0
  521. data/public/javascripts/erp_app/shared/PartySearchField.js +73 -0
  522. data/public/javascripts/erp_app/shared/TransitionCardLayout.js +156 -0
  523. data/public/javascripts/erp_app/shared/audit_log/GridPanel.js +214 -0
  524. data/public/javascripts/erp_app/shared/audit_log/ItemGridPanel.js +103 -0
  525. data/public/javascripts/erp_app/shared/audit_log/TabPanel.js +103 -0
  526. data/public/javascripts/erp_app/shared/compass_ckeditor.js +181 -101
  527. data/public/javascripts/erp_app/shared/compass_codemirror.js +399 -126
  528. data/public/javascripts/erp_app/shared/configuration/configuration_form.js +32 -49
  529. data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +26 -8
  530. data/public/javascripts/erp_app/shared/coolclock/tray_clock2.js +121 -0
  531. data/public/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +812 -0
  532. data/public/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +344 -0
  533. data/public/javascripts/erp_app/shared/crm/PartyForm.js +321 -0
  534. data/public/javascripts/erp_app/shared/crm/PartyFormPanel.js +316 -0
  535. data/public/javascripts/erp_app/shared/crm/PartyGrid.js +591 -0
  536. data/public/javascripts/erp_app/shared/crm/UserForm.js +307 -0
  537. data/public/javascripts/erp_app/shared/crm/UsersGrid.js +492 -0
  538. data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +55 -52
  539. data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +29 -36
  540. data/public/javascripts/erp_app/shared/dynamic_form_fields.js +99 -0
  541. data/public/javascripts/erp_app/shared/file_manager_tree.js +685 -658
  542. data/public/javascripts/erp_app/shared/google_map_panel.js +96 -68
  543. data/public/javascripts/erp_app/shared/notes_grid.js +317 -287
  544. data/public/javascripts/erp_app/shared/preferences/application_management_panel.js +137 -0
  545. data/public/javascripts/erp_app/shared/preferences/form.js +170 -0
  546. data/public/javascripts/erp_app/shared/profile_management_panel.js +62 -63
  547. data/public/javascripts/erp_app/utility.js +271 -65
  548. data/public/javascripts/erp_app/widgets.js +68 -70
  549. data/public/stylesheets/erp_app/desktop/applications/security_management/styles.css +12 -0
  550. data/public/stylesheets/erp_app/desktop/base.css +87 -11
  551. data/public/stylesheets/erp_app/organizer/base.css +6 -0
  552. data/public/stylesheets/erp_app/shared/compass-ext-all.css +335 -213
  553. data/public/stylesheets/erp_app/shared/crm.css +45 -0
  554. data/spec/controllers/organizer/crm/relationship_controller_spec.rb +1 -0
  555. metadata +545 -1272
  556. data/app/controllers/erp_app/desktop/audit_log_viewer/base_controller.rb +0 -55
  557. data/app/controllers/erp_app/organizer/crm/base_controller.rb +0 -333
  558. data/app/views/erp_app/organizer/base/get_party_details.erb +0 -19
  559. data/lib/erp_app/extensions/will_paginate_patch.rb +0 -26
  560. data/public/images/icons/about/about_16x16.png +0 -0
  561. data/public/images/icons/about/about_24x24.png +0 -0
  562. data/public/images/icons/about/about_32x32.png +0 -0
  563. data/public/images/icons/about/about_48x48.png +0 -0
  564. data/public/images/icons/add/add_24x24.png +0 -0
  565. data/public/images/icons/add/add_32x32.png +0 -0
  566. data/public/images/icons/add/add_48x48.png +0 -0
  567. data/public/images/icons/apartment/apartment_16x16.png +0 -0
  568. data/public/images/icons/apartment/apartment_24x24.png +0 -0
  569. data/public/images/icons/apartment/apartment_32x32.png +0 -0
  570. data/public/images/icons/apartment/apartment_48x48.png +0 -0
  571. data/public/images/icons/arrow_left_blue/arrow_left_blue_24x24.png +0 -0
  572. data/public/images/icons/arrow_right_blue/arrow_right_blue_24x24.png +0 -0
  573. data/public/images/icons/back/back_16x16.png +0 -0
  574. data/public/images/icons/back/back_24x24.png +0 -0
  575. data/public/images/icons/back/back_32x32.png +0 -0
  576. data/public/images/icons/back/back_48x48.png +0 -0
  577. data/public/images/icons/battery/battery_16x16.png +0 -0
  578. data/public/images/icons/battery/battery_24x24.png +0 -0
  579. data/public/images/icons/battery/battery_32x32.png +0 -0
  580. data/public/images/icons/battery/battery_48x48.png +0 -0
  581. data/public/images/icons/calendar/calendar_24x24.png +0 -0
  582. data/public/images/icons/calendar/calendar_32x32.png +0 -0
  583. data/public/images/icons/calendar/calendar_48x48.png +0 -0
  584. data/public/images/icons/clock/clock.png +0 -0
  585. data/public/images/icons/compass/compass_16x16.png +0 -0
  586. data/public/images/icons/compass/compass_24x24.png +0 -0
  587. data/public/images/icons/compass/compass_32x32.png +0 -0
  588. data/public/images/icons/compass/compass_48x48.png +0 -0
  589. data/public/images/icons/console/console_32x32.png +0 -0
  590. data/public/images/icons/console/console_48x48.png +0 -0
  591. data/public/images/icons/content/content_256x256.png +0 -0
  592. data/public/images/icons/content/content_32x32.png +0 -0
  593. data/public/images/icons/content/content_48x48.png +0 -0
  594. data/public/images/icons/control_panel/control_panel_24x24.png +0 -0
  595. data/public/images/icons/control_panel/control_panel_32x32.png +0 -0
  596. data/public/images/icons/copy/copy_24x24.png +0 -0
  597. data/public/images/icons/copy/copy_32x32.png +0 -0
  598. data/public/images/icons/copy/copy_48x48.png +0 -0
  599. data/public/images/icons/cut/cut_16x16.png +0 -0
  600. data/public/images/icons/cut/cut_24x24.png +0 -0
  601. data/public/images/icons/cut/cut_32x32.png +0 -0
  602. data/public/images/icons/cut/cut_48x48.png +0 -0
  603. data/public/images/icons/data/data_24x24.png +0 -0
  604. data/public/images/icons/data/data_48x48.png +0 -0
  605. data/public/images/icons/desktop/desktop_16x16.png +0 -0
  606. data/public/images/icons/desktop/desktop_24x24.png +0 -0
  607. data/public/images/icons/desktop/desktop_32x32.png +0 -0
  608. data/public/images/icons/desktop/desktop_48x48.png +0 -0
  609. data/public/images/icons/document_add/document_add_16x16.png +0 -0
  610. data/public/images/icons/document_add/document_add_24x24.png +0 -0
  611. data/public/images/icons/document_add/document_add_32x32.png +0 -0
  612. data/public/images/icons/document_add/document_add_48x48.png +0 -0
  613. data/public/images/icons/document_attachment/document_attachment_16x16.png +0 -0
  614. data/public/images/icons/document_attachment/document_attachment_24x24.png +0 -0
  615. data/public/images/icons/document_attachment/document_attachment_32x32.png +0 -0
  616. data/public/images/icons/document_attachment/document_attachment_48x48.png +0 -0
  617. data/public/images/icons/document_certificate/document_certificate_16x16.png +0 -0
  618. data/public/images/icons/document_certificate/document_certificate_24x24.png +0 -0
  619. data/public/images/icons/document_certificate/document_certificate_32x32.png +0 -0
  620. data/public/images/icons/document_certificate/document_certificate_48x48.png +0 -0
  621. data/public/images/icons/document_chart/document_chart_16x16.png +0 -0
  622. data/public/images/icons/document_chart/document_chart_24x24.png +0 -0
  623. data/public/images/icons/document_chart/document_chart_32x32.png +0 -0
  624. data/public/images/icons/document_chart/document_chart_48x48.png +0 -0
  625. data/public/images/icons/document_connection/document_connection_16x16.png +0 -0
  626. data/public/images/icons/document_connection/document_connection_24x24.png +0 -0
  627. data/public/images/icons/document_connection/document_connection_32x32.png +0 -0
  628. data/public/images/icons/document_connection/document_connection_48x48.png +0 -0
  629. data/public/images/icons/document_cup/document_cup_16x16.png +0 -0
  630. data/public/images/icons/document_cup/document_cup_24x24.png +0 -0
  631. data/public/images/icons/document_cup/document_cup_32x32.png +0 -0
  632. data/public/images/icons/document_cup/document_cup_48x48.png +0 -0
  633. data/public/images/icons/document_delete/document_delete_16x16.png +0 -0
  634. data/public/images/icons/document_delete/document_delete_24x24.png +0 -0
  635. data/public/images/icons/document_delete/document_delete_32x32.png +0 -0
  636. data/public/images/icons/document_delete/document_delete_48x48.png +0 -0
  637. data/public/images/icons/document_dirty/document_dirty_16x16.png +0 -0
  638. data/public/images/icons/document_dirty/document_dirty_24x24.png +0 -0
  639. data/public/images/icons/document_dirty/document_dirty_32x32.png +0 -0
  640. data/public/images/icons/document_dirty/document_dirty_48x48.png +0 -0
  641. data/public/images/icons/document_error/document_error_16x16.png +0 -0
  642. data/public/images/icons/document_error/document_error_24x24.png +0 -0
  643. data/public/images/icons/document_error/document_error_32x32.png +0 -0
  644. data/public/images/icons/document_error/document_error_48x48.png +0 -0
  645. data/public/images/icons/document_exchange/document_exchange_16x16.png +0 -0
  646. data/public/images/icons/document_exchange/document_exchange_24x24.png +0 -0
  647. data/public/images/icons/document_exchange/document_exchange_32x32.png +0 -0
  648. data/public/images/icons/document_exchange/document_exchange_48x48.png +0 -0
  649. data/public/images/icons/document_find/document_find_16x16.png +0 -0
  650. data/public/images/icons/document_find/document_find_24x24.png +0 -0
  651. data/public/images/icons/document_find/document_find_32x32.png +0 -0
  652. data/public/images/icons/document_find/document_find_48x48.png +0 -0
  653. data/public/images/icons/document_forbidden/document_forbidden_16x16.png +0 -0
  654. data/public/images/icons/document_forbidden/document_forbidden_24x24.png +0 -0
  655. data/public/images/icons/document_forbidden/document_forbidden_32x32.png +0 -0
  656. data/public/images/icons/document_forbidden/document_forbidden_48x48.png +0 -0
  657. data/public/images/icons/document_gear/document_gear_16x16.png +0 -0
  658. data/public/images/icons/document_gear/document_gear_24x24.png +0 -0
  659. data/public/images/icons/document_gear/document_gear_32x32.png +0 -0
  660. data/public/images/icons/document_gear/document_gear_48x48.png +0 -0
  661. data/public/images/icons/document_heart/document_heart_16x16.png +0 -0
  662. data/public/images/icons/document_heart/document_heart_24x24.png +0 -0
  663. data/public/images/icons/document_heart/document_heart_32x32.png +0 -0
  664. data/public/images/icons/document_heart/document_heart_48x48.png +0 -0
  665. data/public/images/icons/document_into/document_into_16x16.png +0 -0
  666. data/public/images/icons/document_into/document_into_24x24.png +0 -0
  667. data/public/images/icons/document_into/document_into_32x32.png +0 -0
  668. data/public/images/icons/document_into/document_into_48x48.png +0 -0
  669. data/public/images/icons/document_music/document_music_16x16.png +0 -0
  670. data/public/images/icons/document_music/document_music_24x24.png +0 -0
  671. data/public/images/icons/document_music/document_music_32x32.png +0 -0
  672. data/public/images/icons/document_music/document_music_48x48.png +0 -0
  673. data/public/images/icons/document_new/document_new_16x16.png +0 -0
  674. data/public/images/icons/document_new/document_new_24x24.png +0 -0
  675. data/public/images/icons/document_new/document_new_32x32.png +0 -0
  676. data/public/images/icons/document_new/document_new_48x48.png +0 -0
  677. data/public/images/icons/document_notebook/document_notebook_16x16.png +0 -0
  678. data/public/images/icons/document_notebook/document_notebook_24x24.png +0 -0
  679. data/public/images/icons/document_notebook/document_notebook_32x32.png +0 -0
  680. data/public/images/icons/document_notebook/document_notebook_48x48.png +0 -0
  681. data/public/images/icons/document_pinned/document_pinned_16x16.png +0 -0
  682. data/public/images/icons/document_pinned/document_pinned_24x24.png +0 -0
  683. data/public/images/icons/document_pinned/document_pinned_32x32.png +0 -0
  684. data/public/images/icons/document_pinned/document_pinned_48x48.png +0 -0
  685. data/public/images/icons/document_plain/document_plain_16x16.png +0 -0
  686. data/public/images/icons/document_plain/document_plain_24x24.png +0 -0
  687. data/public/images/icons/document_plain/document_plain_32x32.png +0 -0
  688. data/public/images/icons/document_plain/document_plain_48x48.png +0 -0
  689. data/public/images/icons/document_plain_new/document_plain_new_16x16.png +0 -0
  690. data/public/images/icons/document_plain_new/document_plain_new_24x24.png +0 -0
  691. data/public/images/icons/document_plain_new/document_plain_new_32x32.png +0 -0
  692. data/public/images/icons/document_plain_new/document_plain_new_48x48.png +0 -0
  693. data/public/images/icons/document_preferences/document_preferences_16x16.png +0 -0
  694. data/public/images/icons/document_preferences/document_preferences_24x24.png +0 -0
  695. data/public/images/icons/document_preferences/document_preferences_32x32.png +0 -0
  696. data/public/images/icons/document_preferences/document_preferences_48x48.png +0 -0
  697. data/public/images/icons/document_refresh/document_refresh_16x16.png +0 -0
  698. data/public/images/icons/document_refresh/document_refresh_24x24.png +0 -0
  699. data/public/images/icons/document_refresh/document_refresh_32x32.png +0 -0
  700. data/public/images/icons/document_refresh/document_refresh_48x48.png +0 -0
  701. data/public/images/icons/document_stop/document_stop_16x16.png +0 -0
  702. data/public/images/icons/document_stop/document_stop_24x24.png +0 -0
  703. data/public/images/icons/document_stop/document_stop_32x32.png +0 -0
  704. data/public/images/icons/document_stop/document_stop_48x48.png +0 -0
  705. data/public/images/icons/document_text/document_text_16x16.png +0 -0
  706. data/public/images/icons/document_text/document_text_24x24.png +0 -0
  707. data/public/images/icons/document_text/document_text_32x32.png +0 -0
  708. data/public/images/icons/document_text/document_text_48x48.png +0 -0
  709. data/public/images/icons/document_time/document_time_16x16.png +0 -0
  710. data/public/images/icons/document_time/document_time_24x24.png +0 -0
  711. data/public/images/icons/document_time/document_time_32x32.png +0 -0
  712. data/public/images/icons/document_time/document_time_48x48.png +0 -0
  713. data/public/images/icons/document_view/document_view_16x16.png +0 -0
  714. data/public/images/icons/document_view/document_view_24x24.png +0 -0
  715. data/public/images/icons/document_view/document_view_32x32.png +0 -0
  716. data/public/images/icons/document_view/document_view_48x48.png +0 -0
  717. data/public/images/icons/document_warning/document_warning_16x16.png +0 -0
  718. data/public/images/icons/document_warning/document_warning_24x24.png +0 -0
  719. data/public/images/icons/document_warning/document_warning_32x32.png +0 -0
  720. data/public/images/icons/document_warning/document_warning_48x48.png +0 -0
  721. data/public/images/icons/document_zoom_in/document_zoom_in_16x16.png +0 -0
  722. data/public/images/icons/document_zoom_in/document_zoom_in_24x24.png +0 -0
  723. data/public/images/icons/document_zoom_in/document_zoom_in_32x32.png +0 -0
  724. data/public/images/icons/document_zoom_in/document_zoom_in_48x48.png +0 -0
  725. data/public/images/icons/document_zoom_out/document_zoom_out_16x16.png +0 -0
  726. data/public/images/icons/document_zoom_out/document_zoom_out_24x24.png +0 -0
  727. data/public/images/icons/document_zoom_out/document_zoom_out_32x32.png +0 -0
  728. data/public/images/icons/document_zoom_out/document_zoom_out_48x48.png +0 -0
  729. data/public/images/icons/documents_gear/documents_gear_16x16.png +0 -0
  730. data/public/images/icons/documents_gear/documents_gear_24x24.png +0 -0
  731. data/public/images/icons/documents_gear/documents_gear_32x32.png +0 -0
  732. data/public/images/icons/documents_gear/documents_gear_48x48.png +0 -0
  733. data/public/images/icons/documents_new/documents_new_16x16.png +0 -0
  734. data/public/images/icons/documents_new/documents_new_24x24.png +0 -0
  735. data/public/images/icons/documents_new/documents_new_32x32.png +0 -0
  736. data/public/images/icons/documents_new/documents_new_48x48.png +0 -0
  737. data/public/images/icons/documents_preferences/documents_preferences_16x16.png +0 -0
  738. data/public/images/icons/documents_preferences/documents_preferences_24x24.png +0 -0
  739. data/public/images/icons/documents_preferences/documents_preferences_32x32.png +0 -0
  740. data/public/images/icons/documents_preferences/documents_preferences_48x48.png +0 -0
  741. data/public/images/icons/error/error_16x16.png +0 -0
  742. data/public/images/icons/error/error_24x24.png +0 -0
  743. data/public/images/icons/error/error_32x32.png +0 -0
  744. data/public/images/icons/error/error_48x48.png +0 -0
  745. data/public/images/icons/folder_gear/folder_gear_16x16.png +0 -0
  746. data/public/images/icons/folder_gear/folder_gear_24x24.png +0 -0
  747. data/public/images/icons/folder_gear/folder_gear_32x32.png +0 -0
  748. data/public/images/icons/folder_gear/folder_gear_48x48.png +0 -0
  749. data/public/images/icons/folders/folders_16x16.png +0 -0
  750. data/public/images/icons/folders/folders_24x24.png +0 -0
  751. data/public/images/icons/folders/folders_32x32.png +0 -0
  752. data/public/images/icons/folders/folders_48x48.png +0 -0
  753. data/public/images/icons/globe/globe_24x24.png +0 -0
  754. data/public/images/icons/globe/globe_32x32.png +0 -0
  755. data/public/images/icons/globe/globe_48x48.png +0 -0
  756. data/public/images/icons/grid/grid_32x32.gif +0 -0
  757. data/public/images/icons/grid/grid_48x48.gif +0 -0
  758. data/public/images/icons/grid/grid_48x48.png +0 -0
  759. data/public/images/icons/help/help_16x16.png +0 -0
  760. data/public/images/icons/help/help_24x24.png +0 -0
  761. data/public/images/icons/help/help_32x32.png +0 -0
  762. data/public/images/icons/help/help_48x48.png +0 -0
  763. data/public/images/icons/history/history_24x24.png +0 -0
  764. data/public/images/icons/history/history_32x32.png +0 -0
  765. data/public/images/icons/history/history_48x48.png +0 -0
  766. data/public/images/icons/house/house_16x16.png +0 -0
  767. data/public/images/icons/house/house_24x24.png +0 -0
  768. data/public/images/icons/house/house_32x32.png +0 -0
  769. data/public/images/icons/house/house_48x48.png +0 -0
  770. data/public/images/icons/information/information_24x24.png +0 -0
  771. data/public/images/icons/information/information_32x32.png +0 -0
  772. data/public/images/icons/information/information_48x48.png +0 -0
  773. data/public/images/icons/key/key_24x24.png +0 -0
  774. data/public/images/icons/key/key_32x32.png +0 -0
  775. data/public/images/icons/key/key_48x48.png +0 -0
  776. data/public/images/icons/keyboard/keyboard_16x16.png +0 -0
  777. data/public/images/icons/keyboard/keyboard_24x24.png +0 -0
  778. data/public/images/icons/keyboard/keyboard_32x32.png +0 -0
  779. data/public/images/icons/keyboard/keyboard_48x48.png +0 -0
  780. data/public/images/icons/knowledge/Knowledge_16x16.png +0 -0
  781. data/public/images/icons/knowledge/Knowledge_256x256.png +0 -0
  782. data/public/images/icons/knowledge/Knowledge_32x32.png +0 -0
  783. data/public/images/icons/knowledge/Knowledge_48x48.png +0 -0
  784. data/public/images/icons/laptop/laptop_16x16.png +0 -0
  785. data/public/images/icons/laptop/laptop_24x24.png +0 -0
  786. data/public/images/icons/laptop/laptop_32x32.png +0 -0
  787. data/public/images/icons/laptop/laptop_48x48.png +0 -0
  788. data/public/images/icons/log_out/log_out_16x16.png +0 -0
  789. data/public/images/icons/log_out/log_out_24x24.png +0 -0
  790. data/public/images/icons/log_out/log_out_32x32.png +0 -0
  791. data/public/images/icons/log_out/log_out_48x48.png +0 -0
  792. data/public/images/icons/message/message_16x16.png +0 -0
  793. data/public/images/icons/message/message_24x24.png +0 -0
  794. data/public/images/icons/message/message_32x32.png +0 -0
  795. data/public/images/icons/message/message_48x48.png +0 -0
  796. data/public/images/icons/monitor/monitor_16x16.png +0 -0
  797. data/public/images/icons/monitor/monitor_24x24.png +0 -0
  798. data/public/images/icons/monitor/monitor_32x32.png +0 -0
  799. data/public/images/icons/monitor/monitor_48x48.png +0 -0
  800. data/public/images/icons/mouse/mouse_16x16.png +0 -0
  801. data/public/images/icons/mouse/mouse_24x24.png +0 -0
  802. data/public/images/icons/mouse/mouse_32x32.png +0 -0
  803. data/public/images/icons/mouse/mouse_48x48.png +0 -0
  804. data/public/images/icons/music/music_16x16.png +0 -0
  805. data/public/images/icons/music/music_24x24.png +0 -0
  806. data/public/images/icons/music/music_32x32.png +0 -0
  807. data/public/images/icons/music/music_48x48.png +0 -0
  808. data/public/images/icons/nav_down_blue/nav_down_blue_16x16.png +0 -0
  809. data/public/images/icons/nav_down_blue/nav_down_blue_24x24.png +0 -0
  810. data/public/images/icons/nav_down_blue/nav_down_blue_32x32.png +0 -0
  811. data/public/images/icons/nav_down_blue/nav_down_blue_48x48.png +0 -0
  812. data/public/images/icons/nav_down_left_blue/nav_down_left_blue_16x16.png +0 -0
  813. data/public/images/icons/nav_down_left_blue/nav_down_left_blue_24x24.png +0 -0
  814. data/public/images/icons/nav_down_left_blue/nav_down_left_blue_32x32.png +0 -0
  815. data/public/images/icons/nav_down_left_blue/nav_down_left_blue_48x48.png +0 -0
  816. data/public/images/icons/nav_down_right_blue/nav_down_right_blue_16x16.png +0 -0
  817. data/public/images/icons/nav_down_right_blue/nav_down_right_blue_24x24.png +0 -0
  818. data/public/images/icons/nav_down_right_blue/nav_down_right_blue_32x32.png +0 -0
  819. data/public/images/icons/nav_down_right_blue/nav_down_right_blue_48x48.png +0 -0
  820. data/public/images/icons/nav_left_blue/nav_left_blue_16x16.png +0 -0
  821. data/public/images/icons/nav_left_blue/nav_left_blue_24x24.png +0 -0
  822. data/public/images/icons/nav_left_blue/nav_left_blue_32x32.png +0 -0
  823. data/public/images/icons/nav_left_blue/nav_left_blue_48x48.png +0 -0
  824. data/public/images/icons/nav_plain_blue/nav_plain_blue_16x16.png +0 -0
  825. data/public/images/icons/nav_plain_blue/nav_plain_blue_24x24.png +0 -0
  826. data/public/images/icons/nav_plain_blue/nav_plain_blue_32x32.png +0 -0
  827. data/public/images/icons/nav_plain_blue/nav_plain_blue_48x48.png +0 -0
  828. data/public/images/icons/nav_redo_blue/nav_redo_blue_16x16.png +0 -0
  829. data/public/images/icons/nav_redo_blue/nav_redo_blue_24x24.png +0 -0
  830. data/public/images/icons/nav_redo_blue/nav_redo_blue_32x32.png +0 -0
  831. data/public/images/icons/nav_redo_blue/nav_redo_blue_48x48.png +0 -0
  832. data/public/images/icons/nav_refresh_blue/nav_refresh_blue_16x16.png +0 -0
  833. data/public/images/icons/nav_refresh_blue/nav_refresh_blue_24x24.png +0 -0
  834. data/public/images/icons/nav_refresh_blue/nav_refresh_blue_32x32.png +0 -0
  835. data/public/images/icons/nav_refresh_blue/nav_refresh_blue_48x48.png +0 -0
  836. data/public/images/icons/nav_right_blue/nav_right_blue_16x16.png +0 -0
  837. data/public/images/icons/nav_right_blue/nav_right_blue_24x24.png +0 -0
  838. data/public/images/icons/nav_right_blue/nav_right_blue_32x32.png +0 -0
  839. data/public/images/icons/nav_right_blue/nav_right_blue_48x48.png +0 -0
  840. data/public/images/icons/nav_undo_blue/nav_undo_blue_16x16.png +0 -0
  841. data/public/images/icons/nav_undo_blue/nav_undo_blue_24x24.png +0 -0
  842. data/public/images/icons/nav_undo_blue/nav_undo_blue_32x32.png +0 -0
  843. data/public/images/icons/nav_undo_blue/nav_undo_blue_48x48.png +0 -0
  844. data/public/images/icons/nav_up_blue/nav_up_blue_16x16.png +0 -0
  845. data/public/images/icons/nav_up_blue/nav_up_blue_24x24.png +0 -0
  846. data/public/images/icons/nav_up_blue/nav_up_blue_32x32.png +0 -0
  847. data/public/images/icons/nav_up_blue/nav_up_blue_48x48.png +0 -0
  848. data/public/images/icons/nav_up_left_blue/nav_up_left_blue_16x16.png +0 -0
  849. data/public/images/icons/nav_up_left_blue/nav_up_left_blue_24x24.png +0 -0
  850. data/public/images/icons/nav_up_left_blue/nav_up_left_blue_32x32.png +0 -0
  851. data/public/images/icons/nav_up_left_blue/nav_up_left_blue_48x48.png +0 -0
  852. data/public/images/icons/nav_up_right_blue/nav_up_right_blue_16x16.png +0 -0
  853. data/public/images/icons/nav_up_right_blue/nav_up_right_blue_24x24.png +0 -0
  854. data/public/images/icons/nav_up_right_blue/nav_up_right_blue_32x32.png +0 -0
  855. data/public/images/icons/nav_up_right_blue/nav_up_right_blue_48x48.png +0 -0
  856. data/public/images/icons/new/new_16x16.png +0 -0
  857. data/public/images/icons/new/new_24x24.png +0 -0
  858. data/public/images/icons/new/new_32x32.png +0 -0
  859. data/public/images/icons/new/new_48x48.png +0 -0
  860. data/public/images/icons/note_add/note_add_16x16.png +0 -0
  861. data/public/images/icons/note_add/note_add_24x24.png +0 -0
  862. data/public/images/icons/note_add/note_add_32x32.png +0 -0
  863. data/public/images/icons/note_add/note_add_48x48.png +0 -0
  864. data/public/images/icons/note_delete/note_delete_16x16.png +0 -0
  865. data/public/images/icons/note_delete/note_delete_24x24.png +0 -0
  866. data/public/images/icons/note_delete/note_delete_32x32.png +0 -0
  867. data/public/images/icons/note_delete/note_delete_48x48.png +0 -0
  868. data/public/images/icons/note_edit/note_edit_16x16.png +0 -0
  869. data/public/images/icons/note_edit/note_edit_24x24.png +0 -0
  870. data/public/images/icons/note_edit/note_edit_32x32.png +0 -0
  871. data/public/images/icons/note_edit/note_edit_48x48.png +0 -0
  872. data/public/images/icons/note_error/note_error_16x16.png +0 -0
  873. data/public/images/icons/note_error/note_error_24x24.png +0 -0
  874. data/public/images/icons/note_error/note_error_32x32.png +0 -0
  875. data/public/images/icons/note_error/note_error_48x48.png +0 -0
  876. data/public/images/icons/note_find/note_find_16x16.png +0 -0
  877. data/public/images/icons/note_find/note_find_24x24.png +0 -0
  878. data/public/images/icons/note_find/note_find_32x32.png +0 -0
  879. data/public/images/icons/note_find/note_find_48x48.png +0 -0
  880. data/public/images/icons/note_information/note_information_16x16.png +0 -0
  881. data/public/images/icons/note_information/note_information_24x24.png +0 -0
  882. data/public/images/icons/note_information/note_information_32x32.png +0 -0
  883. data/public/images/icons/note_information/note_information_48x48.png +0 -0
  884. data/public/images/icons/note_new/note_new_16x16.png +0 -0
  885. data/public/images/icons/note_new/note_new_24x24.png +0 -0
  886. data/public/images/icons/note_new/note_new_32x32.png +0 -0
  887. data/public/images/icons/note_new/note_new_48x48.png +0 -0
  888. data/public/images/icons/note_ok/note_ok_16x16.png +0 -0
  889. data/public/images/icons/note_ok/note_ok_24x24.png +0 -0
  890. data/public/images/icons/note_ok/note_ok_32x32.png +0 -0
  891. data/public/images/icons/note_ok/note_ok_48x48.png +0 -0
  892. data/public/images/icons/note_pinned/note_pinned_16x16.png +0 -0
  893. data/public/images/icons/note_pinned/note_pinned_24x24.png +0 -0
  894. data/public/images/icons/note_pinned/note_pinned_32x32.png +0 -0
  895. data/public/images/icons/note_pinned/note_pinned_48x48.png +0 -0
  896. data/public/images/icons/note_plain/note_plain_16x16.png +0 -0
  897. data/public/images/icons/note_plain/note_plain_24x24.png +0 -0
  898. data/public/images/icons/note_plain/note_plain_32x32.png +0 -0
  899. data/public/images/icons/note_plain/note_plain_48x48.png +0 -0
  900. data/public/images/icons/note_view/note_view_16x16.png +0 -0
  901. data/public/images/icons/note_view/note_view_24x24.png +0 -0
  902. data/public/images/icons/note_view/note_view_32x32.png +0 -0
  903. data/public/images/icons/note_view/note_view_48x48.png +0 -0
  904. data/public/images/icons/note_warning/note_warning_16x16.png +0 -0
  905. data/public/images/icons/note_warning/note_warning_24x24.png +0 -0
  906. data/public/images/icons/note_warning/note_warning_32x32.png +0 -0
  907. data/public/images/icons/note_warning/note_warning_48x48.png +0 -0
  908. data/public/images/icons/open/open_16x16.png +0 -0
  909. data/public/images/icons/open/open_24x24.png +0 -0
  910. data/public/images/icons/open/open_32x32.png +0 -0
  911. data/public/images/icons/open/open_48x48.png +0 -0
  912. data/public/images/icons/palette/palette_16x16.png +0 -0
  913. data/public/images/icons/palette/palette_24x24.png +0 -0
  914. data/public/images/icons/palette/palette_32x32.png +0 -0
  915. data/public/images/icons/palette/palette_48x48.png +0 -0
  916. data/public/images/icons/paperclip/paperclip_16x16.png +0 -0
  917. data/public/images/icons/paperclip/paperclip_24x24.png +0 -0
  918. data/public/images/icons/paperclip/paperclip_32x32.png +0 -0
  919. data/public/images/icons/paperclip/paperclip_48x48.png +0 -0
  920. data/public/images/icons/paste/paste_16x16.png +0 -0
  921. data/public/images/icons/paste/paste_24x24.png +0 -0
  922. data/public/images/icons/paste/paste_32x32.png +0 -0
  923. data/public/images/icons/paste/paste_48x48.png +0 -0
  924. data/public/images/icons/picture/picture_24x24.png +0 -0
  925. data/public/images/icons/picture/picture_32x32.png +0 -0
  926. data/public/images/icons/picture/picture_48x48.png +0 -0
  927. data/public/images/icons/presentation/presentation_16x16.png +0 -0
  928. data/public/images/icons/presentation/presentation_24x24.png +0 -0
  929. data/public/images/icons/presentation/presentation_32x32.png +0 -0
  930. data/public/images/icons/presentation/presentation_48x48.png +0 -0
  931. data/public/images/icons/presentation_chart/presentation_chart_16x16.png +0 -0
  932. data/public/images/icons/presentation_chart/presentation_chart_24x24.png +0 -0
  933. data/public/images/icons/presentation_chart/presentation_chart_32x32.png +0 -0
  934. data/public/images/icons/presentation_chart/presentation_chart_48x48.png +0 -0
  935. data/public/images/icons/previous/previous_16x16.png +0 -0
  936. data/public/images/icons/previous/previous_24x24.png +0 -0
  937. data/public/images/icons/previous/previous_32x32.png +0 -0
  938. data/public/images/icons/previous/previous_48x48.png +0 -0
  939. data/public/images/icons/print/print_16x16.png +0 -0
  940. data/public/images/icons/print/print_24x24.png +0 -0
  941. data/public/images/icons/print/print_32x32.png +0 -0
  942. data/public/images/icons/print/print_48x48.png +0 -0
  943. data/public/images/icons/printer/printer_16x16.png +0 -0
  944. data/public/images/icons/printer/printer_24x24.png +0 -0
  945. data/public/images/icons/printer/printer_32x32.png +0 -0
  946. data/public/images/icons/printer/printer_48x48.png +0 -0
  947. data/public/images/icons/prodconfig/Prodconfig_16x16.png +0 -0
  948. data/public/images/icons/prodconfig/Prodconfig_256x256.png +0 -0
  949. data/public/images/icons/prodconfig/Prodconfig_32x32.png +0 -0
  950. data/public/images/icons/prodconfig/Prodconfig_48x48.png +0 -0
  951. data/public/images/icons/question_and_answer/question_and_answer_16x16.png +0 -0
  952. data/public/images/icons/question_and_answer/question_and_answer_24x24.png +0 -0
  953. data/public/images/icons/question_and_answer/question_and_answer_32x32.png +0 -0
  954. data/public/images/icons/question_and_answer/question_and_answer_48x48.png +0 -0
  955. data/public/images/icons/replace/replace_16x16.png +0 -0
  956. data/public/images/icons/replace/replace_24x24.png +0 -0
  957. data/public/images/icons/replace/replace_32x32.png +0 -0
  958. data/public/images/icons/replace/replace_48x48.png +0 -0
  959. data/public/images/icons/scroll/scroll_16x16.png +0 -0
  960. data/public/images/icons/scroll/scroll_24x24.png +0 -0
  961. data/public/images/icons/scroll/scroll_32x32.png +0 -0
  962. data/public/images/icons/scroll/scroll_48x48.png +0 -0
  963. data/public/images/icons/send/send_16x16.png +0 -0
  964. data/public/images/icons/send/send_24x24.png +0 -0
  965. data/public/images/icons/send/send_32x32.png +0 -0
  966. data/public/images/icons/send/send_48x48.png +0 -0
  967. data/public/images/icons/settings/settings_24x24.png +0 -0
  968. data/public/images/icons/settings/settings_32x32.png +0 -0
  969. data/public/images/icons/settings/settings_48x48.png +0 -0
  970. data/public/images/icons/shoppingbasket/shoppingbasket_16x16.png +0 -0
  971. data/public/images/icons/shoppingbasket/shoppingbasket_24x24.png +0 -0
  972. data/public/images/icons/shoppingbasket/shoppingbasket_32x32.png +0 -0
  973. data/public/images/icons/shoppingbasket/shoppingbasket_48x48.png +0 -0
  974. data/public/images/icons/shoppingbasket_add/shoppingbasket_add_16x16.png +0 -0
  975. data/public/images/icons/shoppingbasket_add/shoppingbasket_add_24x24.png +0 -0
  976. data/public/images/icons/shoppingbasket_add/shoppingbasket_add_32x32.png +0 -0
  977. data/public/images/icons/shoppingbasket_add/shoppingbasket_add_48x48.png +0 -0
  978. data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_16x16.png +0 -0
  979. data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_24x24.png +0 -0
  980. data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_32x32.png +0 -0
  981. data/public/images/icons/shoppingbasket_delete/shoppingbasket_delete_48x48.png +0 -0
  982. data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_16x16.png +0 -0
  983. data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_24x24.png +0 -0
  984. data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_32x32.png +0 -0
  985. data/public/images/icons/shoppingbasket_edit/shoppingbasket_edit_48x48.png +0 -0
  986. data/public/images/icons/shoppingbasket_full/shoppingbasket_full_16x16.png +0 -0
  987. data/public/images/icons/shoppingbasket_full/shoppingbasket_full_24x24.png +0 -0
  988. data/public/images/icons/shoppingbasket_full/shoppingbasket_full_32x32.png +0 -0
  989. data/public/images/icons/shoppingbasket_full/shoppingbasket_full_48x48.png +0 -0
  990. data/public/images/icons/shoppingcart/shoppingcart_16x16.png +0 -0
  991. data/public/images/icons/shoppingcart/shoppingcart_24x24.png +0 -0
  992. data/public/images/icons/shoppingcart/shoppingcart_32x32.png +0 -0
  993. data/public/images/icons/shoppingcart/shoppingcart_48x48.png +0 -0
  994. data/public/images/icons/shoppingcart_add/shoppingcart_add_16x16.png +0 -0
  995. data/public/images/icons/shoppingcart_add/shoppingcart_add_24x24.png +0 -0
  996. data/public/images/icons/shoppingcart_add/shoppingcart_add_32x32.png +0 -0
  997. data/public/images/icons/shoppingcart_add/shoppingcart_add_48x48.png +0 -0
  998. data/public/images/icons/shoppingcart_delete/shoppingcart_delete_16x16.png +0 -0
  999. data/public/images/icons/shoppingcart_delete/shoppingcart_delete_24x24.png +0 -0
  1000. data/public/images/icons/shoppingcart_delete/shoppingcart_delete_32x32.png +0 -0
  1001. data/public/images/icons/shoppingcart_delete/shoppingcart_delete_48x48.png +0 -0
  1002. data/public/images/icons/shoppingcart_edit/shoppingcart_edit_16x16.png +0 -0
  1003. data/public/images/icons/shoppingcart_edit/shoppingcart_edit_24x24.png +0 -0
  1004. data/public/images/icons/shoppingcart_edit/shoppingcart_edit_32x32.png +0 -0
  1005. data/public/images/icons/shoppingcart_edit/shoppingcart_edit_48x48.png +0 -0
  1006. data/public/images/icons/shoppingcart_full/shoppingcart_full_16x16.png +0 -0
  1007. data/public/images/icons/shoppingcart_full/shoppingcart_full_24x24.png +0 -0
  1008. data/public/images/icons/shoppingcart_full/shoppingcart_full_32x32.png +0 -0
  1009. data/public/images/icons/shoppingcart_full/shoppingcart_full_48x48.png +0 -0
  1010. data/public/images/icons/sort_ascending/sort_ascending_16x16.png +0 -0
  1011. data/public/images/icons/sort_ascending/sort_ascending_24x24.png +0 -0
  1012. data/public/images/icons/sort_ascending/sort_ascending_32x32.png +0 -0
  1013. data/public/images/icons/sort_ascending/sort_ascending_48x48.png +0 -0
  1014. data/public/images/icons/sort_az_ascending/sort_az_ascending_16x16.png +0 -0
  1015. data/public/images/icons/sort_az_ascending/sort_az_ascending_24x24.png +0 -0
  1016. data/public/images/icons/sort_az_ascending/sort_az_ascending_32x32.png +0 -0
  1017. data/public/images/icons/sort_az_ascending/sort_az_ascending_48x48.png +0 -0
  1018. data/public/images/icons/sort_az_descending/sort_az_descending_16x16.png +0 -0
  1019. data/public/images/icons/sort_az_descending/sort_az_descending_24x24.png +0 -0
  1020. data/public/images/icons/sort_az_descending/sort_az_descending_32x32.png +0 -0
  1021. data/public/images/icons/sort_az_descending/sort_az_descending_48x48.png +0 -0
  1022. data/public/images/icons/sort_descending/sort_descending_16x16.png +0 -0
  1023. data/public/images/icons/sort_descending/sort_descending_24x24.png +0 -0
  1024. data/public/images/icons/sort_descending/sort_descending_32x32.png +0 -0
  1025. data/public/images/icons/sort_descending/sort_descending_48x48.png +0 -0
  1026. data/public/images/icons/sort_down/sort_down_16x16.png +0 -0
  1027. data/public/images/icons/sort_down/sort_down_24x24.png +0 -0
  1028. data/public/images/icons/sort_down/sort_down_32x32.png +0 -0
  1029. data/public/images/icons/sort_down/sort_down_48x48.png +0 -0
  1030. data/public/images/icons/sort_up/sort_up_16x16.png +0 -0
  1031. data/public/images/icons/sort_up/sort_up_24x24.png +0 -0
  1032. data/public/images/icons/sort_up/sort_up_32x32.png +0 -0
  1033. data/public/images/icons/sort_up/sort_up_48x48.png +0 -0
  1034. data/public/images/icons/spellcheck/spellcheck_16x16.png +0 -0
  1035. data/public/images/icons/spellcheck/spellcheck_24x24.png +0 -0
  1036. data/public/images/icons/spellcheck/spellcheck_32x32.png +0 -0
  1037. data/public/images/icons/spellcheck/spellcheck_48x48.png +0 -0
  1038. data/public/images/icons/synchronize/synchronize_16x16.png +0 -0
  1039. data/public/images/icons/synchronize/synchronize_24x24.png +0 -0
  1040. data/public/images/icons/synchronize/synchronize_32x32.png +0 -0
  1041. data/public/images/icons/synchronize/synchronize_48x48.png +0 -0
  1042. data/public/images/icons/toolbar/class.png +0 -0
  1043. data/public/images/icons/toolbar/class_folder.png +0 -0
  1044. data/public/images/icons/toolbar/mixed_folder.png +0 -0
  1045. data/public/images/icons/toolbar/object_graph.png +0 -0
  1046. data/public/images/icons/toolbar/package_yellow.png +0 -0
  1047. data/public/images/icons/toolbar/table_go.png +0 -0
  1048. data/public/images/icons/undo/undo_24x24.png +0 -0
  1049. data/public/images/icons/undo/undo_32x32.png +0 -0
  1050. data/public/images/icons/undo/undo_48x48.png +0 -0
  1051. data/public/images/icons/upload/upload_16x16.png +0 -0
  1052. data/public/images/icons/upload/upload_24x24.png +0 -0
  1053. data/public/images/icons/upload/upload_32x32.png +0 -0
  1054. data/public/images/icons/upload/upload_48x48.png +0 -0
  1055. data/public/images/icons/user/user_24x24.png +0 -0
  1056. data/public/images/icons/user/user_32x32.png +0 -0
  1057. data/public/images/icons/user/user_48x48.png +0 -0
  1058. data/public/images/icons/warning/warning_16x16.png +0 -0
  1059. data/public/images/icons/warning/warning_24x24.png +0 -0
  1060. data/public/images/icons/warning/warning_32x32.png +0 -0
  1061. data/public/images/icons/warning/warning_48x48.png +0 -0
  1062. data/public/images/icons/zoom_in/zoom_in_16x16.png +0 -0
  1063. data/public/images/icons/zoom_in/zoom_in_24x24.png +0 -0
  1064. data/public/images/icons/zoom_in/zoom_in_32x32.png +0 -0
  1065. data/public/images/icons/zoom_in/zoom_in_48x48.png +0 -0
  1066. data/public/images/icons/zoom_out/zoom_out_16x16.png +0 -0
  1067. data/public/images/icons/zoom_out/zoom_out_24x24.png +0 -0
  1068. data/public/images/icons/zoom_out/zoom_out_32x32.png +0 -0
  1069. data/public/images/icons/zoom_out/zoom_out_48x48.png +0 -0
  1070. data/public/images/wallpaper/blue.gif +0 -0
  1071. data/public/javascripts/erp_app/authentication/widget_manager.js +0 -119
  1072. data/public/javascripts/erp_app/ckeditor/lang/_languages.js +0 -6
  1073. data/public/javascripts/erp_app/ckeditor/lang/_translationstatus.txt +0 -64
  1074. data/public/javascripts/erp_app/ckeditor/lang/af.js +0 -6
  1075. data/public/javascripts/erp_app/ckeditor/lang/ar.js +0 -6
  1076. data/public/javascripts/erp_app/ckeditor/lang/bg.js +0 -6
  1077. data/public/javascripts/erp_app/ckeditor/lang/bn.js +0 -6
  1078. data/public/javascripts/erp_app/ckeditor/lang/bs.js +0 -6
  1079. data/public/javascripts/erp_app/ckeditor/lang/ca.js +0 -6
  1080. data/public/javascripts/erp_app/ckeditor/lang/cs.js +0 -6
  1081. data/public/javascripts/erp_app/ckeditor/lang/cy.js +0 -6
  1082. data/public/javascripts/erp_app/ckeditor/lang/da.js +0 -6
  1083. data/public/javascripts/erp_app/ckeditor/lang/de.js +0 -6
  1084. data/public/javascripts/erp_app/ckeditor/lang/el.js +0 -6
  1085. data/public/javascripts/erp_app/ckeditor/lang/en-au.js +0 -6
  1086. data/public/javascripts/erp_app/ckeditor/lang/en-ca.js +0 -6
  1087. data/public/javascripts/erp_app/ckeditor/lang/en-gb.js +0 -6
  1088. data/public/javascripts/erp_app/ckeditor/lang/eo.js +0 -6
  1089. data/public/javascripts/erp_app/ckeditor/lang/es.js +0 -6
  1090. data/public/javascripts/erp_app/ckeditor/lang/et.js +0 -6
  1091. data/public/javascripts/erp_app/ckeditor/lang/eu.js +0 -6
  1092. data/public/javascripts/erp_app/ckeditor/lang/fa.js +0 -6
  1093. data/public/javascripts/erp_app/ckeditor/lang/fi.js +0 -6
  1094. data/public/javascripts/erp_app/ckeditor/lang/fo.js +0 -6
  1095. data/public/javascripts/erp_app/ckeditor/lang/fr-ca.js +0 -6
  1096. data/public/javascripts/erp_app/ckeditor/lang/fr.js +0 -6
  1097. data/public/javascripts/erp_app/ckeditor/lang/gl.js +0 -6
  1098. data/public/javascripts/erp_app/ckeditor/lang/gu.js +0 -6
  1099. data/public/javascripts/erp_app/ckeditor/lang/he.js +0 -6
  1100. data/public/javascripts/erp_app/ckeditor/lang/hi.js +0 -6
  1101. data/public/javascripts/erp_app/ckeditor/lang/hr.js +0 -6
  1102. data/public/javascripts/erp_app/ckeditor/lang/hu.js +0 -6
  1103. data/public/javascripts/erp_app/ckeditor/lang/id.js +0 -6
  1104. data/public/javascripts/erp_app/ckeditor/lang/is.js +0 -6
  1105. data/public/javascripts/erp_app/ckeditor/lang/it.js +0 -6
  1106. data/public/javascripts/erp_app/ckeditor/lang/ja.js +0 -6
  1107. data/public/javascripts/erp_app/ckeditor/lang/ka.js +0 -6
  1108. data/public/javascripts/erp_app/ckeditor/lang/km.js +0 -6
  1109. data/public/javascripts/erp_app/ckeditor/lang/ko.js +0 -6
  1110. data/public/javascripts/erp_app/ckeditor/lang/lt.js +0 -6
  1111. data/public/javascripts/erp_app/ckeditor/lang/lv.js +0 -6
  1112. data/public/javascripts/erp_app/ckeditor/lang/mk.js +0 -6
  1113. data/public/javascripts/erp_app/ckeditor/lang/mn.js +0 -6
  1114. data/public/javascripts/erp_app/ckeditor/lang/ms.js +0 -6
  1115. data/public/javascripts/erp_app/ckeditor/lang/nb.js +0 -6
  1116. data/public/javascripts/erp_app/ckeditor/lang/nl.js +0 -6
  1117. data/public/javascripts/erp_app/ckeditor/lang/no.js +0 -6
  1118. data/public/javascripts/erp_app/ckeditor/lang/pl.js +0 -6
  1119. data/public/javascripts/erp_app/ckeditor/lang/pt-br.js +0 -6
  1120. data/public/javascripts/erp_app/ckeditor/lang/pt.js +0 -6
  1121. data/public/javascripts/erp_app/ckeditor/lang/ro.js +0 -6
  1122. data/public/javascripts/erp_app/ckeditor/lang/ru.js +0 -6
  1123. data/public/javascripts/erp_app/ckeditor/lang/sk.js +0 -6
  1124. data/public/javascripts/erp_app/ckeditor/lang/sl.js +0 -6
  1125. data/public/javascripts/erp_app/ckeditor/lang/sr-latn.js +0 -6
  1126. data/public/javascripts/erp_app/ckeditor/lang/sr.js +0 -6
  1127. data/public/javascripts/erp_app/ckeditor/lang/sv.js +0 -6
  1128. data/public/javascripts/erp_app/ckeditor/lang/th.js +0 -6
  1129. data/public/javascripts/erp_app/ckeditor/lang/tr.js +0 -6
  1130. data/public/javascripts/erp_app/ckeditor/lang/ug.js +0 -6
  1131. data/public/javascripts/erp_app/ckeditor/lang/uk.js +0 -6
  1132. data/public/javascripts/erp_app/ckeditor/lang/vi.js +0 -6
  1133. data/public/javascripts/erp_app/ckeditor/lang/zh-cn.js +0 -6
  1134. data/public/javascripts/erp_app/ckeditor/lang/zh.js +0 -6
  1135. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/_translationstatus.txt +0 -25
  1136. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/cs.js +0 -6
  1137. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/cy.js +0 -6
  1138. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/da.js +0 -6
  1139. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/de.js +0 -6
  1140. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/el.js +0 -6
  1141. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/en.js +0 -6
  1142. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/eo.js +0 -6
  1143. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/fa.js +0 -6
  1144. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/fi.js +0 -6
  1145. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/fr.js +0 -6
  1146. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/gu.js +0 -6
  1147. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/he.js +0 -6
  1148. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/it.js +0 -6
  1149. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/mk.js +0 -6
  1150. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/nb.js +0 -6
  1151. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/nl.js +0 -6
  1152. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/no.js +0 -6
  1153. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/pt-br.js +0 -6
  1154. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/ro.js +0 -6
  1155. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/tr.js +0 -6
  1156. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/ug.js +0 -6
  1157. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/vi.js +0 -6
  1158. data/public/javascripts/erp_app/ckeditor/plugins/a11yhelp/lang/zh-cn.js +0 -6
  1159. data/public/javascripts/erp_app/ckeditor/plugins/adobeair/plugin.js +0 -6
  1160. data/public/javascripts/erp_app/ckeditor/plugins/ajax/plugin.js +0 -6
  1161. data/public/javascripts/erp_app/ckeditor/plugins/autogrow/plugin.js +0 -6
  1162. data/public/javascripts/erp_app/ckeditor/plugins/bbcode/plugin.js +0 -9
  1163. data/public/javascripts/erp_app/ckeditor/plugins/compassupload/plugin.js +0 -21
  1164. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/_translationstatus.txt +0 -28
  1165. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/bg.js +0 -6
  1166. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/cs.js +0 -6
  1167. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/cy.js +0 -6
  1168. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/da.js +0 -6
  1169. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/de.js +0 -6
  1170. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/el.js +0 -6
  1171. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/en.js +0 -6
  1172. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/eo.js +0 -6
  1173. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/et.js +0 -6
  1174. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/fa.js +0 -6
  1175. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/fi.js +0 -6
  1176. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/fr.js +0 -6
  1177. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/gu.js +0 -6
  1178. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/he.js +0 -6
  1179. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/hr.js +0 -6
  1180. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/it.js +0 -6
  1181. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/nb.js +0 -6
  1182. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/nl.js +0 -6
  1183. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/no.js +0 -6
  1184. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/pl.js +0 -6
  1185. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/pt-br.js +0 -6
  1186. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/tr.js +0 -6
  1187. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/ug.js +0 -6
  1188. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/uk.js +0 -6
  1189. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/vi.js +0 -6
  1190. data/public/javascripts/erp_app/ckeditor/plugins/devtools/lang/zh-cn.js +0 -6
  1191. data/public/javascripts/erp_app/ckeditor/plugins/devtools/plugin.js +0 -6
  1192. data/public/javascripts/erp_app/ckeditor/plugins/docprops/dialogs/docprops.js +0 -10
  1193. data/public/javascripts/erp_app/ckeditor/plugins/docprops/plugin.js +0 -6
  1194. data/public/javascripts/erp_app/ckeditor/plugins/iframedialog/plugin.js +0 -6
  1195. data/public/javascripts/erp_app/ckeditor/plugins/link/images/anchor.gif +0 -0
  1196. data/public/javascripts/erp_app/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  1197. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/dialogs/placeholder.js +0 -6
  1198. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/_translationstatus.txt +0 -27
  1199. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/bg.js +0 -6
  1200. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/cs.js +0 -6
  1201. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/cy.js +0 -6
  1202. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/da.js +0 -6
  1203. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/de.js +0 -6
  1204. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/el.js +0 -6
  1205. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/en.js +0 -6
  1206. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/eo.js +0 -6
  1207. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/et.js +0 -6
  1208. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/fa.js +0 -6
  1209. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/fi.js +0 -6
  1210. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/fr.js +0 -6
  1211. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/he.js +0 -6
  1212. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/hr.js +0 -6
  1213. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/it.js +0 -6
  1214. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/nb.js +0 -6
  1215. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/nl.js +0 -6
  1216. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/no.js +0 -6
  1217. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/pl.js +0 -6
  1218. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/pt-br.js +0 -6
  1219. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/tr.js +0 -6
  1220. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/ug.js +0 -6
  1221. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/uk.js +0 -6
  1222. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/vi.js +0 -6
  1223. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/lang/zh-cn.js +0 -6
  1224. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/placeholder.gif +0 -0
  1225. data/public/javascripts/erp_app/ckeditor/plugins/placeholder/plugin.js +0 -6
  1226. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/codemirror_config.js +0 -85
  1227. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/editor.css +0 -96
  1228. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/buttonbg.gif +0 -0
  1229. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/cancel.png +0 -0
  1230. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/highlight.png +0 -0
  1231. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/redo.png +0 -0
  1232. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/reindent.png +0 -0
  1233. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/save.png +0 -0
  1234. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/search.png +0 -0
  1235. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/undo.png +0 -0
  1236. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/nocolors.css +0 -24
  1237. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/LICENSE +0 -23
  1238. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/bigtest.html +0 -1296
  1239. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/compress.html +0 -169
  1240. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/css/csharpcolors.css +0 -60
  1241. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/index.html +0 -61
  1242. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/parsecsharp.js +0 -329
  1243. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/tokenizecsharp.js +0 -196
  1244. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/LICENSE +0 -24
  1245. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/css/freemarkercolors.css +0 -63
  1246. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/index.html +0 -75
  1247. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/js/parsefreemarker.js +0 -380
  1248. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/groovy/index.html +0 -57
  1249. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/LICENSE +0 -20
  1250. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/css/javacolors.css +0 -64
  1251. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/index.html +0 -66
  1252. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/parsejava.js +0 -285
  1253. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/tokenizejava.js +0 -222
  1254. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/LICENSE +0 -32
  1255. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/css/luacolors.css +0 -63
  1256. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/index.html +0 -68
  1257. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/js/parselua.js +0 -254
  1258. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/LICENSE +0 -23
  1259. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/css/ometacolors.css +0 -63
  1260. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/index.html +0 -77
  1261. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/parseometa.js +0 -364
  1262. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/tokenizeometa.js +0 -209
  1263. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/LICENSE +0 -37
  1264. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/css/phpcolors.css +0 -114
  1265. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/index.html +0 -310
  1266. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephp.js +0 -419
  1267. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephphtmlmixed.js +0 -116
  1268. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/tokenizephp.js +0 -1208
  1269. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/LICENSE +0 -22
  1270. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/css/plsqlcolors.css +0 -57
  1271. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/index.html +0 -67
  1272. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/js/parseplsql.js +0 -233
  1273. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/LICENSE +0 -32
  1274. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/css/pythoncolors.css +0 -58
  1275. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/index.html +0 -141
  1276. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/js/parsepython.js +0 -541
  1277. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/js-regexcolors.css +0 -214
  1278. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/regexcolors.css +0 -214
  1279. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/index.html +0 -114
  1280. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parsejavascript_and_regex.js +0 -91
  1281. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex-unicode.js +0 -284
  1282. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex.js +0 -847
  1283. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js-regex.html +0 -118
  1284. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/LICENSE +0 -23
  1285. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/css/schemecolors.css +0 -45
  1286. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/index.html +0 -82
  1287. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/parsescheme.js +0 -428
  1288. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/tokenizescheme.js +0 -241
  1289. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/LICENSE +0 -22
  1290. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/css/sqlcolors.css +0 -59
  1291. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/index.html +0 -56
  1292. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/js/parsesql.js +0 -267
  1293. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/LICENSE +0 -13
  1294. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors-dark.css +0 -93
  1295. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors.css +0 -99
  1296. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors2.css +0 -96
  1297. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/index.html +0 -552
  1298. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/parsexquery.js +0 -234
  1299. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/tokenizexquery.js +0 -457
  1300. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon.png +0 -0
  1301. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon_vector.ai +3 -962
  1302. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/csscolors.css +0 -55
  1303. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/docs.css +0 -158
  1304. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/font.js +0 -15
  1305. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/jscolors.css +0 -59
  1306. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/people.jpg +0 -0
  1307. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/sparqlcolors.css +0 -43
  1308. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/xmlcolors.css +0 -55
  1309. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/csstest.html +0 -60
  1310. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/faq.html +0 -86
  1311. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/favicon.ico +0 -0
  1312. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googleb196c451afc2ee11.html +0 -1
  1313. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googlehostedservice.html +0 -1
  1314. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/highlight.html +0 -82
  1315. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/htmltest.html +0 -53
  1316. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/index.html +0 -254
  1317. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js +0 -582
  1318. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/editor.js +0 -1670
  1319. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/highlight.js +0 -68
  1320. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/mirrorframe.js +0 -81
  1321. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsecss.js +0 -161
  1322. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsedummy.js +0 -32
  1323. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsehtmlmixed.js +0 -93
  1324. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsejavascript.js +0 -359
  1325. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsesparql.js +0 -162
  1326. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsexml.js +0 -291
  1327. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/select.js +0 -697
  1328. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/stringstream.js +0 -159
  1329. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenize.js +0 -57
  1330. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenizejavascript.js +0 -174
  1331. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/undo.js +0 -413
  1332. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/unittests.js +0 -44
  1333. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/util.js +0 -133
  1334. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/jstest.html +0 -56
  1335. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/manual.html +0 -806
  1336. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/mixedtest.html +0 -52
  1337. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/sparqltest.html +0 -41
  1338. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/story.html +0 -672
  1339. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/unittests.html +0 -125
  1340. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/xhtmltest.xhtml +0 -50
  1341. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/de.js +0 -20
  1342. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/en.js +0 -20
  1343. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/dialogs/sourcepopup.js +0 -102
  1344. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/de.js +0 -9
  1345. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/en.js +0 -9
  1346. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/plugin.js +0 -27
  1347. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/_translationstatus.txt +0 -22
  1348. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/cs.js +0 -6
  1349. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/cy.js +0 -6
  1350. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/de.js +0 -6
  1351. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/el.js +0 -6
  1352. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/en.js +0 -6
  1353. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/eo.js +0 -6
  1354. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/et.js +0 -6
  1355. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/fa.js +0 -6
  1356. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/fi.js +0 -6
  1357. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/fr.js +0 -6
  1358. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/he.js +0 -6
  1359. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/hr.js +0 -6
  1360. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/it.js +0 -6
  1361. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/nb.js +0 -6
  1362. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/nl.js +0 -6
  1363. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/no.js +0 -6
  1364. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/pt-br.js +0 -6
  1365. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/tr.js +0 -6
  1366. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/ug.js +0 -6
  1367. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/zh-cn.js +0 -6
  1368. data/public/javascripts/erp_app/ckeditor/plugins/styles/styles/default.js +0 -6
  1369. data/public/javascripts/erp_app/ckeditor/plugins/stylesheetparser/plugin.js +0 -6
  1370. data/public/javascripts/erp_app/ckeditor/plugins/tableresize/plugin.js +0 -7
  1371. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  1372. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/_translationstatus.txt +0 -28
  1373. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/bg.js +0 -6
  1374. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/cs.js +0 -6
  1375. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/cy.js +0 -6
  1376. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/da.js +0 -6
  1377. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/de.js +0 -6
  1378. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/el.js +0 -6
  1379. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/en.js +0 -6
  1380. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/eo.js +0 -6
  1381. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/et.js +0 -6
  1382. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/fa.js +0 -6
  1383. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/fi.js +0 -6
  1384. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/fr.js +0 -6
  1385. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/he.js +0 -6
  1386. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/hr.js +0 -6
  1387. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/it.js +0 -6
  1388. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/mk.js +0 -6
  1389. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/nb.js +0 -6
  1390. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/nl.js +0 -6
  1391. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/no.js +0 -6
  1392. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/pl.js +0 -6
  1393. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/pt-br.js +0 -6
  1394. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/tr.js +0 -6
  1395. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/ug.js +0 -6
  1396. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/uk.js +0 -6
  1397. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/vi.js +0 -6
  1398. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/lang/zh-cn.js +0 -6
  1399. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/plugin.js +0 -6
  1400. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  1401. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  1402. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  1403. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  1404. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  1405. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  1406. data/public/javascripts/erp_app/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  1407. data/public/javascripts/erp_app/ckeditor/plugins/xml/plugin.js +0 -6
  1408. data/public/javascripts/erp_app/ckeditor/skins/kama/dialog.css +0 -10
  1409. data/public/javascripts/erp_app/ckeditor/skins/kama/editor.css +0 -13
  1410. data/public/javascripts/erp_app/ckeditor/skins/kama/icons.png +0 -0
  1411. data/public/javascripts/erp_app/ckeditor/skins/kama/icons_rtl.png +0 -0
  1412. data/public/javascripts/erp_app/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  1413. data/public/javascripts/erp_app/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  1414. data/public/javascripts/erp_app/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  1415. data/public/javascripts/erp_app/ckeditor/skins/kama/images/mini.gif +0 -0
  1416. data/public/javascripts/erp_app/ckeditor/skins/kama/images/sprites.png +0 -0
  1417. data/public/javascripts/erp_app/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  1418. data/public/javascripts/erp_app/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  1419. data/public/javascripts/erp_app/ckeditor/skins/kama/skin.js +0 -7
  1420. data/public/javascripts/erp_app/ckeditor/skins/kama/templates.css +0 -6
  1421. data/public/javascripts/erp_app/ckeditor/skins/office2003/dialog.css +0 -10
  1422. data/public/javascripts/erp_app/ckeditor/skins/office2003/editor.css +0 -14
  1423. data/public/javascripts/erp_app/ckeditor/skins/office2003/icons.png +0 -0
  1424. data/public/javascripts/erp_app/ckeditor/skins/office2003/icons_rtl.png +0 -0
  1425. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  1426. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  1427. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  1428. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/mini.gif +0 -0
  1429. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/noimage.png +0 -0
  1430. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/sprites.png +0 -0
  1431. data/public/javascripts/erp_app/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  1432. data/public/javascripts/erp_app/ckeditor/skins/office2003/skin.js +0 -6
  1433. data/public/javascripts/erp_app/ckeditor/skins/office2003/templates.css +0 -6
  1434. data/public/javascripts/erp_app/ckeditor/skins/v2/dialog.css +0 -9
  1435. data/public/javascripts/erp_app/ckeditor/skins/v2/editor.css +0 -13
  1436. data/public/javascripts/erp_app/ckeditor/skins/v2/icons.png +0 -0
  1437. data/public/javascripts/erp_app/ckeditor/skins/v2/icons_rtl.png +0 -0
  1438. data/public/javascripts/erp_app/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  1439. data/public/javascripts/erp_app/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  1440. data/public/javascripts/erp_app/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  1441. data/public/javascripts/erp_app/ckeditor/skins/v2/images/mini.gif +0 -0
  1442. data/public/javascripts/erp_app/ckeditor/skins/v2/images/noimage.png +0 -0
  1443. data/public/javascripts/erp_app/ckeditor/skins/v2/images/sprites.png +0 -0
  1444. data/public/javascripts/erp_app/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  1445. data/public/javascripts/erp_app/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  1446. data/public/javascripts/erp_app/ckeditor/skins/v2/skin.js +0 -6
  1447. data/public/javascripts/erp_app/ckeditor/skins/v2/templates.css +0 -6
  1448. data/public/javascripts/erp_app/ckeditor/themes/default/theme.js +0 -8
  1449. data/public/javascripts/erp_app/codemirror/LICENSE +0 -23
  1450. data/public/javascripts/erp_app/codemirror/README.md +0 -8
  1451. data/public/javascripts/erp_app/codemirror/doc/baboon.png +0 -0
  1452. data/public/javascripts/erp_app/codemirror/doc/baboon_vector.svg +0 -153
  1453. data/public/javascripts/erp_app/codemirror/doc/compress.html +0 -165
  1454. data/public/javascripts/erp_app/codemirror/doc/docs.css +0 -165
  1455. data/public/javascripts/erp_app/codemirror/doc/internals.html +0 -497
  1456. data/public/javascripts/erp_app/codemirror/doc/manual.html +0 -1231
  1457. data/public/javascripts/erp_app/codemirror/doc/oldrelease.html +0 -356
  1458. data/public/javascripts/erp_app/codemirror/doc/realworld.html +0 -72
  1459. data/public/javascripts/erp_app/codemirror/doc/reporting.html +0 -60
  1460. data/public/javascripts/erp_app/codemirror/doc/upgrade_v2.2.html +0 -98
  1461. data/public/javascripts/erp_app/codemirror/keymap/emacs.js +0 -29
  1462. data/public/javascripts/erp_app/codemirror/keymap/vim.js +0 -788
  1463. data/public/javascripts/erp_app/codemirror/lib/util/closetag.js +0 -164
  1464. data/public/javascripts/erp_app/codemirror/lib/util/dialog.css +0 -27
  1465. data/public/javascripts/erp_app/codemirror/lib/util/dialog.js +0 -70
  1466. data/public/javascripts/erp_app/codemirror/lib/util/foldcode.js +0 -196
  1467. data/public/javascripts/erp_app/codemirror/lib/util/formatting.js +0 -193
  1468. data/public/javascripts/erp_app/codemirror/lib/util/javascript-hint.js +0 -134
  1469. data/public/javascripts/erp_app/codemirror/lib/util/loadmode.js +0 -51
  1470. data/public/javascripts/erp_app/codemirror/lib/util/match-highlighter.js +0 -44
  1471. data/public/javascripts/erp_app/codemirror/lib/util/multiplex.js +0 -77
  1472. data/public/javascripts/erp_app/codemirror/lib/util/overlay.js +0 -59
  1473. data/public/javascripts/erp_app/codemirror/lib/util/pig-hint.js +0 -123
  1474. data/public/javascripts/erp_app/codemirror/lib/util/runmode-standalone.js +0 -90
  1475. data/public/javascripts/erp_app/codemirror/lib/util/runmode.js +0 -53
  1476. data/public/javascripts/erp_app/codemirror/lib/util/search.js +0 -118
  1477. data/public/javascripts/erp_app/codemirror/lib/util/searchcursor.js +0 -119
  1478. data/public/javascripts/erp_app/codemirror/lib/util/simple-hint.css +0 -16
  1479. data/public/javascripts/erp_app/codemirror/lib/util/simple-hint.js +0 -102
  1480. data/public/javascripts/erp_app/codemirror/lib/util/xml-hint.js +0 -137
  1481. data/public/javascripts/erp_app/codemirror/mode/clike/clike.js +0 -285
  1482. data/public/javascripts/erp_app/codemirror/mode/clike/index.html +0 -102
  1483. data/public/javascripts/erp_app/codemirror/mode/clike/scala.html +0 -766
  1484. data/public/javascripts/erp_app/codemirror/mode/clojure/clojure.js +0 -206
  1485. data/public/javascripts/erp_app/codemirror/mode/clojure/index.html +0 -67
  1486. data/public/javascripts/erp_app/codemirror/mode/coffeescript/LICENSE +0 -22
  1487. data/public/javascripts/erp_app/codemirror/mode/coffeescript/coffeescript.js +0 -346
  1488. data/public/javascripts/erp_app/codemirror/mode/coffeescript/index.html +0 -728
  1489. data/public/javascripts/erp_app/codemirror/mode/commonlisp/commonlisp.js +0 -101
  1490. data/public/javascripts/erp_app/codemirror/mode/commonlisp/index.html +0 -165
  1491. data/public/javascripts/erp_app/codemirror/mode/css/css.js +0 -448
  1492. data/public/javascripts/erp_app/codemirror/mode/css/index.html +0 -58
  1493. data/public/javascripts/erp_app/codemirror/mode/css/test.js +0 -501
  1494. data/public/javascripts/erp_app/codemirror/mode/diff/diff.js +0 -32
  1495. data/public/javascripts/erp_app/codemirror/mode/diff/index.html +0 -105
  1496. data/public/javascripts/erp_app/codemirror/mode/ecl/ecl.js +0 -203
  1497. data/public/javascripts/erp_app/codemirror/mode/ecl/index.html +0 -42
  1498. data/public/javascripts/erp_app/codemirror/mode/erlang/erlang.js +0 -463
  1499. data/public/javascripts/erp_app/codemirror/mode/erlang/index.html +0 -63
  1500. data/public/javascripts/erp_app/codemirror/mode/gfm/gfm.js +0 -94
  1501. data/public/javascripts/erp_app/codemirror/mode/gfm/index.html +0 -71
  1502. data/public/javascripts/erp_app/codemirror/mode/gfm/test.js +0 -225
  1503. data/public/javascripts/erp_app/codemirror/mode/go/go.js +0 -170
  1504. data/public/javascripts/erp_app/codemirror/mode/go/index.html +0 -73
  1505. data/public/javascripts/erp_app/codemirror/mode/groovy/groovy.js +0 -210
  1506. data/public/javascripts/erp_app/codemirror/mode/groovy/index.html +0 -72
  1507. data/public/javascripts/erp_app/codemirror/mode/haskell/haskell.js +0 -242
  1508. data/public/javascripts/erp_app/codemirror/mode/haskell/index.html +0 -61
  1509. data/public/javascripts/erp_app/codemirror/mode/haxe/haxe.js +0 -429
  1510. data/public/javascripts/erp_app/codemirror/mode/haxe/index.html +0 -91
  1511. data/public/javascripts/erp_app/codemirror/mode/htmlembedded/htmlembedded.js +0 -73
  1512. data/public/javascripts/erp_app/codemirror/mode/htmlembedded/index.html +0 -50
  1513. data/public/javascripts/erp_app/codemirror/mode/htmlmixed/htmlmixed.js +0 -84
  1514. data/public/javascripts/erp_app/codemirror/mode/htmlmixed/index.html +0 -52
  1515. data/public/javascripts/erp_app/codemirror/mode/javascript/index.html +0 -85
  1516. data/public/javascripts/erp_app/codemirror/mode/javascript/javascript.js +0 -409
  1517. data/public/javascripts/erp_app/codemirror/mode/javascript/typescript.html +0 -48
  1518. data/public/javascripts/erp_app/codemirror/mode/jinja2/index.html +0 -38
  1519. data/public/javascripts/erp_app/codemirror/mode/jinja2/jinja2.js +0 -42
  1520. data/public/javascripts/erp_app/codemirror/mode/less/index.html +0 -740
  1521. data/public/javascripts/erp_app/codemirror/mode/less/less.js +0 -266
  1522. data/public/javascripts/erp_app/codemirror/mode/lua/index.html +0 -73
  1523. data/public/javascripts/erp_app/codemirror/mode/lua/lua.js +0 -140
  1524. data/public/javascripts/erp_app/codemirror/mode/markdown/index.html +0 -343
  1525. data/public/javascripts/erp_app/codemirror/mode/markdown/markdown.js +0 -481
  1526. data/public/javascripts/erp_app/codemirror/mode/markdown/test.js +0 -1266
  1527. data/public/javascripts/erp_app/codemirror/mode/mysql/index.html +0 -42
  1528. data/public/javascripts/erp_app/codemirror/mode/mysql/mysql.js +0 -186
  1529. data/public/javascripts/erp_app/codemirror/mode/ntriples/index.html +0 -33
  1530. data/public/javascripts/erp_app/codemirror/mode/ntriples/ntriples.js +0 -172
  1531. data/public/javascripts/erp_app/codemirror/mode/ocaml/index.html +0 -130
  1532. data/public/javascripts/erp_app/codemirror/mode/ocaml/ocaml.js +0 -114
  1533. data/public/javascripts/erp_app/codemirror/mode/pascal/LICENSE +0 -7
  1534. data/public/javascripts/erp_app/codemirror/mode/pascal/index.html +0 -49
  1535. data/public/javascripts/erp_app/codemirror/mode/pascal/pascal.js +0 -94
  1536. data/public/javascripts/erp_app/codemirror/mode/perl/LICENSE +0 -19
  1537. data/public/javascripts/erp_app/codemirror/mode/perl/index.html +0 -63
  1538. data/public/javascripts/erp_app/codemirror/mode/perl/perl.js +0 -816
  1539. data/public/javascripts/erp_app/codemirror/mode/php/index.html +0 -49
  1540. data/public/javascripts/erp_app/codemirror/mode/php/php.js +0 -148
  1541. data/public/javascripts/erp_app/codemirror/mode/pig/index.html +0 -43
  1542. data/public/javascripts/erp_app/codemirror/mode/pig/pig.js +0 -172
  1543. data/public/javascripts/erp_app/codemirror/mode/plsql/index.html +0 -63
  1544. data/public/javascripts/erp_app/codemirror/mode/plsql/plsql.js +0 -217
  1545. data/public/javascripts/erp_app/codemirror/mode/properties/index.html +0 -41
  1546. data/public/javascripts/erp_app/codemirror/mode/properties/properties.js +0 -63
  1547. data/public/javascripts/erp_app/codemirror/mode/python/LICENSE.txt +0 -21
  1548. data/public/javascripts/erp_app/codemirror/mode/python/index.html +0 -123
  1549. data/public/javascripts/erp_app/codemirror/mode/python/python.js +0 -338
  1550. data/public/javascripts/erp_app/codemirror/mode/r/LICENSE +0 -24
  1551. data/public/javascripts/erp_app/codemirror/mode/r/index.html +0 -74
  1552. data/public/javascripts/erp_app/codemirror/mode/r/r.js +0 -141
  1553. data/public/javascripts/erp_app/codemirror/mode/rpm/changes/changes.js +0 -19
  1554. data/public/javascripts/erp_app/codemirror/mode/rpm/changes/index.html +0 -54
  1555. data/public/javascripts/erp_app/codemirror/mode/rpm/spec/index.html +0 -100
  1556. data/public/javascripts/erp_app/codemirror/mode/rpm/spec/spec.css +0 -5
  1557. data/public/javascripts/erp_app/codemirror/mode/rpm/spec/spec.js +0 -66
  1558. data/public/javascripts/erp_app/codemirror/mode/rst/index.html +0 -526
  1559. data/public/javascripts/erp_app/codemirror/mode/rst/rst.js +0 -326
  1560. data/public/javascripts/erp_app/codemirror/mode/ruby/LICENSE +0 -24
  1561. data/public/javascripts/erp_app/codemirror/mode/ruby/index.html +0 -172
  1562. data/public/javascripts/erp_app/codemirror/mode/ruby/ruby.js +0 -195
  1563. data/public/javascripts/erp_app/codemirror/mode/rust/index.html +0 -49
  1564. data/public/javascripts/erp_app/codemirror/mode/rust/rust.js +0 -432
  1565. data/public/javascripts/erp_app/codemirror/mode/scheme/index.html +0 -65
  1566. data/public/javascripts/erp_app/codemirror/mode/scheme/scheme.js +0 -230
  1567. data/public/javascripts/erp_app/codemirror/mode/shell/index.html +0 -50
  1568. data/public/javascripts/erp_app/codemirror/mode/shell/shell.js +0 -118
  1569. data/public/javascripts/erp_app/codemirror/mode/sieve/LICENSE +0 -23
  1570. data/public/javascripts/erp_app/codemirror/mode/sieve/index.html +0 -81
  1571. data/public/javascripts/erp_app/codemirror/mode/sieve/sieve.js +0 -156
  1572. data/public/javascripts/erp_app/codemirror/mode/smalltalk/index.html +0 -56
  1573. data/public/javascripts/erp_app/codemirror/mode/smalltalk/smalltalk.js +0 -139
  1574. data/public/javascripts/erp_app/codemirror/mode/smarty/index.html +0 -83
  1575. data/public/javascripts/erp_app/codemirror/mode/smarty/smarty.js +0 -148
  1576. data/public/javascripts/erp_app/codemirror/mode/sparql/index.html +0 -41
  1577. data/public/javascripts/erp_app/codemirror/mode/sparql/sparql.js +0 -143
  1578. data/public/javascripts/erp_app/codemirror/mode/stex/index.html +0 -98
  1579. data/public/javascripts/erp_app/codemirror/mode/stex/stex.js +0 -182
  1580. data/public/javascripts/erp_app/codemirror/mode/stex/test.js +0 -343
  1581. data/public/javascripts/erp_app/codemirror/mode/tiddlywiki/index.html +0 -141
  1582. data/public/javascripts/erp_app/codemirror/mode/tiddlywiki/tiddlywiki.css +0 -14
  1583. data/public/javascripts/erp_app/codemirror/mode/tiddlywiki/tiddlywiki.js +0 -384
  1584. data/public/javascripts/erp_app/codemirror/mode/tiki/index.html +0 -83
  1585. data/public/javascripts/erp_app/codemirror/mode/tiki/tiki.css +0 -26
  1586. data/public/javascripts/erp_app/codemirror/mode/tiki/tiki.js +0 -309
  1587. data/public/javascripts/erp_app/codemirror/mode/vb/LICENSE.txt +0 -21
  1588. data/public/javascripts/erp_app/codemirror/mode/vb/index.html +0 -89
  1589. data/public/javascripts/erp_app/codemirror/mode/vb/vb.js +0 -260
  1590. data/public/javascripts/erp_app/codemirror/mode/vbscript/index.html +0 -43
  1591. data/public/javascripts/erp_app/codemirror/mode/vbscript/vbscript.js +0 -26
  1592. data/public/javascripts/erp_app/codemirror/mode/velocity/index.html +0 -104
  1593. data/public/javascripts/erp_app/codemirror/mode/velocity/velocity.js +0 -146
  1594. data/public/javascripts/erp_app/codemirror/mode/verilog/index.html +0 -211
  1595. data/public/javascripts/erp_app/codemirror/mode/verilog/verilog.js +0 -194
  1596. data/public/javascripts/erp_app/codemirror/mode/xml/index.html +0 -45
  1597. data/public/javascripts/erp_app/codemirror/mode/xml/xml.js +0 -318
  1598. data/public/javascripts/erp_app/codemirror/mode/xquery/LICENSE +0 -20
  1599. data/public/javascripts/erp_app/codemirror/mode/xquery/index.html +0 -223
  1600. data/public/javascripts/erp_app/codemirror/mode/xquery/test/index.html +0 -27
  1601. data/public/javascripts/erp_app/codemirror/mode/xquery/test/testBase.js +0 -42
  1602. data/public/javascripts/erp_app/codemirror/mode/xquery/test/testEmptySequenceKeyword.js +0 -16
  1603. data/public/javascripts/erp_app/codemirror/mode/xquery/test/testMultiAttr.js +0 -16
  1604. data/public/javascripts/erp_app/codemirror/mode/xquery/test/testNamespaces.js +0 -91
  1605. data/public/javascripts/erp_app/codemirror/mode/xquery/test/testProcessingInstructions.js +0 -16
  1606. data/public/javascripts/erp_app/codemirror/mode/xquery/test/testQuotes.js +0 -19
  1607. data/public/javascripts/erp_app/codemirror/mode/xquery/xquery.js +0 -451
  1608. data/public/javascripts/erp_app/codemirror/mode/yaml/index.html +0 -68
  1609. data/public/javascripts/erp_app/codemirror/mode/yaml/yaml.js +0 -95
  1610. data/public/javascripts/erp_app/codemirror/package.json +0 -21
  1611. data/public/javascripts/erp_app/codemirror/test/driver.js +0 -129
  1612. data/public/javascripts/erp_app/codemirror/test/index.html +0 -171
  1613. data/public/javascripts/erp_app/codemirror/test/lint/lint.js +0 -120
  1614. data/public/javascripts/erp_app/codemirror/test/lint/parse-js.js +0 -1372
  1615. data/public/javascripts/erp_app/codemirror/test/mode_test.css +0 -10
  1616. data/public/javascripts/erp_app/codemirror/test/mode_test.js +0 -203
  1617. data/public/javascripts/erp_app/codemirror/test/phantom_driver.js +0 -30
  1618. data/public/javascripts/erp_app/codemirror/test/run.js +0 -32
  1619. data/public/javascripts/erp_app/codemirror/test/test.js +0 -677
  1620. data/public/javascripts/erp_app/desktop/applications/control_panel/application_management_panel.js +0 -109
  1621. data/public/javascripts/erp_app/desktop/applications/control_panel/desktop_management_panel.js +0 -218
  1622. data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +0 -559
  1623. data/public/javascripts/erp_app/organizer/applications/crm/individual_windows.js +0 -237
  1624. data/public/javascripts/erp_app/organizer/applications/crm/organization_windows.js +0 -167
  1625. data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +0 -423
  1626. data/public/javascripts/erp_app/organizer/applications/crm/userinfo.js +0 -215
  1627. data/public/javascripts/erp_app/shared/audit_log/audit_log_grid_panel.js +0 -169
  1628. data/public/javascripts/erp_app/shared/audit_log/audit_log_item_grid_panel.js +0 -99
  1629. data/public/javascripts/erp_app/shared/audit_log/audit_log_tab_panel.js +0 -52
  1630. data/public/javascripts/erp_app/shared/coolclock/coolclock.js +0 -314
  1631. data/public/javascripts/erp_app/shared/coolclock/moreskins.js +0 -212
  1632. data/public/javascripts/erp_app/shared/coolclock/tray_clock.js +0 -145
  1633. data/public/javascripts/erp_app/shared/dynamic_forms/dynamic_form_fields.js +0 -99
  1634. data/public/javascripts/erp_app/shared/preference_form.js +0 -155
@@ -1,7 +1,13 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('colordialog',function(a){var b=CKEDITOR.dom.element,c=CKEDITOR.document,d=a.lang.colordialog,e,f={type:'html',html:'&nbsp;'},g;function h(){c.getById(u).removeStyle('background-color');e.getContentElement('picker','selectedColor').setValue('');g&&g.removeAttribute('aria-selected');g=null;};function i(w){var x=w.data.getTarget(),y;if(x.getName()=='td'&&(y=x.getChild(0).getHtml())){g=x;g.setAttribute('aria-selected',true);e.getContentElement('picker','selectedColor').setValue(y);}};function j(w){w=w.replace(/^#/,'');for(var x=0,y=[];x<=2;x++)y[x]=parseInt(w.substr(x*2,2),16);var z=0.2126*y[0]+0.7152*y[1]+0.0722*y[2];return '#'+(z>=165?'000':'fff');};var k,l;function m(w){!w.name&&(w=new CKEDITOR.event(w));var x=!/mouse/.test(w.name),y=w.data.getTarget(),z;if(y.getName()=='td'&&(z=y.getChild(0).getHtml())){o(w);x?k=y:l=y;if(x){y.setStyle('border-color',j(z));y.setStyle('border-style','dotted');}c.getById(s).setStyle('background-color',z);c.getById(t).setHtml(z);}};function n(){var w=k.getChild(0).getHtml();k.setStyle('border-color',w);k.setStyle('border-style','solid');c.getById(s).removeStyle('background-color');c.getById(t).setHtml('&nbsp;');k=null;};function o(w){var x=!/mouse/.test(w.name),y=x&&k;if(y){var z=y.getChild(0).getHtml();y.setStyle('border-color',z);y.setStyle('border-style','solid');}if(!(k||l)){c.getById(s).removeStyle('background-color');c.getById(t).setHtml('&nbsp;');}};function p(w){var x=w.data,y=x.getTarget(),z,A,B=x.getKeystroke(),C=a.lang.dir=='rtl';switch(B){case 38:if(z=y.getParent().getPrevious()){A=z.getChild([y.getIndex()]);A.focus();}x.preventDefault();break;case 40:if(z=y.getParent().getNext()){A=z.getChild([y.getIndex()]);if(A&&A.type==1)A.focus();}x.preventDefault();break;case 32:case 13:i(w);x.preventDefault();break;case C?37:39:if(A=y.getNext()){if(A.type==1){A.focus();x.preventDefault(true);}}else if(z=y.getParent().getNext()){A=z.getChild([0]);if(A&&A.type==1){A.focus();x.preventDefault(true);}}break;case C?39:37:if(A=y.getPrevious()){A.focus();x.preventDefault(true);}else if(z=y.getParent().getPrevious()){A=z.getLast();A.focus();x.preventDefault(true);}break;default:return;}};function q(){v=CKEDITOR.dom.element.createFromHtml('<table tabIndex="-1" aria-label="'+d.options+'"'+' role="grid" style="border-collapse:separate;" cellspacing="0">'+'<caption class="cke_voice_label">'+d.options+'</caption>'+'<tbody role="presentation"></tbody></table>');v.on('mouseover',m);v.on('mouseout',o);var w=['00','33','66','99','cc','ff'];
7
- function x(C,D){for(var E=C;E<C+3;E++){var F=new b(v.$.insertRow(-1));F.setAttribute('role','row');for(var G=D;G<D+3;G++)for(var H=0;H<6;H++)y(F.$,'#'+w[G]+w[H]+w[E]);}};function y(C,D){var E=new b(C.insertCell(-1));E.setAttribute('class','ColorCell');E.setAttribute('tabIndex',-1);E.setAttribute('role','gridcell');E.on('keydown',p);E.on('click',i);E.on('focus',m);E.on('blur',o);E.setStyle('background-color',D);E.setStyle('border','1px solid '+D);E.setStyle('width','14px');E.setStyle('height','14px');var F=r('color_table_cell');E.setAttribute('aria-labelledby',F);E.append(CKEDITOR.dom.element.createFromHtml('<span id="'+F+'" class="cke_voice_label">'+D+'</span>',CKEDITOR.document));};x(0,0);x(3,0);x(0,3);x(3,3);var z=new b(v.$.insertRow(-1));z.setAttribute('role','row');for(var A=0;A<6;A++)y(z.$,'#'+w[A]+w[A]+w[A]);for(var B=0;B<12;B++)y(z.$,'#000000');};var r=function(w){return CKEDITOR.tools.getNextId()+'_'+w;},s=r('hicolor'),t=r('hicolortext'),u=r('selhicolor'),v;q();return{title:d.title,minWidth:360,minHeight:220,onLoad:function(){e=this;},onHide:function(){h();n();},contents:[{id:'picker',label:d.title,accessKey:'I',elements:[{type:'hbox',padding:0,widths:['70%','10%','30%'],children:[{type:'html',html:'<div></div>',onLoad:function(){CKEDITOR.document.getById(this.domId).append(v);},focus:function(){(k||this.getElement().getElementsByTag('td').getItem(0)).focus();}},f,{type:'vbox',padding:0,widths:['70%','5%','25%'],children:[{type:'html',html:'<span>'+d.highlight+'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+s+'" style="border: 1px solid; height: 74px; width: 74px;"></div>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+t+'">&nbsp;</div><span>'+d.selected+'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+u+'" style="border: 1px solid; height: 20px; width: 74px;"></div>'},{type:'text',label:d.selected,labelStyle:'display:none',id:'selectedColor',style:'width: 74px',onChange:function(){try{c.getById(u).setStyle('background-color',this.getValue());}catch(w){h();}}},f,{type:'button',id:'clear',style:'margin-top: 5px',label:d.clear,onClick:h}]}]}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("colordialog",function(t){function n(){f.getById(o).removeStyle("background-color");p.getContentElement("picker","selectedColor").setValue("");j&&j.removeAttribute("aria-selected");j=null}function u(a){var a=a.data.getTarget(),b;if("td"==a.getName()&&(b=a.getChild(0).getHtml()))j=a,j.setAttribute("aria-selected",!0),p.getContentElement("picker","selectedColor").setValue(b)}function y(a){for(var a=a.replace(/^#/,""),b=0,c=[];2>=b;b++)c[b]=parseInt(a.substr(2*b,2),16);return"#"+
6
+ (165<=0.2126*c[0]+0.7152*c[1]+0.0722*c[2]?"000":"fff")}function v(a){!a.name&&(a=new CKEDITOR.event(a));var b=!/mouse/.test(a.name),c=a.data.getTarget(),e;if("td"==c.getName()&&(e=c.getChild(0).getHtml()))q(a),b?g=c:w=c,b&&(c.setStyle("border-color",y(e)),c.setStyle("border-style","dotted")),f.getById(k).setStyle("background-color",e),f.getById(l).setHtml(e)}function q(a){if(a=!/mouse/.test(a.name)&&g){var b=a.getChild(0).getHtml();a.setStyle("border-color",b);a.setStyle("border-style","solid")}!g&&
7
+ !w&&(f.getById(k).removeStyle("background-color"),f.getById(l).setHtml("&nbsp;"))}function z(a){var b=a.data,c=b.getTarget(),e=b.getKeystroke(),d="rtl"==t.lang.dir;switch(e){case 38:if(a=c.getParent().getPrevious())a=a.getChild([c.getIndex()]),a.focus();b.preventDefault();break;case 40:if(a=c.getParent().getNext())(a=a.getChild([c.getIndex()]))&&1==a.type&&a.focus();b.preventDefault();break;case 32:case 13:u(a);b.preventDefault();break;case d?37:39:if(a=c.getNext())1==a.type&&(a.focus(),b.preventDefault(!0));
8
+ else if(a=c.getParent().getNext())if((a=a.getChild([0]))&&1==a.type)a.focus(),b.preventDefault(!0);break;case d?39:37:if(a=c.getPrevious())a.focus(),b.preventDefault(!0);else if(a=c.getParent().getPrevious())a=a.getLast(),a.focus(),b.preventDefault(!0)}}var r=CKEDITOR.dom.element,f=CKEDITOR.document,h=t.lang.colordialog,p,x={type:"html",html:"&nbsp;"},j,g,w,m=function(a){return CKEDITOR.tools.getNextId()+"_"+a},k=m("hicolor"),l=m("hicolortext"),o=m("selhicolor"),i;(function(){function a(a,d){for(var s=
9
+ a;s<a+3;s++){var e=new r(i.$.insertRow(-1));e.setAttribute("role","row");for(var f=d;f<d+3;f++)for(var g=0;6>g;g++)b(e.$,"#"+c[f]+c[g]+c[s])}}function b(a,c){var b=new r(a.insertCell(-1));b.setAttribute("class","ColorCell");b.setAttribute("tabIndex",-1);b.setAttribute("role","gridcell");b.on("keydown",z);b.on("click",u);b.on("focus",v);b.on("blur",q);b.setStyle("background-color",c);b.setStyle("border","1px solid "+c);b.setStyle("width","14px");b.setStyle("height","14px");var d=m("color_table_cell");
10
+ b.setAttribute("aria-labelledby",d);b.append(CKEDITOR.dom.element.createFromHtml('<span id="'+d+'" class="cke_voice_label">'+c+"</span>",CKEDITOR.document))}i=CKEDITOR.dom.element.createFromHtml('<table tabIndex="-1" aria-label="'+h.options+'" role="grid" style="border-collapse:separate;" cellspacing="0"><caption class="cke_voice_label">'+h.options+'</caption><tbody role="presentation"></tbody></table>');i.on("mouseover",v);i.on("mouseout",q);var c="00 33 66 99 cc ff".split(" ");a(0,0);a(3,0);a(0,
11
+ 3);a(3,3);var e=new r(i.$.insertRow(-1));e.setAttribute("role","row");for(var d=0;6>d;d++)b(e.$,"#"+c[d]+c[d]+c[d]);for(d=0;12>d;d++)b(e.$,"#000000")})();return{title:h.title,minWidth:360,minHeight:220,onLoad:function(){p=this},onHide:function(){n();var a=g.getChild(0).getHtml();g.setStyle("border-color",a);g.setStyle("border-style","solid");f.getById(k).removeStyle("background-color");f.getById(l).setHtml("&nbsp;");g=null},contents:[{id:"picker",label:h.title,accessKey:"I",elements:[{type:"hbox",
12
+ padding:0,widths:["70%","10%","30%"],children:[{type:"html",html:"<div></div>",onLoad:function(){CKEDITOR.document.getById(this.domId).append(i)},focus:function(){(g||this.getElement().getElementsByTag("td").getItem(0)).focus()}},x,{type:"vbox",padding:0,widths:["70%","5%","25%"],children:[{type:"html",html:"<span>"+h.highlight+'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+k+'" style="border: 1px solid; height: 74px; width: 74px;"></div>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+l+'">&nbsp;</div><span>'+h.selected+
13
+ '</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+o+'" style="border: 1px solid; height: 20px; width: 74px;"></div>'},{type:"text",label:h.selected,labelStyle:"display:none",id:"selectedColor",style:"width: 74px",onChange:function(){try{f.getById(o).setStyle("background-color",this.getValue())}catch(a){n()}}},x,{type:"button",id:"clear",style:"margin-top: 5px",label:h.clear,onClick:n}]}]}]}]}});
@@ -1,4 +1,4 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
@@ -1,8 +1,9 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){function a(d,e,f){if(!e.is||!e.getCustomData('block_processed')){e.is&&CKEDITOR.dom.element.setMarker(f,e,'block_processed',true);d.push(e);}};function b(d){var e=[],f=d.getChildren();for(var g=0;g<f.count();g++){var h=f.getItem(g);if(!(h.type===CKEDITOR.NODE_TEXT&&/^[ \t\n\r]+$/.test(h.getText())))e.push(h);}return e;};function c(d,e){var f=(function(){var p=CKEDITOR.tools.extend({},CKEDITOR.dtd.$blockLimit);delete p.div;if(d.config.div_wrapTable){delete p.td;delete p.th;}return p;})(),g=CKEDITOR.dtd.div;function h(p){var q=new CKEDITOR.dom.elementPath(p).elements,r;for(var s=0;s<q.length;s++){if(q[s].getName() in f){r=q[s];break;}}return r;};function i(){this.foreach(function(p){if(/^(?!vbox|hbox)/.test(p.type)){if(!p.setup)p.setup=function(q){p.setValue(q.getAttribute(p.id)||'');};if(!p.commit)p.commit=function(q){var r=this.getValue();if('dir'==p.id&&q.getComputedStyle('direction')==r)return;if(r)q.setAttribute(p.id,r);else q.removeAttribute(p.id);};}});};function j(p){var q=[],r={},s=[],t,u=p.document.getSelection(),v=u.getRanges(),w=u.createBookmarks(),x,y,z=p.config.enterMode==CKEDITOR.ENTER_DIV?'div':'p';for(x=0;x<v.length;x++){y=v[x].createIterator();while(t=y.getNextParagraph()){if(t.getName() in f){var A,B=t.getChildren();for(A=0;A<B.count();A++)a(s,B.getItem(A),r);}else{while(!g[t.getName()]&&t.getName()!='body')t=t.getParent();a(s,t,r);}}}CKEDITOR.dom.element.clearAllMarkers(r);var C=l(s),D,E,F;for(x=0;x<C.length;x++){var G=C[x][0];D=G.getParent();for(A=1;A<C[x].length;A++)D=D.getCommonAncestor(C[x][A]);F=new CKEDITOR.dom.element('div',p.document);for(A=0;A<C[x].length;A++){G=C[x][A];while(!G.getParent().equals(D))G=G.getParent();C[x][A]=G;}var H=null;for(A=0;A<C[x].length;A++){G=C[x][A];if(!(G.getCustomData&&G.getCustomData('block_processed'))){G.is&&CKEDITOR.dom.element.setMarker(r,G,'block_processed',true);if(!A)F.insertBefore(G);F.append(G);}}CKEDITOR.dom.element.clearAllMarkers(r);q.push(F);}u.selectBookmarks(w);return q;};function k(p){var q=new CKEDITOR.dom.elementPath(p.getSelection().getStartElement()),r=q.blockLimit,s=r&&r.getAscendant('div',true);return s;};function l(p){var q=[],r=null,s,t;for(var u=0;u<p.length;u++){t=p[u];var v=h(t);if(!v.equals(r)){r=v;q.push([]);}q[q.length-1].push(t);}return q;};function m(p){var q=this.getDialog(),r=q._element&&q._element.clone()||new CKEDITOR.dom.element('div',d.document);this.commit(r,true);p=[].concat(p);var s=p.length,t;for(var u=0;u<s;u++){t=q.getContentElement.apply(q,p[u].split(':'));
7
- t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelectLabel,'default':'',items:[[d.lang.common.notSet,'']],onChange:function(){m.call(this,['info:class','advanced:dir','advanced:style']);},setup:function(p){for(var q in n)n[q].checkElementRemovable(p,true)&&this.setValue(q);},commit:function(p){var q;if(q=this.getValue()){var r=n[q],s=p.getCustomData('elementStyle')||'';r.applyToObject(p);p.setCustomData('elementStyle',s+r._.definition.attributes.style);}}},{id:'class',type:'text',label:d.lang.common.cssClass,'default':''}]}]},{id:'advanced',label:d.lang.common.advancedTab,title:d.lang.common.advancedTab,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['50%','50%'],children:[{type:'text',id:'id',label:d.lang.common.id,'default':''},{type:'text',id:'lang',label:d.lang.link.langCode,'default':''}]},{type:'hbox',children:[{type:'text',id:'style',style:'width: 100%;',label:d.lang.common.cssStyle,'default':'',commit:function(p){var q=this.getValue()+(p.getCustomData('elementStyle')||'');p.setAttribute('style',q);}}]},{type:'hbox',children:[{type:'text',id:'title',style:'width: 100%;',label:d.lang.common.advisoryTitle,'default':''}]},{type:'select',id:'dir',style:'width: 100%;',label:d.lang.common.langDir,'default':'',items:[[d.lang.common.notSet,''],[d.lang.common.langDirLtr,'ltr'],[d.lang.common.langDirRtl,'rtl']]}]}]}],onLoad:function(){i.call(this);var p=this,q=this.getContentElement('info','elementStyle');d.getStylesSet(function(r){var s;if(r)for(var t=0;t<r.length;t++){var u=r[t];if(u.element&&u.element=='div'){s=u.name;n[s]=new CKEDITOR.style(u);q.items.push([s,s]);q.add(s,s);}}q[q.items.length>1?'enable':'disable']();setTimeout(function(){q.setup(p._element);},0);});},onShow:function(){if(e=='editdiv'){var p=k(d);p&&this.setupContent(this._element=p);}},onOk:function(){if(e=='editdiv')o=[this._element];else o=j(d,true);var p=o.length;for(var q=0;q<p;q++){this.commitContent(o[q]);!o[q].getAttribute('style')&&o[q].removeAttribute('style');}this.hide();},onHide:function(){if(e=='editdiv')this._element.removeCustomData('elementStyle');delete this._element;}};};CKEDITOR.dialog.add('creatediv',function(d){return c(d,'creatediv');});CKEDITOR.dialog.add('editdiv',function(d){return c(d,'editdiv');
8
- });})();
1
+ (function(){function p(a,k,o){if(!k.is||!k.getCustomData("block_processed"))k.is&&CKEDITOR.dom.element.setMarker(o,k,"block_processed",!0),a.push(k)}function n(a,k){function o(){this.foreach(function(d){if(/^(?!vbox|hbox)/.test(d.type)&&(d.setup||(d.setup=function(c){d.setValue(c.getAttribute(d.id)||"",1)}),!d.commit))d.commit=function(c){var a=this.getValue();"dir"==d.id&&c.getComputedStyle("direction")==a||(a?c.setAttribute(d.id,a):c.removeAttribute(d.id))}})}var n=function(){var d=CKEDITOR.tools.extend({},
2
+ CKEDITOR.dtd.$blockLimit);a.config.div_wrapTable&&(delete d.td,delete d.th);return d}(),q=CKEDITOR.dtd.div,l={},m=[];return{title:a.lang.div.title,minWidth:400,minHeight:165,contents:[{id:"info",label:a.lang.common.generalTab,title:a.lang.common.generalTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"elementStyle",type:"select",style:"width: 100%;",label:a.lang.div.styleSelectLabel,"default":"",items:[[a.lang.common.notSet,""]],onChange:function(){var d=["info:elementStyle","info:class",
3
+ "advanced:dir","advanced:style"],c=this.getDialog(),h=c._element&&c._element.clone()||new CKEDITOR.dom.element("div",a.document);this.commit(h,!0);for(var d=[].concat(d),b=d.length,i,e=0;e<b;e++)(i=c.getContentElement.apply(c,d[e].split(":")))&&i.setup&&i.setup(h,!0)},setup:function(a){for(var c in l)l[c].checkElementRemovable(a,!0)&&this.setValue(c,1)},commit:function(a){var c;(c=this.getValue())?l[c].applyToObject(a):a.removeAttribute("style")}},{id:"class",type:"text",requiredContent:"div(cke-xyz)",
4
+ label:a.lang.common.cssClass,"default":""}]}]},{id:"advanced",label:a.lang.common.advancedTab,title:a.lang.common.advancedTab,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["50%","50%"],children:[{type:"text",id:"id",requiredContent:"div[id]",label:a.lang.common.id,"default":""},{type:"text",id:"lang",requiredContent:"div[lang]",label:a.lang.common.langCode,"default":""}]},{type:"hbox",children:[{type:"text",id:"style",requiredContent:"div{cke-xyz}",style:"width: 100%;",label:a.lang.common.cssStyle,
5
+ "default":"",commit:function(a){a.setAttribute("style",this.getValue())}}]},{type:"hbox",children:[{type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:a.lang.common.advisoryTitle,"default":""}]},{type:"select",id:"dir",requiredContent:"div[dir]",style:"width: 100%;",label:a.lang.common.langDir,"default":"",items:[[a.lang.common.notSet,""],[a.lang.common.langDirLtr,"ltr"],[a.lang.common.langDirRtl,"rtl"]]}]}]}],onLoad:function(){o.call(this);var d=this,c=this.getContentElement("info",
6
+ "elementStyle");a.getStylesSet(function(h){var b,i;if(h)for(var e=0;e<h.length;e++)i=h[e],i.element&&"div"==i.element&&(b=i.name,l[b]=i=new CKEDITOR.style(i),a.filter.check(i)&&(c.items.push([b,b]),c.add(b,b)));c[1<c.items.length?"enable":"disable"]();setTimeout(function(){d._element&&c.setup(d._element)},0)})},onShow:function(){"editdiv"==k&&this.setupContent(this._element=CKEDITOR.plugins.div.getSurroundDiv(a))},onOk:function(){if("editdiv"==k)m=[this._element];else{var d=[],c={},h=[],b,i=a.getSelection(),
7
+ e=i.getRanges(),l=i.createBookmarks(),g,j;for(g=0;g<e.length;g++)for(j=e[g].createIterator();b=j.getNextParagraph();)if(b.getName()in n){var f=b.getChildren();for(b=0;b<f.count();b++)p(h,f.getItem(b),c)}else{for(;!q[b.getName()]&&!b.equals(e[g].root);)b=b.getParent();p(h,b,c)}CKEDITOR.dom.element.clearAllMarkers(c);e=[];g=null;for(j=0;j<h.length;j++)b=h[j],f=a.elementPath(b).blockLimit,a.config.div_wrapTable&&f.is(["td","th"])&&(f=a.elementPath(f.getParent()).blockLimit),f.equals(g)||(g=f,e.push([])),
8
+ e[e.length-1].push(b);for(g=0;g<e.length;g++){f=e[g][0];h=f.getParent();for(b=1;b<e[g].length;b++)h=h.getCommonAncestor(e[g][b]);j=new CKEDITOR.dom.element("div",a.document);for(b=0;b<e[g].length;b++){for(f=e[g][b];!f.getParent().equals(h);)f=f.getParent();e[g][b]=f}for(b=0;b<e[g].length;b++)if(f=e[g][b],!f.getCustomData||!f.getCustomData("block_processed"))f.is&&CKEDITOR.dom.element.setMarker(c,f,"block_processed",!0),b||j.insertBefore(f),j.append(f);CKEDITOR.dom.element.clearAllMarkers(c);d.push(j)}i.selectBookmarks(l);
9
+ m=d}d=m.length;for(c=0;c<d;c++)this.commitContent(m[c]),!m[c].getAttribute("style")&&m[c].removeAttribute("style");this.hide()},onHide:function(){"editdiv"==k&&this._element.removeCustomData("elementStyle");delete this._element}}}CKEDITOR.dialog.add("creatediv",function(a){return n(a,"creatediv")});CKEDITOR.dialog.add("editdiv",function(a){return n(a,"editdiv")})})();
@@ -1,10 +1,24 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a;function b(i){return i.type==CKEDITOR.NODE_TEXT&&i.getLength()>0&&(!a||!i.isReadOnly());};function c(i){return!(i.type==CKEDITOR.NODE_ELEMENT&&i.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)));};var d=function(){var i=this;return{textNode:i.textNode,offset:i.offset,character:i.textNode?i.textNode.getText().charAt(i.offset):null,hitMatchBoundary:i._.matchBoundary};},e=['find','replace'],f=[['txtFindFind','txtFindReplace'],['txtFindCaseChk','txtReplaceCaseChk'],['txtFindWordChk','txtReplaceWordChk'],['txtFindCyclic','txtReplaceCyclic']];function g(i){var j,k,l,m;j=i==='find'?1:0;k=1-j;var n,o=f.length;for(n=0;n<o;n++){l=this.getContentElement(e[j],f[n][j]);m=this.getContentElement(e[k],f[n][k]);m.setValue(l.getValue());}};var h=function(i,j){var k=new CKEDITOR.style(CKEDITOR.tools.extend({attributes:{'data-cke-highlight':1},fullMatch:1,ignoreReadonly:1,childRule:function(){return 0;}},i.config.find_highlight,true)),l=function(y,z){var A=this,B=new CKEDITOR.dom.walker(y);B.guard=z?c:function(C){!c(C)&&(A._.matchBoundary=true);};B.evaluator=b;B.breakOnFalse=1;if(y.startContainer.type==CKEDITOR.NODE_TEXT){this.textNode=y.startContainer;this.offset=y.startOffset-1;}this._={matchWord:z,walker:B,matchBoundary:false};};l.prototype={next:function(){return this.move();},back:function(){return this.move(true);},move:function(y){var A=this;var z=A.textNode;if(z===null)return d.call(A);A._.matchBoundary=false;if(z&&y&&A.offset>0){A.offset--;return d.call(A);}else if(z&&A.offset<z.getLength()-1){A.offset++;return d.call(A);}else{z=null;while(!z){z=A._.walker[y?'previous':'next'].call(A._.walker);if(A._.matchWord&&!z||A._.walker._.end)break;}A.textNode=z;if(z)A.offset=y?z.getLength()-1:0;else A.offset=0;}return d.call(A);}};var m=function(y,z){this._={walker:y,cursors:[],rangeLength:z,highlightRange:null,isMatched:0};};m.prototype={toDomRange:function(){var y=new CKEDITOR.dom.range(i.document),z=this._.cursors;if(z.length<1){var A=this._.walker.textNode;if(A)y.setStartAfter(A);else return null;}else{var B=z[0],C=z[z.length-1];y.setStart(B.textNode,B.offset);y.setEnd(C.textNode,C.offset+1);}return y;},updateFromDomRange:function(y){var B=this;var z,A=new l(y);B._.cursors=[];do{z=A.next();if(z.character)B._.cursors.push(z);}while(z.character);B._.rangeLength=B._.cursors.length;},setMatched:function(){this._.isMatched=true;},clearMatched:function(){this._.isMatched=false;},isMatched:function(){return this._.isMatched;
7
- },highlight:function(){var B=this;if(B._.cursors.length<1)return;if(B._.highlightRange)B.removeHighlight();var y=B.toDomRange(),z=y.createBookmark();k.applyToRange(y);y.moveToBookmark(z);B._.highlightRange=y;var A=y.startContainer;if(A.type!=CKEDITOR.NODE_ELEMENT)A=A.getParent();A.scrollIntoView();B.updateFromDomRange(y);},removeHighlight:function(){var z=this;if(!z._.highlightRange)return;var y=z._.highlightRange.createBookmark();k.removeFromRange(z._.highlightRange);z._.highlightRange.moveToBookmark(y);z.updateFromDomRange(z._.highlightRange);z._.highlightRange=null;},isReadOnly:function(){if(!this._.highlightRange)return 0;return this._.highlightRange.startContainer.isReadOnly();},moveBack:function(){var A=this;var y=A._.walker.back(),z=A._.cursors;if(y.hitMatchBoundary)A._.cursors=z=[];z.unshift(y);if(z.length>A._.rangeLength)z.pop();return y;},moveNext:function(){var A=this;var y=A._.walker.next(),z=A._.cursors;if(y.hitMatchBoundary)A._.cursors=z=[];z.push(y);if(z.length>A._.rangeLength)z.shift();return y;},getEndCharacter:function(){var y=this._.cursors;if(y.length<1)return null;return y[y.length-1].character;},getNextCharacterRange:function(y){var z,A,B=this._.cursors;if((z=B[B.length-1])&&z.textNode)A=new l(n(z));else A=this._.walker;return new m(A,y);},getCursors:function(){return this._.cursors;}};function n(y,z){var A=new CKEDITOR.dom.range();A.setStart(y.textNode,z?y.offset:y.offset+1);A.setEndAt(i.document.getBody(),CKEDITOR.POSITION_BEFORE_END);return A;};function o(y){var z=new CKEDITOR.dom.range();z.setStartAt(i.document.getBody(),CKEDITOR.POSITION_AFTER_START);z.setEnd(y.textNode,y.offset);return z;};var p=0,q=1,r=2,s=function(y,z){var A=[-1];if(z)y=y.toLowerCase();for(var B=0;B<y.length;B++){A.push(A[B]+1);while(A[B+1]>0&&y.charAt(B)!=y.charAt(A[B+1]-1))A[B+1]=A[A[B+1]-1]+1;}this._={overlap:A,state:0,ignoreCase:!!z,pattern:y};};s.prototype={feedCharacter:function(y){var z=this;if(z._.ignoreCase)y=y.toLowerCase();for(;;){if(y==z._.pattern.charAt(z._.state)){z._.state++;if(z._.state==z._.pattern.length){z._.state=0;return r;}return q;}else if(!z._.state)return p;else z._.state=z._.overlap[z._.state];}return null;},reset:function(){this._.state=0;}};var t=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,u=function(y){if(!y)return true;var z=y.charCodeAt(0);return z>=9&&z<=13||z>=8192&&z<=8202||t.test(y);},v={searchRange:null,matchRange:null,find:function(y,z,A,B,C,D){var O=this;if(!O.matchRange)O.matchRange=new m(new l(O.searchRange),y.length);
8
- else{O.matchRange.removeHighlight();O.matchRange=O.matchRange.getNextCharacterRange(y.length);}var E=new s(y,!z),F=p,G='%';while(G!==null){O.matchRange.moveNext();while(G=O.matchRange.getEndCharacter()){F=E.feedCharacter(G);if(F==r)break;if(O.matchRange.moveNext().hitMatchBoundary)E.reset();}if(F==r){if(A){var H=O.matchRange.getCursors(),I=H[H.length-1],J=H[0],K=o(J),L=n(I);K.trim();L.trim();var M=new l(K,true),N=new l(L,true);if(!(u(M.back().character)&&u(N.next().character)))continue;}O.matchRange.setMatched();if(C!==false)O.matchRange.highlight();return true;}}O.matchRange.clearMatched();O.matchRange.removeHighlight();if(B&&!D){O.searchRange=w(1);O.matchRange=null;return arguments.callee.apply(O,Array.prototype.slice.call(arguments).concat([true]));}return false;},replaceCounter:0,replace:function(y,z,A,B,C,D,E){var J=this;a=1;var F=0;if(J.matchRange&&J.matchRange.isMatched()&&!J.matchRange._.isReplaced&&!J.matchRange.isReadOnly()){J.matchRange.removeHighlight();var G=J.matchRange.toDomRange(),H=i.document.createText(A);if(!E){var I=i.getSelection();I.selectRanges([G]);i.fire('saveSnapshot');}G.deleteContents();G.insertNode(H);if(!E){I.selectRanges([G]);i.fire('saveSnapshot');}J.matchRange.updateFromDomRange(G);if(!E)J.matchRange.highlight();J.matchRange._.isReplaced=true;J.replaceCounter++;F=1;}else F=J.find(z,B,C,D,!E);a=0;return F;}};function w(y){var z,A=i.getSelection(),B=i.document.getBody();if(A&&!y){z=A.getRanges()[0].clone();z.collapse(true);}else{z=new CKEDITOR.dom.range();z.setStartAt(B,CKEDITOR.POSITION_AFTER_START);}z.setEndAt(B,CKEDITOR.POSITION_BEFORE_END);return z;};var x=i.lang.findAndReplace;return{title:x.title,resizable:CKEDITOR.DIALOG_RESIZE_NONE,minWidth:350,minHeight:170,buttons:[CKEDITOR.dialog.cancelButton],contents:[{id:'find',label:x.find,title:x.find,accessKey:'',elements:[{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtFindFind',label:x.findWhat,isChanged:false,labelLayout:'horizontal',accessKey:'F'},{type:'button',id:'btnFind',align:'left',style:'width:100%',label:x.find,onClick:function(){var y=this.getDialog();if(!v.find(y.getValueOf('find','txtFindFind'),y.getValueOf('find','txtFindCaseChk'),y.getValueOf('find','txtFindWordChk'),y.getValueOf('find','txtFindCyclic')))alert(x.notFoundMsg);}}]},{type:'fieldset',label:CKEDITOR.tools.htmlEncode(x.findOptions),style:'margin-top:29px',children:[{type:'vbox',padding:0,children:[{type:'checkbox',id:'txtFindCaseChk',isChanged:false,label:x.matchCase},{type:'checkbox',id:'txtFindWordChk',isChanged:false,label:x.matchWord},{type:'checkbox',id:'txtFindCyclic',isChanged:false,'default':true,label:x.matchCyclic}]}]}]},{id:'replace',label:x.replace,accessKey:'M',elements:[{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtFindReplace',label:x.findWhat,isChanged:false,labelLayout:'horizontal',accessKey:'F'},{type:'button',id:'btnFindReplace',align:'left',style:'width:100%',label:x.replace,onClick:function(){var y=this.getDialog();
9
- if(!v.replace(y,y.getValueOf('replace','txtFindReplace'),y.getValueOf('replace','txtReplace'),y.getValueOf('replace','txtReplaceCaseChk'),y.getValueOf('replace','txtReplaceWordChk'),y.getValueOf('replace','txtReplaceCyclic')))alert(x.notFoundMsg);}}]},{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtReplace',label:x.replaceWith,isChanged:false,labelLayout:'horizontal',accessKey:'R'},{type:'button',id:'btnReplaceAll',align:'left',style:'width:100%',label:x.replaceAll,isChanged:false,onClick:function(){var y=this.getDialog(),z;v.replaceCounter=0;v.searchRange=w(1);if(v.matchRange){v.matchRange.removeHighlight();v.matchRange=null;}i.fire('saveSnapshot');while(v.replace(y,y.getValueOf('replace','txtFindReplace'),y.getValueOf('replace','txtReplace'),y.getValueOf('replace','txtReplaceCaseChk'),y.getValueOf('replace','txtReplaceWordChk'),false,true)){}if(v.replaceCounter){alert(x.replaceSuccessMsg.replace(/%1/,v.replaceCounter));i.fire('saveSnapshot');}else alert(x.notFoundMsg);}}]},{type:'fieldset',label:CKEDITOR.tools.htmlEncode(x.findOptions),children:[{type:'vbox',padding:0,children:[{type:'checkbox',id:'txtReplaceCaseChk',isChanged:false,label:x.matchCase},{type:'checkbox',id:'txtReplaceWordChk',isChanged:false,label:x.matchWord},{type:'checkbox',id:'txtReplaceCyclic',isChanged:false,'default':true,label:x.matchCyclic}]}]}]}],onLoad:function(){var y=this,z,A,B=0;this.on('hide',function(){B=0;});this.on('show',function(){B=1;});this.selectPage=CKEDITOR.tools.override(this.selectPage,function(C){return function(D){C.call(y,D);var E=y._.tabs[D],F,G,H;G=D==='find'?'txtFindFind':'txtFindReplace';H=D==='find'?'txtFindWordChk':'txtReplaceWordChk';z=y.getContentElement(D,G);A=y.getContentElement(D,H);if(!E.initialized){F=CKEDITOR.document.getById(z._.inputId);E.initialized=true;}if(B)g.call(this,D);};});},onShow:function(){var B=this;v.searchRange=w();var y=B.getParentEditor().getSelection().getSelectedText(),z=j=='find'?'txtFindFind':'txtFindReplace',A=B.getContentElement(j,z);A.setValue(y);A.select();B.selectPage(j);B[(j=='find'&&B._.editor.readOnly?'hide':'show')+'Page']('replace');},onHide:function(){var y;if(v.matchRange&&v.matchRange.isMatched()){v.matchRange.removeHighlight();i.focus();y=v.matchRange.toDomRange();if(y)i.getSelection().selectRanges([y]);}delete v.matchRange;},onFocus:function(){if(j=='replace')return this.getContentElement('replace','txtFindReplace');else return this.getContentElement('find','txtFindFind');}};};CKEDITOR.dialog.add('find',function(i){return h(i,'find');
10
- });CKEDITOR.dialog.add('replace',function(i){return h(i,'replace');});})();
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ (function(){function y(c){return c.type==CKEDITOR.NODE_TEXT&&0<c.getLength()&&(!o||!c.isReadOnly())}function s(c){return!(c.type==CKEDITOR.NODE_ELEMENT&&c.isBlockBoundary(CKEDITOR.tools.extend({},CKEDITOR.dtd.$empty,CKEDITOR.dtd.$nonEditable)))}var o,t=function(){return{textNode:this.textNode,offset:this.offset,character:this.textNode?this.textNode.getText().charAt(this.offset):null,hitMatchBoundary:this._.matchBoundary}},u=["find","replace"],p=[["txtFindFind","txtFindReplace"],["txtFindCaseChk",
6
+ "txtReplaceCaseChk"],["txtFindWordChk","txtReplaceWordChk"],["txtFindCyclic","txtReplaceCyclic"]],n=function(c,g){function n(a,b){var d=c.createRange();d.setStart(a.textNode,b?a.offset:a.offset+1);d.setEndAt(c.editable(),CKEDITOR.POSITION_BEFORE_END);return d}function q(a){var b=c.getSelection(),d=c.editable();b&&!a?(a=b.getRanges()[0].clone(),a.collapse(!0)):(a=c.createRange(),a.setStartAt(d,CKEDITOR.POSITION_AFTER_START));a.setEndAt(d,CKEDITOR.POSITION_BEFORE_END);return a}var v=new CKEDITOR.style(CKEDITOR.tools.extend({attributes:{"data-cke-highlight":1},
7
+ fullMatch:1,ignoreReadonly:1,childRule:function(){return 0}},c.config.find_highlight,!0)),l=function(a,b){var d=this,c=new CKEDITOR.dom.walker(a);c.guard=b?s:function(a){!s(a)&&(d._.matchBoundary=!0)};c.evaluator=y;c.breakOnFalse=1;a.startContainer.type==CKEDITOR.NODE_TEXT&&(this.textNode=a.startContainer,this.offset=a.startOffset-1);this._={matchWord:b,walker:c,matchBoundary:!1}};l.prototype={next:function(){return this.move()},back:function(){return this.move(!0)},move:function(a){var b=this.textNode;
8
+ if(null===b)return t.call(this);this._.matchBoundary=!1;if(b&&a&&0<this.offset)this.offset--;else if(b&&this.offset<b.getLength()-1)this.offset++;else{for(b=null;!b&&!(b=this._.walker[a?"previous":"next"].call(this._.walker),this._.matchWord&&!b||this._.walker._.end););this.offset=(this.textNode=b)?a?b.getLength()-1:0:0}return t.call(this)}};var r=function(a,b){this._={walker:a,cursors:[],rangeLength:b,highlightRange:null,isMatched:0}};r.prototype={toDomRange:function(){var a=c.createRange(),b=this._.cursors;
9
+ if(1>b.length){var d=this._.walker.textNode;if(d)a.setStartAfter(d);else return null}else d=b[0],b=b[b.length-1],a.setStart(d.textNode,d.offset),a.setEnd(b.textNode,b.offset+1);return a},updateFromDomRange:function(a){var b=new l(a);this._.cursors=[];do a=b.next(),a.character&&this._.cursors.push(a);while(a.character);this._.rangeLength=this._.cursors.length},setMatched:function(){this._.isMatched=!0},clearMatched:function(){this._.isMatched=!1},isMatched:function(){return this._.isMatched},highlight:function(){if(!(1>
10
+ this._.cursors.length)){this._.highlightRange&&this.removeHighlight();var a=this.toDomRange(),b=a.createBookmark();v.applyToRange(a);a.moveToBookmark(b);this._.highlightRange=a;b=a.startContainer;b.type!=CKEDITOR.NODE_ELEMENT&&(b=b.getParent());b.scrollIntoView();this.updateFromDomRange(a)}},removeHighlight:function(){if(this._.highlightRange){var a=this._.highlightRange.createBookmark();v.removeFromRange(this._.highlightRange);this._.highlightRange.moveToBookmark(a);this.updateFromDomRange(this._.highlightRange);
11
+ this._.highlightRange=null}},isReadOnly:function(){return!this._.highlightRange?0:this._.highlightRange.startContainer.isReadOnly()},moveBack:function(){var a=this._.walker.back(),b=this._.cursors;a.hitMatchBoundary&&(this._.cursors=b=[]);b.unshift(a);b.length>this._.rangeLength&&b.pop();return a},moveNext:function(){var a=this._.walker.next(),b=this._.cursors;a.hitMatchBoundary&&(this._.cursors=b=[]);b.push(a);b.length>this._.rangeLength&&b.shift();return a},getEndCharacter:function(){var a=this._.cursors;
12
+ return 1>a.length?null:a[a.length-1].character},getNextCharacterRange:function(a){var b,d;d=this._.cursors;d=(b=d[d.length-1])&&b.textNode?new l(n(b)):this._.walker;return new r(d,a)},getCursors:function(){return this._.cursors}};var w=function(a,b){var d=[-1];b&&(a=a.toLowerCase());for(var c=0;c<a.length;c++)for(d.push(d[c]+1);0<d[c+1]&&a.charAt(c)!=a.charAt(d[c+1]-1);)d[c+1]=d[d[c+1]-1]+1;this._={overlap:d,state:0,ignoreCase:!!b,pattern:a}};w.prototype={feedCharacter:function(a){for(this._.ignoreCase&&
13
+ (a=a.toLowerCase());;){if(a==this._.pattern.charAt(this._.state))return this._.state++,this._.state==this._.pattern.length?(this._.state=0,2):1;if(this._.state)this._.state=this._.overlap[this._.state];else return 0}return null},reset:function(){this._.state=0}};var z=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,x=function(a){if(!a)return!0;var b=a.charCodeAt(0);return 9<=b&&13>=b||8192<=b&&8202>=b||z.test(a)},e={searchRange:null,matchRange:null,find:function(a,b,d,f,e,A){this.matchRange?
14
+ (this.matchRange.removeHighlight(),this.matchRange=this.matchRange.getNextCharacterRange(a.length)):this.matchRange=new r(new l(this.searchRange),a.length);for(var i=new w(a,!b),j=0,k="%";null!==k;){for(this.matchRange.moveNext();k=this.matchRange.getEndCharacter();){j=i.feedCharacter(k);if(2==j)break;this.matchRange.moveNext().hitMatchBoundary&&i.reset()}if(2==j){if(d){var h=this.matchRange.getCursors(),m=h[h.length-1],h=h[0],g=c.createRange();g.setStartAt(c.editable(),CKEDITOR.POSITION_AFTER_START);
15
+ g.setEnd(h.textNode,h.offset);h=g;m=n(m);h.trim();m.trim();h=new l(h,!0);m=new l(m,!0);if(!x(h.back().character)||!x(m.next().character))continue}this.matchRange.setMatched();!1!==e&&this.matchRange.highlight();return!0}}this.matchRange.clearMatched();this.matchRange.removeHighlight();return f&&!A?(this.searchRange=q(1),this.matchRange=null,arguments.callee.apply(this,Array.prototype.slice.call(arguments).concat([!0]))):!1},replaceCounter:0,replace:function(a,b,d,f,e,g,i){o=1;a=0;if(this.matchRange&&
16
+ this.matchRange.isMatched()&&!this.matchRange._.isReplaced&&!this.matchRange.isReadOnly()){this.matchRange.removeHighlight();b=this.matchRange.toDomRange();d=c.document.createText(d);if(!i){var j=c.getSelection();j.selectRanges([b]);c.fire("saveSnapshot")}b.deleteContents();b.insertNode(d);i||(j.selectRanges([b]),c.fire("saveSnapshot"));this.matchRange.updateFromDomRange(b);i||this.matchRange.highlight();this.matchRange._.isReplaced=!0;this.replaceCounter++;a=1}else a=this.find(b,f,e,g,!i);o=0;return a}},
17
+ f=c.lang.find;return{title:f.title,resizable:CKEDITOR.DIALOG_RESIZE_NONE,minWidth:350,minHeight:170,buttons:[CKEDITOR.dialog.cancelButton(c,{label:c.lang.common.close})],contents:[{id:"find",label:f.find,title:f.find,accessKey:"",elements:[{type:"hbox",widths:["230px","90px"],children:[{type:"text",id:"txtFindFind",label:f.findWhat,isChanged:!1,labelLayout:"horizontal",accessKey:"F"},{type:"button",id:"btnFind",align:"left",style:"width:100%",label:f.find,onClick:function(){var a=this.getDialog();
18
+ e.find(a.getValueOf("find","txtFindFind"),a.getValueOf("find","txtFindCaseChk"),a.getValueOf("find","txtFindWordChk"),a.getValueOf("find","txtFindCyclic"))||alert(f.notFoundMsg)}}]},{type:"fieldset",label:CKEDITOR.tools.htmlEncode(f.findOptions),style:"margin-top:29px",children:[{type:"vbox",padding:0,children:[{type:"checkbox",id:"txtFindCaseChk",isChanged:!1,label:f.matchCase},{type:"checkbox",id:"txtFindWordChk",isChanged:!1,label:f.matchWord},{type:"checkbox",id:"txtFindCyclic",isChanged:!1,"default":!0,
19
+ label:f.matchCyclic}]}]}]},{id:"replace",label:f.replace,accessKey:"M",elements:[{type:"hbox",widths:["230px","90px"],children:[{type:"text",id:"txtFindReplace",label:f.findWhat,isChanged:!1,labelLayout:"horizontal",accessKey:"F"},{type:"button",id:"btnFindReplace",align:"left",style:"width:100%",label:f.replace,onClick:function(){var a=this.getDialog();e.replace(a,a.getValueOf("replace","txtFindReplace"),a.getValueOf("replace","txtReplace"),a.getValueOf("replace","txtReplaceCaseChk"),a.getValueOf("replace",
20
+ "txtReplaceWordChk"),a.getValueOf("replace","txtReplaceCyclic"))||alert(f.notFoundMsg)}}]},{type:"hbox",widths:["230px","90px"],children:[{type:"text",id:"txtReplace",label:f.replaceWith,isChanged:!1,labelLayout:"horizontal",accessKey:"R"},{type:"button",id:"btnReplaceAll",align:"left",style:"width:100%",label:f.replaceAll,isChanged:!1,onClick:function(){var a=this.getDialog();e.replaceCounter=0;e.searchRange=q(1);e.matchRange&&(e.matchRange.removeHighlight(),e.matchRange=null);for(c.fire("saveSnapshot");e.replace(a,
21
+ a.getValueOf("replace","txtFindReplace"),a.getValueOf("replace","txtReplace"),a.getValueOf("replace","txtReplaceCaseChk"),a.getValueOf("replace","txtReplaceWordChk"),!1,!0););e.replaceCounter?(alert(f.replaceSuccessMsg.replace(/%1/,e.replaceCounter)),c.fire("saveSnapshot")):alert(f.notFoundMsg)}}]},{type:"fieldset",label:CKEDITOR.tools.htmlEncode(f.findOptions),children:[{type:"vbox",padding:0,children:[{type:"checkbox",id:"txtReplaceCaseChk",isChanged:!1,label:f.matchCase},{type:"checkbox",id:"txtReplaceWordChk",
22
+ isChanged:!1,label:f.matchWord},{type:"checkbox",id:"txtReplaceCyclic",isChanged:!1,"default":!0,label:f.matchCyclic}]}]}]}],onLoad:function(){var a=this,b,c=0;this.on("hide",function(){c=0});this.on("show",function(){c=1});this.selectPage=CKEDITOR.tools.override(this.selectPage,function(f){return function(e){f.call(a,e);var g=a._.tabs[e],i;i="find"===e?"txtFindWordChk":"txtReplaceWordChk";b=a.getContentElement(e,"find"===e?"txtFindFind":"txtFindReplace");a.getContentElement(e,i);g.initialized||(CKEDITOR.document.getById(b._.inputId),
23
+ g.initialized=!0);if(c){var j,e="find"===e?1:0,g=1-e,k,h=p.length;for(k=0;k<h;k++)i=this.getContentElement(u[e],p[k][e]),j=this.getContentElement(u[g],p[k][g]),j.setValue(i.getValue())}}})},onShow:function(){e.searchRange=q();var a=this.getParentEditor().getSelection().getSelectedText(),b=this.getContentElement(g,"find"==g?"txtFindFind":"txtFindReplace");b.setValue(a);b.select();this.selectPage(g);this[("find"==g&&this._.editor.readOnly?"hide":"show")+"Page"]("replace")},onHide:function(){var a;e.matchRange&&
24
+ e.matchRange.isMatched()&&(e.matchRange.removeHighlight(),c.focus(),(a=e.matchRange.toDomRange())&&c.getSelection().selectRanges([a]));delete e.matchRange},onFocus:function(){return"replace"==g?this.getContentElement("replace","txtFindReplace"):this.getContentElement("find","txtFindFind")}}};CKEDITOR.dialog.add("find",function(c){return n(c,"find")});CKEDITOR.dialog.add("replace",function(c){return n(c,"replace")})})();
@@ -1,9 +1,24 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function(){var a=1,b=2,c=4,d={id:[{type:a,name:'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'},{type:a,name:'data'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],'class':[{type:a,name:'class'},{type:c,name:'class'}],width:[{type:a,name:'width'},{type:c,name:'width'}],height:[{type:a,name:'height'},{type:c,name:'height'}],hSpace:[{type:a,name:'hSpace'},{type:c,name:'hSpace'}],vSpace:[{type:a,name:'vSpace'},{type:c,name:'vSpace'}],style:[{type:a,name:'style'},{type:c,name:'style'}],type:[{type:c,name:'type'}]},e=['play','loop','menu','quality','scale','salign','wmode','bgcolor','base','flashvars','allowScriptAccess','allowFullScreen'];for(var f=0;f<e.length;f++)d[e[f]]=[{type:c,name:e[f]},{type:b,name:e[f]}];e=['allowFullScreen','play','loop','menu'];for(f=0;f<e.length;f++)d[e[f]][0]['default']=d[e[f]][1]['default']=true;var g=CKEDITOR.tools.cssLength;function h(j,k,l){var r=this;var m=d[r.id];if(!m)return;var n=r instanceof CKEDITOR.ui.dialog.checkbox;for(var o=0;o<m.length;o++){var p=m[o];switch(p.type){case a:if(!j)continue;if(j.getAttribute(p.name)!==null){var q=j.getAttribute(p.name);if(n)r.setValue(q.toLowerCase()=='true');else r.setValue(q);return;}else if(n)r.setValue(!!p['default']);break;case b:if(!j)continue;if(p.name in l){q=l[p.name];if(n)r.setValue(q.toLowerCase()=='true');else r.setValue(q);return;}else if(n)r.setValue(!!p['default']);break;case c:if(!k)continue;if(k.getAttribute(p.name)){q=k.getAttribute(p.name);if(n)r.setValue(q.toLowerCase()=='true');else r.setValue(q);return;}else if(n)r.setValue(!!p['default']);}}};function i(j,k,l){var t=this;var m=d[t.id];if(!m)return;var n=t.getValue()==='',o=t instanceof CKEDITOR.ui.dialog.checkbox;for(var p=0;p<m.length;p++){var q=m[p];switch(q.type){case a:if(!j||q.name=='data'&&k&&!j.hasAttribute('data'))continue;var r=t.getValue();if(n||o&&r===q['default'])j.removeAttribute(q.name);else j.setAttribute(q.name,r);break;case b:if(!j)continue;r=t.getValue();if(n||o&&r===q['default']){if(q.name in l)l[q.name].remove();}else if(q.name in l)l[q.name].setAttribute('value',r);else{var s=CKEDITOR.dom.element.createFromHtml('<cke:param></cke:param>',j.getDocument());s.setAttributes({name:q.name,value:r});if(j.getChildCount()<1)s.appendTo(j);else s.insertBefore(j.getFirst());}break;case c:if(!k)continue;r=t.getValue();if(n||o&&r===q['default'])k.removeAttribute(q.name);else k.setAttribute(q.name,r);
7
- }}};CKEDITOR.dialog.add('flash',function(j){var k=!j.config.flashEmbedTagOnly,l=j.config.flashAddEmbedTag||j.config.flashEmbedTagOnly,m,n='<div>'+CKEDITOR.tools.htmlEncode(j.lang.common.preview)+'<br>'+'<div id="cke_FlashPreviewLoader'+CKEDITOR.tools.getNextNumber()+'" style="display:none"><div class="loading">&nbsp;</div></div>'+'<div id="cke_FlashPreviewBox'+CKEDITOR.tools.getNextNumber()+'" class="FlashPreviewBox"></div></div>';return{title:j.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){var A=this;A.fakeImage=A.objectNode=A.embedNode=null;m=new CKEDITOR.dom.element('embed',j.document);var o=A.getSelectedElement();if(o&&o.data('cke-real-element-type')&&o.data('cke-real-element-type')=='flash'){A.fakeImage=o;var p=j.restoreRealElement(o),q=null,r=null,s={};if(p.getName()=='cke:object'){q=p;var t=q.getElementsByTag('embed','cke');if(t.count()>0)r=t.getItem(0);var u=q.getElementsByTag('param','cke');for(var v=0,w=u.count();v<w;v++){var x=u.getItem(v),y=x.getAttribute('name'),z=x.getAttribute('value');s[y]=z;}}else if(p.getName()=='cke:embed')r=p;A.objectNode=q;A.embedNode=r;A.setupContent(q,r,s,o);}},onOk:function(){var y=this;var o=null,p=null,q=null;if(!y.fakeImage){if(k){o=CKEDITOR.dom.element.createFromHtml('<cke:object></cke:object>',j.document);var r={classid:'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',codebase:'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'};o.setAttributes(r);}if(l){p=CKEDITOR.dom.element.createFromHtml('<cke:embed></cke:embed>',j.document);p.setAttributes({type:'application/x-shockwave-flash',pluginspage:'http://www.macromedia.com/go/getflashplayer'});if(o)p.appendTo(o);}}else{o=y.objectNode;p=y.embedNode;}if(o){q={};var s=o.getElementsByTag('param','cke');for(var t=0,u=s.count();t<u;t++)q[s.getItem(t).getAttribute('name')]=s.getItem(t);}var v={},w={};y.commitContent(o,p,q,v,w);var x=j.createFakeElement(o||p,'cke_flash','flash',true);x.setAttributes(w);x.setStyles(v);if(y.fakeImage){x.replace(y.fakeImage);j.getSelection().selectElement(x);}else j.insertElement(x);},onHide:function(){if(this.preview)this.preview.setHtml('');},contents:[{id:'info',label:j.lang.common.generalTab,accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'src',type:'text',label:j.lang.common.url,required:true,validate:CKEDITOR.dialog.validate.notEmpty(j.lang.flash.validateSrc),setup:h,commit:i,onLoad:function(){var o=this.getDialog(),p=function(q){m.setAttribute('src',q);
8
- o.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(m.getAttribute('src'))+'" type="application/x-shockwave-flash"></embed>');};o.preview=o.getContentElement('info','preview').getElement().getChild(3);this.on('change',function(q){if(q.data&&q.data.value)p(q.data.value);});this.getInputElement().on('change',function(q){p(this.getValue());},this);}},{type:'button',id:'browse',filebrowser:'info:src',hidden:true,style:'display:inline-block;margin-top:10px;',label:j.lang.common.browseServer}]}]},{type:'hbox',widths:['25%','25%','25%','25%','25%'],children:[{type:'text',id:'width',style:'width:95px',label:j.lang.common.width,validate:CKEDITOR.dialog.validate.htmlLength(j.lang.common.invalidHtmlLength.replace('%1',j.lang.common.width)),setup:h,commit:i},{type:'text',id:'height',style:'width:95px',label:j.lang.common.height,validate:CKEDITOR.dialog.validate.htmlLength(j.lang.common.invalidHtmlLength.replace('%1',j.lang.common.height)),setup:h,commit:i},{type:'text',id:'hSpace',style:'width:95px',label:j.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(j.lang.flash.validateHSpace),setup:h,commit:i},{type:'text',id:'vSpace',style:'width:95px',label:j.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(j.lang.flash.validateVSpace),setup:h,commit:i}]},{type:'vbox',children:[{type:'html',id:'preview',style:'width:95%;',html:n}]}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:j.lang.common.upload,elements:[{type:'file',id:'upload',label:j.lang.common.upload,size:38},{type:'fileButton',id:'uploadButton',label:j.lang.common.uploadSubmit,filebrowser:'info:src','for':['Upload','upload']}]},{id:'properties',label:j.lang.flash.propertiesTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'scale',type:'select',label:j.lang.flash.scale,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.scaleAll,'showall'],[j.lang.flash.scaleNoBorder,'noborder'],[j.lang.flash.scaleFit,'exactfit']],setup:h,commit:i},{id:'allowScriptAccess',type:'select',label:j.lang.flash.access,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.accessAlways,'always'],[j.lang.flash.accessSameDomain,'samedomain'],[j.lang.flash.accessNever,'never']],setup:h,commit:i}]},{type:'hbox',widths:['50%','50%'],children:[{id:'wmode',type:'select',label:j.lang.flash.windowMode,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.windowModeWindow,'window'],[j.lang.flash.windowModeOpaque,'opaque'],[j.lang.flash.windowModeTransparent,'transparent']],setup:h,commit:i},{id:'quality',type:'select',label:j.lang.flash.quality,'default':'high',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.flash.qualityBest,'best'],[j.lang.flash.qualityHigh,'high'],[j.lang.flash.qualityAutoHigh,'autohigh'],[j.lang.flash.qualityMedium,'medium'],[j.lang.flash.qualityAutoLow,'autolow'],[j.lang.flash.qualityLow,'low']],setup:h,commit:i}]},{type:'hbox',widths:['50%','50%'],children:[{id:'align',type:'select',label:j.lang.common.align,'default':'',style:'width : 100%;',items:[[j.lang.common.notSet,''],[j.lang.common.alignLeft,'left'],[j.lang.flash.alignAbsBottom,'absBottom'],[j.lang.flash.alignAbsMiddle,'absMiddle'],[j.lang.flash.alignBaseline,'baseline'],[j.lang.common.alignBottom,'bottom'],[j.lang.common.alignMiddle,'middle'],[j.lang.common.alignRight,'right'],[j.lang.flash.alignTextTop,'textTop'],[j.lang.common.alignTop,'top']],setup:h,commit:function(o,p,q,r,s){var t=this.getValue();
9
- i.apply(this,arguments);t&&(s.align=t);}},{type:'html',html:'<div></div>'}]},{type:'fieldset',label:CKEDITOR.tools.htmlEncode(j.lang.flash.flashvars),children:[{type:'vbox',padding:0,children:[{type:'checkbox',id:'menu',label:j.lang.flash.chkMenu,'default':true,setup:h,commit:i},{type:'checkbox',id:'play',label:j.lang.flash.chkPlay,'default':true,setup:h,commit:i},{type:'checkbox',id:'loop',label:j.lang.flash.chkLoop,'default':true,setup:h,commit:i},{type:'checkbox',id:'allowFullScreen',label:j.lang.flash.chkFull,'default':true,setup:h,commit:i}]}]}]},{id:'advanced',label:j.lang.common.advancedTab,elements:[{type:'hbox',children:[{type:'text',id:'id',label:j.lang.common.id,setup:h,commit:i}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'bgcolor',label:j.lang.flash.bgcolor,setup:h,commit:i},{type:'text',id:'class',label:j.lang.common.cssClass,setup:h,commit:i}]},{type:'text',id:'style',validate:CKEDITOR.dialog.validate.inlineStyle(j.lang.common.invalidInlineStyle),label:j.lang.common.cssStyle,setup:h,commit:i}]}]};});})();
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ (function(){function b(a,b,c){var k=n[this.id];if(k)for(var f=this instanceof CKEDITOR.ui.dialog.checkbox,e=0;e<k.length;e++){var d=k[e];switch(d.type){case g:if(!a)continue;if(null!==a.getAttribute(d.name)){a=a.getAttribute(d.name);f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"]);break;case o:if(!a)continue;if(d.name in c){a=c[d.name];f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"]);break;case i:if(!b)continue;
6
+ if(b.getAttribute(d.name)){a=b.getAttribute(d.name);f?this.setValue("true"==a.toLowerCase()):this.setValue(a);return}f&&this.setValue(!!d["default"])}}}function c(a,b,c){var k=n[this.id];if(k)for(var f=""===this.getValue(),e=this instanceof CKEDITOR.ui.dialog.checkbox,d=0;d<k.length;d++){var h=k[d];switch(h.type){case g:if(!a||"data"==h.name&&b&&!a.hasAttribute("data"))continue;var l=this.getValue();f||e&&l===h["default"]?a.removeAttribute(h.name):a.setAttribute(h.name,l);break;case o:if(!a)continue;
7
+ l=this.getValue();if(f||e&&l===h["default"])h.name in c&&c[h.name].remove();else if(h.name in c)c[h.name].setAttribute("value",l);else{var p=CKEDITOR.dom.element.createFromHtml("<cke:param></cke:param>",a.getDocument());p.setAttributes({name:h.name,value:l});1>a.getChildCount()?p.appendTo(a):p.insertBefore(a.getFirst())}break;case i:if(!b)continue;l=this.getValue();f||e&&l===h["default"]?b.removeAttribute(h.name):b.setAttribute(h.name,l)}}}for(var g=1,o=2,i=4,n={id:[{type:g,name:"id"}],classid:[{type:g,
8
+ name:"classid"}],codebase:[{type:g,name:"codebase"}],pluginspage:[{type:i,name:"pluginspage"}],src:[{type:o,name:"movie"},{type:i,name:"src"},{type:g,name:"data"}],name:[{type:i,name:"name"}],align:[{type:g,name:"align"}],"class":[{type:g,name:"class"},{type:i,name:"class"}],width:[{type:g,name:"width"},{type:i,name:"width"}],height:[{type:g,name:"height"},{type:i,name:"height"}],hSpace:[{type:g,name:"hSpace"},{type:i,name:"hSpace"}],vSpace:[{type:g,name:"vSpace"},{type:i,name:"vSpace"}],style:[{type:g,
9
+ name:"style"},{type:i,name:"style"}],type:[{type:i,name:"type"}]},m="play loop menu quality scale salign wmode bgcolor base flashvars allowScriptAccess allowFullScreen".split(" "),j=0;j<m.length;j++)n[m[j]]=[{type:i,name:m[j]},{type:o,name:m[j]}];m=["allowFullScreen","play","loop","menu"];for(j=0;j<m.length;j++)n[m[j]][0]["default"]=n[m[j]][1]["default"]=!0;CKEDITOR.dialog.add("flash",function(a){var g=!a.config.flashEmbedTagOnly,i=a.config.flashAddEmbedTag||a.config.flashEmbedTagOnly,k,f="<div>"+
10
+ CKEDITOR.tools.htmlEncode(a.lang.common.preview)+'<br><div id="cke_FlashPreviewLoader'+CKEDITOR.tools.getNextNumber()+'" style="display:none"><div class="loading">&nbsp;</div></div><div id="cke_FlashPreviewBox'+CKEDITOR.tools.getNextNumber()+'" class="FlashPreviewBox"></div></div>';return{title:a.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){this.fakeImage=this.objectNode=this.embedNode=null;k=new CKEDITOR.dom.element("embed",a.document);var e=this.getSelectedElement();if(e&&e.data("cke-real-element-type")&&
11
+ "flash"==e.data("cke-real-element-type")){this.fakeImage=e;var d=a.restoreRealElement(e),h=null,b=null,c={};if("cke:object"==d.getName()){h=d;d=h.getElementsByTag("embed","cke");0<d.count()&&(b=d.getItem(0));for(var d=h.getElementsByTag("param","cke"),g=0,i=d.count();g<i;g++){var f=d.getItem(g),j=f.getAttribute("name"),f=f.getAttribute("value");c[j]=f}}else"cke:embed"==d.getName()&&(b=d);this.objectNode=h;this.embedNode=b;this.setupContent(h,b,c,e)}},onOk:function(){var e=null,d=null,b=null;if(this.fakeImage)e=
12
+ this.objectNode,d=this.embedNode;else if(g&&(e=CKEDITOR.dom.element.createFromHtml("<cke:object></cke:object>",a.document),e.setAttributes({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",codebase:"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"})),i)d=CKEDITOR.dom.element.createFromHtml("<cke:embed></cke:embed>",a.document),d.setAttributes({type:"application/x-shockwave-flash",pluginspage:"http://www.macromedia.com/go/getflashplayer"}),e&&d.appendTo(e);
13
+ if(e)for(var b={},c=e.getElementsByTag("param","cke"),f=0,j=c.count();f<j;f++)b[c.getItem(f).getAttribute("name")]=c.getItem(f);c={};f={};this.commitContent(e,d,b,c,f);e=a.createFakeElement(e||d,"cke_flash","flash",!0);e.setAttributes(f);e.setStyles(c);this.fakeImage?(e.replace(this.fakeImage),a.getSelection().selectElement(e)):a.insertElement(e)},onHide:function(){this.preview&&this.preview.setHtml("")},contents:[{id:"info",label:a.lang.common.generalTab,accessKey:"I",elements:[{type:"vbox",padding:0,
14
+ children:[{type:"hbox",widths:["280px","110px"],align:"right",children:[{id:"src",type:"text",label:a.lang.common.url,required:!0,validate:CKEDITOR.dialog.validate.notEmpty(a.lang.flash.validateSrc),setup:b,commit:c,onLoad:function(){var a=this.getDialog(),b=function(b){k.setAttribute("src",b);a.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(k.getAttribute("src"))+'" type="application/x-shockwave-flash"></embed>')};a.preview=a.getContentElement("info","preview").getElement().getChild(3);
15
+ this.on("change",function(a){a.data&&a.data.value&&b(a.data.value)});this.getInputElement().on("change",function(){b(this.getValue())},this)}},{type:"button",id:"browse",filebrowser:"info:src",hidden:!0,style:"display:inline-block;margin-top:10px;",label:a.lang.common.browseServer}]}]},{type:"hbox",widths:["25%","25%","25%","25%","25%"],children:[{type:"text",id:"width",requiredContent:"embed[width]",style:"width:95px",label:a.lang.common.width,validate:CKEDITOR.dialog.validate.htmlLength(a.lang.common.invalidHtmlLength.replace("%1",
16
+ a.lang.common.width)),setup:b,commit:c},{type:"text",id:"height",requiredContent:"embed[height]",style:"width:95px",label:a.lang.common.height,validate:CKEDITOR.dialog.validate.htmlLength(a.lang.common.invalidHtmlLength.replace("%1",a.lang.common.height)),setup:b,commit:c},{type:"text",id:"hSpace",requiredContent:"embed[hspace]",style:"width:95px",label:a.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(a.lang.flash.validateHSpace),setup:b,commit:c},{type:"text",id:"vSpace",requiredContent:"embed[vspace]",
17
+ style:"width:95px",label:a.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(a.lang.flash.validateVSpace),setup:b,commit:c}]},{type:"vbox",children:[{type:"html",id:"preview",style:"width:95%;",html:f}]}]},{id:"Upload",hidden:!0,filebrowser:"uploadButton",label:a.lang.common.upload,elements:[{type:"file",id:"upload",label:a.lang.common.upload,size:38},{type:"fileButton",id:"uploadButton",label:a.lang.common.uploadSubmit,filebrowser:"info:src","for":["Upload","upload"]}]},{id:"properties",
18
+ label:a.lang.flash.propertiesTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"scale",type:"select",requiredContent:"embed[scale]",label:a.lang.flash.scale,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.scaleAll,"showall"],[a.lang.flash.scaleNoBorder,"noborder"],[a.lang.flash.scaleFit,"exactfit"]],setup:b,commit:c},{id:"allowScriptAccess",type:"select",requiredContent:"embed[allowscriptaccess]",label:a.lang.flash.access,"default":"",style:"width : 100%;",
19
+ items:[[a.lang.common.notSet,""],[a.lang.flash.accessAlways,"always"],[a.lang.flash.accessSameDomain,"samedomain"],[a.lang.flash.accessNever,"never"]],setup:b,commit:c}]},{type:"hbox",widths:["50%","50%"],children:[{id:"wmode",type:"select",requiredContent:"embed[wmode]",label:a.lang.flash.windowMode,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.windowModeWindow,"window"],[a.lang.flash.windowModeOpaque,"opaque"],[a.lang.flash.windowModeTransparent,"transparent"]],
20
+ setup:b,commit:c},{id:"quality",type:"select",requiredContent:"embed[quality]",label:a.lang.flash.quality,"default":"high",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.flash.qualityBest,"best"],[a.lang.flash.qualityHigh,"high"],[a.lang.flash.qualityAutoHigh,"autohigh"],[a.lang.flash.qualityMedium,"medium"],[a.lang.flash.qualityAutoLow,"autolow"],[a.lang.flash.qualityLow,"low"]],setup:b,commit:c}]},{type:"hbox",widths:["50%","50%"],children:[{id:"align",type:"select",requiredContent:"object[align]",
21
+ label:a.lang.common.align,"default":"",style:"width : 100%;",items:[[a.lang.common.notSet,""],[a.lang.common.alignLeft,"left"],[a.lang.flash.alignAbsBottom,"absBottom"],[a.lang.flash.alignAbsMiddle,"absMiddle"],[a.lang.flash.alignBaseline,"baseline"],[a.lang.common.alignBottom,"bottom"],[a.lang.common.alignMiddle,"middle"],[a.lang.common.alignRight,"right"],[a.lang.flash.alignTextTop,"textTop"],[a.lang.common.alignTop,"top"]],setup:b,commit:function(a,b,f,g,i){var j=this.getValue();c.apply(this,arguments);
22
+ j&&(i.align=j)}},{type:"html",html:"<div></div>"}]},{type:"fieldset",label:CKEDITOR.tools.htmlEncode(a.lang.flash.flashvars),children:[{type:"vbox",padding:0,children:[{type:"checkbox",id:"menu",label:a.lang.flash.chkMenu,"default":!0,setup:b,commit:c},{type:"checkbox",id:"play",label:a.lang.flash.chkPlay,"default":!0,setup:b,commit:c},{type:"checkbox",id:"loop",label:a.lang.flash.chkLoop,"default":!0,setup:b,commit:c},{type:"checkbox",id:"allowFullScreen",label:a.lang.flash.chkFull,"default":!0,
23
+ setup:b,commit:c}]}]}]},{id:"advanced",label:a.lang.common.advancedTab,elements:[{type:"hbox",children:[{type:"text",id:"id",requiredContent:"object[id]",label:a.lang.common.id,setup:b,commit:c}]},{type:"hbox",widths:["45%","55%"],children:[{type:"text",id:"bgcolor",requiredContent:"embed[bgcolor]",label:a.lang.flash.bgcolor,setup:b,commit:c},{type:"text",id:"class",requiredContent:"embed(cke-xyz)",label:a.lang.common.cssClass,setup:b,commit:c}]},{type:"text",id:"style",requiredContent:"embed{cke-xyz}",
24
+ validate:CKEDITOR.dialog.validate.inlineStyle(a.lang.common.invalidInlineStyle),label:a.lang.common.cssStyle,setup:b,commit:c}]}]}})})();
@@ -1,6 +1,8 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('button',function(a){function b(c){var e=this;var d=e.getValue();if(d){c.attributes[e.id]=d;if(e.id=='name')c.attributes['data-cke-saved-name']=d;}else{delete c.attributes[e.id];if(e.id=='name')delete c.attributes['data-cke-saved-name'];}};return{title:a.lang.button.title,minWidth:350,minHeight:150,onShow:function(){var e=this;delete e.button;var c=e.getParentEditor().getSelection().getSelectedElement();if(c&&c.is('input')){var d=c.getAttribute('type');if(d in {button:1,reset:1,submit:1}){e.button=c;e.setupContent(c);}}},onOk:function(){var c=this.getParentEditor(),d=this.button,e=!d,f=d?CKEDITOR.htmlParser.fragment.fromHtml(d.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element('input');this.commitContent(f);var g=new CKEDITOR.htmlParser.basicWriter();f.writeHtml(g);var h=CKEDITOR.dom.element.createFromHtml(g.getHtml(),c.document);if(e)c.insertElement(h);else{h.replace(d);c.getSelection().selectElement(h);}},contents:[{id:'info',label:a.lang.button.title,title:a.lang.button.title,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',setup:function(c){this.setValue(c.data('cke-saved-name')||c.getAttribute('name')||'');},commit:b},{id:'value',type:'text',label:a.lang.button.text,accessKey:'V','default':'',setup:function(c){this.setValue(c.getAttribute('value')||'');},commit:b},{id:'type',type:'select',label:a.lang.button.type,'default':'button',accessKey:'T',items:[[a.lang.button.typeBtn,'button'],[a.lang.button.typeSbm,'submit'],[a.lang.button.typeRst,'reset']],setup:function(c){this.setValue(c.getAttribute('type')||'');},commit:b}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("button",function(b){function d(a){var b=this.getValue();b?(a.attributes[this.id]=b,"name"==this.id&&(a.attributes["data-cke-saved-name"]=b)):(delete a.attributes[this.id],"name"==this.id&&delete a.attributes["data-cke-saved-name"])}return{title:b.lang.forms.button.title,minWidth:350,minHeight:150,onShow:function(){delete this.button;var a=this.getParentEditor().getSelection().getSelectedElement();a&&a.is("input")&&a.getAttribute("type")in{button:1,reset:1,submit:1}&&(this.button=
6
+ a,this.setupContent(a))},onOk:function(){var a=this.getParentEditor(),b=this.button,d=!b,c=b?CKEDITOR.htmlParser.fragment.fromHtml(b.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element("input");this.commitContent(c);var e=new CKEDITOR.htmlParser.basicWriter;c.writeHtml(e);c=CKEDITOR.dom.element.createFromHtml(e.getHtml(),a.document);d?a.insertElement(c):(c.replace(b),a.getSelection().selectElement(c))},contents:[{id:"info",label:b.lang.forms.button.title,title:b.lang.forms.button.title,elements:[{id:"name",
7
+ type:"text",label:b.lang.common.name,"default":"",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:d},{id:"value",type:"text",label:b.lang.forms.button.text,accessKey:"V","default":"",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:d},{id:"type",type:"select",label:b.lang.forms.button.type,"default":"button",accessKey:"T",items:[[b.lang.forms.button.typeBtn,"button"],[b.lang.forms.button.typeSbm,"submit"],[b.lang.forms.button.typeRst,
8
+ "reset"]],setup:function(a){this.setValue(a.getAttribute("type")||"")},commit:d}]}]}});
@@ -1,6 +1,8 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('checkbox',function(a){return{title:a.lang.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.checkbox;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getAttribute('type')=='checkbox'){c.checkbox=b;c.setupContent(b);}},onOk:function(){var b,c=this.checkbox,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','checkbox');b.insertElement(c);}this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.checkboxTitle,title:a.lang.checkboxAndRadio.checkboxTitle,startupFocus:'txtName',elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.data('cke-saved-name',this.getValue());else{c.data('cke-saved-name',false);c.removeAttribute('name');}}},{id:'txtValue',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){var c=b.getAttribute('value');this.setValue(CKEDITOR.env.ie&&c=='on'?'':c);},commit:function(b){var c=b.element,d=this.getValue();if(d&&!(CKEDITOR.env.ie&&d=='on'))c.setAttribute('value',d);else if(CKEDITOR.env.ie){var e=new CKEDITOR.dom.element('input',c.getDocument());c.copyAttributes(e,{value:1});e.replace(c);a.getSelection().selectElement(e);b.element=e;}else c.removeAttribute('value');}},{id:'cmbSelected',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(CKEDITOR.env.ie){var d=!!c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('<input type="checkbox"'+(e?' checked="checked"':'')+'/>',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}else{var g=this.getValue();if(g)c.setAttribute('checked','checked');else c.removeAttribute('checked');}}}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("checkbox",function(d){return{title:d.lang.forms.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){delete this.checkbox;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"checkbox"==a.getAttribute("type")&&(this.checkbox=a,this.setupContent(a))},onOk:function(){var a,b=this.checkbox;b||(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","checkbox"),a.insertElement(b));this.commitContent({element:b})},contents:[{id:"info",
6
+ label:d.lang.forms.checkboxAndRadio.checkboxTitle,title:d.lang.forms.checkboxAndRadio.checkboxTitle,startupFocus:"txtName",elements:[{id:"txtName",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"txtValue",type:"text",label:d.lang.forms.checkboxAndRadio.value,
7
+ "default":"",accessKey:"V",setup:function(a){a=a.getAttribute("value");this.setValue(CKEDITOR.env.ie&&"on"==a?"":a)},commit:function(a){var b=a.element,c=this.getValue();c&&!(CKEDITOR.env.ie&&"on"==c)?b.setAttribute("value",c):CKEDITOR.env.ie?(c=new CKEDITOR.dom.element("input",b.getDocument()),b.copyAttributes(c,{value:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c):b.removeAttribute("value")}},{id:"cmbSelected",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",
8
+ accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(CKEDITOR.env.ie){var c=!!b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="checkbox"'+(e?' checked="checked"':"")+"/>",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}else this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked")}}]}]}});
@@ -1,6 +1,8 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('form',function(a){var b={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.form.title,minWidth:350,minHeight:200,onShow:function(){var e=this;delete e.form;var c=e.getParentEditor().getSelection().getStartElement(),d=c&&c.getAscendant('form',true);if(d){e.form=d;e.setupContent(d);}},onOk:function(){var c,d=this.form,e=!d;if(e){c=this.getParentEditor();d=c.document.createElement('form');!CKEDITOR.env.ie&&d.append(c.document.createElement('br'));}if(e)c.insertElement(d);this.commitContent(d);},onLoad:function(){function c(e){this.setValue(e.getAttribute(this.id)||'');};function d(e){var f=this;if(f.getValue())e.setAttribute(f.id,f.getValue());else e.removeAttribute(f.id);};this.foreach(function(e){if(b[e.id]){e.setup=c;e.commit=d;}});},contents:[{id:'info',label:a.lang.form.title,title:a.lang.form.title,elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(c){this.setValue(c.data('cke-saved-name')||c.getAttribute('name')||'');},commit:function(c){if(this.getValue())c.data('cke-saved-name',this.getValue());else{c.data('cke-saved-name',false);c.removeAttribute('name');}}},{id:'action',type:'text',label:a.lang.form.action,'default':'',accessKey:'T'},{type:'hbox',widths:['45%','55%'],children:[{id:'id',type:'text',label:a.lang.common.id,'default':'',accessKey:'I'},{id:'enctype',type:'select',label:a.lang.form.encoding,style:'width:100%',accessKey:'E','default':'',items:[[''],['text/plain'],['multipart/form-data'],['application/x-www-form-urlencoded']]}]},{type:'hbox',widths:['45%','55%'],children:[{id:'target',type:'select',label:a.lang.common.target,style:'width:100%',accessKey:'M','default':'',items:[[a.lang.common.notSet,''],[a.lang.common.targetNew,'_blank'],[a.lang.common.targetTop,'_top'],[a.lang.common.targetSelf,'_self'],[a.lang.common.targetParent,'_parent']]},{id:'method',type:'select',label:a.lang.form.method,accessKey:'M','default':'GET',items:[['GET','get'],['POST','post']]}]}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("form",function(a){var d={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.forms.form.title,minWidth:350,minHeight:200,onShow:function(){delete this.form;var b=this.getParentEditor().elementPath().contains("form",1);b&&(this.form=b,this.setupContent(b))},onOk:function(){var b,a=this.form,c=!a;c&&(b=this.getParentEditor(),a=b.document.createElement("form"),!CKEDITOR.env.ie&&a.append(b.document.createElement("br")));c&&b.insertElement(a);this.commitContent(a)},onLoad:function(){function a(b){this.setValue(b.getAttribute(this.id)||
6
+ "")}function e(a){this.getValue()?a.setAttribute(this.id,this.getValue()):a.removeAttribute(this.id)}this.foreach(function(c){d[c.id]&&(c.setup=a,c.commit=e)})},contents:[{id:"info",label:a.lang.forms.form.title,title:a.lang.forms.form.title,elements:[{id:"txtName",type:"text",label:a.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",
7
+ !1),a.removeAttribute("name"))}},{id:"action",type:"text",label:a.lang.forms.form.action,"default":"",accessKey:"T"},{type:"hbox",widths:["45%","55%"],children:[{id:"id",type:"text",label:a.lang.common.id,"default":"",accessKey:"I"},{id:"enctype",type:"select",label:a.lang.forms.form.encoding,style:"width:100%",accessKey:"E","default":"",items:[[""],["text/plain"],["multipart/form-data"],["application/x-www-form-urlencoded"]]}]},{type:"hbox",widths:["45%","55%"],children:[{id:"target",type:"select",
8
+ label:a.lang.common.target,style:"width:100%",accessKey:"M","default":"",items:[[a.lang.common.notSet,""],[a.lang.common.targetNew,"_blank"],[a.lang.common.targetTop,"_top"],[a.lang.common.targetSelf,"_self"],[a.lang.common.targetParent,"_parent"]]},{id:"method",type:"select",label:a.lang.forms.form.method,accessKey:"M","default":"GET",items:[["GET","get"],["POST","post"]]}]}]}]}});
@@ -1,6 +1,8 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('hiddenfield',function(a){return{title:a.lang.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){var e=this;delete e.hiddenField;var b=e.getParentEditor(),c=b.getSelection(),d=c.getSelectedElement();if(d&&d.data('cke-real-element-type')&&d.data('cke-real-element-type')=='hiddenfield'){e.hiddenField=d;d=b.restoreRealElement(e.hiddenField);e.setupContent(d);c.selectElement(e.hiddenField);}},onOk:function(){var g=this;var b=g.getValueOf('info','_cke_saved_name'),c=g.getValueOf('info','value'),d=g.getParentEditor(),e=CKEDITOR.env.ie&&!(CKEDITOR.document.$.documentMode>=8)?d.document.createElement('<input name="'+CKEDITOR.tools.htmlEncode(b)+'">'):d.document.createElement('input');e.setAttribute('type','hidden');g.commitContent(e);var f=d.createFakeElement(e,'cke_hidden','hiddenfield');if(!g.hiddenField)d.insertElement(f);else{f.replace(g.hiddenField);d.getSelection().selectElement(f);}return true;},contents:[{id:'info',label:a.lang.hidden.title,title:a.lang.hidden.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.hidden.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('name',this.getValue());else b.removeAttribute('name');}},{id:'value',type:'text',label:a.lang.hidden.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){if(this.getValue())b.setAttribute('value',this.getValue());else b.removeAttribute('value');}}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&(c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type"))&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name");
6
+ this.getValueOf("info","value");var b=this.getParentEditor(),a=CKEDITOR.env.ie&&!(8<=CKEDITOR.document.$.documentMode)?b.document.createElement('<input name="'+CKEDITOR.tools.htmlEncode(a)+'">'):b.document.createElement("input");a.setAttribute("type","hidden");this.commitContent(a);a=b.createFakeElement(a,"cke_hidden","hiddenfield");this.hiddenField?(a.replace(this.hiddenField),b.getSelection().selectElement(a)):b.insertElement(a);return!0},contents:[{id:"info",label:d.lang.forms.hidden.title,title:d.lang.forms.hidden.title,
7
+ elements:[{id:"_cke_saved_name",type:"text",label:d.lang.forms.hidden.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.setAttribute("name",this.getValue()):a.removeAttribute("name")}},{id:"value",type:"text",label:d.lang.forms.hidden.value,"default":"",accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){this.getValue()?a.setAttribute("value",this.getValue()):
8
+ a.removeAttribute("value")}}]}]}});
@@ -1,6 +1,8 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('radio',function(a){return{title:a.lang.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.radioButton;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'&&b.getAttribute('type')=='radio'){c.radioButton=b;c.setupContent(b);}},onOk:function(){var b,c=this.radioButton,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','radio');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.radioTitle,title:a.lang.checkboxAndRadio.radioTitle,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.data('cke-saved-name',this.getValue());else{c.data('cke-saved-name',false);c.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'checked',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(!(CKEDITOR.env.ie||CKEDITOR.env.opera)){if(this.getValue())c.setAttribute('checked','checked');else c.removeAttribute('checked');}else{var d=c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+(e?' checked="checked"':'')+'></input>',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}}}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("radio",function(d){return{title:d.lang.forms.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){delete this.radioButton;var a=this.getParentEditor().getSelection().getSelectedElement();a&&("input"==a.getName()&&"radio"==a.getAttribute("type"))&&(this.radioButton=a,this.setupContent(a))},onOk:function(){var a,b=this.radioButton,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","radio"));c&&a.insertElement(b);this.commitContent({element:b})},
6
+ contents:[{id:"info",label:d.lang.forms.checkboxAndRadio.radioTitle,title:d.lang.forms.checkboxAndRadio.radioTitle,elements:[{id:"name",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"value",type:"text",label:d.lang.forms.checkboxAndRadio.value,"default":"",
7
+ accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){a=a.element;this.getValue()?a.setAttribute("value",this.getValue()):a.removeAttribute("value")}},{id:"checked",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(!CKEDITOR.env.ie&&!CKEDITOR.env.opera)this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked");
8
+ else{var c=b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+(e?' checked="checked"':"")+"></input>",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}}}]}]}});
@@ -1,9 +1,20 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('select',function(a){function b(k,l,m,n,o){k=j(k);var p;if(n)p=n.createElement('OPTION');else p=document.createElement('OPTION');if(k&&p&&p.getName()=='option'){if(CKEDITOR.env.ie){if(!isNaN(parseInt(o,10)))k.$.options.add(p.$,o);else k.$.options.add(p.$);p.$.innerHTML=l.length>0?l:'';p.$.value=m;}else{if(o!==null&&o<k.getChildCount())k.getChild(o<0?0:o).insertBeforeMe(p);else k.append(p);p.setText(l.length>0?l:'');p.setValue(m);}}else return false;return p;};function c(k){k=j(k);var l=g(k);for(var m=k.getChildren().count()-1;m>=0;m--){if(k.getChild(m).$.selected)k.getChild(m).remove();}h(k,l);};function d(k,l,m,n){k=j(k);if(l<0)return false;var o=k.getChild(l);o.setText(m);o.setValue(n);return o;};function e(k){k=j(k);while(k.getChild(0)&&k.getChild(0).remove()){}};function f(k,l,m){k=j(k);var n=g(k);if(n<0)return false;var o=n+l;o=o<0?0:o;o=o>=k.getChildCount()?k.getChildCount()-1:o;if(n==o)return false;var p=k.getChild(n),q=p.getText(),r=p.getValue();p.remove();p=b(k,q,r,!m?null:m,o);h(k,o);return p;};function g(k){k=j(k);return k?k.$.selectedIndex:-1;};function h(k,l){k=j(k);if(l<0)return null;var m=k.getChildren().count();k.$.selectedIndex=l>=m?m-1:l;return k;};function i(k){k=j(k);return k?k.getChildren():false;};function j(k){if(k&&k.domId&&k.getInputElement().$)return k.getInputElement();else if(k&&k.$)return k;return false;};return{title:a.lang.select.title,minWidth:CKEDITOR.env.ie?460:395,minHeight:CKEDITOR.env.ie?320:300,onShow:function(){var n=this;delete n.selectBox;n.setupContent('clear');var k=n.getParentEditor().getSelection().getSelectedElement();if(k&&k.getName()=='select'){n.selectBox=k;n.setupContent(k.getName(),k);var l=i(k);for(var m=0;m<l.count();m++)n.setupContent('option',l.getItem(m));}},onOk:function(){var k=this.getParentEditor(),l=this.selectBox,m=!l;if(m)l=k.document.createElement('select');this.commitContent(l);if(m){k.insertElement(l);if(CKEDITOR.env.ie){var n=k.getSelection(),o=n.createBookmarks();setTimeout(function(){n.selectBookmarks(o);},0);}}},contents:[{id:'info',label:a.lang.select.selectInfo,title:a.lang.select.selectInfo,accessKey:'',elements:[{id:'txtName',type:'text',widths:['25%','75%'],labelLayout:'horizontal',label:a.lang.common.name,'default':'',accessKey:'N',style:'width:350px',setup:function(k,l){if(k=='clear')this.setValue(this['default']||'');else if(k=='select')this.setValue(l.data('cke-saved-name')||l.getAttribute('name')||'');},commit:function(k){if(this.getValue())k.data('cke-saved-name',this.getValue());
7
- else{k.data('cke-saved-name',false);k.removeAttribute('name');}}},{id:'txtValue',type:'text',widths:['25%','75%'],labelLayout:'horizontal',label:a.lang.select.value,style:'width:350px','default':'',className:'cke_disabled',onLoad:function(){this.getInputElement().setAttribute('readOnly',true);},setup:function(k,l){if(k=='clear')this.setValue('');else if(k=='option'&&l.getAttribute('selected'))this.setValue(l.$.value);}},{type:'hbox',widths:['175px','170px'],children:[{id:'txtSize',type:'text',labelLayout:'horizontal',label:a.lang.select.size,'default':'',accessKey:'S',style:'width:175px',validate:function(){var k=CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed);return this.getValue()===''||k.apply(this);},setup:function(k,l){if(k=='select')this.setValue(l.getAttribute('size')||'');if(CKEDITOR.env.webkit)this.getInputElement().setStyle('width','86px');},commit:function(k){if(this.getValue())k.setAttribute('size',this.getValue());else k.removeAttribute('size');}},{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(a.lang.select.lines)+'</span>'}]},{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(a.lang.select.opAvail)+'</span>'},{type:'hbox',widths:['115px','115px','100px'],children:[{type:'vbox',children:[{id:'txtOptName',type:'text',label:a.lang.select.opText,style:'width:115px',setup:function(k,l){if(k=='clear')this.setValue('');}},{type:'select',id:'cmbName',label:'',title:'',size:5,style:'width:115px;height:75px',items:[],onChange:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbValue'),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=g(this);h(l,o);m.setValue(this.getValue());n.setValue(l.getValue());},setup:function(k,l){if(k=='clear')e(this);else if(k=='option')b(this,l.getText(),l.getText(),this.getDialog().getParentEditor().document);},commit:function(k){var l=this.getDialog(),m=i(this),n=i(l.getContentElement('info','cmbValue')),o=l.getContentElement('info','txtValue').getValue();e(k);for(var p=0;p<m.count();p++){var q=b(k,m.getItem(p).getValue(),n.getItem(p).getValue(),l.getParentEditor().document);if(n.getItem(p).getValue()==o){q.setAttribute('selected','selected');q.selected=true;}}}}]},{type:'vbox',children:[{id:'txtOptValue',type:'text',label:a.lang.select.opValue,style:'width:115px',setup:function(k,l){if(k=='clear')this.setValue('');}},{type:'select',id:'cmbValue',label:'',size:5,style:'width:115px;height:75px',items:[],onChange:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=g(this);
8
- h(l,o);m.setValue(l.getValue());n.setValue(this.getValue());},setup:function(k,l){var n=this;if(k=='clear')e(n);else if(k=='option'){var m=l.getValue();b(n,m,m,n.getDialog().getParentEditor().document);if(l.getAttribute('selected')=='selected')n.getDialog().getContentElement('info','txtValue').setValue(m);}}}]},{type:'vbox',padding:5,children:[{type:'button',id:'btnAdd',style:'',label:a.lang.select.btnAdd,title:a.lang.select.btnAdd,style:'width:100%;',onClick:function(){var k=this.getDialog(),l=k.getParentEditor(),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=k.getContentElement('info','cmbName'),p=k.getContentElement('info','cmbValue');b(o,m.getValue(),m.getValue(),k.getParentEditor().document);b(p,n.getValue(),n.getValue(),k.getParentEditor().document);m.setValue('');n.setValue('');}},{type:'button',id:'btnModify',label:a.lang.select.btnModify,title:a.lang.select.btnModify,style:'width:100%;',onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','txtOptName'),m=k.getContentElement('info','txtOptValue'),n=k.getContentElement('info','cmbName'),o=k.getContentElement('info','cmbValue'),p=g(n);if(p>=0){d(n,p,l.getValue(),l.getValue());d(o,p,m.getValue(),m.getValue());}}},{type:'button',id:'btnUp',style:'width:100%;',label:a.lang.select.btnUp,title:a.lang.select.btnUp,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue');f(l,-1,k.getParentEditor().document);f(m,-1,k.getParentEditor().document);}},{type:'button',id:'btnDown',style:'width:100%;',label:a.lang.select.btnDown,title:a.lang.select.btnDown,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue');f(l,1,k.getParentEditor().document);f(m,1,k.getParentEditor().document);}}]}]},{type:'hbox',widths:['40%','20%','40%'],children:[{type:'button',id:'btnSetValue',label:a.lang.select.btnSetValue,title:a.lang.select.btnSetValue,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbValue'),m=k.getContentElement('info','txtValue');m.setValue(l.getValue());}},{type:'button',id:'btnDelete',label:a.lang.select.btnDelete,title:a.lang.select.btnDelete,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue'),n=k.getContentElement('info','txtOptName'),o=k.getContentElement('info','txtOptValue');c(l);c(m);n.setValue('');o.setValue('');}},{id:'chkMulti',type:'checkbox',label:a.lang.select.chkMulti,'default':'',accessKey:'M',value:'checked',setup:function(k,l){if(k=='select')this.setValue(l.getAttribute('multiple'));
9
- if(CKEDITOR.env.webkit)this.getElement().getParent().setStyle('vertical-align','middle');},commit:function(k){if(this.getValue())k.setAttribute('multiple',this.getValue());else k.removeAttribute('multiple');}}]}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("select",function(c){function h(a,b,e,d,c){a=f(a);d=d?d.createElement("OPTION"):document.createElement("OPTION");if(a&&d&&"option"==d.getName())CKEDITOR.env.ie?(isNaN(parseInt(c,10))?a.$.options.add(d.$):a.$.options.add(d.$,c),d.$.innerHTML=0<b.length?b:"",d.$.value=e):(null!==c&&c<a.getChildCount()?a.getChild(0>c?0:c).insertBeforeMe(d):a.append(d),d.setText(0<b.length?b:""),d.setValue(e));else return!1;return d}function m(a){for(var a=f(a),b=g(a),e=a.getChildren().count()-1;0<=
6
+ e;e--)a.getChild(e).$.selected&&a.getChild(e).remove();i(a,b)}function n(a,b,e,d){a=f(a);if(0>b)return!1;a=a.getChild(b);a.setText(e);a.setValue(d);return a}function k(a){for(a=f(a);a.getChild(0)&&a.getChild(0).remove(););}function j(a,b,e){var a=f(a),d=g(a);if(0>d)return!1;b=d+b;b=0>b?0:b;b=b>=a.getChildCount()?a.getChildCount()-1:b;if(d==b)return!1;var d=a.getChild(d),c=d.getText(),o=d.getValue();d.remove();d=h(a,c,o,!e?null:e,b);i(a,b);return d}function g(a){return(a=f(a))?a.$.selectedIndex:-1}
7
+ function i(a,b){a=f(a);if(0>b)return null;var e=a.getChildren().count();a.$.selectedIndex=b>=e?e-1:b;return a}function l(a){return(a=f(a))?a.getChildren():!1}function f(a){return a&&a.domId&&a.getInputElement().$?a.getInputElement():a&&a.$?a:!1}return{title:c.lang.forms.select.title,minWidth:CKEDITOR.env.ie?460:395,minHeight:CKEDITOR.env.ie?320:300,onShow:function(){delete this.selectBox;this.setupContent("clear");var a=this.getParentEditor().getSelection().getSelectedElement();if(a&&"select"==a.getName()){this.selectBox=
8
+ a;this.setupContent(a.getName(),a);for(var a=l(a),b=0;b<a.count();b++)this.setupContent("option",a.getItem(b))}},onOk:function(){var a=this.getParentEditor(),b=this.selectBox,e=!b;e&&(b=a.document.createElement("select"));this.commitContent(b);if(e&&(a.insertElement(b),CKEDITOR.env.ie)){var d=a.getSelection(),c=d.createBookmarks();setTimeout(function(){d.selectBookmarks(c)},0)}},contents:[{id:"info",label:c.lang.forms.select.selectInfo,title:c.lang.forms.select.selectInfo,accessKey:"",elements:[{id:"txtName",
9
+ type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.common.name,"default":"",accessKey:"N",style:"width:350px",setup:function(a,b){"clear"==a?this.setValue(this["default"]||""):"select"==a&&this.setValue(b.data("cke-saved-name")||b.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"txtValue",type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.forms.select.value,
10
+ style:"width:350px","default":"",className:"cke_disabled",onLoad:function(){this.getInputElement().setAttribute("readOnly",!0)},setup:function(a,b){"clear"==a?this.setValue(""):"option"==a&&b.getAttribute("selected")&&this.setValue(b.$.value)}},{type:"hbox",widths:["175px","170px"],children:[{id:"txtSize",type:"text",labelLayout:"horizontal",label:c.lang.forms.select.size,"default":"",accessKey:"S",style:"width:175px",validate:function(){var a=CKEDITOR.dialog.validate.integer(c.lang.common.validateNumberFailed);
11
+ return""===this.getValue()||a.apply(this)},setup:function(a,b){"select"==a&&this.setValue(b.getAttribute("size")||"");CKEDITOR.env.webkit&&this.getInputElement().setStyle("width","86px")},commit:function(a){this.getValue()?a.setAttribute("size",this.getValue()):a.removeAttribute("size")}},{type:"html",html:"<span>"+CKEDITOR.tools.htmlEncode(c.lang.forms.select.lines)+"</span>"}]},{type:"html",html:"<span>"+CKEDITOR.tools.htmlEncode(c.lang.forms.select.opAvail)+"</span>"},{type:"hbox",widths:["115px",
12
+ "115px","100px"],children:[{type:"vbox",children:[{id:"txtOptName",type:"text",label:c.lang.forms.select.opText,style:"width:115px",setup:function(a){"clear"==a&&this.setValue("")}},{type:"select",id:"cmbName",label:"",title:"",size:5,style:"width:115px;height:75px",items:[],onChange:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbValue"),e=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue"),d=g(this);i(b,d);e.setValue(this.getValue());a.setValue(b.getValue())},
13
+ setup:function(a,b){"clear"==a?k(this):"option"==a&&h(this,b.getText(),b.getText(),this.getDialog().getParentEditor().document)},commit:function(a){var b=this.getDialog(),e=l(this),d=l(b.getContentElement("info","cmbValue")),c=b.getContentElement("info","txtValue").getValue();k(a);for(var f=0;f<e.count();f++){var g=h(a,e.getItem(f).getValue(),d.getItem(f).getValue(),b.getParentEditor().document);d.getItem(f).getValue()==c&&(g.setAttribute("selected","selected"),g.selected=!0)}}}]},{type:"vbox",children:[{id:"txtOptValue",
14
+ type:"text",label:c.lang.forms.select.opValue,style:"width:115px",setup:function(a){"clear"==a&&this.setValue("")}},{type:"select",id:"cmbValue",label:"",size:5,style:"width:115px;height:75px",items:[],onChange:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),e=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue"),d=g(this);i(b,d);e.setValue(b.getValue());a.setValue(this.getValue())},setup:function(a,b){if("clear"==a)k(this);else if("option"==
15
+ a){var e=b.getValue();h(this,e,e,this.getDialog().getParentEditor().document);"selected"==b.getAttribute("selected")&&this.getDialog().getContentElement("info","txtValue").setValue(e)}}}]},{type:"vbox",padding:5,children:[{type:"button",id:"btnAdd",style:"",label:c.lang.forms.select.btnAdd,title:c.lang.forms.select.btnAdd,style:"width:100%;",onClick:function(){var a=this.getDialog();a.getParentEditor();var b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info",
16
+ "cmbName"),c=a.getContentElement("info","cmbValue");h(d,b.getValue(),b.getValue(),a.getParentEditor().document);h(c,e.getValue(),e.getValue(),a.getParentEditor().document);b.setValue("");e.setValue("")}},{type:"button",id:"btnModify",label:c.lang.forms.select.btnModify,title:c.lang.forms.select.btnModify,style:"width:100%;",onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","txtOptName"),e=a.getContentElement("info","txtOptValue"),d=a.getContentElement("info","cmbName"),a=a.getContentElement("info",
17
+ "cmbValue"),c=g(d);0<=c&&(n(d,c,b.getValue(),b.getValue()),n(a,c,e.getValue(),e.getValue()))}},{type:"button",id:"btnUp",style:"width:100%;",label:c.lang.forms.select.btnUp,title:c.lang.forms.select.btnUp,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue");j(b,-1,a.getParentEditor().document);j(c,-1,a.getParentEditor().document)}},{type:"button",id:"btnDown",style:"width:100%;",label:c.lang.forms.select.btnDown,title:c.lang.forms.select.btnDown,
18
+ onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue");j(b,1,a.getParentEditor().document);j(c,1,a.getParentEditor().document)}}]}]},{type:"hbox",widths:["40%","20%","40%"],children:[{type:"button",id:"btnSetValue",label:c.lang.forms.select.btnSetValue,title:c.lang.forms.select.btnSetValue,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbValue");a.getContentElement("info","txtValue").setValue(b.getValue())}},
19
+ {type:"button",id:"btnDelete",label:c.lang.forms.select.btnDelete,title:c.lang.forms.select.btnDelete,onClick:function(){var a=this.getDialog(),b=a.getContentElement("info","cmbName"),c=a.getContentElement("info","cmbValue"),d=a.getContentElement("info","txtOptName"),a=a.getContentElement("info","txtOptValue");m(b);m(c);d.setValue("");a.setValue("")}},{id:"chkMulti",type:"checkbox",label:c.lang.forms.select.chkMulti,"default":"",accessKey:"M",value:"checked",setup:function(a,b){"select"==a&&this.setValue(b.getAttribute("multiple"));
20
+ CKEDITOR.env.webkit&&this.getElement().getParent().setStyle("vertical-align","middle")},commit:function(a){this.getValue()?a.setAttribute("multiple",this.getValue()):a.removeAttribute("multiple")}}]}]}]}});
@@ -1,6 +1,8 @@
1
- /*
2
- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.dialog.add('textarea',function(a){return{title:a.lang.textarea.title,minWidth:350,minHeight:220,onShow:function(){var c=this;delete c.textarea;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='textarea'){c.textarea=b;c.setupContent(b);}},onOk:function(){var b,c=this.textarea,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('textarea');}this.commitContent(c);if(d)b.insertElement(c);},contents:[{id:'info',label:a.lang.textarea.title,title:a.lang.textarea.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.data('cke-saved-name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.data('cke-saved-name',this.getValue());else{b.data('cke-saved-name',false);b.removeAttribute('name');}}},{type:'hbox',widths:['50%','50%'],children:[{id:'cols',type:'text',label:a.lang.textarea.cols,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('cols')&&b.getAttribute('cols');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('cols',this.getValue());else b.removeAttribute('cols');}},{id:'rows',type:'text',label:a.lang.textarea.rows,'default':'',accessKey:'R',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('rows')&&b.getAttribute('rows');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('rows',this.getValue());else b.removeAttribute('rows');}}]},{id:'value',type:'textarea',label:a.lang.textfield.value,'default':'',setup:function(b){this.setValue(b.$.defaultValue);},commit:function(b){b.$.value=b.$.defaultValue=this.getValue();}}]}]};});
1
+ /*
2
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+ CKEDITOR.dialog.add("textarea",function(b){return{title:b.lang.forms.textarea.title,minWidth:350,minHeight:220,onShow:function(){delete this.textarea;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"textarea"==a.getName()&&(this.textarea=a,this.setupContent(a))},onOk:function(){var a,b=this.textarea,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("textarea"));this.commitContent(b);c&&a.insertElement(b)},contents:[{id:"info",label:b.lang.forms.textarea.title,title:b.lang.forms.textarea.title,
6
+ elements:[{id:"_cke_saved_name",type:"text",label:b.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{type:"hbox",widths:["50%","50%"],children:[{id:"cols",type:"text",label:b.lang.forms.textarea.cols,"default":"",accessKey:"C",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),
7
+ setup:function(a){this.setValue(a.hasAttribute("cols")&&a.getAttribute("cols")||"")},commit:function(a){this.getValue()?a.setAttribute("cols",this.getValue()):a.removeAttribute("cols")}},{id:"rows",type:"text",label:b.lang.forms.textarea.rows,"default":"",accessKey:"R",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),setup:function(a){this.setValue(a.hasAttribute("rows")&&a.getAttribute("rows")||"")},commit:function(a){this.getValue()?a.setAttribute("rows",
8
+ this.getValue()):a.removeAttribute("rows")}}]},{id:"value",type:"textarea",label:b.lang.forms.textfield.value,"default":"",setup:function(a){this.setValue(a.$.defaultValue)},commit:function(a){a.$.value=a.$.defaultValue=this.getValue()}}]}]}});