erp_app 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (909) hide show
  1. data/README.md +3 -0
  2. data/app/controllers/erp_app/application_controller.rb +1 -0
  3. data/app/controllers/erp_app/desktop/base_controller.rb +1 -1
  4. data/app/controllers/erp_app/desktop/configuration_management/base_controller.rb +180 -0
  5. data/app/controllers/erp_app/desktop/configuration_management/options_controller.rb +55 -0
  6. data/app/controllers/erp_app/desktop/configuration_management/types_controller.rb +129 -0
  7. data/app/controllers/erp_app/desktop/control_panel/application_management_controller.rb +1 -1
  8. data/app/controllers/erp_app/desktop/control_panel/desktop_management_controller.rb +1 -1
  9. data/app/controllers/erp_app/desktop/control_panel/profile_management_controller.rb +14 -16
  10. data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -7
  11. data/app/controllers/erp_app/desktop/system_management/application_role_management_controller.rb +1 -1
  12. data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +9 -9
  13. data/app/controllers/erp_app/desktop/user_management/base_controller.rb +1 -1
  14. data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +13 -8
  15. data/app/controllers/erp_app/mobile/base_controller.rb +21 -0
  16. data/app/controllers/erp_app/mobile/login_controller.rb +11 -0
  17. data/app/controllers/erp_app/mobile/user_management/base_controller.rb +24 -0
  18. data/app/controllers/erp_app/organizer/base_controller.rb +6 -5
  19. data/app/controllers/erp_app/organizer/crm/base_controller.rb +117 -15
  20. data/app/controllers/erp_app/public_controller.rb +73 -6
  21. data/app/controllers/erp_app/shared/configuration_controller.rb +53 -0
  22. data/app/controllers/erp_app/widget_proxy_controller.rb +1 -1
  23. data/app/models/app_container.rb +8 -2
  24. data/app/models/application.rb +1 -1
  25. data/app/models/configuration.rb +129 -0
  26. data/app/models/configuration_item.rb +45 -0
  27. data/app/models/configuration_item_type.rb +96 -0
  28. data/app/models/configuration_item_type_configuration_option.rb +10 -0
  29. data/app/models/configuration_option.rb +20 -0
  30. data/app/models/desktop.rb +7 -10
  31. data/app/models/extensions/user.rb +41 -2
  32. data/app/models/mobile.rb +10 -0
  33. data/app/models/mobile_application.rb +6 -0
  34. data/app/models/organizer.rb +3 -6
  35. data/app/models/preference.rb +2 -2
  36. data/app/models/preference_type.rb +1 -1
  37. data/app/models/user_preference.rb +3 -3
  38. data/app/models/valid_configuration.rb +4 -0
  39. data/app/models/valid_preference_type.rb +2 -2
  40. data/app/observers/user_app_container_observer.rb +7 -2
  41. data/app/views/erp_app/desktop/base/index.erb +25 -32
  42. data/app/views/erp_app/login/index.erb +3 -3
  43. data/app/views/erp_app/mobile/base/index.erb +37 -0
  44. data/app/views/erp_app/mobile/login/index.erb +22 -0
  45. data/app/views/erp_app/mobile/user_management/base/index.html.erb +28 -0
  46. data/app/views/erp_app/organizer/base/get_party_details.erb +19 -0
  47. data/app/views/erp_app/organizer/base/index.erb +20 -23
  48. data/app/views/erp_app/widget_proxy/index.erb +1 -1
  49. data/config/routes.rb +22 -0
  50. data/db/data_migrations/20110728201729_erp_app_setup.rb +3 -1
  51. data/db/data_migrations/20120229160222_add_userinfo_widget.rb +30 -0
  52. data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +10 -0
  53. data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +18 -0
  54. data/db/data_migrations/20120413000515_create_mobile_containers.rb +13 -0
  55. data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +22 -0
  56. data/db/data_migrations/upgrade/20120213182651_add_true_north_background.rb +16 -0
  57. data/db/migrate/20080805000096_base_app_framework.rb +125 -33
  58. data/db/migrate/20120316152543_add_is_template_to_configurations.rb +5 -0
  59. data/db/migrate/20120320182253_update_app_container.rb +20 -0
  60. data/db/migrate/20120325123722_remove_file_system_loader_column.rb +9 -0
  61. data/db/migrate/20120411151848_add_base_url_to_application.rb +5 -0
  62. data/db/migrate/20120427000446_add_user_defined_to_config_option.rb +17 -0
  63. data/db/migrate/20120429130430_update_configuration_join_tables.rb +16 -0
  64. data/db/migrate/upgrade/20120208201934_add_configuration_models.rb +109 -0
  65. data/db/migrate/upgrade/20120209194251_add_user_defined_to_config_type.rb +5 -0
  66. data/db/migrate/upgrade/20120210172929_add_config_types_to_configs.rb +23 -0
  67. data/lib/erp_app/application_resource_loader/base_loader.rb +17 -0
  68. data/lib/erp_app/application_resource_loader/{file_system_loader.rb → desktop_organizer_loader.rb} +15 -29
  69. data/lib/erp_app/application_resource_loader/mobile_loader.rb +46 -0
  70. data/lib/erp_app/application_resource_loader/shared_loader.rb +26 -0
  71. data/lib/erp_app/application_resource_loader.rb +4 -0
  72. data/lib/erp_app/config.rb +2 -2
  73. data/lib/erp_app/engine.rb +7 -4
  74. data/lib/erp_app/extensions/railties/action_view/base.rb +12 -0
  75. data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +17 -0
  76. data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +45 -0
  77. data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +134 -0
  78. data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +27 -0
  79. data/lib/erp_app/extensions.rb +1 -2
  80. data/lib/erp_app/version.rb +8 -1
  81. data/lib/erp_app/widgets/base.rb +50 -43
  82. data/lib/erp_app/widgets/javascript_loader.rb +13 -20
  83. data/lib/erp_app/widgets/loader.rb +126 -0
  84. data/lib/erp_app/widgets/railties/action_view/base.rb +8 -0
  85. data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +57 -0
  86. data/lib/erp_app/widgets.rb +2 -2
  87. data/lib/erp_app.rb +3 -1
  88. data/lib/generators/cms_widget/templates/engine/engine_template.rb +0 -4
  89. data/lib/generators/cms_widget/templates/javascript/base.js.erb +2 -1
  90. data/lib/generators/desktop_application/USAGE +1 -1
  91. data/lib/generators/desktop_application/templates/controllers/controller_template.rb +7 -5
  92. data/lib/generators/desktop_application/templates/migrate/migration_template.rb +0 -4
  93. data/lib/generators/mobile_application/USAGE +24 -0
  94. data/lib/generators/mobile_application/mobile_application_generator.rb +27 -0
  95. data/lib/generators/mobile_application/templates/INSTALL +25 -0
  96. data/lib/generators/mobile_application/templates/controllers/controller_template.rb +11 -0
  97. data/lib/generators/mobile_application/templates/migrate/migration_template.rb +14 -0
  98. data/lib/generators/mobile_application/templates/public/app.js.erb +35 -0
  99. data/lib/generators/mobile_application/templates/views/index.html.erb +28 -0
  100. data/lib/generators/organizer_application/templates/controllers/controller_template.rb +9 -11
  101. data/public/images/icons/apartment/apartment_16x16.png +0 -0
  102. data/public/images/icons/apartment/apartment_24x24.png +0 -0
  103. data/public/images/icons/apartment/apartment_32x32.png +0 -0
  104. data/public/images/icons/apartment/apartment_48x48.png +0 -0
  105. data/public/images/wallpaper/truenorth.png +0 -0
  106. data/public/javascripts/erp_app/authentication/widget_manager.js +23 -2
  107. data/public/javascripts/erp_app/ckeditor/ckeditor.js +113 -111
  108. data/public/javascripts/erp_app/ckeditor/contents.css +2 -2
  109. data/public/javascripts/erp_app/ckeditor/lang/_translationstatus.txt +59 -59
  110. data/public/javascripts/erp_app/ckeditor/lang/af.js +1 -1
  111. data/public/javascripts/erp_app/ckeditor/lang/ar.js +1 -1
  112. data/public/javascripts/erp_app/ckeditor/lang/bg.js +1 -1
  113. data/public/javascripts/erp_app/ckeditor/lang/bn.js +1 -1
  114. data/public/javascripts/erp_app/ckeditor/lang/bs.js +1 -1
  115. data/public/javascripts/erp_app/ckeditor/lang/ca.js +1 -1
  116. data/public/javascripts/erp_app/ckeditor/lang/cs.js +1 -1
  117. data/public/javascripts/erp_app/ckeditor/lang/cy.js +1 -1
  118. data/public/javascripts/erp_app/ckeditor/lang/da.js +1 -1
  119. data/public/javascripts/erp_app/ckeditor/lang/de.js +1 -1
  120. data/public/javascripts/erp_app/ckeditor/lang/el.js +1 -1
  121. data/public/javascripts/erp_app/ckeditor/lang/en-au.js +1 -1
  122. data/public/javascripts/erp_app/ckeditor/lang/en-ca.js +1 -1
  123. data/public/javascripts/erp_app/ckeditor/lang/en-gb.js +1 -1
  124. data/public/javascripts/erp_app/ckeditor/lang/en.js +1 -1
  125. data/public/javascripts/erp_app/ckeditor/lang/eo.js +1 -1
  126. data/public/javascripts/erp_app/ckeditor/lang/es.js +1 -1
  127. data/public/javascripts/erp_app/ckeditor/lang/et.js +1 -1
  128. data/public/javascripts/erp_app/ckeditor/lang/eu.js +1 -1
  129. data/public/javascripts/erp_app/ckeditor/lang/fa.js +1 -1
  130. data/public/javascripts/erp_app/ckeditor/lang/fi.js +1 -1
  131. data/public/javascripts/erp_app/ckeditor/lang/fo.js +1 -1
  132. data/public/javascripts/erp_app/ckeditor/lang/fr-ca.js +1 -1
  133. data/public/javascripts/erp_app/ckeditor/lang/fr.js +1 -1
  134. data/public/javascripts/erp_app/ckeditor/lang/gl.js +1 -1
  135. data/public/javascripts/erp_app/ckeditor/lang/gu.js +1 -1
  136. data/public/javascripts/erp_app/ckeditor/lang/he.js +1 -1
  137. data/public/javascripts/erp_app/ckeditor/lang/hi.js +1 -1
  138. data/public/javascripts/erp_app/ckeditor/lang/hr.js +1 -1
  139. data/public/javascripts/erp_app/ckeditor/lang/hu.js +1 -1
  140. data/public/javascripts/erp_app/ckeditor/lang/is.js +1 -1
  141. data/public/javascripts/erp_app/ckeditor/lang/it.js +1 -1
  142. data/public/javascripts/erp_app/ckeditor/lang/ja.js +1 -1
  143. data/public/javascripts/erp_app/ckeditor/lang/ka.js +1 -1
  144. data/public/javascripts/erp_app/ckeditor/lang/km.js +1 -1
  145. data/public/javascripts/erp_app/ckeditor/lang/ko.js +1 -1
  146. data/public/javascripts/erp_app/ckeditor/lang/lt.js +1 -1
  147. data/public/javascripts/erp_app/ckeditor/lang/lv.js +1 -1
  148. data/public/javascripts/erp_app/ckeditor/lang/mn.js +1 -1
  149. data/public/javascripts/erp_app/ckeditor/lang/ms.js +1 -1
  150. data/public/javascripts/erp_app/ckeditor/lang/nb.js +1 -1
  151. data/public/javascripts/erp_app/ckeditor/lang/nl.js +1 -1
  152. data/public/javascripts/erp_app/ckeditor/lang/no.js +1 -1
  153. data/public/javascripts/erp_app/ckeditor/lang/pl.js +1 -1
  154. data/public/javascripts/erp_app/ckeditor/lang/pt-br.js +1 -1
  155. data/public/javascripts/erp_app/ckeditor/lang/pt.js +1 -1
  156. data/public/javascripts/erp_app/ckeditor/lang/ro.js +1 -1
  157. data/public/javascripts/erp_app/ckeditor/lang/ru.js +1 -1
  158. data/public/javascripts/erp_app/ckeditor/lang/sk.js +1 -1
  159. data/public/javascripts/erp_app/ckeditor/lang/sl.js +1 -1
  160. data/public/javascripts/erp_app/ckeditor/lang/sr-latn.js +1 -1
  161. data/public/javascripts/erp_app/ckeditor/lang/sr.js +1 -1
  162. data/public/javascripts/erp_app/ckeditor/lang/sv.js +1 -1
  163. data/public/javascripts/erp_app/ckeditor/lang/th.js +1 -1
  164. data/public/javascripts/erp_app/ckeditor/lang/tr.js +1 -1
  165. data/public/javascripts/erp_app/ckeditor/lang/uk.js +1 -1
  166. data/public/javascripts/erp_app/ckeditor/lang/vi.js +1 -1
  167. data/public/javascripts/erp_app/ckeditor/lang/zh-cn.js +1 -1
  168. data/public/javascripts/erp_app/ckeditor/lang/zh.js +1 -1
  169. data/public/javascripts/erp_app/ckeditor/plugins/autogrow/plugin.js +1 -1
  170. data/public/javascripts/erp_app/ckeditor/plugins/docprops/dialogs/docprops.js +2 -2
  171. data/public/javascripts/erp_app/ckeditor/plugins/find/dialogs/find.js +5 -5
  172. data/public/javascripts/erp_app/ckeditor/plugins/flash/dialogs/flash.js +1 -1
  173. data/public/javascripts/erp_app/ckeditor/plugins/forms/dialogs/textarea.js +1 -1
  174. data/public/javascripts/erp_app/ckeditor/plugins/image/dialogs/image.js +1 -1
  175. data/public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js +1 -1
  176. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/codemirror_config.js +85 -0
  177. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/editor.css +96 -0
  178. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/buttonbg.gif +0 -0
  179. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/cancel.png +0 -0
  180. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/highlight.png +0 -0
  181. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/redo.png +0 -0
  182. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/reindent.png +0 -0
  183. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/save.png +0 -0
  184. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/search.png +0 -0
  185. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/images/undo.png +0 -0
  186. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/config/nocolors.css +24 -0
  187. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/LICENSE +23 -0
  188. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/bigtest.html +1296 -0
  189. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/compress.html +169 -0
  190. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/css/csharpcolors.css +60 -0
  191. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/index.html +61 -0
  192. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/parsecsharp.js +329 -0
  193. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/csharp/js/tokenizecsharp.js +196 -0
  194. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/LICENSE +24 -0
  195. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/css/freemarkercolors.css +63 -0
  196. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/index.html +75 -0
  197. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/freemarker/js/parsefreemarker.js +380 -0
  198. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/groovy/index.html +57 -0
  199. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/LICENSE +20 -0
  200. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/css/javacolors.css +64 -0
  201. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/index.html +66 -0
  202. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/parsejava.js +285 -0
  203. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/java/js/tokenizejava.js +222 -0
  204. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/LICENSE +32 -0
  205. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/css/luacolors.css +63 -0
  206. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/index.html +68 -0
  207. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/lua/js/parselua.js +254 -0
  208. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/LICENSE +23 -0
  209. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/css/ometacolors.css +63 -0
  210. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/index.html +77 -0
  211. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/parseometa.js +364 -0
  212. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/ometa/js/tokenizeometa.js +209 -0
  213. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/LICENSE +37 -0
  214. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/css/phpcolors.css +114 -0
  215. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/index.html +310 -0
  216. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephp.js +419 -0
  217. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/parsephphtmlmixed.js +116 -0
  218. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/php/js/tokenizephp.js +1208 -0
  219. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/LICENSE +22 -0
  220. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/css/plsqlcolors.css +57 -0
  221. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/index.html +67 -0
  222. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/plsql/js/parseplsql.js +233 -0
  223. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/LICENSE +32 -0
  224. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/css/pythoncolors.css +58 -0
  225. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/index.html +141 -0
  226. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/python/js/parsepython.js +541 -0
  227. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/js-regexcolors.css +214 -0
  228. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/css/regexcolors.css +214 -0
  229. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/index.html +114 -0
  230. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parsejavascript_and_regex.js +91 -0
  231. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex-unicode.js +284 -0
  232. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js/parseregex.js +847 -0
  233. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/regex/js-regex.html +118 -0
  234. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/LICENSE +23 -0
  235. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/css/schemecolors.css +45 -0
  236. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/index.html +82 -0
  237. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/parsescheme.js +428 -0
  238. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/scheme/js/tokenizescheme.js +241 -0
  239. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/LICENSE +22 -0
  240. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/css/sqlcolors.css +59 -0
  241. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/index.html +56 -0
  242. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/sql/js/parsesql.js +267 -0
  243. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/LICENSE +13 -0
  244. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors-dark.css +93 -0
  245. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors.css +99 -0
  246. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/css/xqcolors2.css +96 -0
  247. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/index.html +552 -0
  248. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/parsexquery.js +234 -0
  249. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/contrib/xquery/js/tokenizexquery.js +457 -0
  250. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon.png +0 -0
  251. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/baboon_vector.ai +965 -0
  252. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/csscolors.css +55 -0
  253. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/docs.css +158 -0
  254. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/font.js +15 -0
  255. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/jscolors.css +59 -0
  256. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/people.jpg +0 -0
  257. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/sparqlcolors.css +43 -0
  258. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/css/xmlcolors.css +55 -0
  259. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/csstest.html +60 -0
  260. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/faq.html +86 -0
  261. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/favicon.ico +0 -0
  262. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googleb196c451afc2ee11.html +1 -0
  263. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/googlehostedservice.html +1 -0
  264. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/highlight.html +82 -0
  265. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/htmltest.html +53 -0
  266. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/index.html +254 -0
  267. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/codemirror.js +582 -0
  268. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/editor.js +1670 -0
  269. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/highlight.js +68 -0
  270. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/mirrorframe.js +81 -0
  271. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsecss.js +161 -0
  272. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsedummy.js +32 -0
  273. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsehtmlmixed.js +93 -0
  274. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsejavascript.js +359 -0
  275. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsesparql.js +162 -0
  276. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/parsexml.js +291 -0
  277. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/select.js +697 -0
  278. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/stringstream.js +159 -0
  279. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenize.js +57 -0
  280. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/tokenizejavascript.js +174 -0
  281. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/undo.js +413 -0
  282. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/unittests.js +44 -0
  283. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/js/util.js +133 -0
  284. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/jstest.html +56 -0
  285. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/manual.html +806 -0
  286. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/mixedtest.html +52 -0
  287. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/sparqltest.html +41 -0
  288. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/story.html +672 -0
  289. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/unittests.html +125 -0
  290. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/editor/xhtmltest.xhtml +50 -0
  291. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/de.js +20 -0
  292. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/codemirror/lang/en.js +20 -0
  293. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/dialogs/sourcepopup.js +102 -0
  294. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/de.js +9 -0
  295. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/lang/en.js +9 -0
  296. data/public/javascripts/erp_app/ckeditor/plugins/sourcepopup/plugin.js +27 -0
  297. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/dialogs/specialchar.js +1 -1
  298. data/public/javascripts/erp_app/ckeditor/plugins/specialchar/lang/en.js +1 -1
  299. data/public/javascripts/erp_app/ckeditor/plugins/table/dialogs/table.js +4 -4
  300. data/public/javascripts/erp_app/ckeditor/plugins/wsc/dialogs/wsc.js +1 -1
  301. data/public/javascripts/erp_app/ckeditor/skins/kama/dialog.css +1 -1
  302. data/public/javascripts/erp_app/ckeditor/skins/kama/editor.css +3 -3
  303. data/public/javascripts/erp_app/ckeditor/skins/office2003/dialog.css +1 -1
  304. data/public/javascripts/erp_app/ckeditor/skins/office2003/editor.css +1 -1
  305. data/public/javascripts/erp_app/ckeditor/skins/v2/dialog.css +1 -1
  306. data/public/javascripts/erp_app/ckeditor/skins/v2/editor.css +1 -1
  307. data/public/javascripts/erp_app/ckeditor/themes/default/theme.js +2 -2
  308. data/public/javascripts/erp_app/ckeditor_example_config_override.js +44 -0
  309. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +229 -0
  310. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +482 -0
  311. data/public/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +425 -0
  312. data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +95 -0
  313. data/public/javascripts/erp_app/desktop/applications/configuration_management/stores.0.js +68 -0
  314. data/public/javascripts/erp_app/desktop/applications/control_panel/application_management_panel.js +2 -1
  315. data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +48 -47
  316. data/public/javascripts/erp_app/desktop/applications/control_panel/profile_management_panel.js +141 -84
  317. data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +1 -2
  318. data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +1 -2
  319. data/public/javascripts/erp_app/desktop/applications/system_management/application_role_management_panel.js +1 -2
  320. data/public/javascripts/erp_app/desktop/applications/user_management/module.js +10 -6
  321. data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +3 -9
  322. data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +4 -10
  323. data/public/javascripts/erp_app/ecommerce/credit_card_window.js +1 -1
  324. data/public/javascripts/erp_app/jquery_support.js +5 -5
  325. data/public/javascripts/erp_app/login/mobile.js +52 -0
  326. data/public/javascripts/erp_app/mobile/app.js +46 -0
  327. data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +14 -0
  328. data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +19 -0
  329. data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +24 -0
  330. data/public/javascripts/erp_app/mobile/applications/user_management/app.js +168 -0
  331. data/public/javascripts/erp_app/mobile/mobile_base.js +10 -0
  332. data/public/javascripts/erp_app/organizer/applications/crm/base.js +415 -117
  333. data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +8 -1
  334. data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +33 -36
  335. data/public/javascripts/erp_app/organizer/applications/crm/userinfo.js +215 -0
  336. data/public/javascripts/erp_app/organizer/layout.js +9 -11
  337. data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +1 -2
  338. data/public/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +2 -3
  339. data/public/javascripts/erp_app/shared/compass_ckeditor.js +7 -6
  340. data/public/javascripts/erp_app/shared/compass_codemirror.js +161 -162
  341. data/public/javascripts/erp_app/shared/configuration/configuration_form.js +278 -0
  342. data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +109 -0
  343. data/public/javascripts/erp_app/{coolclock → shared/coolclock}/coolclock.js +0 -0
  344. data/public/javascripts/erp_app/{coolclock → shared/coolclock}/moreskins.js +0 -0
  345. data/public/javascripts/erp_app/{coolclock → shared/coolclock}/tray_clock.js +0 -0
  346. data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +29 -28
  347. data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +3 -3
  348. data/public/javascripts/erp_app/shared/file_manager_tree.js +41 -25
  349. data/public/javascripts/erp_app/shared/file_upload/Ext.ux.AwesomeUploader.js +1 -1
  350. data/public/javascripts/erp_app/shared/file_upload/Ext.ux.XHRUpload.js +1 -1
  351. data/public/javascripts/erp_app/shared/file_upload/upload_window.js +245 -242
  352. data/public/javascripts/erp_app/shared/google_map_panel.js +82 -83
  353. data/public/javascripts/erp_app/shared/notes_grid.js +1 -2
  354. data/public/javascripts/erp_app/shared/preference_form.js +3 -5
  355. data/public/javascripts/erp_app/tinymce/Ext.ux.TinyMCE.js +689 -0
  356. data/public/javascripts/erp_app/tinymce/center_region.js +611 -0
  357. data/public/javascripts/erp_app/utility.js +284 -246
  358. data/public/javascripts/erp_app/widgets.js +39 -35
  359. data/public/javascripts/extjs/Ext.ux.form.MultiSelect.js +422 -0
  360. data/public/javascripts/extjs/ext-all-debug.js +15973 -12927
  361. data/public/javascripts/extjs/ext-all.js +1 -1
  362. data/public/javascripts/extjs/overrides.js +61 -0
  363. data/public/javascripts/sencha_touch/sencha-touch-all-debug.js +78370 -0
  364. data/public/javascripts/sencha_touch/sencha-touch-all.js +15 -0
  365. data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +5 -0
  366. data/public/stylesheets/erp_app/mobile/mobile.css +336 -0
  367. data/public/stylesheets/erp_app/{compass-ext-all.css → shared/compass-ext-all.css} +37 -1
  368. data/public/stylesheets/extjs/resources/css/ext-all-access.css +1 -1
  369. data/public/stylesheets/extjs/resources/css/ext-all-gray.css +1 -1
  370. data/public/stylesheets/extjs/resources/css/ext-all-scoped.css +1 -1
  371. data/public/stylesheets/extjs/resources/css/ext-all.css +1 -1
  372. data/public/stylesheets/extjs/resources/css/ext-ie-scoped.css +1 -1
  373. data/public/stylesheets/extjs/resources/css/ext-ie.css +1 -1
  374. data/public/stylesheets/extjs/resources/css/ext-sandbox.css +1 -1
  375. data/public/stylesheets/extjs/resources/css/ext-standard-scoped.css +1 -1
  376. data/public/stylesheets/extjs/resources/css/ext-standard.css +1 -1
  377. data/public/stylesheets/extjs/resources/sass/ext-all-access.scss +7 -0
  378. data/public/stylesheets/extjs/resources/sass/ext-all-gray.scss +6 -0
  379. data/public/stylesheets/extjs/resources/themes/images/access/boundlist/trigger-arrow.png +0 -0
  380. data/public/stylesheets/extjs/resources/themes/images/access/grid/refresh-disabled.gif +0 -0
  381. data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/{tab-bar-bg.gif → tab-bar-default-bg.gif} +0 -0
  382. data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-above.gif +0 -0
  383. data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-append.gif +0 -0
  384. data/public/stylesheets/extjs/resources/themes/images/access/tree/drop-below.gif +0 -0
  385. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-focus-corners.gif +0 -0
  386. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-over-corners.gif +0 -0
  387. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-large-pressed-corners.gif +0 -0
  388. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-focus-corners.gif +0 -0
  389. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-over-corners.gif +0 -0
  390. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-medium-pressed-corners.gif +0 -0
  391. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-focus-corners.gif +0 -0
  392. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-over-corners.gif +0 -0
  393. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-small-pressed-corners.gif +0 -0
  394. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-focus-corners.gif +0 -0
  395. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-over-corners.gif +0 -0
  396. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-large-pressed-corners.gif +0 -0
  397. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-focus-corners.gif +0 -0
  398. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-over-corners.gif +0 -0
  399. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-medium-pressed-corners.gif +0 -0
  400. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-focus-corners.gif +0 -0
  401. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-over-corners.gif +0 -0
  402. data/public/stylesheets/extjs/resources/themes/images/default/btn/btn-default-toolbar-small-pressed-corners.gif +0 -0
  403. data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-corners.gif +0 -0
  404. data/public/stylesheets/extjs/resources/themes/images/default/form-invalid-tip/form-invalid-tip-sides.gif +0 -0
  405. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-bg.gif +0 -0
  406. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-corners.gif +0 -0
  407. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-bottom-disabled-sides.gif +0 -0
  408. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-bg.gif +0 -0
  409. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-corners.gif +0 -0
  410. data/public/stylesheets/extjs/resources/themes/images/default/tab/tab-default-top-disabled-sides.gif +0 -0
  411. data/public/stylesheets/extjs/resources/themes/images/default/tab-bar/tab-bar-default-bg.gif +0 -0
  412. data/public/stylesheets/extjs/resources/themes/images/default/tip/tip-corners.gif +0 -0
  413. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-bottom-sides.gif +0 -0
  414. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-left-sides.gif +0 -0
  415. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-right-sides.gif +0 -0
  416. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-corners.gif +0 -0
  417. data/public/stylesheets/extjs/resources/themes/images/default/window-header/window-header-default-top-sides.gif +0 -0
  418. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_all.scss +3 -0
  419. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/_mixins.scss +6 -3
  420. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_core.scss +17 -17
  421. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/core/_reset.scss +17 -7
  422. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/layout/_layout.scss +10 -6
  423. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_frame.scss +4 -4
  424. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_reset-extras.scss +144 -0
  425. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/mixins/_theme-background-image.scss +8 -4
  426. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_dragdrop.scss +3 -3
  427. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_messagebox.scss +5 -5
  428. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_resizable.scss +6 -6
  429. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_splitter.scss +8 -8
  430. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/util/_tool.scss +1 -1
  431. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_core.scss +1 -1
  432. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/variables/_menu.scss +1 -0
  433. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_button.scss +38 -27
  434. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_datepicker.scss +7 -7
  435. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_drawcomponent.scss +1 -5
  436. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_grid.scss +56 -57
  437. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_loadmask.scss +1 -1
  438. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_menu.scss +22 -16
  439. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_panel.scss +10 -4
  440. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_progress-bar.scss +2 -1
  441. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_qtip.scss +1 -1
  442. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_slider.scss +9 -11
  443. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tab.scss +68 -43
  444. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tabbar.scss +1 -1
  445. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_toolbar.scss +3 -3
  446. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_tree.scss +48 -31
  447. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_all.scss +4 -2
  448. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkbox.scss +3 -2
  449. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_checkboxgroup.scss +3 -2
  450. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_field.scss +3 -3
  451. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_fieldset.scss +1 -5
  452. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_htmleditor.scss +16 -15
  453. data/public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/form/_triggerfield.scss +10 -10
  454. data/public/stylesheets/extjs/resources/themes/templates/resources/sass/config.rb +2 -4
  455. data/public/stylesheets/extjs/resources/themes/templates/resources/sass/my-ext-theme.scss +1 -0
  456. data/public/stylesheets/sencha_touch/resources/css/android.css +1 -0
  457. data/public/stylesheets/sencha_touch/resources/css/apple.css +1 -0
  458. data/public/stylesheets/sencha_touch/resources/css/bb6.css +1 -0
  459. data/public/stylesheets/sencha_touch/resources/css/sencha-touch.css +1 -0
  460. data/public/stylesheets/sencha_touch/resources/css/touch-charts.css +1 -0
  461. data/public/stylesheets/sencha_touch/resources/css-debug/android.css +6757 -0
  462. data/public/stylesheets/sencha_touch/resources/css-debug/apple.css +6766 -0
  463. data/public/stylesheets/sencha_touch/resources/css-debug/bb6.css +6352 -0
  464. data/public/stylesheets/sencha_touch/resources/css-debug/sencha-touch.css +6755 -0
  465. data/public/stylesheets/sencha_touch/resources/images/icon1.png +0 -0
  466. data/public/stylesheets/sencha_touch/resources/images/icon2.png +0 -0
  467. data/public/stylesheets/sencha_touch/resources/images/icon3.png +0 -0
  468. data/public/stylesheets/sencha_touch/resources/images/icon4.png +0 -0
  469. data/public/stylesheets/sencha_touch/resources/images/welcome.png +0 -0
  470. data/public/stylesheets/sencha_touch/resources/sass/android.scss +37 -0
  471. data/public/stylesheets/sencha_touch/resources/sass/apple.scss +39 -0
  472. data/public/stylesheets/sencha_touch/resources/sass/bb6.scss +66 -0
  473. data/public/stylesheets/sencha_touch/resources/sass/config-debug.rb +11 -0
  474. data/public/stylesheets/sencha_touch/resources/sass/config.rb +11 -0
  475. data/public/stylesheets/sencha_touch/resources/sass/sencha-touch.scss +18 -0
  476. data/public/stylesheets/sencha_touch/resources/themes/compass_init.rb +6 -0
  477. data/public/stylesheets/sencha_touch/resources/themes/images/default/check.png +0 -0
  478. data/public/stylesheets/sencha_touch/resources/themes/images/default/clear_icon.png +0 -0
  479. data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure.png +0 -0
  480. data/public/stylesheets/sencha_touch/resources/themes/images/default/disclosure2.png +0 -0
  481. data/public/stylesheets/sencha_touch/resources/themes/images/default/dotgrid.png +0 -0
  482. data/public/stylesheets/sencha_touch/resources/themes/images/default/loading.gif +0 -0
  483. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/action.png +0 -0
  484. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add.png +0 -0
  485. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add1.png +0 -0
  486. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/add_black.png +0 -0
  487. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/address_book.png +0 -0
  488. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_down.png +0 -0
  489. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_left.png +0 -0
  490. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_right.png +0 -0
  491. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/arrow_up.png +0 -0
  492. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/at.png +0 -0
  493. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/atom.png +0 -0
  494. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment.png +0 -0
  495. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment2.png +0 -0
  496. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment3.png +0 -0
  497. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/attachment_black.png +0 -0
  498. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/backspace.png +0 -0
  499. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_full.png +0 -0
  500. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_low.png +0 -0
  501. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/battery_power.png +0 -0
  502. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/blank.png +0 -0
  503. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt.png +0 -0
  504. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bolt_side.png +0 -0
  505. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark1.png +0 -0
  506. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark2.png +0 -0
  507. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmark_black.png +0 -0
  508. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bookmarks.png +0 -0
  509. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase1.png +0 -0
  510. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/briefcase2.png +0 -0
  511. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness1.png +0 -0
  512. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/brightness2.png +0 -0
  513. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/broadcast.png +0 -0
  514. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bug.png +0 -0
  515. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bulb.png +0 -0
  516. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye1.png +0 -0
  517. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/bullseye2.png +0 -0
  518. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar.png +0 -0
  519. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar2.png +0 -0
  520. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/calendar_add.png +0 -0
  521. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card1.png +0 -0
  522. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/card2.png +0 -0
  523. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart1.png +0 -0
  524. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart2.png +0 -0
  525. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chart3.png +0 -0
  526. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat.png +0 -0
  527. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat1.png +0 -0
  528. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat2.png +0 -0
  529. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat3.png +0 -0
  530. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat4.png +0 -0
  531. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black1.png +0 -0
  532. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/chat_black2.png +0 -0
  533. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check1.png +0 -0
  534. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check2.png +0 -0
  535. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black1.png +0 -0
  536. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_black2.png +0 -0
  537. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/check_dotted.png +0 -0
  538. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle.png +0 -0
  539. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/circle2.png +0 -0
  540. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/clash.png +0 -0
  541. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud.png +0 -0
  542. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black.png +0 -0
  543. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload1.png +0 -0
  544. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_black_upload2.png +0 -0
  545. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_bolt.png +0 -0
  546. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cloud_download.png +0 -0
  547. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code1.png +0 -0
  548. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code2.png +0 -0
  549. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/code3.png +0 -0
  550. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass1.png +0 -0
  551. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass2.png +0 -0
  552. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compass3.png +0 -0
  553. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose.png +0 -0
  554. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose1.png +0 -0
  555. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose2.png +0 -0
  556. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose3.png +0 -0
  557. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/compose_black.png +0 -0
  558. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/contract.png +0 -0
  559. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/cube.png +0 -0
  560. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/data.png +0 -0
  561. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete.png +0 -0
  562. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete1.png +0 -0
  563. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black1.png +0 -0
  564. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/delete_black2.png +0 -0
  565. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc.png +0 -0
  566. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc2.png +0 -0
  567. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black.png +0 -0
  568. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_black_landscape.png +0 -0
  569. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose1.png +0 -0
  570. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_compose2.png +0 -0
  571. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_delete.png +0 -0
  572. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_down.png +0 -0
  573. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_drawer.png +0 -0
  574. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_list.png +0 -0
  575. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_new.png +0 -0
  576. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_send.png +0 -0
  577. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/doc_up.png +0 -0
  578. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs1.png +0 -0
  579. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs2.png +0 -0
  580. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black1.png +0 -0
  581. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/docs_black2.png +0 -0
  582. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download.png +0 -0
  583. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download1.png +0 -0
  584. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download2.png +0 -0
  585. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/download_screen.png +0 -0
  586. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/eject.png +0 -0
  587. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty1.png +0 -0
  588. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/empty2.png +0 -0
  589. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer1.png +0 -0
  590. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/equalizer2.png +0 -0
  591. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/event_complete.png +0 -0
  592. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/expand.png +0 -0
  593. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites.png +0 -0
  594. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites1.png +0 -0
  595. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/favorites_circle.png +0 -0
  596. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/fforward.png +0 -0
  597. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/find.png +0 -0
  598. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flag.png +0 -0
  599. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/flickr2.png +0 -0
  600. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder.png +0 -0
  601. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_add.png +0 -0
  602. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black.png +0 -0
  603. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_black_open.png +0 -0
  604. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete.png +0 -0
  605. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_delete2.png +0 -0
  606. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_lock.png +0 -0
  607. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/folder_open2.png +0 -0
  608. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/font.png +0 -0
  609. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forbidden.png +0 -0
  610. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/forward_black.png +0 -0
  611. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe1.png +0 -0
  612. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe2.png +0 -0
  613. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/globe_black.png +0 -0
  614. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/headphones.png +0 -0
  615. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart.png +0 -0
  616. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/heart_circle.png +0 -0
  617. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help.png +0 -0
  618. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/help_black.png +0 -0
  619. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home.png +0 -0
  620. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/home2.png +0 -0
  621. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/hot.png +0 -0
  622. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox1.png +0 -0
  623. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox2.png +0 -0
  624. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/inbox3.png +0 -0
  625. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite.png +0 -0
  626. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/infinite2.png +0 -0
  627. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info.png +0 -0
  628. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info2.png +0 -0
  629. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain.png +0 -0
  630. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/info_plain2.png +0 -0
  631. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/json.png +0 -0
  632. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lab.png +0 -0
  633. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/layout.png +0 -0
  634. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link1.png +0 -0
  635. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link2.png +0 -0
  636. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/link_black.png +0 -0
  637. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/list.png +0 -0
  638. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate.png +0 -0
  639. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate1.png +0 -0
  640. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate2.png +0 -0
  641. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate3.png +0 -0
  642. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/locate4.png +0 -0
  643. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_closed.png +0 -0
  644. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/lock_open.png +0 -0
  645. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/look.png +0 -0
  646. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop.png +0 -0
  647. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop2.png +0 -0
  648. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/loop_circle.png +0 -0
  649. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/magic.png +0 -0
  650. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail.png +0 -0
  651. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail1.png +0 -0
  652. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail2.png +0 -0
  653. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail3.png +0 -0
  654. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail4.png +0 -0
  655. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mail5.png +0 -0
  656. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/maps.png +0 -0
  657. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mic.png +0 -0
  658. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus1.png +0 -0
  659. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus2.png +0 -0
  660. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black1.png +0 -0
  661. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/minus_black2.png +0 -0
  662. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor1.png +0 -0
  663. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor2.png +0 -0
  664. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor3.png +0 -0
  665. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/monitor4.png +0 -0
  666. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/more.png +0 -0
  667. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/mouse.png +0 -0
  668. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/move.png +0 -0
  669. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music1.png +0 -0
  670. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/music2.png +0 -0
  671. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes1.png +0 -0
  672. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nodes2.png +0 -0
  673. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note1.png +0 -0
  674. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note2.png +0 -0
  675. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note3.png +0 -0
  676. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/note_black.png +0 -0
  677. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/nuclear.png +0 -0
  678. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/organize.png +0 -0
  679. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/outbox.png +0 -0
  680. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/pause.png +0 -0
  681. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone1.png +0 -0
  682. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone2.png +0 -0
  683. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_black.png +0 -0
  684. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring1.png +0 -0
  685. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/phone_ring2.png +0 -0
  686. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo1.png +0 -0
  687. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo2.png +0 -0
  688. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo3.png +0 -0
  689. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black1.png +0 -0
  690. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photo_black2.png +0 -0
  691. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos1.png +0 -0
  692. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos2.png +0 -0
  693. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/photos4.png +0 -0
  694. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/piechart.png +0 -0
  695. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play1.png +0 -0
  696. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play2.png +0 -0
  697. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black1.png +0 -0
  698. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/play_black2.png +0 -0
  699. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/podcast.png +0 -0
  700. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power socket.png +0 -0
  701. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/power_on.png +0 -0
  702. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print.png +0 -0
  703. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/print2.png +0 -0
  704. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote1.png +0 -0
  705. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote2.png +0 -0
  706. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black1.png +0 -0
  707. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black2.png +0 -0
  708. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/quote_black3.png +0 -0
  709. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh.png +0 -0
  710. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh1.png +0 -0
  711. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh2.png +0 -0
  712. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh3.png +0 -0
  713. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/refresh5.png +0 -0
  714. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/reply.png +0 -0
  715. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/replytoall.png +0 -0
  716. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize.png +0 -0
  717. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/resize_black.png +0 -0
  718. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rewind.png +0 -0
  719. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right.png +0 -0
  720. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/right2.png +0 -0
  721. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss.png +0 -0
  722. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss2.png +0 -0
  723. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black.png +0 -0
  724. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black1.png +0 -0
  725. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/rss_black2.png +0 -0
  726. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/screens.png +0 -0
  727. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search.png +0 -0
  728. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search1.png +0 -0
  729. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search2.png +0 -0
  730. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/search_black.png +0 -0
  731. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/server.png +0 -0
  732. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/servers.png +0 -0
  733. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings.png +0 -0
  734. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings1.png +0 -0
  735. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings10.png +0 -0
  736. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings11.png +0 -0
  737. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings3.png +0 -0
  738. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings4.png +0 -0
  739. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings5.png +0 -0
  740. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings6.png +0 -0
  741. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings7.png +0 -0
  742. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings8.png +0 -0
  743. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings9.png +0 -0
  744. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/settings_black.png +0 -0
  745. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/share.png +0 -0
  746. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield1.png +0 -0
  747. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shield2.png +0 -0
  748. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop1.png +0 -0
  749. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shop2.png +0 -0
  750. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/shuffle.png +0 -0
  751. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_backforth.png +0 -0
  752. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_cross.png +0 -0
  753. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright.png +0 -0
  754. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_leftright2.png +0 -0
  755. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_split.png +0 -0
  756. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_switch.png +0 -0
  757. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sign_uturn.png +0 -0
  758. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces1.png +0 -0
  759. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/spaces2.png +0 -0
  760. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer1.png +0 -0
  761. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer2.png +0 -0
  762. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black1.png +0 -0
  763. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/speedometer_black2.png +0 -0
  764. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/star.png +0 -0
  765. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop.png +0 -0
  766. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop1.png +0 -0
  767. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/stop2.png +0 -0
  768. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/sync.png +0 -0
  769. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tabbed_book.png +0 -0
  770. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag.png +0 -0
  771. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tag_black.png +0 -0
  772. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tags.png +0 -0
  773. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team.png +0 -0
  774. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/team1.png +0 -0
  775. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time.png +0 -0
  776. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/time_repeat.png +0 -0
  777. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash.png +0 -0
  778. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash2.png +0 -0
  779. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/trash_black.png +0 -0
  780. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tree.png +0 -0
  781. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tv.png +0 -0
  782. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/tweak.png +0 -0
  783. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter1.png +0 -0
  784. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/twitter2.png +0 -0
  785. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up1.png +0 -0
  786. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up2.png +0 -0
  787. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/up_black.png +0 -0
  788. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/upload2.png +0 -0
  789. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user.png +0 -0
  790. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user3.png +0 -0
  791. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_add.png +0 -0
  792. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_business.png +0 -0
  793. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_fave.png +0 -0
  794. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list.png +0 -0
  795. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_list2.png +0 -0
  796. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remote1.png +0 -0
  797. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_remove2.png +0 -0
  798. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/user_send.png +0 -0
  799. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video.png +0 -0
  800. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black1.png +0 -0
  801. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/video_black2.png +0 -0
  802. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume.png +0 -0
  803. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_black.png +0 -0
  804. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_down.png +0 -0
  805. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_mute.png +0 -0
  806. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/volume_up.png +0 -0
  807. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warming_dotted.png +0 -0
  808. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/warning_black.png +0 -0
  809. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi.png +0 -0
  810. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi2.png +0 -0
  811. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi3.png +0 -0
  812. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/wifi4.png +0 -0
  813. data/public/stylesheets/sencha_touch/resources/themes/images/default/pictos/window.png +0 -0
  814. data/public/stylesheets/sencha_touch/resources/themes/images/default/pullarrow.png +0 -0
  815. data/public/stylesheets/sencha_touch/resources/themes/images/default/select_mask.png +0 -0
  816. data/public/stylesheets/sencha_touch/resources/themes/images/default/tip.png +0 -0
  817. data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_horizontal.png +0 -0
  818. data/public/stylesheets/sencha_touch/resources/themes/images/default/tip_right.png +0 -0
  819. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglebg.png +0 -0
  820. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglemask.png +0 -0
  821. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumb.png +0 -0
  822. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbbg.png +0 -0
  823. data/public/stylesheets/sencha_touch/resources/themes/images/default/togglethumbmask.png +0 -0
  824. data/public/stylesheets/sencha_touch/resources/themes/images/default/trackmask_outer.png +0 -0
  825. data/public/stylesheets/sencha_touch/resources/themes/lib/theme_images.rb +18 -0
  826. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_all.scss +2 -0
  827. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_core.scss +3 -0
  828. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_global.scss +2 -0
  829. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_mixins.scss +196 -0
  830. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_variables.scss +116 -0
  831. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/_widgets.scss +16 -0
  832. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_core.scss +189 -0
  833. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_layout.scss +362 -0
  834. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/core/_reset.scss +62 -0
  835. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_buttons.scss +354 -0
  836. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_carousel.scss +113 -0
  837. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders-basic.scss +102 -0
  838. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form-sliders.scss +149 -0
  839. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_form.scss +608 -0
  840. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_img.scss +5 -0
  841. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_indexbar.scss +76 -0
  842. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_list.scss +401 -0
  843. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_loading-spinner.scss +121 -0
  844. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_map.scss +11 -0
  845. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_media.scss +21 -0
  846. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_msgbox.scss +94 -0
  847. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_panel.scss +79 -0
  848. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_picker.scss +154 -0
  849. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_sheets.scss +52 -0
  850. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_tabs.scss +269 -0
  851. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar-forms.scss +182 -0
  852. data/public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar.scss +156 -0
  853. data/public/stylesheets/sencha_touch/resources/themes/templates/project/manifest.rb +1 -0
  854. data/public/stylesheets/sencha_touch/resources/themes/templates/project/sencha-touch.scss +17 -0
  855. metadata +3251 -2688
  856. data/README.rdoc +0 -2
  857. data/config/initializers/erp_app.rb +0 -4
  858. data/lib/erp_app/extensions/active_record/acts_as_app_container.rb +0 -72
  859. data/lib/erp_app/extensions/railties/action_view.rb +0 -110
  860. data/lib/erp_app/widgets/railties/action_view.rb +0 -36
  861. data/lib/erp_app/widgets/railties/engine.rb +0 -55
  862. data/public/images/icons/add/Thumbs.db +0 -0
  863. data/public/images/icons/calendar/Thumbs.db +0 -0
  864. data/public/images/icons/copy/Thumbs.db +0 -0
  865. data/public/images/icons/cut/Thumbs.db +0 -0
  866. data/public/images/icons/delete/Thumbs.db +0 -0
  867. data/public/images/icons/edit/Thumbs.db +0 -0
  868. data/public/images/icons/folder/Thumbs.db +0 -0
  869. data/public/images/icons/gear/Thumbs.db +0 -0
  870. data/public/images/icons/globe/Thumbs.db +0 -0
  871. data/public/images/icons/grid/Thumbs.db +0 -0
  872. data/public/images/icons/help/Thumbs.db +0 -0
  873. data/public/images/icons/information/Thumbs.db +0 -0
  874. data/public/images/icons/key/Thumbs.db +0 -0
  875. data/public/images/icons/log_out/Thumbs.db +0 -0
  876. data/public/images/icons/mail/Thumbs.db +0 -0
  877. data/public/images/icons/new/Thumbs.db +0 -0
  878. data/public/images/icons/next/Thumbs.db +0 -0
  879. data/public/images/icons/open/Thumbs.db +0 -0
  880. data/public/images/icons/paste/Thumbs.db +0 -0
  881. data/public/images/icons/picture/Thumbs.db +0 -0
  882. data/public/images/icons/presentation/Thumbs.db +0 -0
  883. data/public/images/icons/preview/Thumbs.db +0 -0
  884. data/public/images/icons/previous/Thumbs.db +0 -0
  885. data/public/images/icons/print/Thumbs.db +0 -0
  886. data/public/images/icons/properties/Thumbs.db +0 -0
  887. data/public/images/icons/redo/Thumbs.db +0 -0
  888. data/public/images/icons/refresh/Thumbs.db +0 -0
  889. data/public/images/icons/remove/Thumbs.db +0 -0
  890. data/public/images/icons/rename/Thumbs.db +0 -0
  891. data/public/images/icons/save/Thumbs.db +0 -0
  892. data/public/images/icons/search/Thumbs.db +0 -0
  893. data/public/images/icons/send/Thumbs.db +0 -0
  894. data/public/images/icons/settings/Thumbs.db +0 -0
  895. data/public/images/icons/synchronize/Thumbs.db +0 -0
  896. data/public/images/icons/undo/Thumbs.db +0 -0
  897. data/public/images/icons/upload/Thumbs.db +0 -0
  898. data/public/images/icons/user/Thumbs.db +0 -0
  899. data/public/images/icons/zoom_in/Thumbs.db +0 -0
  900. data/public/images/icons/zoom_out/Thumbs.db +0 -0
  901. data/public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/Thumbs.db +0 -0
  902. data/public/javascripts/erp_app/shared/ajax_pagination.js +0 -33
  903. data/public/stylesheets/extjs/resources/themes/images/access/tab-bar/tab-bar-bg.png +0 -0
  904. data/public/stylesheets/extjs/resources/themes/templates/resources/css/my-ext-theme.css +0 -59
  905. data/spec/dummy/db/schema.rb +0 -709
  906. data/spec/dummy/db/spec.sqlite3 +0 -0
  907. data/spec/dummy/log/RAILS_ENV=spec.log +0 -0
  908. data/spec/dummy/log/development.log +0 -0
  909. data/spec/dummy/log/spec.log +0 -52150
@@ -3,4 +3,4 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
6
- CKEDITOR.lang.zh={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbars:'Editor toolbars',editor:'Rich Text Editor',source:'原始碼',newPage:'開新檔案',save:'儲存',preview:'預覽',cut:'剪下',copy:'複製',paste:'貼上',print:'列印',underline:'底線',bold:'粗體',italic:'斜體',selectAll:'全選',removeFormat:'清除格式',strike:'刪除線',subscript:'下標',superscript:'上標',horizontalrule:'插入水平線',pagebreak:'插入分頁符號',pagebreakAlt:'Page Break',unlink:'移除超連結',undo:'復原',redo:'重複',common:{browseServer:'瀏覽伺服器端',url:'URL',protocol:'通訊協定',upload:'上傳',uploadSubmit:'上傳至伺服器',image:'影像',flash:'Flash',form:'表單',checkbox:'核取方塊',radio:'選項按鈕',textField:'文字方塊',textarea:'文字區域',hiddenField:'隱藏欄位',button:'按鈕',select:'清單/選單',imageButton:'影像按鈕',notSet:'<尚未設定>',id:'ID',name:'名稱',langDir:'語言方向',langDirLtr:'由左而右 (LTR)',langDirRtl:'由右而左 (RTL)',langCode:'語言代碼',longDescr:'詳細 URL',cssClass:'樣式表類別',advisoryTitle:'標題',cssStyle:'樣式',ok:'確定',cancel:'取消',close:'Close',preview:'Preview',generalTab:'一般',advancedTab:'進階',validateNumberFailed:'需要輸入數字格式',confirmNewPage:'現存的修改尚未儲存,要開新檔案?',confirmCancel:'部份選項尚未儲存,要關閉對話盒?',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'寬度',height:'高度',align:'對齊',alignLeft:'靠左對齊',alignRight:'靠右對齊',alignCenter:'置中',alignTop:'靠上對齊',alignMiddle:'置中對齊',alignBottom:'靠下對齊',invalidHeight:'高度必須為數字格式',invalidWidth:'寬度必須為數字格式',invalidCssLength:'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).',invalidHtmlLength:'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).',unavailable:'%1<span class="cke_accessibility">, 已關閉</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'插入特殊符號',title:'請選擇特殊符號',options:'Special Character Options'},link:{toolbar:'插入/編輯超連結',other:'<其他>',menu:'編輯超連結',title:'超連結',info:'超連結資訊',target:'目標',upload:'上傳',advanced:'進階',type:'超連接類型',toUrl:'URL',toAnchor:'本頁錨點',toEmail:'電子郵件',targetFrame:'<框架>',targetPopup:'<快顯視窗>',targetFrameName:'目標框架名稱',targetPopupName:'快顯視窗名稱',popupFeatures:'快顯視窗屬性',popupResizable:'可縮放',popupStatusBar:'狀態列',popupLocationBar:'網址列',popupToolbar:'工具列',popupMenuBar:'選單列',popupFullScreen:'全螢幕 (IE)',popupScrollBars:'捲軸',popupDependent:'從屬 (NS)',popupLeft:'左',popupTop:'右',id:'ID',langDir:'語言方向',langDirLTR:'由左而右 (LTR)',langDirRTL:'由右而左 (RTL)',acccessKey:'存取鍵',name:'名稱',langCode:'語言方向',tabIndex:'定位順序',advisoryTitle:'標題',advisoryContentType:'內容類型',cssClasses:'樣式表類別',charset:'連結資源之編碼',styles:'樣式',rel:'Relationship',selectAnchor:'請選擇錨點',anchorName:'依錨點名稱',anchorId:'依元件 ID',emailAddress:'電子郵件',emailSubject:'郵件主旨',emailBody:'郵件內容',noAnchors:'(本文件尚無可用之錨點)',noUrl:'請輸入欲連結的 URL',noEmail:'請輸入電子郵件位址'},anchor:{toolbar:'插入/編輯錨點',menu:'錨點屬性',title:'錨點屬性',name:'錨點名稱',errorName:'請輸入錨點名稱',remove:'Remove Anchor'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'尋找與取代',find:'尋找',replace:'取代',findWhat:'尋找:',replaceWith:'取代:',notFoundMsg:'未找到指定的文字。',matchCase:'大小寫須相符',matchWord:'全字相符',matchCyclic:'循環搜索',replaceAll:'全部取代',replaceSuccessMsg:'共完成 %1 次取代'},table:{toolbar:'表格',title:'表格屬性',menu:'表格屬性',deleteTable:'刪除表格',rows:'列數',columns:'欄數',border:'邊框',widthPx:'像素',widthPc:'百分比',widthUnit:'width unit',cellSpace:'間距',cellPad:'內距',caption:'標題',summary:'摘要',headers:'標題',headersNone:'無標題',headersColumn:'第一欄',headersRow:'第一列',headersBoth:'第一欄和第一列',invalidRows:'必須有一或更多的列',invalidCols:'必須有一或更多的欄',invalidBorder:'邊框大小必須為數字格式',invalidWidth:'表格寬度必須為數字格式',invalidHeight:'表格高度必須為數字格式',invalidCellSpacing:'儲存格間距必須為數字格式',invalidCellPadding:'儲存格內距必須為數字格式',cell:{menu:'儲存格',insertBefore:'向左插入儲存格',insertAfter:'向右插入儲存格',deleteCell:'刪除儲存格',merge:'合併儲存格',mergeRight:'向右合併儲存格',mergeDown:'向下合併儲存格',splitHorizontal:'橫向分割儲存格',splitVertical:'縱向分割儲存格',title:'儲存格屬性',cellType:'儲存格類別',rowSpan:'儲存格列數',colSpan:'儲存格欄數',wordWrap:'自動換行',hAlign:'水平對齊',vAlign:'垂直對齊',alignBaseline:'基線對齊',bgColor:'背景顏色',borderColor:'邊框顏色',data:'數據',header:'標題',yes:'是',no:'否',invalidWidth:'儲存格寬度必須為數字格式',invalidHeight:'儲存格高度必須為數字格式',invalidRowSpan:'儲存格列數必須為整數格式',invalidColSpan:'儲存格欄數度必須為整數格式',chooseColor:'Choose'},row:{menu:'列',insertBefore:'向上插入列',insertAfter:'向下插入列',deleteRow:'刪除列'},column:{menu:'欄',insertBefore:'向左插入欄',insertAfter:'向右插入欄',deleteColumn:'刪除欄'}},button:{title:'按鈕屬性',text:'顯示文字 (值)',type:'類型',typeBtn:'按鈕 (Button)',typeSbm:'送出 (Submit)',typeRst:'重設 (Reset)'},checkboxAndRadio:{checkboxTitle:'核取方塊屬性',radioTitle:'選項按鈕屬性',value:'選取值',selected:'已選取'},form:{title:'表單屬性',menu:'表單屬性',action:'動作',method:'方法',encoding:'表單編碼'},select:{title:'清單/選單屬性',selectInfo:'資訊',opAvail:'可用選項',value:'值',size:'大小',lines:'行',chkMulti:'可多選',opText:'顯示文字',opValue:'選取值',btnAdd:'新增',btnModify:'修改',btnUp:'上移',btnDown:'下移',btnSetValue:'設為預設值',btnDelete:'刪除'},textarea:{title:'文字區域屬性',cols:'字元寬度',rows:'列數'},textfield:{title:'文字方塊屬性',name:'名稱',value:'值',charWidth:'字元寬度',maxChars:'最多字元數',type:'類型',typeText:'文字',typePass:'密碼'},hidden:{title:'隱藏欄位屬性',name:'名稱',value:'值'},image:{title:'影像屬性',titleButton:'影像按鈕屬性',menu:'影像屬性',infoTab:'影像資訊',btnUpload:'上傳至伺服器',upload:'上傳',alt:'替代文字',lockRatio:'等比例',resetSize:'重設為原大小',border:'邊框',hSpace:'水平距離',vSpace:'垂直距離',alertUrl:'請輸入影像 URL',linkTab:'超連結',button2Img:'要把影像按鈕改成影像嗎?',img2Button:'要把影像改成影像按鈕嗎?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Flash 屬性',propertiesTab:'屬性',title:'Flash 屬性',chkPlay:'自動播放',chkLoop:'重複',chkMenu:'開啟選單',chkFull:'啟動全螢幕顯示',scale:'縮放',scaleAll:'全部顯示',scaleNoBorder:'無邊框',scaleFit:'精確符合',access:'允許腳本訪問',accessAlways:'永遠',accessSameDomain:'相同域名',accessNever:'永不',alignAbsBottom:'絕對下方',alignAbsMiddle:'絕對中間',alignBaseline:'基準線',alignTextTop:'文字上方',quality:'質素',qualityBest:'最好',qualityHigh:'高',qualityAutoHigh:'高(自動)',qualityMedium:'中(自動)',qualityAutoLow:'低(自動)',qualityLow:'低',windowModeWindow:'視窗',windowModeOpaque:'不透明',windowModeTransparent:'透明',windowMode:'視窗模式',flashvars:'Flash 變數',bgcolor:'背景顏色',hSpace:'水平距離',vSpace:'垂直距離',validateSrc:'請輸入欲連結的 URL',validateHSpace:'水平間距必須為數字格式',validateVSpace:'垂直間距必須為數字格式'},spellCheck:{toolbar:'拼字檢查',title:'拼字檢查',notAvailable:'抱歉,服務目前暫不可用',errorLoading:'無法聯系侍服器: %s.',notInDic:'不在字典中',changeTo:'更改為',btnIgnore:'忽略',btnIgnoreAll:'全部忽略',btnReplace:'取代',btnReplaceAll:'全部取代',btnUndo:'復原',noSuggestions:'- 無建議值 -',progress:'進行拼字檢查中…',noMispell:'拼字檢查完成:未發現拼字錯誤',noChanges:'拼字檢查完成:未更改任何單字',oneChange:'拼字檢查完成:更改了 1 個單字',manyChanges:'拼字檢查完成:更改了 %1 個單字',ieSpellDownload:'尚未安裝拼字檢查元件。您是否想要現在下載?'},smiley:{toolbar:'表情符號',title:'插入表情符號',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 元素'},numberedlist:'編號清單',bulletedlist:'項目清單',indent:'增加縮排',outdent:'減少縮排',justify:{left:'靠左對齊',center:'置中',right:'靠右對齊',block:'左右對齊'},blockquote:'引用文字',clipboard:{title:'貼上',cutError:'瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl/Cmd+X) 剪下。',copyError:'瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl/Cmd+C) 複製。',pasteMsg:'請使用快捷鍵 (<strong>Ctrl/Cmd+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>',securityMsg:'因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?',toolbar:'自 Word 貼上',title:'自 Word 貼上',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'貼為純文字格式',title:'貼為純文字格式'},templates:{button:'樣版',title:'內容樣版',options:'Template Options',insertOption:'取代原有內容',selectPromptMsg:'請選擇欲開啟的樣版<br> (原有的內容將會被清除):',emptyListMsg:'(無樣版)'},showBlocks:'顯示區塊',stylesCombo:{label:'樣式',panelTitle:'Formatting Styles',panelTitle1:'塊級元素樣式',panelTitle2:'內聯元素樣式',panelTitle3:'物件元素樣式'},format:{label:'格式',panelTitle:'格式',tag_p:'一般',tag_pre:'已格式化',tag_address:'位址',tag_h1:'標題 1',tag_h2:'標題 2',tag_h3:'標題 3',tag_h4:'標題 4',tag_h5:'標題 5',tag_h6:'標題 6',tag_div:'一般 (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'字體',voiceLabel:'字體',panelTitle:'字體'},fontSize:{label:'大小',voiceLabel:'文字大小',panelTitle:'大小'},colorButton:{textColorTitle:'文字顏色',bgColorTitle:'背景顏色',panelTitle:'Colors',auto:'自動',more:'更多顏色…'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'即時拼寫檢查',opera_title:'Not supported by Opera',enable:'啟用即時拼寫檢查',disable:'關閉即時拼寫檢查',about:'關於即時拼寫檢查',toggle:'啟用/關閉即時拼寫檢查',options:'選項',langs:'語言',moreSuggestions:'更多拼寫建議',ignore:'忽略',ignoreAll:'全部忽略',addWord:'添加單詞',emptyDic:'字典名不應為空.',optionsTab:'選項',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'語言',dictionariesTab:'字典',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',dic_info:'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.',aboutTab:'關於'},about:{title:'關於 CKEditor',dlgTitle:'關於 CKEditor',help:'Check $1 for help.',userGuide:"CKEditor User's Guide",moreInfo:'訪問我們的網站以獲取更多關於協議的信息',copy:'Copyright &copy; $1. All rights reserved.'},maximize:'最大化',minimize:'Minimize',fakeobjects:{anchor:'錨點',flash:'Flash 動畫',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'不明物件'},resize:'拖拽改變大小',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',toolbarGroups:{document:'Document',clipboard:'Clipboard/Undo',editing:'Editing',forms:'Forms',basicstyles:'Basic Styles',paragraph:'Paragraph',links:'Links',insert:'Insert',styles:'Styles',colors:'Colors',tools:'Tools'},bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'},docprops:{label:'文件屬性',title:'文件屬性',design:'Design',meta:'Meta 資料',chooseColor:'Choose',other:'<其他>',docTitle:'頁面標題',charset:'字元編碼',charsetOther:'其他字元編碼',charsetASCII:'ASCII',charsetCE:'中歐語系',charsetCT:'正體中文 (Big5)',charsetCR:'斯拉夫文',charsetGR:'希臘文',charsetJP:'日文',charsetKR:'韓文',charsetTR:'土耳其文',charsetUN:'Unicode (UTF-8)',charsetWE:'西歐語系',docType:'文件類型',docTypeOther:'其他文件類型',xhtmlDec:'包含 XHTML 定義',bgColor:'背景顏色',bgImage:'背景影像',bgFixed:'浮水印',txtColor:'文字顏色',margin:'頁面邊界',marginTop:'上',marginLeft:'左',marginRight:'右',marginBottom:'下',metaKeywords:'文件索引關鍵字 (用半形逗號[,]分隔)',metaDescription:'文件說明',metaAuthor:'作者',metaCopyright:'版權所有',previewHtml:'<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>'}};
6
+ CKEDITOR.lang.zh={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbars:'Editor toolbars',editor:'Rich Text Editor',source:'原始碼',newPage:'開新檔案',save:'儲存',preview:'預覽',cut:'剪下',copy:'複製',paste:'貼上',print:'列印',underline:'底線',bold:'粗體',italic:'斜體',selectAll:'全選',removeFormat:'清除格式',strike:'刪除線',subscript:'下標',superscript:'上標',horizontalrule:'插入水平線',pagebreak:'插入分頁符號',pagebreakAlt:'Page Break',unlink:'移除超連結',undo:'復原',redo:'重複',common:{browseServer:'瀏覽伺服器端',url:'URL',protocol:'通訊協定',upload:'上傳',uploadSubmit:'上傳至伺服器',image:'影像',flash:'Flash',form:'表單',checkbox:'核取方塊',radio:'選項按鈕',textField:'文字方塊',textarea:'文字區域',hiddenField:'隱藏欄位',button:'按鈕',select:'清單/選單',imageButton:'影像按鈕',notSet:'<尚未設定>',id:'ID',name:'名稱',langDir:'語言方向',langDirLtr:'由左而右 (LTR)',langDirRtl:'由右而左 (RTL)',langCode:'語言代碼',longDescr:'詳細 URL',cssClass:'樣式表類別',advisoryTitle:'標題',cssStyle:'樣式',ok:'確定',cancel:'取消',close:'Close',preview:'Preview',generalTab:'一般',advancedTab:'進階',validateNumberFailed:'需要輸入數字格式',confirmNewPage:'現存的修改尚未儲存,要開新檔案?',confirmCancel:'部份選項尚未儲存,要關閉對話盒?',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',langDirLTR:'Left to Right (LTR)',langDirRTL:'Right to Left (RTL)',styles:'Style',cssClasses:'Stylesheet Classes',width:'寬度',height:'高度',align:'對齊',alignLeft:'靠左對齊',alignRight:'靠右對齊',alignCenter:'置中',alignTop:'靠上對齊',alignMiddle:'置中對齊',alignBottom:'靠下對齊',invalidHeight:'高度必須為數字格式',invalidWidth:'寬度必須為數字格式',invalidCssLength:'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).',invalidHtmlLength:'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).',invalidInlineStyle:'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.',cssLengthTooltip:'Enter a number for a value in pixels or a number with a valid CSS unit (px, %, in, cm, mm, em, ex, pt, or pc).',unavailable:'%1<span class="cke_accessibility">, 已關閉</span>'},contextmenu:{options:'Context Menu Options'},specialChar:{toolbar:'插入特殊符號',title:'請選擇特殊符號',options:'Special Character Options'},link:{toolbar:'插入/編輯超連結',other:'<其他>',menu:'編輯超連結',title:'超連結',info:'超連結資訊',target:'目標',upload:'上傳',advanced:'進階',type:'超連接類型',toUrl:'URL',toAnchor:'本頁錨點',toEmail:'電子郵件',targetFrame:'<框架>',targetPopup:'<快顯視窗>',targetFrameName:'目標框架名稱',targetPopupName:'快顯視窗名稱',popupFeatures:'快顯視窗屬性',popupResizable:'可縮放',popupStatusBar:'狀態列',popupLocationBar:'網址列',popupToolbar:'工具列',popupMenuBar:'選單列',popupFullScreen:'全螢幕 (IE)',popupScrollBars:'捲軸',popupDependent:'從屬 (NS)',popupLeft:'左',popupTop:'右',id:'ID',langDir:'語言方向',langDirLTR:'由左而右 (LTR)',langDirRTL:'由右而左 (RTL)',acccessKey:'存取鍵',name:'名稱',langCode:'語言方向',tabIndex:'定位順序',advisoryTitle:'標題',advisoryContentType:'內容類型',cssClasses:'樣式表類別',charset:'連結資源之編碼',styles:'樣式',rel:'Relationship',selectAnchor:'請選擇錨點',anchorName:'依錨點名稱',anchorId:'依元件 ID',emailAddress:'電子郵件',emailSubject:'郵件主旨',emailBody:'郵件內容',noAnchors:'(本文件尚無可用之錨點)',noUrl:'請輸入欲連結的 URL',noEmail:'請輸入電子郵件位址'},anchor:{toolbar:'插入/編輯錨點',menu:'錨點屬性',title:'錨點屬性',name:'錨點名稱',errorName:'請輸入錨點名稱',remove:'Remove Anchor'},list:{numberedTitle:'Numbered List Properties',bulletedTitle:'Bulleted List Properties',type:'Type',start:'Start',validateStartNumber:'List start number must be a whole number.',circle:'Circle',disc:'Disc',square:'Square',none:'None',notset:'<not set>',armenian:'Armenian numbering',georgian:'Georgian numbering (an, ban, gan, etc.)',lowerRoman:'Lower Roman (i, ii, iii, iv, v, etc.)',upperRoman:'Upper Roman (I, II, III, IV, V, etc.)',lowerAlpha:'Lower Alpha (a, b, c, d, e, etc.)',upperAlpha:'Upper Alpha (A, B, C, D, E, etc.)',lowerGreek:'Lower Greek (alpha, beta, gamma, etc.)',decimal:'Decimal (1, 2, 3, etc.)',decimalLeadingZero:'Decimal leading zero (01, 02, 03, etc.)'},findAndReplace:{title:'尋找與取代',find:'尋找',replace:'取代',findWhat:'尋找:',replaceWith:'取代:',notFoundMsg:'未找到指定的文字。',findOptions:'Find Options',matchCase:'大小寫須相符',matchWord:'全字相符',matchCyclic:'循環搜索',replaceAll:'全部取代',replaceSuccessMsg:'共完成 %1 次取代'},table:{toolbar:'表格',title:'表格屬性',menu:'表格屬性',deleteTable:'刪除表格',rows:'列數',columns:'欄數',border:'邊框',widthPx:'像素',widthPc:'百分比',widthUnit:'width unit',cellSpace:'間距',cellPad:'內距',caption:'標題',summary:'摘要',headers:'標題',headersNone:'無標題',headersColumn:'第一欄',headersRow:'第一列',headersBoth:'第一欄和第一列',invalidRows:'必須有一或更多的列',invalidCols:'必須有一或更多的欄',invalidBorder:'邊框大小必須為數字格式',invalidWidth:'表格寬度必須為數字格式',invalidHeight:'表格高度必須為數字格式',invalidCellSpacing:'儲存格間距必須為數字格式',invalidCellPadding:'儲存格內距必須為數字格式',cell:{menu:'儲存格',insertBefore:'向左插入儲存格',insertAfter:'向右插入儲存格',deleteCell:'刪除儲存格',merge:'合併儲存格',mergeRight:'向右合併儲存格',mergeDown:'向下合併儲存格',splitHorizontal:'橫向分割儲存格',splitVertical:'縱向分割儲存格',title:'儲存格屬性',cellType:'儲存格類別',rowSpan:'儲存格列數',colSpan:'儲存格欄數',wordWrap:'自動換行',hAlign:'水平對齊',vAlign:'垂直對齊',alignBaseline:'基線對齊',bgColor:'背景顏色',borderColor:'邊框顏色',data:'數據',header:'標題',yes:'是',no:'否',invalidWidth:'儲存格寬度必須為數字格式',invalidHeight:'儲存格高度必須為數字格式',invalidRowSpan:'儲存格列數必須為整數格式',invalidColSpan:'儲存格欄數度必須為整數格式',chooseColor:'Choose'},row:{menu:'列',insertBefore:'向上插入列',insertAfter:'向下插入列',deleteRow:'刪除列'},column:{menu:'欄',insertBefore:'向左插入欄',insertAfter:'向右插入欄',deleteColumn:'刪除欄'}},button:{title:'按鈕屬性',text:'顯示文字 (值)',type:'類型',typeBtn:'按鈕 (Button)',typeSbm:'送出 (Submit)',typeRst:'重設 (Reset)'},checkboxAndRadio:{checkboxTitle:'核取方塊屬性',radioTitle:'選項按鈕屬性',value:'選取值',selected:'已選取'},form:{title:'表單屬性',menu:'表單屬性',action:'動作',method:'方法',encoding:'表單編碼'},select:{title:'清單/選單屬性',selectInfo:'資訊',opAvail:'可用選項',value:'值',size:'大小',lines:'行',chkMulti:'可多選',opText:'顯示文字',opValue:'選取值',btnAdd:'新增',btnModify:'修改',btnUp:'上移',btnDown:'下移',btnSetValue:'設為預設值',btnDelete:'刪除'},textarea:{title:'文字區域屬性',cols:'字元寬度',rows:'列數'},textfield:{title:'文字方塊屬性',name:'名稱',value:'值',charWidth:'字元寬度',maxChars:'最多字元數',type:'類型',typeText:'文字',typePass:'密碼'},hidden:{title:'隱藏欄位屬性',name:'名稱',value:'值'},image:{title:'影像屬性',titleButton:'影像按鈕屬性',menu:'影像屬性',infoTab:'影像資訊',btnUpload:'上傳至伺服器',upload:'上傳',alt:'替代文字',lockRatio:'等比例',resetSize:'重設為原大小',border:'邊框',hSpace:'水平距離',vSpace:'垂直距離',alertUrl:'請輸入影像 URL',linkTab:'超連結',button2Img:'要把影像按鈕改成影像嗎?',img2Button:'要把影像改成影像按鈕嗎?',urlMissing:'Image source URL is missing.',validateBorder:'Border must be a whole number.',validateHSpace:'HSpace must be a whole number.',validateVSpace:'VSpace must be a whole number.'},flash:{properties:'Flash 屬性',propertiesTab:'屬性',title:'Flash 屬性',chkPlay:'自動播放',chkLoop:'重複',chkMenu:'開啟選單',chkFull:'啟動全螢幕顯示',scale:'縮放',scaleAll:'全部顯示',scaleNoBorder:'無邊框',scaleFit:'精確符合',access:'允許腳本訪問',accessAlways:'永遠',accessSameDomain:'相同域名',accessNever:'永不',alignAbsBottom:'絕對下方',alignAbsMiddle:'絕對中間',alignBaseline:'基準線',alignTextTop:'文字上方',quality:'質素',qualityBest:'最好',qualityHigh:'高',qualityAutoHigh:'高(自動)',qualityMedium:'中(自動)',qualityAutoLow:'低(自動)',qualityLow:'低',windowModeWindow:'視窗',windowModeOpaque:'不透明',windowModeTransparent:'透明',windowMode:'視窗模式',flashvars:'Flash 變數',bgcolor:'背景顏色',hSpace:'水平距離',vSpace:'垂直距離',validateSrc:'請輸入欲連結的 URL',validateHSpace:'水平間距必須為數字格式',validateVSpace:'垂直間距必須為數字格式'},spellCheck:{toolbar:'拼字檢查',title:'拼字檢查',notAvailable:'抱歉,服務目前暫不可用',errorLoading:'無法聯系侍服器: %s.',notInDic:'不在字典中',changeTo:'更改為',btnIgnore:'忽略',btnIgnoreAll:'全部忽略',btnReplace:'取代',btnReplaceAll:'全部取代',btnUndo:'復原',noSuggestions:'- 無建議值 -',progress:'進行拼字檢查中…',noMispell:'拼字檢查完成:未發現拼字錯誤',noChanges:'拼字檢查完成:未更改任何單字',oneChange:'拼字檢查完成:更改了 1 個單字',manyChanges:'拼字檢查完成:更改了 %1 個單字',ieSpellDownload:'尚未安裝拼字檢查元件。您是否想要現在下載?'},smiley:{toolbar:'表情符號',title:'插入表情符號',options:'Smiley Options'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 元素'},numberedlist:'編號清單',bulletedlist:'項目清單',indent:'增加縮排',outdent:'減少縮排',justify:{left:'靠左對齊',center:'置中',right:'靠右對齊',block:'左右對齊'},blockquote:'引用文字',clipboard:{title:'貼上',cutError:'瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl/Cmd+X) 剪下。',copyError:'瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl/Cmd+C) 複製。',pasteMsg:'請使用快捷鍵 (<strong>Ctrl/Cmd+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>',securityMsg:'因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?',toolbar:'自 Word 貼上',title:'自 Word 貼上',error:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'貼為純文字格式',title:'貼為純文字格式'},templates:{button:'樣版',title:'內容樣版',options:'Template Options',insertOption:'取代原有內容',selectPromptMsg:'請選擇欲開啟的樣版<br> (原有的內容將會被清除):',emptyListMsg:'(無樣版)'},showBlocks:'顯示區塊',stylesCombo:{label:'樣式',panelTitle:'Formatting Styles',panelTitle1:'塊級元素樣式',panelTitle2:'內聯元素樣式',panelTitle3:'物件元素樣式'},format:{label:'格式',panelTitle:'格式',tag_p:'一般',tag_pre:'已格式化',tag_address:'位址',tag_h1:'標題 1',tag_h2:'標題 2',tag_h3:'標題 3',tag_h4:'標題 4',tag_h5:'標題 5',tag_h6:'標題 6',tag_div:'一般 (DIV)'},div:{title:'Create Div Container',toolbar:'Create Div Container',cssClassInputLabel:'Stylesheet Classes',styleSelectLabel:'Style',IdInputLabel:'Id',languageCodeInputLabel:' Language Code',inlineStyleInputLabel:'Inline Style',advisoryTitleInputLabel:'Advisory Title',langDirLabel:'Language Direction',langDirLTRLabel:'Left to Right (LTR)',langDirRTLLabel:'Right to Left (RTL)',edit:'Edit Div',remove:'Remove Div'},iframe:{title:'IFrame Properties',toolbar:'IFrame',noUrl:'Please type the iframe URL',scrolling:'Enable scrollbars',border:'Show frame border'},font:{label:'字體',voiceLabel:'字體',panelTitle:'字體'},fontSize:{label:'大小',voiceLabel:'文字大小',panelTitle:'大小'},colorButton:{textColorTitle:'文字顏色',bgColorTitle:'背景顏色',panelTitle:'Colors',auto:'自動',more:'更多顏色…'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dark Gray',B22222:'Fire Brick',A52A2A:'Brown',DAA520:'Golden Rod','006400':'Dark Green','40E0D0':'Turquoise','0000CD':'Medium Blue',800080:'Purple',808080:'Gray',F00:'Red',FF8C00:'Dark Orange',FFD700:'Gold','008000':'Green','0FF':'Cyan','00F':'Blue',EE82EE:'Violet',A9A9A9:'Dim Gray',FFA07A:'Light Salmon',FFA500:'Orange',FFFF00:'Yellow','00FF00':'Lime',AFEEEE:'Pale Turquoise',ADD8E6:'Light Blue',DDA0DD:'Plum',D3D3D3:'Light Grey',FFF0F5:'Lavender Blush',FAEBD7:'Antique White',FFFFE0:'Light Yellow',F0FFF0:'Honeydew',F0FFFF:'Azure',F0F8FF:'Alice Blue',E6E6FA:'Lavender',FFF:'White'},scayt:{title:'即時拼寫檢查',opera_title:'Not supported by Opera',enable:'啟用即時拼寫檢查',disable:'關閉即時拼寫檢查',about:'關於即時拼寫檢查',toggle:'啟用/關閉即時拼寫檢查',options:'選項',langs:'語言',moreSuggestions:'更多拼寫建議',ignore:'忽略',ignoreAll:'全部忽略',addWord:'添加單詞',emptyDic:'字典名不應為空.',optionsTab:'選項',allCaps:'Ignore All-Caps Words',ignoreDomainNames:'Ignore Domain Names',mixedCase:'Ignore Words with Mixed Case',mixedWithDigits:'Ignore Words with Numbers',languagesTab:'語言',dictionariesTab:'字典',dic_field_name:'Dictionary name',dic_create:'Create',dic_restore:'Restore',dic_delete:'Delete',dic_rename:'Rename',dic_info:'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.',aboutTab:'關於'},about:{title:'關於 CKEditor',dlgTitle:'關於 CKEditor',help:'Check $1 for help.',userGuide:"CKEditor User's Guide",moreInfo:'訪問我們的網站以獲取更多關於協議的信息',copy:'Copyright &copy; $1. All rights reserved.'},maximize:'最大化',minimize:'Minimize',fakeobjects:{anchor:'錨點',flash:'Flash 動畫',iframe:'IFrame',hiddenfield:'Hidden Field',unknown:'不明物件'},resize:'拖拽改變大小',colordialog:{title:'Select color',options:'Color Options',highlight:'Highlight',selected:'Selected Color',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar',toolbarGroups:{document:'Document',clipboard:'Clipboard/Undo',editing:'Editing',forms:'Forms',basicstyles:'Basic Styles',paragraph:'Paragraph',links:'Links',insert:'Insert',styles:'Styles',colors:'Colors',tools:'Tools'},bidi:{ltr:'Text direction from left to right',rtl:'Text direction from right to left'},docprops:{label:'文件屬性',title:'文件屬性',design:'Design',meta:'Meta 資料',chooseColor:'Choose',other:'<其他>',docTitle:'頁面標題',charset:'字元編碼',charsetOther:'其他字元編碼',charsetASCII:'ASCII',charsetCE:'中歐語系',charsetCT:'正體中文 (Big5)',charsetCR:'斯拉夫文',charsetGR:'希臘文',charsetJP:'日文',charsetKR:'韓文',charsetTR:'土耳其文',charsetUN:'Unicode (UTF-8)',charsetWE:'西歐語系',docType:'文件類型',docTypeOther:'其他文件類型',xhtmlDec:'包含 XHTML 定義',bgColor:'背景顏色',bgImage:'背景影像',bgFixed:'浮水印',txtColor:'文字顏色',margin:'頁面邊界',marginTop:'上',marginLeft:'左',marginRight:'右',marginBottom:'下',metaKeywords:'文件索引關鍵字 (用半形逗號[,]分隔)',metaDescription:'文件說明',metaAuthor:'作者',metaCopyright:'版權所有',previewHtml:'<p>This is some <strong>sample text</strong>. You are using <a href="javascript:void(0)">CKEditor</a>.</p>'}};
@@ -3,4 +3,4 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
6
- (function(){var a=function(b){if(!b.window)return;var c=b.document,d=b.window.getViewPaneSize().height,e;if(CKEDITOR.env.ie||CKEDITOR.env.gecko)e=c.getBody().$.scrollHeight+(CKEDITOR.env.ie&&CKEDITOR.env.quirks?0:24);else e=c.getDocumentElement().$.offsetHeight;var f=b.config.autoGrow_minHeight,g=b.config.autoGrow_maxHeight;f==undefined&&(b.config.autoGrow_minHeight=f=200);if(f)e=Math.max(e,f);if(g)e=Math.min(e,g);if(e!=d){e=b.fire('autoGrow',{currentHeight:d,newHeight:e}).newHeight;b.resize(b.container.getStyle('width'),e,true);}};CKEDITOR.plugins.add('autogrow',{init:function(b){for(var c in {contentDom:1,key:1,selectionChange:1,insertElement:1})b.on(c,function(d){var e=b.getCommand('maximize');if(d.editor.mode=='wysiwyg'&&(!e||e.state!=CKEDITOR.TRISTATE_ON))setTimeout(function(){a(d.editor);},100);});}});})();
6
+ (function(){function a(c){var d=c.getStyle('overflow-y'),e=c.getDocument(),f=CKEDITOR.dom.element.createFromHtml('<span style="margin:0;padding:0;border:0;clear:both;width:1px;height:1px;display:block;">'+(CKEDITOR.env.webkit?'&nbsp;':'')+'</span>',e);e[CKEDITOR.env.ie?'getBody':'getDocumentElement']().append(f);var g=f.getDocumentPosition(e).y+f.$.offsetHeight;f.remove();c.setStyle('overflow-y',d);return g;};var b=function(c){if(!c.window)return;var d=c.document,e=new CKEDITOR.dom.element(d.getWindow().$.frameElement),f=d.getBody(),g=d.getDocumentElement(),h=c.window.getViewPaneSize().height,i=d.$.compatMode=='BackCompat'?f:g,j=a(i);j+=c.config.autoGrow_bottomSpace||0;var k=c.config.autoGrow_minHeight!=undefined?c.config.autoGrow_minHeight:200,l=c.config.autoGrow_maxHeight||Infinity;j=Math.max(j,k);j=Math.min(j,l);if(j!=h){j=c.fire('autoGrow',{currentHeight:h,newHeight:j}).newHeight;c.resize(c.container.getStyle('width'),j,true);}if(i.$.scrollHeight>i.$.clientHeight&&j<l)i.setStyle('overflow-y','hidden');else i.removeStyle('overflow-y');};CKEDITOR.plugins.add('autogrow',{init:function(c){c.addCommand('autogrow',{exec:b,modes:{wysiwyg:1},readOnly:1,canUndo:false,editorFocus:false});var d={contentDom:1,key:1,selectionChange:1,insertElement:1};c.config.autoGrow_onStartup&&(d.instanceReady=1);for(var e in d)c.on(e,function(f){var g=c.getCommand('maximize');if(f.editor.mode=='wysiwyg'&&(!g||g.state!=CKEDITOR.TRISTATE_ON))setTimeout(function(){b(f.editor);b(f.editor);},100);});}});})();
@@ -6,5 +6,5 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
6
6
  CKEDITOR.dialog.add('docProps',function(a){var b=a.lang.docprops,c=a.lang.common,d={};function e(n,o){var p=function(){q(this);o(this,this._.parentDialog);},q=function(s){s.removeListener('ok',p);s.removeListener('cancel',q);},r=function(s){s.on('ok',p);s.on('cancel',q);};a.execCommand(n);if(a._.storedDialogs.colordialog)r(a._.storedDialogs.colordialog);else CKEDITOR.on('dialogDefinition',function(s){if(s.data.name!=n)return;var t=s.data.definition;s.removeListener();t.onLoad=CKEDITOR.tools.override(t.onLoad,function(u){return function(){r(this);t.onLoad=u;if(typeof u=='function')u.call(this);};});});};function f(){var n=this.getDialog(),o=n.getContentElement('general',this.id+'Other');if(!o)return;if(this.getValue()=='other'){o.getInputElement().removeAttribute('readOnly');o.focus();o.getElement().removeClass('cke_disabled');}else{o.getInputElement().setAttribute('readOnly',true);o.getElement().addClass('cke_disabled');}};function g(n,o,p){return function(q,r,s){var t=d,u=typeof p!='undefined'?p:this.getValue();if(!u&&n in t)t[n].remove();else if(u&&n in t)t[n].setAttribute('content',u);else if(u){var v=new CKEDITOR.dom.element('meta',a.document);v.setAttribute(o?'http-equiv':'name',n);v.setAttribute('content',u);s.append(v);}};};function h(n,o){return function(){var p=d,q=n in p?p[n].getAttribute('content')||'':'';if(o)return q;this.setValue(q);return null;};};function i(n){return function(o,p,q,r){r.removeAttribute('margin'+n);var s=this.getValue();if(s!=='')r.setStyle('margin-'+n,CKEDITOR.tools.cssLength(s));else r.removeStyle('margin-'+n);};};function j(n){var o={},p=n.getElementsByTag('meta'),q=p.count();for(var r=0;r<q;r++){var s=p.getItem(r);o[s.getAttribute(s.hasAttribute('http-equiv')?'http-equiv':'name').toLowerCase()]=s;}return o;};function k(n,o,p){n.removeStyle(o);if(n.getComputedStyle(o)!=p)n.setStyle(o,p);};var l=function(n,o,p){return{type:'hbox',padding:0,widths:['60%','40%'],children:[CKEDITOR.tools.extend({type:'text',id:n,label:b[o]},p||{},1),{type:'button',id:n+'Choose',label:b.chooseColor,className:'colorChooser',onClick:function(){var q=this;e('colordialog',function(r){var s=q.getDialog();s.getContentElement(s._.currentTabId,n).setValue(r.getContentElement('picker','selectedColor').getValue());});}}]};},m='javascript:void((function(){'+encodeURIComponent('document.open();'+(CKEDITOR.env.isCustomDomain()?"document.domain='"+document.domain+"';":'')+'document.write( \'<html style="background-color: #ffffff; height: 100%"><head></head><body style="width: 100%; height: 100%; margin: 0px">'+b.previewHtml+"</body></html>' );"+'document.close();')+'})())';
7
7
  return{title:b.title,minHeight:330,minWidth:500,onShow:function(){var n=a.document,o=n.getElementsByTag('html').getItem(0),p=n.getHead(),q=n.getBody();d=j(n);this.setupContent(n,o,p,q);},onHide:function(){d={};},onOk:function(){var n=a.document,o=n.getElementsByTag('html').getItem(0),p=n.getHead(),q=n.getBody();this.commitContent(n,o,p,q);},contents:[{id:'general',label:c.generalTab,elements:[{type:'text',id:'title',label:b.docTitle,setup:function(n){this.setValue(n.getElementsByTag('title').getItem(0).data('cke-title'));},commit:function(n,o,p,q,r){if(r)return;n.getElementsByTag('title').getItem(0).data('cke-title',this.getValue());}},{type:'hbox',children:[{type:'select',id:'dir',label:c.langDir,style:'width: 100%',items:[[c.notSet,''],[c.langDirLtr,'ltr'],[c.langDirRtl,'rtl']],setup:function(n,o,p,q){this.setValue(q.getDirection()||'');},commit:function(n,o,p,q){var r=this.getValue();if(r)q.setAttribute('dir',r);else q.removeAttribute('dir');q.removeStyle('direction');}},{type:'text',id:'langCode',label:c.langCode,setup:function(n,o){this.setValue(o.getAttribute('xml:lang')||o.getAttribute('lang')||'');},commit:function(n,o,p,q,r){if(r)return;var s=this.getValue();if(s)o.setAttributes({'xml:lang':s,lang:s});else o.removeAttributes({'xml:lang':1,lang:1});}}]},{type:'hbox',children:[{type:'select',id:'charset',label:b.charset,style:'width: 100%',items:[[c.notSet,''],[b.charsetASCII,'us-ascii'],[b.charsetCE,'iso-8859-2'],[b.charsetCT,'big5'],[b.charsetCR,'iso-8859-5'],[b.charsetGR,'iso-8859-7'],[b.charsetJP,'iso-2022-jp'],[b.charsetKR,'iso-2022-kr'],[b.charsetTR,'iso-8859-9'],[b.charsetUN,'utf-8'],[b.charsetWE,'iso-8859-1'],[b.other,'other']],'default':'',onChange:function(){var n=this;n.getDialog().selectedCharset=n.getValue()!='other'?n.getValue():'';f.call(n);},setup:function(){var q=this;q.metaCharset='charset' in d;var n=h(q.metaCharset?'charset':'content-type',1,1),o=n.call(q);!q.metaCharset&&o.match(/charset=[^=]+$/)&&(o=o.substring(o.indexOf('=')+1));if(o){q.setValue(o.toLowerCase());if(!q.getValue()){q.setValue('other');var p=q.getDialog().getContentElement('general','charsetOther');p&&p.setValue(o);}q.getDialog().selectedCharset=o;}f.call(q);},commit:function(n,o,p,q,r){var v=this;if(r)return;var s=v.getValue(),t=v.getDialog().getContentElement('general','charsetOther');s=='other'&&(s=t?t.getValue():'');s&&!v.metaCharset&&(s=(d['content-type']?d['content-type'].getAttribute('content').split(';')[0]:'text/html')+'; charset='+s);var u=g(v.metaCharset?'charset':'content-type',1,s);
8
8
  u.call(v,n,o,p);}},{type:'text',id:'charsetOther',label:b.charsetOther,onChange:function(){this.getDialog().selectedCharset=this.getValue();}}]},{type:'hbox',children:[{type:'select',id:'docType',label:b.docType,style:'width: 100%',items:[[c.notSet,''],['XHTML 1.1','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'],['XHTML 1.0 Transitional','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'],['XHTML 1.0 Strict','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'],['XHTML 1.0 Frameset','<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'],['HTML 5','<!DOCTYPE html>'],['HTML 4.01 Transitional','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'],['HTML 4.01 Strict','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'],['HTML 4.01 Frameset','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'],['HTML 3.2','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'],['HTML 2.0','<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'],[b.other,'other']],onChange:f,setup:function(){var o=this;if(a.docType){o.setValue(a.docType);if(!o.getValue()){o.setValue('other');var n=o.getDialog().getContentElement('general','docTypeOther');n&&n.setValue(a.docType);}}f.call(o);},commit:function(n,o,p,q,r){if(r)return;var s=this.getValue(),t=this.getDialog().getContentElement('general','docTypeOther');a.docType=s=='other'?t?t.getValue():'':s;}},{type:'text',id:'docTypeOther',label:b.docTypeOther}]},{type:'checkbox',id:'xhtmlDec',label:b.xhtmlDec,setup:function(){this.setValue(!!a.xmlDeclaration);},commit:function(n,o,p,q,r){if(r)return;if(this.getValue()){a.xmlDeclaration='<?xml version="1.0" encoding="'+(this.getDialog().selectedCharset||'utf-8')+'"?>';o.setAttribute('xmlns','http://www.w3.org/1999/xhtml');}else{a.xmlDeclaration='';o.removeAttribute('xmlns');}}}]},{id:'design',label:b.design,elements:[{type:'hbox',widths:['60%','40%'],children:[{type:'vbox',children:[l('txtColor','txtColor',{setup:function(n,o,p,q){this.setValue(q.getComputedStyle('color'));},commit:function(n,o,p,q,r){if(this.isChanged()||r){q.removeAttribute('text');var s=this.getValue();if(s)q.setStyle('color',s);else q.removeStyle('color');}}}),l('bgColor','bgColor',{setup:function(n,o,p,q){var r=q.getComputedStyle('background-color')||'';
9
- this.setValue(r=='transparent'?'':r);},commit:function(n,o,p,q,r){if(this.isChanged()||r){q.removeAttribute('bgcolor');var s=this.getValue();if(s)q.setStyle('background-color',s);else k(q,'background-color','transparent');}}}),{type:'hbox',widths:['60%','40%'],padding:1,children:[{type:'text',id:'bgImage',label:b.bgImage,setup:function(n,o,p,q){var r=q.getComputedStyle('background-image')||'';if(r=='none')r='';else r=r.replace(/url\(\s*(["']?)\s*([^\)]*)\s*\1\s*\)/i,function(s,t,u){return u;});this.setValue(r);},commit:function(n,o,p,q){q.removeAttribute('background');var r=this.getValue();if(r)q.setStyle('background-image','url('+r+')');else k(q,'background-image','none');}},{type:'button',id:'bgImageChoose',label:c.browseServer,style:'display:inline-block;margin-top:10px;',hidden:true,filebrowser:'design:bgImage'}]},{type:'checkbox',id:'bgFixed',label:b.bgFixed,setup:function(n,o,p,q){this.setValue(q.getComputedStyle('background-attachment')=='fixed');},commit:function(n,o,p,q){if(this.getValue())q.setStyle('background-attachment','fixed');else k(q,'background-attachment','scroll');}}]},{type:'vbox',children:[{type:'html',id:'marginTitle',html:'<div style="text-align: center; margin: 0px auto; font-weight: bold">'+b.margin+'</div>'},{type:'text',id:'marginTop',label:b.marginTop,style:'width: 80px; text-align: center; margin: 0px auto',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-top')||q.getAttribute('margintop')||'');},commit:i('top'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}},{type:'hbox',children:[{type:'text',id:'marginLeft',label:b.marginLeft,style:'width: 80px; text-align: center; margin: 0px auto',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-left')||q.getAttribute('marginleft')||'');},commit:i('left'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}},{type:'text',id:'marginRight',label:b.marginRight,style:'width: 80px; text-align: center; margin: 0px auto',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-right')||q.getAttribute('marginright')||'');},commit:i('right'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}}]},{type:'text',id:'marginBottom',label:b.marginBottom,style:'width: 80px; text-align: center; margin: 0px auto',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-bottom')||q.getAttribute('marginbottom')||'');
10
- },commit:i('bottom'),onLoad:function(){this.getElement().getParent().setStyle('text-align','center');}}]}]}]},{id:'meta',label:b.meta,elements:[{type:'textarea',id:'metaKeywords',label:b.metaKeywords,setup:h('keywords'),commit:g('keywords')},{type:'textarea',id:'metaDescription',label:b.metaDescription,setup:h('description'),commit:g('description')},{type:'text',id:'metaAuthor',label:b.metaAuthor,setup:h('author'),commit:g('author')},{type:'text',id:'metaCopyright',label:b.metaCopyright,setup:h('copyright'),commit:g('copyright')}]},{id:'preview',label:c.preview,elements:[{type:'html',id:'previewHtml',html:'<iframe src="'+m+'" style="width: 100%; height: 310px" hidefocus="true" frameborder="0" '+'id="cke_docProps_preview_iframe"></iframe>',onLoad:function(){this.getDialog().on('selectPage',function(n){if(n.data.page=='preview'){var o=this;setTimeout(function(){var p=CKEDITOR.document.getById('cke_docProps_preview_iframe').getFrameDocument(),q=p.getElementsByTag('html').getItem(0),r=p.getHead(),s=p.getBody();o.commitContent(p,q,r,s,1);},50);}});CKEDITOR.document.getById('cke_docProps_preview_iframe').getAscendant('table').setStyle('height','100%');}}]}]};});
9
+ this.setValue(r=='transparent'?'':r);},commit:function(n,o,p,q,r){if(this.isChanged()||r){q.removeAttribute('bgcolor');var s=this.getValue();if(s)q.setStyle('background-color',s);else k(q,'background-color','transparent');}}}),{type:'hbox',widths:['60%','40%'],padding:1,children:[{type:'text',id:'bgImage',label:b.bgImage,setup:function(n,o,p,q){var r=q.getComputedStyle('background-image')||'';if(r=='none')r='';else r=r.replace(/url\(\s*(["']?)\s*([^\)]*)\s*\1\s*\)/i,function(s,t,u){return u;});this.setValue(r);},commit:function(n,o,p,q){q.removeAttribute('background');var r=this.getValue();if(r)q.setStyle('background-image','url('+r+')');else k(q,'background-image','none');}},{type:'button',id:'bgImageChoose',label:c.browseServer,style:'display:inline-block;margin-top:10px;',hidden:true,filebrowser:'design:bgImage'}]},{type:'checkbox',id:'bgFixed',label:b.bgFixed,setup:function(n,o,p,q){this.setValue(q.getComputedStyle('background-attachment')=='fixed');},commit:function(n,o,p,q){if(this.getValue())q.setStyle('background-attachment','fixed');else k(q,'background-attachment','scroll');}}]},{type:'vbox',children:[{type:'html',id:'marginTitle',html:'<div style="text-align: center; margin: 0px auto; font-weight: bold">'+b.margin+'</div>'},{type:'text',id:'marginTop',label:b.marginTop,style:'width: 80px; text-align: center',align:'center',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-top')||q.getAttribute('margintop')||'');},commit:i('top')},{type:'hbox',children:[{type:'text',id:'marginLeft',label:b.marginLeft,style:'width: 80px; text-align: center',align:'center',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-left')||q.getAttribute('marginleft')||'');},commit:i('left')},{type:'text',id:'marginRight',label:b.marginRight,style:'width: 80px; text-align: center',align:'center',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-right')||q.getAttribute('marginright')||'');},commit:i('right')}]},{type:'text',id:'marginBottom',label:b.marginBottom,style:'width: 80px; text-align: center',align:'center',inputStyle:'text-align: center',setup:function(n,o,p,q){this.setValue(q.getStyle('margin-bottom')||q.getAttribute('marginbottom')||'');},commit:i('bottom')}]}]}]},{id:'meta',label:b.meta,elements:[{type:'textarea',id:'metaKeywords',label:b.metaKeywords,setup:h('keywords'),commit:g('keywords')},{type:'textarea',id:'metaDescription',label:b.metaDescription,setup:h('description'),commit:g('description')},{type:'text',id:'metaAuthor',label:b.metaAuthor,setup:h('author'),commit:g('author')},{type:'text',id:'metaCopyright',label:b.metaCopyright,setup:h('copyright'),commit:g('copyright')}]},{id:'preview',label:c.preview,elements:[{type:'html',id:'previewHtml',html:'<iframe src="'+m+'" style="width: 100%; height: 310px" hidefocus="true" frameborder="0" '+'id="cke_docProps_preview_iframe"></iframe>',onLoad:function(){this.getDialog().on('selectPage',function(n){if(n.data.page=='preview'){var o=this;
10
+ setTimeout(function(){var p=CKEDITOR.document.getById('cke_docProps_preview_iframe').getFrameDocument(),q=p.getElementsByTag('html').getItem(0),r=p.getHead(),s=p.getBody();o.commitContent(p,q,r,s,1);},50);}});CKEDITOR.document.getById('cke_docProps_preview_iframe').getAscendant('table').setStyle('height','100%');}}]}]};});
@@ -3,8 +3,8 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
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({fullMatch:true,childRule:function(){return 0;}},i.config.find_highlight)),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;},highlight:function(){var B=this;if(B._.cursors.length<1)return;
7
- 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 M=this;if(!M.matchRange)M.matchRange=new m(new l(M.searchRange),y.length);else{M.matchRange.removeHighlight();M.matchRange=M.matchRange.getNextCharacterRange(y.length);
8
- }var E=new s(y,!z),F=p,G='%';while(G!==null){M.matchRange.moveNext();while(G=M.matchRange.getEndCharacter()){F=E.feedCharacter(G);if(F==r)break;if(M.matchRange.moveNext().hitMatchBoundary)E.reset();}if(F==r){if(A){var H=M.matchRange.getCursors(),I=H[H.length-1],J=H[0],K=new l(o(J),true),L=new l(n(I),true);if(!(u(K.back().character)&&u(L.next().character)))continue;}M.matchRange.setMatched();if(C!==false)M.matchRange.highlight();return true;}}M.matchRange.clearMatched();M.matchRange.removeHighlight();if(B&&!D){M.searchRange=w(1);M.matchRange=null;return arguments.callee.apply(M,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:'vbox',padding:0,children:[{type:'checkbox',id:'txtFindCaseChk',isChanged:false,style:'margin-top:28px',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:'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');});CKEDITOR.dialog.add('replace',function(i){return h(i,'replace');
10
- });})();
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 M=this;if(!M.matchRange)M.matchRange=new m(new l(M.searchRange),y.length);
8
+ else{M.matchRange.removeHighlight();M.matchRange=M.matchRange.getNextCharacterRange(y.length);}var E=new s(y,!z),F=p,G='%';while(G!==null){M.matchRange.moveNext();while(G=M.matchRange.getEndCharacter()){F=E.feedCharacter(G);if(F==r)break;if(M.matchRange.moveNext().hitMatchBoundary)E.reset();}if(F==r){if(A){var H=M.matchRange.getCursors(),I=H[H.length-1],J=H[0],K=new l(o(J),true),L=new l(n(I),true);if(!(u(K.back().character)&&u(L.next().character)))continue;}M.matchRange.setMatched();if(C!==false)M.matchRange.highlight();return true;}}M.matchRange.clearMatched();M.matchRange.removeHighlight();if(B&&!D){M.searchRange=w(1);M.matchRange=null;return arguments.callee.apply(M,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');});})();
@@ -6,4 +6,4 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
6
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'}],title:[{type:a,name:'title'},{type:c,name:'title'}],'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);
7
7
  else k.setAttribute(q.name,r);}}};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
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',widths:['45%','55%'],children:[{type:'text',id:'id',label:j.lang.common.id,setup:h,commit:i},{type:'text',id:'title',label:j.lang.common.advisoryTitle,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',label:j.lang.common.cssStyle,setup:h,commit:i}]}]};});})();
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',widths:['45%','55%'],children:[{type:'text',id:'id',label:j.lang.common.id,setup:h,commit:i},{type:'text',id:'title',label:j.lang.common.advisoryTitle,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}]}]};});})();
@@ -3,4 +3,4 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
3
  For licensing, see LICENSE.html or http://ckeditor.com/license
4
4
  */
5
5
 
6
- CKEDITOR.dialog.add('textarea',function(a){return{title:a.lang.textarea.title,minWidth:350,minHeight:150,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');}}},{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');}}]}]};});
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();}}]}]};});
@@ -10,4 +10,4 @@ D.setAttribute('src',E.getValue());}else if(C==g){D.setAttribute('src','');D.rem
10
10
  },this.getDialog());C.on('mouseover',function(){this.addClass('cke_btn_over');},C);C.on('mouseout',function(){this.removeClass('cke_btn_over');},C);}if(D){D.on('click',function(E){var J=this;var F=p(J),G=J.originalElement,H=J.getValueOf('info','txtWidth');if(G.getCustomData('isReady')=='true'&&H){var I=G.$.height/G.$.width*H;if(!isNaN(I)){J.setValueOf('info','txtHeight',Math.round(I));l(J);}}E.data&&E.data.preventDefault();},this.getDialog());D.on('mouseover',function(){this.addClass('cke_btn_over');},D);D.on('mouseout',function(){this.removeClass('cke_btn_over');},D);}},html:'<div><a href="javascript:void(0)" tabindex="-1" title="'+b.lang.image.lockRatio+'" class="cke_btn_locked" id="'+w+'" role="checkbox"><span class="cke_icon"></span><span class="cke_label">'+b.lang.image.lockRatio+'</span></a>'+'<a href="javascript:void(0)" tabindex="-1" title="'+b.lang.image.resetSize+'" class="cke_btn_reset" id="'+x+'" role="button"><span class="cke_label">'+b.lang.image.resetSize+'</span></a>'+'</div>'}]},{type:'vbox',padding:1,children:[{type:'text',id:'txtBorder',width:'60px',label:b.lang.image.border,'default':'',onKeyUp:function(){l(this.getDialog());},onChange:function(){o.call(this,'advanced:txtdlgGenStyle');},validate:CKEDITOR.dialog.validate.integer(b.lang.image.validateBorder),setup:function(C,D){if(C==d){var E,F=D.getStyle('border-width');F=F&&F.match(/^(\d+px)(?: \1 \1 \1)?$/);E=F&&parseInt(F[1],10);isNaN(parseInt(E,10))&&(E=D.getAttribute('border'));this.setValue(E);}},commit:function(C,D,E){var F=parseInt(this.getValue(),10);if(C==d||C==f){if(!isNaN(F)){D.setStyle('border-width',CKEDITOR.tools.cssLength(F));D.setStyle('border-style','solid');}else if(!F&&this.isChanged()){D.removeStyle('border-width');D.removeStyle('border-style');D.removeStyle('border-color');}if(!E&&C==d)D.removeAttribute('border');}else if(C==g){D.removeAttribute('border');D.removeStyle('border-width');D.removeStyle('border-style');D.removeStyle('border-color');}}},{type:'text',id:'txtHSpace',width:'60px',label:b.lang.image.hSpace,'default':'',onKeyUp:function(){l(this.getDialog());},onChange:function(){o.call(this,'advanced:txtdlgGenStyle');},validate:CKEDITOR.dialog.validate.integer(b.lang.image.validateHSpace),setup:function(C,D){if(C==d){var E,F,G,H=D.getStyle('margin-left'),I=D.getStyle('margin-right');H=H&&H.match(j);I=I&&I.match(j);F=parseInt(H,10);G=parseInt(I,10);E=F==G&&F;isNaN(parseInt(E,10))&&(E=D.getAttribute('hspace'));this.setValue(E);}},commit:function(C,D,E){var F=parseInt(this.getValue(),10);
11
11
  if(C==d||C==f){if(!isNaN(F)){D.setStyle('margin-left',CKEDITOR.tools.cssLength(F));D.setStyle('margin-right',CKEDITOR.tools.cssLength(F));}else if(!F&&this.isChanged()){D.removeStyle('margin-left');D.removeStyle('margin-right');}if(!E&&C==d)D.removeAttribute('hspace');}else if(C==g){D.removeAttribute('hspace');D.removeStyle('margin-left');D.removeStyle('margin-right');}}},{type:'text',id:'txtVSpace',width:'60px',label:b.lang.image.vSpace,'default':'',onKeyUp:function(){l(this.getDialog());},onChange:function(){o.call(this,'advanced:txtdlgGenStyle');},validate:CKEDITOR.dialog.validate.integer(b.lang.image.validateVSpace),setup:function(C,D){if(C==d){var E,F,G,H=D.getStyle('margin-top'),I=D.getStyle('margin-bottom');H=H&&H.match(j);I=I&&I.match(j);F=parseInt(H,10);G=parseInt(I,10);E=F==G&&F;isNaN(parseInt(E,10))&&(E=D.getAttribute('vspace'));this.setValue(E);}},commit:function(C,D,E){var F=parseInt(this.getValue(),10);if(C==d||C==f){if(!isNaN(F)){D.setStyle('margin-top',CKEDITOR.tools.cssLength(F));D.setStyle('margin-bottom',CKEDITOR.tools.cssLength(F));}else if(!F&&this.isChanged()){D.removeStyle('margin-top');D.removeStyle('margin-bottom');}if(!E&&C==d)D.removeAttribute('vspace');}else if(C==g){D.removeAttribute('vspace');D.removeStyle('margin-top');D.removeStyle('margin-bottom');}}},{id:'cmbAlign',type:'select',widths:['35%','65%'],style:'width:90px',label:b.lang.common.align,'default':'',items:[[b.lang.common.notSet,''],[b.lang.common.alignLeft,'left'],[b.lang.common.alignRight,'right']],onChange:function(){l(this.getDialog());o.call(this,'advanced:txtdlgGenStyle');},setup:function(C,D){if(C==d){var E=D.getStyle('float');switch(E){case 'inherit':case 'none':E='';}!E&&(E=(D.getAttribute('align')||'').toLowerCase());this.setValue(E);}},commit:function(C,D,E){var F=this.getValue();if(C==d||C==f){if(F)D.setStyle('float',F);else D.removeStyle('float');if(!E&&C==d){F=(D.getAttribute('align')||'').toLowerCase();switch(F){case 'left':case 'right':D.removeAttribute('align');}}}else if(C==g)D.removeStyle('float');}}]}]},{type:'vbox',height:'250px',children:[{type:'html',id:'htmlPreview',style:'width:95%;',html:'<div>'+CKEDITOR.tools.htmlEncode(b.lang.common.preview)+'<br>'+'<div id="'+y+'" class="ImagePreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>'+'<div id="'+z+'" class="ImagePreviewBox"><table><tr><td>'+'<a href="javascript:void(0)" target="_blank" onclick="return false;" id="'+A+'">'+'<img id="'+B+'" alt="" /></a>'+(b.config.image_previewText||'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.')+'</td></tr></table></div></div>'}]}]}]},{id:'Link',label:b.lang.link.title,padding:0,elements:[{id:'txtUrl',type:'text',label:b.lang.common.url,style:'width: 100%','default':'',setup:function(C,D){if(C==e){var E=D.data('cke-saved-href');
12
12
  if(!E)E=D.getAttribute('href');this.setValue(E);}},commit:function(C,D){var F=this;if(C==e)if(F.getValue()||F.isChanged()){var E=decodeURI(F.getValue());D.data('cke-saved-href',E);D.setAttribute('href',E);if(F.getValue()||!b.config.image_removeLinkByEmptyURL)F.getDialog().addLink=true;}}},{type:'button',id:'browse',filebrowser:{action:'Browse',target:'Link:txtUrl',url:b.config.filebrowserImageBrowseLinkUrl},style:'float:right',hidden:true,label:b.lang.common.browseServer},{id:'cmbTarget',type:'select',label:b.lang.common.target,'default':'',items:[[b.lang.common.notSet,''],[b.lang.common.targetNew,'_blank'],[b.lang.common.targetTop,'_top'],[b.lang.common.targetSelf,'_self'],[b.lang.common.targetParent,'_parent']],setup:function(C,D){if(C==e)this.setValue(D.getAttribute('target')||'');},commit:function(C,D){if(C==e)if(this.getValue()||this.isChanged())D.setAttribute('target',this.getValue());}}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:b.lang.image.upload,elements:[{type:'file',id:'upload',label:b.lang.image.btnUpload,style:'height:40px',size:38},{type:'fileButton',id:'uploadButton',filebrowser:'info:txtUrl',label:b.lang.image.btnUpload,'for':['Upload','upload']}]},{id:'advanced',label:b.lang.common.advancedTab,elements:[{type:'hbox',widths:['50%','25%','25%'],children:[{type:'text',id:'linkId',label:b.lang.common.id,setup:function(C,D){if(C==d)this.setValue(D.getAttribute('id'));},commit:function(C,D){if(C==d)if(this.getValue()||this.isChanged())D.setAttribute('id',this.getValue());}},{id:'cmbLangDir',type:'select',style:'width : 100px;',label:b.lang.common.langDir,'default':'',items:[[b.lang.common.notSet,''],[b.lang.common.langDirLtr,'ltr'],[b.lang.common.langDirRtl,'rtl']],setup:function(C,D){if(C==d)this.setValue(D.getAttribute('dir'));},commit:function(C,D){if(C==d)if(this.getValue()||this.isChanged())D.setAttribute('dir',this.getValue());}},{type:'text',id:'txtLangCode',label:b.lang.common.langCode,'default':'',setup:function(C,D){if(C==d)this.setValue(D.getAttribute('lang'));},commit:function(C,D){if(C==d)if(this.getValue()||this.isChanged())D.setAttribute('lang',this.getValue());}}]},{type:'text',id:'txtGenLongDescr',label:b.lang.common.longDescr,setup:function(C,D){if(C==d)this.setValue(D.getAttribute('longDesc'));},commit:function(C,D){if(C==d)if(this.getValue()||this.isChanged())D.setAttribute('longDesc',this.getValue());}},{type:'hbox',widths:['50%','50%'],children:[{type:'text',id:'txtGenClass',label:b.lang.common.cssClass,'default':'',setup:function(C,D){if(C==d)this.setValue(D.getAttribute('class'));
13
- },commit:function(C,D){if(C==d)if(this.getValue()||this.isChanged())D.setAttribute('class',this.getValue());}},{type:'text',id:'txtGenTitle',label:b.lang.common.advisoryTitle,'default':'',onChange:function(){l(this.getDialog());},setup:function(C,D){if(C==d)this.setValue(D.getAttribute('title'));},commit:function(C,D){var E=this;if(C==d){if(E.getValue()||E.isChanged())D.setAttribute('title',E.getValue());}else if(C==f)D.setAttribute('title',E.getValue());else if(C==g)D.removeAttribute('title');}}]},{type:'text',id:'txtdlgGenStyle',label:b.lang.common.cssStyle,'default':'',setup:function(C,D){if(C==d){var E=D.getAttribute('style');if(!E&&D.$.style.cssText)E=D.$.style.cssText;this.setValue(E);var F=D.$.style.height,G=D.$.style.width,H=(F?F:'').match(h),I=(G?G:'').match(h);this.attributesInStyle={height:!!H,width:!!I};}},onChange:function(){o.call(this,['info:cmbFloat','info:cmbAlign','info:txtVSpace','info:txtHSpace','info:txtBorder','info:txtWidth','info:txtHeight']);l(this);},commit:function(C,D){if(C==d&&(this.getValue()||this.isChanged()))D.setAttribute('style',this.getValue());}}]}]};};CKEDITOR.dialog.add('image',function(b){return a(b,'image');});CKEDITOR.dialog.add('imagebutton',function(b){return a(b,'imagebutton');});})();
13
+ },commit:function(C,D){if(C==d)if(this.getValue()||this.isChanged())D.setAttribute('class',this.getValue());}},{type:'text',id:'txtGenTitle',label:b.lang.common.advisoryTitle,'default':'',onChange:function(){l(this.getDialog());},setup:function(C,D){if(C==d)this.setValue(D.getAttribute('title'));},commit:function(C,D){var E=this;if(C==d){if(E.getValue()||E.isChanged())D.setAttribute('title',E.getValue());}else if(C==f)D.setAttribute('title',E.getValue());else if(C==g)D.removeAttribute('title');}}]},{type:'text',id:'txtdlgGenStyle',label:b.lang.common.cssStyle,validate:CKEDITOR.dialog.validate.inlineStyle(b.lang.common.invalidInlineStyle),'default':'',setup:function(C,D){if(C==d){var E=D.getAttribute('style');if(!E&&D.$.style.cssText)E=D.$.style.cssText;this.setValue(E);var F=D.$.style.height,G=D.$.style.width,H=(F?F:'').match(h),I=(G?G:'').match(h);this.attributesInStyle={height:!!H,width:!!I};}},onChange:function(){o.call(this,['info:cmbFloat','info:cmbAlign','info:txtVSpace','info:txtHSpace','info:txtBorder','info:txtWidth','info:txtHeight']);l(this);},commit:function(C,D){if(C==d&&(this.getValue()||this.isChanged()))D.setAttribute('style',this.getValue());}}]}]};};CKEDITOR.dialog.add('image',function(b){return a(b,'image');});CKEDITOR.dialog.add('imagebutton',function(b){return a(b,'imagebutton');});})();
@@ -7,6 +7,6 @@ CKEDITOR.dialog.add('link',function(a){var b=CKEDITOR.plugins.link,c=function(){
7
7
  if(S){M.target.type='popup';M.target.name=S[1];var T;while(T=o.exec(S[2])){if((T[2]=='yes'||T[2]=='1')&&!(T[1] in {height:1,width:1,top:1,left:1}))M.target[T[1]]=true;else if(isFinite(T[2]))M.target[T[1]]=T[2];}}}else{var U=Q.match(k);if(U)M.target.type=M.target.name=Q;else{M.target.type='frame';M.target.name=Q;}}var V=this,W=function(ae,af){var ag=G.getAttribute(af);if(ag!==null)M.adv[ae]=ag||'';};W('advId','id');W('advLangDir','dir');W('advAccessKey','accessKey');M.adv.advName=G.data('cke-saved-name')||G.getAttribute('name')||'';W('advLangCode','lang');W('advTabIndex','tabindex');W('advTitle','title');W('advContentType','type');CKEDITOR.plugins.link.synAnchorSelector?M.adv.advCSSClasses=C(G):W('advCSSClasses','class');W('advCharset','charset');W('advStyles','style');W('advRel','rel');}var X=M.anchors=[],Y;if(CKEDITOR.plugins.link.emptyAnchorFix){var Z=F.document.getElementsByTag('a');for(i=0,count=Z.count();i<count;i++){Y=Z.getItem(i);if(Y.data('cke-saved-name')||Y.hasAttribute('name'))X.push({name:Y.data('cke-saved-name')||Y.getAttribute('name'),id:Y.getAttribute('id')});}}else{var aa=new CKEDITOR.dom.nodeList(F.document.$.anchors);for(var ab=0,ac=aa.count();ab<ac;ab++){Y=aa.getItem(ab);X[ab]={name:Y.getAttribute('name'),id:Y.getAttribute('id')};}}if(CKEDITOR.plugins.link.fakeAnchor){var ad=F.document.getElementsByTag('img');for(ab=0,ac=ad.count();ab<ac;ab++){if(Y=CKEDITOR.plugins.link.tryRestoreFakeAnchor(F,ad.getItem(ab)))X.push({name:Y.getAttribute('name'),id:Y.getAttribute('id')});}}this._.selectedElement=G;return M;},q=function(F,G){if(G[F])this.setValue(G[F][this.id]||'');},r=function(F){return q.call(this,'target',F);},s=function(F){return q.call(this,'adv',F);},t=function(F,G){if(!G[F])G[F]={};G[F][this.id]=this.getValue()||'';},u=function(F){return t.call(this,'target',F);},v=function(F){return t.call(this,'adv',F);};function w(F){return F.replace(/\\'/g,"'");};function x(F){return F.replace(/'/g,'\\$&');};var y=a.config.emailProtection||'';if(y&&y!='encode'){var z={};y.replace(/^([^(]+)\(([^)]+)\)$/,function(F,G,H){z.name=G;z.params=[];H.replace(/[^,\s]+/g,function(I){z.params.push(I);});});}function A(F){var G,H=z.name,I=z.params,J,K;G=[H,'('];for(var L=0;L<I.length;L++){J=I[L].toLowerCase();K=F[J];L>0&&G.push(',');G.push("'",K?x(encodeURIComponent(F[J])):'',"'");}G.push(')');return G.join('');};function B(F){var G,H=F.length,I=[];for(var J=0;J<H;J++){G=F.charCodeAt(J);I.push(G);}return 'String.fromCharCode('+I.join(',')+')';};function C(F){var G=F.getAttribute('class');
8
8
  return G?G.replace(/\s*(?:cke_anchor_empty|cke_anchor)(?:\s*$)?/g,''):'';};var D=a.lang.common,E=a.lang.link;return{title:E.title,minWidth:350,minHeight:230,contents:[{id:'info',label:E.info,title:E.info,elements:[{id:'linkType',type:'select',label:E.type,'default':'url',items:[[E.toUrl,'url'],[E.toAnchor,'anchor'],[E.toEmail,'email']],onChange:d,setup:function(F){if(F.type)this.setValue(F.type);},commit:function(F){F.type=this.getValue();}},{type:'vbox',id:'urlOptions',children:[{type:'hbox',widths:['25%','75%'],children:[{id:'protocol',type:'select',label:D.protocol,'default':'http://',items:[['http://‎','http://'],['https://‎','https://'],['ftp://‎','ftp://'],['news://‎','news://'],[E.other,'']],setup:function(F){if(F.url)this.setValue(F.url.protocol||'');},commit:function(F){if(!F.url)F.url={};F.url.protocol=this.getValue();}},{type:'text',id:'url',label:D.url,required:true,onLoad:function(){this.allowOnChange=true;},onKeyUp:function(){var K=this;K.allowOnChange=false;var F=K.getDialog().getContentElement('info','protocol'),G=K.getValue(),H=/^(http|https|ftp|news):\/\/(?=.)/i,I=/^((javascript:)|[#\/\.\?])/i,J=H.exec(G);if(J){K.setValue(G.substr(J[0].length));F.setValue(J[0].toLowerCase());}else if(I.test(G))F.setValue('');K.allowOnChange=true;},onChange:function(){if(this.allowOnChange)this.onKeyUp();},validate:function(){var F=this.getDialog();if(F.getContentElement('info','linkType')&&F.getValueOf('info','linkType')!='url')return true;if(this.getDialog().fakeObj)return true;var G=CKEDITOR.dialog.validate.notEmpty(E.noUrl);return G.apply(this);},setup:function(F){this.allowOnChange=false;if(F.url)this.setValue(F.url.url);this.allowOnChange=true;},commit:function(F){this.onChange();if(!F.url)F.url={};F.url.url=this.getValue();this.allowOnChange=false;}}],setup:function(F){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().show();}},{type:'button',id:'browse',hidden:'true',filebrowser:'info:url',label:D.browseServer}]},{type:'vbox',id:'anchorOptions',width:260,align:'center',padding:0,children:[{type:'fieldset',id:'selectAnchorText',label:E.selectAnchor,setup:function(F){if(F.anchors.length>0)this.getElement().show();else this.getElement().hide();},children:[{type:'hbox',id:'selectAnchor',children:[{type:'select',id:'anchorName','default':'',label:E.anchorName,style:'width: 100%;',items:[['']],setup:function(F){var I=this;I.clear();I.add('');for(var G=0;G<F.anchors.length;G++){if(F.anchors[G].name)I.add(F.anchors[G].name);}if(F.anchor)I.setValue(F.anchor.name);
9
9
  var H=I.getDialog().getContentElement('info','linkType');if(H&&H.getValue()=='email')I.focus();},commit:function(F){if(!F.anchor)F.anchor={};F.anchor.name=this.getValue();}},{type:'select',id:'anchorId','default':'',label:E.anchorId,style:'width: 100%;',items:[['']],setup:function(F){var H=this;H.clear();H.add('');for(var G=0;G<F.anchors.length;G++){if(F.anchors[G].id)H.add(F.anchors[G].id);}if(F.anchor)H.setValue(F.anchor.id);},commit:function(F){if(!F.anchor)F.anchor={};F.anchor.id=this.getValue();}}],setup:function(F){if(F.anchors.length>0)this.getElement().show();else this.getElement().hide();}}]},{type:'html',id:'noAnchors',style:'text-align: center;',html:'<div role="label" tabIndex="-1">'+CKEDITOR.tools.htmlEncode(E.noAnchors)+'</div>',focus:true,setup:function(F){if(F.anchors.length<1)this.getElement().show();else this.getElement().hide();}}],setup:function(F){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}},{type:'vbox',id:'emailOptions',padding:1,children:[{type:'text',id:'emailAddress',label:E.emailAddress,required:true,validate:function(){var F=this.getDialog();if(!F.getContentElement('info','linkType')||F.getValueOf('info','linkType')!='email')return true;var G=CKEDITOR.dialog.validate.notEmpty(E.noEmail);return G.apply(this);},setup:function(F){if(F.email)this.setValue(F.email.address);var G=this.getDialog().getContentElement('info','linkType');if(G&&G.getValue()=='email')this.select();},commit:function(F){if(!F.email)F.email={};F.email.address=this.getValue();}},{type:'text',id:'emailSubject',label:E.emailSubject,setup:function(F){if(F.email)this.setValue(F.email.subject);},commit:function(F){if(!F.email)F.email={};F.email.subject=this.getValue();}},{type:'textarea',id:'emailBody',label:E.emailBody,rows:3,'default':'',setup:function(F){if(F.email)this.setValue(F.email.body);},commit:function(F){if(!F.email)F.email={};F.email.body=this.getValue();}}],setup:function(F){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}}]},{id:'target',label:E.target,title:E.target,elements:[{type:'hbox',widths:['50%','50%'],children:[{type:'select',id:'linkTargetType',label:D.target,'default':'notSet',style:'width : 100%;',items:[[D.notSet,'notSet'],[E.targetFrame,'frame'],[E.targetPopup,'popup'],[D.targetNew,'_blank'],[D.targetTop,'_top'],[D.targetSelf,'_self'],[D.targetParent,'_parent']],onChange:c,setup:function(F){if(F.target)this.setValue(F.target.type||'notSet');c.call(this);},commit:function(F){if(!F.target)F.target={};
10
- F.target.type=this.getValue();}},{type:'text',id:'linkTargetName',label:E.targetFrameName,'default':'',setup:function(F){if(F.target)this.setValue(F.target.name);},commit:function(F){if(!F.target)F.target={};F.target.name=this.getValue().replace(/\W/gi,'');}}]},{type:'vbox',width:'100%',align:'center',padding:2,id:'popupFeatures',children:[{type:'fieldset',label:E.popupFeatures,children:[{type:'hbox',children:[{type:'checkbox',id:'resizable',label:E.popupResizable,setup:r,commit:u},{type:'checkbox',id:'status',label:E.popupStatusBar,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'location',label:E.popupLocationBar,setup:r,commit:u},{type:'checkbox',id:'toolbar',label:E.popupToolbar,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'menubar',label:E.popupMenuBar,setup:r,commit:u},{type:'checkbox',id:'fullscreen',label:E.popupFullScreen,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'scrollbars',label:E.popupScrollBars,setup:r,commit:u},{type:'checkbox',id:'dependent',label:E.popupDependent,setup:r,commit:u}]},{type:'hbox',children:[{type:'text',widths:['50%','50%'],labelLayout:'horizontal',label:D.width,id:'width',setup:r,commit:u},{type:'text',labelLayout:'horizontal',widths:['50%','50%'],label:E.popupLeft,id:'left',setup:r,commit:u}]},{type:'hbox',children:[{type:'text',labelLayout:'horizontal',widths:['50%','50%'],label:D.height,id:'height',setup:r,commit:u},{type:'text',labelLayout:'horizontal',label:E.popupTop,widths:['50%','50%'],id:'top',setup:r,commit:u}]}]}]}]},{id:'upload',label:E.upload,title:E.upload,hidden:true,filebrowser:'uploadButton',elements:[{type:'file',id:'upload',label:D.upload,style:'height:40px',size:29},{type:'fileButton',id:'uploadButton',label:D.uploadSubmit,filebrowser:'info:url','for':['upload','upload']}]},{id:'advanced',label:E.advanced,title:E.advanced,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',id:'advId',label:E.id,setup:s,commit:v},{type:'select',id:'advLangDir',label:E.langDir,'default':'',style:'width:110px',items:[[D.notSet,''],[E.langDirLTR,'ltr'],[E.langDirRTL,'rtl']],setup:s,commit:v},{type:'text',id:'advAccessKey',width:'80px',label:E.acccessKey,maxLength:1,setup:s,commit:v}]},{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',label:E.name,id:'advName',setup:s,commit:v},{type:'text',label:E.langCode,id:'advLangCode',width:'110px','default':'',setup:s,commit:v},{type:'text',label:E.tabIndex,id:'advTabIndex',width:'80px',maxLength:5,setup:s,commit:v}]}]},{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.advisoryTitle,'default':'',id:'advTitle',setup:s,commit:v},{type:'text',label:E.advisoryContentType,'default':'',id:'advContentType',setup:s,commit:v}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.cssClasses,'default':'',id:'advCSSClasses',setup:s,commit:v},{type:'text',label:E.charset,'default':'',id:'advCharset',setup:s,commit:v}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.rel,'default':'',id:'advRel',setup:s,commit:v},{type:'text',label:E.styles,'default':'',id:'advStyles',setup:s,commit:v}]}]}]}],onShow:function(){var F=this.getParentEditor(),G=F.getSelection(),H=null;
10
+ F.target.type=this.getValue();}},{type:'text',id:'linkTargetName',label:E.targetFrameName,'default':'',setup:function(F){if(F.target)this.setValue(F.target.name);},commit:function(F){if(!F.target)F.target={};F.target.name=this.getValue().replace(/\W/gi,'');}}]},{type:'vbox',width:'100%',align:'center',padding:2,id:'popupFeatures',children:[{type:'fieldset',label:E.popupFeatures,children:[{type:'hbox',children:[{type:'checkbox',id:'resizable',label:E.popupResizable,setup:r,commit:u},{type:'checkbox',id:'status',label:E.popupStatusBar,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'location',label:E.popupLocationBar,setup:r,commit:u},{type:'checkbox',id:'toolbar',label:E.popupToolbar,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'menubar',label:E.popupMenuBar,setup:r,commit:u},{type:'checkbox',id:'fullscreen',label:E.popupFullScreen,setup:r,commit:u}]},{type:'hbox',children:[{type:'checkbox',id:'scrollbars',label:E.popupScrollBars,setup:r,commit:u},{type:'checkbox',id:'dependent',label:E.popupDependent,setup:r,commit:u}]},{type:'hbox',children:[{type:'text',widths:['50%','50%'],labelLayout:'horizontal',label:D.width,id:'width',setup:r,commit:u},{type:'text',labelLayout:'horizontal',widths:['50%','50%'],label:E.popupLeft,id:'left',setup:r,commit:u}]},{type:'hbox',children:[{type:'text',labelLayout:'horizontal',widths:['50%','50%'],label:D.height,id:'height',setup:r,commit:u},{type:'text',labelLayout:'horizontal',label:E.popupTop,widths:['50%','50%'],id:'top',setup:r,commit:u}]}]}]}]},{id:'upload',label:E.upload,title:E.upload,hidden:true,filebrowser:'uploadButton',elements:[{type:'file',id:'upload',label:D.upload,style:'height:40px',size:29},{type:'fileButton',id:'uploadButton',label:D.uploadSubmit,filebrowser:'info:url','for':['upload','upload']}]},{id:'advanced',label:E.advanced,title:E.advanced,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',id:'advId',label:E.id,setup:s,commit:v},{type:'select',id:'advLangDir',label:E.langDir,'default':'',style:'width:110px',items:[[D.notSet,''],[E.langDirLTR,'ltr'],[E.langDirRTL,'rtl']],setup:s,commit:v},{type:'text',id:'advAccessKey',width:'80px',label:E.acccessKey,maxLength:1,setup:s,commit:v}]},{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',label:E.name,id:'advName',setup:s,commit:v},{type:'text',label:E.langCode,id:'advLangCode',width:'110px','default':'',setup:s,commit:v},{type:'text',label:E.tabIndex,id:'advTabIndex',width:'80px',maxLength:5,setup:s,commit:v}]}]},{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.advisoryTitle,'default':'',id:'advTitle',setup:s,commit:v},{type:'text',label:E.advisoryContentType,'default':'',id:'advContentType',setup:s,commit:v}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.cssClasses,'default':'',id:'advCSSClasses',setup:s,commit:v},{type:'text',label:E.charset,'default':'',id:'advCharset',setup:s,commit:v}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:E.rel,'default':'',id:'advRel',setup:s,commit:v},{type:'text',label:E.styles,'default':'',id:'advStyles',validate:CKEDITOR.dialog.validate.inlineStyle(a.lang.common.invalidInlineStyle),setup:s,commit:v}]}]}]}],onShow:function(){var F=this.getParentEditor(),G=F.getSelection(),H=null;
11
11
  if((H=b.getSelectedLink(F))&&H.hasAttribute('href'))G.selectElement(H);else H=null;this.setupContent(p.apply(this,[F,H]));},onOk:function(){var F={},G=[],H={},I=this,J=this.getParentEditor();this.commitContent(H);switch(H.type||'url'){case 'url':var K=H.url&&H.url.protocol!=undefined?H.url.protocol:'http://',L=H.url&&CKEDITOR.tools.trim(H.url.url)||'';F['data-cke-saved-href']=L.indexOf('/')===0?L:K+L;break;case 'anchor':var M=H.anchor&&H.anchor.name,N=H.anchor&&H.anchor.id;F['data-cke-saved-href']='#'+(M||N||'');break;case 'email':var O,P=H.email,Q=P.address;switch(y){case '':case 'encode':var R=encodeURIComponent(P.subject||''),S=encodeURIComponent(P.body||''),T=[];R&&T.push('subject='+R);S&&T.push('body='+S);T=T.length?'?'+T.join('&'):'';if(y=='encode'){O=["javascript:void(location.href='mailto:'+",B(Q)];T&&O.push("+'",x(T),"'");O.push(')');}else O=['mailto:',Q,T];break;default:var U=Q.split('@',2);P.name=U[0];P.domain=U[1];O=['javascript:',A(P)];}F['data-cke-saved-href']=O.join('');break;}if(H.target)if(H.target.type=='popup'){var V=["window.open(this.href, '",H.target.name||'',"', '"],W=['resizable','status','location','toolbar','menubar','fullscreen','scrollbars','dependent'],X=W.length,Y=function(ai){if(H.target[ai])W.push(ai+'='+H.target[ai]);};for(var Z=0;Z<X;Z++)W[Z]=W[Z]+(H.target[W[Z]]?'=yes':'=no');Y('width');Y('left');Y('height');Y('top');V.push(W.join(','),"'); return false;");F['data-cke-pa-onclick']=V.join('');G.push('target');}else{if(H.target.type!='notSet'&&H.target.name)F.target=H.target.name;else G.push('target');G.push('data-cke-pa-onclick','onclick');}if(H.adv){var aa=function(ai,aj){var ak=H.adv[ai];if(ak)F[aj]=ak;else G.push(aj);};aa('advId','id');aa('advLangDir','dir');aa('advAccessKey','accessKey');if(H.adv.advName)F.name=F['data-cke-saved-name']=H.adv.advName;else G=G.concat(['data-cke-saved-name','name']);aa('advLangCode','lang');aa('advTabIndex','tabindex');aa('advTitle','title');aa('advContentType','type');aa('advCSSClasses','class');aa('advCharset','charset');aa('advStyles','style');aa('advRel','rel');}F.href=F['data-cke-saved-href'];if(!this._.selectedElement){var ab=J.getSelection(),ac=ab.getRanges(true);if(ac.length==1&&ac[0].collapsed){var ad=new CKEDITOR.dom.text(H.type=='email'?H.email.address:F['data-cke-saved-href'],J.document);ac[0].insertNode(ad);ac[0].selectNodeContents(ad);ab.selectRanges(ac);}var ae=new CKEDITOR.style({element:'a',attributes:F});ae.type=CKEDITOR.STYLE_INLINE;ae.apply(J.document);}else{var af=this._.selectedElement,ag=af.data('cke-saved-href'),ah=af.getHtml();
12
12
  af.setAttributes(F);af.removeAttributes(G);if(H.adv&&H.adv.advName&&CKEDITOR.plugins.link.synAnchorSelector)af.addClass(af.getChildCount()?'cke_anchor':'cke_anchor_empty');if(ag==ah||H.type=='email'&&ah.indexOf('@')!=-1)af.setHtml(H.type=='email'?H.email.address:F['data-cke-saved-href']);delete this._.selectedElement;}},onLoad:function(){if(!a.config.linkShowAdvancedTab)this.hidePage('advanced');if(!a.config.linkShowTargetTab)this.hidePage('target');},onFocus:function(){var F=this.getContentElement('info','linkType'),G;if(F&&F.getValue()=='url'){G=this.getContentElement('info','url');G.select();}}};});
@@ -0,0 +1,85 @@
1
+
2
+ /**************************************
3
+ Webutler V2.1 - www.webutler.de
4
+ Copyright (c) 2008 - 2011
5
+ Autor: Sven Zinke
6
+ Free for any use
7
+ Lizenz: GPL
8
+ **************************************/
9
+
10
+
11
+ var codemirror_parserfile;
12
+ var codemirror_stylesheet;
13
+ var codemirror_highlight = true;
14
+
15
+ if(typeof codemirror_syntaxmode == 'undefined') {
16
+ var codemirror_syntaxmode = '';
17
+ }
18
+
19
+ if(codemirror_syntaxmode == '' || (codemirror_syntaxmode != 'css' && codemirror_syntaxmode != 'js')) {
20
+ codemirror_parserfile = new Array(
21
+ "parsexml.js",
22
+ "parsecss.js",
23
+ "tokenizejavascript.js",
24
+ "parsejavascript.js",
25
+ "../contrib/php/js/tokenizephp.js",
26
+ "../contrib/php/js/parsephp.js",
27
+ "../contrib/php/js/parsephphtmlmixed.js"
28
+ );
29
+ codemirror_stylesheet = new Array(
30
+ codemirror_rootpath + "codemirror/editor/css/xmlcolors.css",
31
+ codemirror_rootpath + "codemirror/editor/css/csscolors.css",
32
+ codemirror_rootpath + "codemirror/editor/css/jscolors.css",
33
+ codemirror_rootpath + "codemirror/editor/contrib/php/css/phpcolors.css"
34
+ );
35
+ }
36
+
37
+ function codemirror_syntax(editor, stylesheet) {
38
+ if(codemirror_highlight == true) {
39
+ editor.setStylesheet(codemirror_rootpath + "codemirror/config/nocolors.css");
40
+ codemirror_highlight = false;
41
+ }
42
+ else {
43
+ editor.setStylesheet(stylesheet);
44
+ codemirror_highlight = true;
45
+ }
46
+ }
47
+
48
+ function codemirror_save() {
49
+ document.forms.codemirror_form.submit();
50
+ }
51
+
52
+ function codemirror_searchpart(editor) {
53
+ var text = prompt(codemirror_lang.searchwins.searchfor, "");
54
+ if (!text) return;
55
+
56
+ var first = true;
57
+ do {
58
+ var cursor = editor.getSearchCursor(text, first);
59
+ first = false;
60
+ while (cursor.findNext()) {
61
+ cursor.select();
62
+ if (!confirm(codemirror_lang.searchwins.tryagain))
63
+ return;
64
+ }
65
+ }
66
+ while(confirm(codemirror_lang.searchwins.endofdoc));
67
+ }
68
+
69
+ function codemirror_makeButton(title, func, img, menu) {
70
+ var menuId = document.getElementById(menu);
71
+ var button = document.createElement('div');
72
+ button.className = 'button button_out';
73
+ button.onmousedown = new Function("this.className = 'button button_down'");
74
+ button.onmouseup = new Function("this.className = 'button button_up'");
75
+ button.onmouseover = new Function("this.className = 'button button_over'");
76
+ button.onmouseout = new Function("this.className = 'button button_out'");
77
+ menuId.appendChild(button);
78
+ var icon = document.createElement('div');
79
+ icon.className = 'icon';
80
+ icon.title = title;
81
+ icon.onclick = new Function(func);
82
+ icon.style.backgroundImage = 'url(' + codemirror_rootpath + 'codemirror/config/images/' + img + '.png)';
83
+ button.appendChild(icon);
84
+ }
85
+
@@ -0,0 +1,96 @@
1
+
2
+ /**************************************
3
+ Webutler V2.1 - www.webutler.de
4
+ Copyright (c) 2008 - 2011
5
+ Autor: Sven Zinke
6
+ Free for any use
7
+ Lizenz: GPL
8
+ **************************************/
9
+
10
+ .CodeMirror-line-numbers {
11
+ width: 2.2em;
12
+ text-align: right;
13
+ background-color: #eeeeee;
14
+ padding-right: .3em;
15
+ padding-top: .4em;
16
+ }
17
+
18
+ .CodeMirror-line-numbers div {
19
+ color: #aaaaaa;
20
+ text-align: right;
21
+ font-size: 14px;
22
+ font-family: monospace;
23
+ line-height: 16px;
24
+ }
25
+
26
+ #codemirror_editormenu {
27
+ height: 26px;
28
+ background-color: #F7F7F7;
29
+ border-right: 1px solid #A8A89C;
30
+ border-bottom: 1px solid #A8A89C;
31
+ border-top: 1px solid #FFFFFF;
32
+ border-left: 1px solid #FFFFFF;
33
+ padding: 2px 5px;
34
+ }
35
+ .codemirror_ckemenu {
36
+ height: 24px;
37
+ }
38
+ #codemirror_editormenu .button, .codemirror_ckemenu .button {
39
+ float: left;
40
+ margin-right: 2px;
41
+ -moz-border-radius: 3px;
42
+ -webkit-border-radius: 3px;
43
+ border-radius: 3px;
44
+ }
45
+
46
+ #codemirror_editormenu .button_out, .codemirror_ckemenu .button_out {
47
+ border: 1px solid #E3E0D7;
48
+ background-repeat: repeat-x;
49
+ background-attachment: scroll;
50
+ background-position: 0px 0px;
51
+ background-image: url(images/buttonbg.gif);
52
+ }
53
+
54
+ #codemirror_editormenu .button_over, #codemirror_editormenu .button_up,
55
+ .codemirror_ckemenu .button_over, .codemirror_ckemenu .button_up {
56
+ border: 1px solid #316AC5;
57
+ background-color: #DFF1FF;
58
+ }
59
+
60
+ #codemirror_editormenu .button_down, .codemirror_ckemenu .button_down {
61
+ border: 1px solid #316AC5;
62
+ background-color: #C1D2EE;
63
+ }
64
+
65
+ #codemirror_editormenu .icon, .codemirror_ckemenu .icon {
66
+ width: 24px;
67
+ height: 22px;
68
+ background-repeat: no-repeat;
69
+ background-attachment: scroll;
70
+ background-position: center center;
71
+ }
72
+
73
+ .codemirror_ckebg {
74
+ border: 1px solid #000000;
75
+ background-color: #ffffff;
76
+ border: 1px solid #A8A89C;
77
+ height: 100%;
78
+ overflow: auto;
79
+ }
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+