muck-invites 0.1.12 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1532) hide show
  1. data/.gitignore +2 -1
  2. data/MIT-LICENSE +1 -1
  3. data/README.rdoc +19 -19
  4. data/Rakefile +11 -12
  5. data/VERSION +1 -1
  6. data/app/controllers/muck/invites_controller.rb +2 -2
  7. data/app/helpers/muck_invites_helper.rb +1 -1
  8. data/app/mailers/invite_mailer.rb +22 -0
  9. data/app/views/invite_mailer/invite_notification.html.erb +11 -0
  10. data/app/views/invite_mailer/invite_notification.text.erb +11 -0
  11. data/app/views/invite_mailer/invited_joined_notification.html.erb +5 -0
  12. data/app/views/invite_mailer/invited_joined_notification.text.erb +5 -0
  13. data/app/views/invites/_contacts_query.erb +1 -1
  14. data/app/views/invites/_invite_compose.erb +1 -1
  15. data/app/views/invites/_invite_standard.erb +1 -1
  16. data/app/views/invites/get_contacts.html.erb +1 -1
  17. data/app/views/invites/get_contacts.js.erb +1 -1
  18. data/config/locales/ar.yml +25 -0
  19. data/config/locales/bg.yml +25 -0
  20. data/config/locales/ca.yml +25 -0
  21. data/config/locales/cs.yml +25 -0
  22. data/config/locales/da.yml +25 -0
  23. data/config/locales/de.yml +25 -0
  24. data/config/locales/el.yml +25 -0
  25. data/config/locales/en.yml +26 -0
  26. data/config/locales/es.yml +25 -0
  27. data/config/locales/et.yml +25 -0
  28. data/config/locales/fa.yml +25 -0
  29. data/config/locales/fi.yml +25 -0
  30. data/config/locales/fr.yml +25 -0
  31. data/config/locales/gl.yml +25 -0
  32. data/config/locales/hi.yml +25 -0
  33. data/config/locales/hr.yml +25 -0
  34. data/config/locales/hu.yml +25 -0
  35. data/config/locales/id.yml +25 -0
  36. data/config/locales/it.yml +25 -0
  37. data/config/locales/iw.yml +25 -0
  38. data/config/locales/ja.yml +25 -0
  39. data/config/locales/ko.yml +25 -0
  40. data/config/locales/lt.yml +25 -0
  41. data/config/locales/lv.yml +25 -0
  42. data/config/locales/mt.yml +25 -0
  43. data/config/locales/nl.yml +25 -0
  44. data/config/locales/no.yml +26 -0
  45. data/config/locales/pl.yml +25 -0
  46. data/config/locales/pt-PT.yml +25 -0
  47. data/config/locales/ro.yml +25 -0
  48. data/config/locales/ru.yml +25 -0
  49. data/config/locales/sk.yml +25 -0
  50. data/config/locales/sl.yml +25 -0
  51. data/config/locales/sq.yml +25 -0
  52. data/config/locales/sr.yml +25 -0
  53. data/config/locales/sv.yml +25 -0
  54. data/config/locales/th.yml +25 -0
  55. data/config/locales/tl.yml +25 -0
  56. data/config/locales/tr.yml +25 -0
  57. data/config/locales/uk.yml +25 -0
  58. data/config/locales/vi.yml +25 -0
  59. data/config/locales/zh-CN.yml +25 -0
  60. data/config/locales/zh-TW.yml +25 -0
  61. data/config/locales/zh.yml +25 -0
  62. data/config/routes.rb +14 -0
  63. data/lib/muck-invites.rb +8 -0
  64. data/lib/muck-invites/config.rb +25 -0
  65. data/lib/muck-invites/engine.rb +18 -0
  66. data/lib/{muck_invites → muck-invites}/exceptions.rb +0 -0
  67. data/lib/muck-invites/models/invite.rb +21 -0
  68. data/lib/muck-invites/models/invitee.rb +42 -0
  69. data/lib/muck-invites/models/inviter.rb +68 -0
  70. data/lib/tasks/muck_invites.rake +10 -0
  71. data/muck-invites.gemspec +1452 -793
  72. data/test/{rails_root → rails_test}/.gitignore +0 -0
  73. data/test/{rails_root → rails_test}/.rake_tasks +0 -0
  74. data/test/rails_test/Gemfile +42 -0
  75. data/test/rails_test/Gemfile.lock +292 -0
  76. data/test/rails_test/Rakefile +10 -0
  77. data/test/rails_test/app/controllers/application_controller.rb +15 -0
  78. data/test/{rails_root → rails_test}/app/controllers/default_controller.rb +0 -0
  79. data/test/{rails_root → rails_test}/app/helpers/application_helper.rb +0 -0
  80. data/test/{rails_root → rails_test}/app/models/.keep +0 -0
  81. data/test/rails_test/app/models/activity.rb +26 -0
  82. data/test/rails_test/app/models/country.rb +13 -0
  83. data/test/rails_test/app/models/invite.rb +3 -0
  84. data/test/rails_test/app/models/invitee.rb +4 -0
  85. data/test/rails_test/app/models/language.rb +15 -0
  86. data/test/rails_test/app/models/state.rb +13 -0
  87. data/test/rails_test/app/models/user.rb +10 -0
  88. data/test/{rails_root → rails_test}/app/models/user_session.rb +0 -0
  89. data/test/rails_test/app/views/default/index.html.erb +3 -0
  90. data/test/{rails_root → rails_test}/app/views/layouts/default.html.erb +0 -0
  91. data/test/rails_test/config.ru +4 -0
  92. data/test/rails_test/config/application.rb +42 -0
  93. data/test/rails_test/config/boot.rb +13 -0
  94. data/test/{rails_root → rails_test}/config/database.yml +0 -0
  95. data/test/rails_test/config/environment.rb +5 -0
  96. data/test/rails_test/config/environments/development.rb +26 -0
  97. data/test/rails_test/config/environments/production.rb +49 -0
  98. data/test/rails_test/config/environments/test.rb +35 -0
  99. data/test/rails_test/config/initializers/backtrace_silencers.rb +7 -0
  100. data/test/rails_test/config/initializers/inflections.rb +10 -0
  101. data/test/{rails_root → rails_test}/config/initializers/mime_types.rb +0 -0
  102. data/test/rails_test/config/initializers/muck.rb +66 -0
  103. data/test/rails_test/config/initializers/secret_token.rb +7 -0
  104. data/test/rails_test/config/initializers/session_store.rb +8 -0
  105. data/test/rails_test/config/locales/en.yml +5 -0
  106. data/test/rails_test/config/routes.rb +6 -0
  107. data/test/rails_test/config/tiny_mce.yml +6 -0
  108. data/test/{rails_root → rails_test}/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +0 -0
  109. data/test/{rails_root → rails_test}/db/migrate/20090327231918_create_users.rb +0 -0
  110. data/test/{rails_root → rails_test}/db/migrate/20090402033319_add_muck_activities.rb +0 -0
  111. data/test/{rails_root → rails_test}/db/migrate/20090402234137_create_languages.rb +0 -0
  112. data/test/{rails_root → rails_test}/db/migrate/20090426041056_create_countries.rb +0 -0
  113. data/test/{rails_root → rails_test}/db/migrate/20090426041103_create_states.rb +0 -0
  114. data/test/{rails_root → rails_test}/db/migrate/20090512013727_create_profiles.rb +0 -0
  115. data/test/{rails_root → rails_test}/db/migrate/20090608073052_create_friends.rb +0 -0
  116. data/test/{rails_root → rails_test}/db/migrate/20090703055724_add_contents.rb +0 -0
  117. data/test/{rails_root → rails_test}/db/migrate/20090704220055_create_slugs.rb +0 -0
  118. data/test/{rails_root → rails_test}/db/migrate/20090730044139_add_comment_cache.rb +0 -0
  119. data/test/{rails_root → rails_test}/db/migrate/20090818204527_add_activity_indexes.rb +0 -0
  120. data/test/{rails_root → rails_test}/db/migrate/20090819030523_add_attachable_to_activities.rb +0 -0
  121. data/test/{rails_root → rails_test}/db/migrate/20090928213532_create_invites.rb +0 -0
  122. data/test/{rails_root → rails_test}/db/migrate/20091124203137_add_location_to_profiles.rb +0 -0
  123. data/test/{rails_root → rails_test}/db/migrate/20091124205819_add_fields_to_profiles.rb +0 -0
  124. data/test/{rails_root → rails_test}/db/migrate/20091128170318_make_invites_polymorphic.rb +0 -0
  125. data/test/{rails_root → rails_test}/db/migrate/20091205001023_create_oauth_consumer_tokens.rb +0 -0
  126. data/test/{rails_root → rails_test}/db/migrate/20091210172015_create_oauth_tables.rb +0 -0
  127. data/test/{rails_root → rails_test}/db/migrate/20100123035450_create_access_codes.rb +0 -0
  128. data/test/{rails_root → rails_test}/db/migrate/20100123233654_create_access_code_requests.rb +0 -0
  129. data/test/{rails_root → rails_test}/db/migrate/20100206000906_remove_name_fields.rb +0 -0
  130. data/test/rails_test/db/seeds.rb +7 -0
  131. data/test/rails_test/doc/README_FOR_APP +2 -0
  132. data/test/{rails_root → rails_test}/features/step_definitions/common_steps.rb +0 -0
  133. data/test/rails_test/features/step_definitions/web_steps.rb +219 -0
  134. data/test/{rails_root → rails_test}/features/step_definitions/webrat_steps.rb +0 -0
  135. data/test/rails_test/features/support/custom_env.rb +19 -0
  136. data/test/rails_test/features/support/env.rb +58 -0
  137. data/test/rails_test/features/support/paths.rb +33 -0
  138. data/test/{rails_root/db/.keep → rails_test/lib/tasks/.gitkeep} +0 -0
  139. data/test/rails_test/lib/tasks/cucumber.rake +53 -0
  140. data/test/{rails_root → rails_test}/public/.htaccess +0 -0
  141. data/test/{rails_root → rails_test}/public/404.html +0 -0
  142. data/test/{rails_root → rails_test}/public/422.html +0 -0
  143. data/test/{rails_root → rails_test}/public/500.html +0 -0
  144. data/test/{rails_root → rails_test}/public/dispatch.rb +0 -0
  145. data/test/{rails_root → rails_test}/public/favicon.ico +0 -0
  146. data/test/{rails_root → rails_test}/public/images/admin/Home.gif +0 -0
  147. data/test/{rails_root → rails_test}/public/images/admin/roles.gif +0 -0
  148. data/test/{rails_root → rails_test}/public/images/admin/source/Home.png +0 -0
  149. data/test/{rails_root → rails_test}/public/images/admin/source/User.png +0 -0
  150. data/test/{rails_root → rails_test}/public/images/admin/source/roles.png +0 -0
  151. data/test/{rails_root → rails_test}/public/images/admin/user.gif +0 -0
  152. data/test/{rails_root → rails_test}/public/images/arrow_down.gif +0 -0
  153. data/test/{rails_root → rails_test}/public/images/arrow_left.gif +0 -0
  154. data/test/{rails_root → rails_test}/public/images/arrow_right.gif +0 -0
  155. data/test/{rails_root → rails_test}/public/images/arrow_up.gif +0 -0
  156. data/test/{rails_root → rails_test}/public/images/fancybox/blank.gif +0 -0
  157. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_close.png +0 -0
  158. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_closebox.png +0 -0
  159. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_left.png +0 -0
  160. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_loading.png +0 -0
  161. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_nav_left.png +0 -0
  162. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_nav_right.png +0 -0
  163. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_progress.png +0 -0
  164. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_right.png +0 -0
  165. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_e.png +0 -0
  166. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_n.png +0 -0
  167. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_ne.png +0 -0
  168. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_nw.png +0 -0
  169. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_s.png +0 -0
  170. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_se.png +0 -0
  171. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_sw.png +0 -0
  172. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_w.png +0 -0
  173. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_left.png +0 -0
  174. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_main.png +0 -0
  175. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_over.png +0 -0
  176. data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_right.png +0 -0
  177. data/test/{rails_root → rails_test}/public/images/fancybox/fancybox-x.png +0 -0
  178. data/test/{rails_root → rails_test}/public/images/fancybox/fancybox-y.png +0 -0
  179. data/test/{rails_root → rails_test}/public/images/fancybox/fancybox.png +0 -0
  180. data/test/{rails_root → rails_test}/public/images/icons/accept.png +0 -0
  181. data/test/{rails_root → rails_test}/public/images/icons/add.png +0 -0
  182. data/test/{rails_root → rails_test}/public/images/icons/blue_guy.png +0 -0
  183. data/test/{rails_root → rails_test}/public/images/icons/button_background.png +0 -0
  184. data/test/{rails_root → rails_test}/public/images/icons/cancel.png +0 -0
  185. data/test/{rails_root → rails_test}/public/images/icons/close.png +0 -0
  186. data/test/{rails_root → rails_test}/public/images/icons/comment.png +0 -0
  187. data/test/{rails_root → rails_test}/public/images/icons/delete.png +0 -0
  188. data/test/{rails_root → rails_test}/public/images/icons/exclaim.png +0 -0
  189. data/test/{rails_root → rails_test}/public/images/icons/external.png +0 -0
  190. data/test/{rails_root → rails_test}/public/images/icons/feed.png +0 -0
  191. data/test/{rails_root → rails_test}/public/images/icons/grey_guy.png +0 -0
  192. data/test/{rails_root → rails_test}/public/images/icons/hide.png +0 -0
  193. data/test/{rails_root → rails_test}/public/images/icons/information.png +0 -0
  194. data/test/{rails_root → rails_test}/public/images/icons/minus.png +0 -0
  195. data/test/{rails_root → rails_test}/public/images/icons/pending.png +0 -0
  196. data/test/{rails_root → rails_test}/public/images/icons/question.png +0 -0
  197. data/test/{rails_root → rails_test}/public/images/icons/search_box.png +0 -0
  198. data/test/{rails_root → rails_test}/public/images/icons/star.png +0 -0
  199. data/test/{rails_root → rails_test}/public/images/icons/stop.png +0 -0
  200. data/test/{rails_root → rails_test}/public/images/icons/thumb_down.png +0 -0
  201. data/test/{rails_root → rails_test}/public/images/icons/thumb_up.png +0 -0
  202. data/test/{rails_root → rails_test}/public/images/icons/vote.png +0 -0
  203. data/test/{rails_root → rails_test}/public/images/loading.gif +0 -0
  204. data/test/{rails_root → rails_test}/public/images/nothing.png +0 -0
  205. data/test/{rails_root → rails_test}/public/images/profile_default.jpg +0 -0
  206. data/test/{rails_root → rails_test}/public/images/rails.png +0 -0
  207. data/test/{rails_root → rails_test}/public/images/service_icons/16/amazon.png +0 -0
  208. data/test/{rails_root → rails_test}/public/images/service_icons/16/ask.png +0 -0
  209. data/test/{rails_root → rails_test}/public/images/service_icons/16/bibsonomy.png +0 -0
  210. data/test/{rails_root → rails_test}/public/images/service_icons/16/bing.png +0 -0
  211. data/test/{rails_root → rails_test}/public/images/service_icons/16/blogger.png +0 -0
  212. data/test/{rails_root → rails_test}/public/images/service_icons/16/bloglines.png +0 -0
  213. data/test/{rails_root → rails_test}/public/images/service_icons/16/citeulike.png +0 -0
  214. data/test/{rails_root → rails_test}/public/images/service_icons/16/clipmarks.png +0 -0
  215. data/test/{rails_root → rails_test}/public/images/service_icons/16/connotea.png +0 -0
  216. data/test/{rails_root → rails_test}/public/images/service_icons/16/dailymotion.png +0 -0
  217. data/test/{rails_root → rails_test}/public/images/service_icons/16/delicious.png +0 -0
  218. data/test/{rails_root → rails_test}/public/images/service_icons/16/digg.png +0 -0
  219. data/test/{rails_root → rails_test}/public/images/service_icons/16/diigo.png +0 -0
  220. data/test/{rails_root → rails_test}/public/images/service_icons/16/facebook.png +0 -0
  221. data/test/{rails_root → rails_test}/public/images/service_icons/16/feed.png +0 -0
  222. data/test/{rails_root → rails_test}/public/images/service_icons/16/fireeagle.png +0 -0
  223. data/test/{rails_root → rails_test}/public/images/service_icons/16/flickr.png +0 -0
  224. data/test/{rails_root → rails_test}/public/images/service_icons/16/fotolog.png +0 -0
  225. data/test/{rails_root → rails_test}/public/images/service_icons/16/friendfeed.png +0 -0
  226. data/test/{rails_root → rails_test}/public/images/service_icons/16/friendster.png +0 -0
  227. data/test/{rails_root → rails_test}/public/images/service_icons/16/furl.png +0 -0
  228. data/test/{rails_root → rails_test}/public/images/service_icons/16/goodreads.png +0 -0
  229. data/test/{rails_root → rails_test}/public/images/service_icons/16/google.png +0 -0
  230. data/test/{rails_root → rails_test}/public/images/service_icons/16/googleblog.png +0 -0
  231. data/test/{rails_root → rails_test}/public/images/service_icons/16/googlenews.png +0 -0
  232. data/test/{rails_root → rails_test}/public/images/service_icons/16/icerocket.png +0 -0
  233. data/test/{rails_root → rails_test}/public/images/service_icons/16/identica.png +0 -0
  234. data/test/{rails_root → rails_test}/public/images/service_icons/16/joost.png +0 -0
  235. data/test/{rails_root → rails_test}/public/images/service_icons/16/lastfm.png +0 -0
  236. data/test/{rails_root → rails_test}/public/images/service_icons/16/librarything.png +0 -0
  237. data/test/{rails_root → rails_test}/public/images/service_icons/16/linkedin.png +0 -0
  238. data/test/{rails_root → rails_test}/public/images/service_icons/16/livejournal.png +0 -0
  239. data/test/{rails_root → rails_test}/public/images/service_icons/16/magnolia.png +0 -0
  240. data/test/{rails_root → rails_test}/public/images/service_icons/16/mendeley.png +0 -0
  241. data/test/{rails_root → rails_test}/public/images/service_icons/16/metacafe.png +0 -0
  242. data/test/{rails_root → rails_test}/public/images/service_icons/16/mixx.png +0 -0
  243. data/test/{rails_root → rails_test}/public/images/service_icons/16/myspace.png +0 -0
  244. data/test/{rails_root → rails_test}/public/images/service_icons/16/netflix.png +0 -0
  245. data/test/{rails_root → rails_test}/public/images/service_icons/16/netvibes.png +0 -0
  246. data/test/{rails_root → rails_test}/public/images/service_icons/16/newsvine.png +0 -0
  247. data/test/{rails_root → rails_test}/public/images/service_icons/16/oai.png +0 -0
  248. data/test/{rails_root → rails_test}/public/images/service_icons/16/odeo.png +0 -0
  249. data/test/{rails_root → rails_test}/public/images/service_icons/16/opml.png +0 -0
  250. data/test/{rails_root → rails_test}/public/images/service_icons/16/pandora.png +0 -0
  251. data/test/{rails_root → rails_test}/public/images/service_icons/16/photobucket.png +0 -0
  252. data/test/{rails_root → rails_test}/public/images/service_icons/16/picasa.png +0 -0
  253. data/test/{rails_root → rails_test}/public/images/service_icons/16/polyvore.png +0 -0
  254. data/test/{rails_root → rails_test}/public/images/service_icons/16/pownce.png +0 -0
  255. data/test/{rails_root → rails_test}/public/images/service_icons/16/reddit.png +0 -0
  256. data/test/{rails_root → rails_test}/public/images/service_icons/16/simpy.png +0 -0
  257. data/test/{rails_root → rails_test}/public/images/service_icons/16/smugmug.png +0 -0
  258. data/test/{rails_root → rails_test}/public/images/service_icons/16/stumbleupon.png +0 -0
  259. data/test/{rails_root → rails_test}/public/images/service_icons/16/tag.png +0 -0
  260. data/test/{rails_root → rails_test}/public/images/service_icons/16/technorati.png +0 -0
  261. data/test/{rails_root → rails_test}/public/images/service_icons/16/tumblr.png +0 -0
  262. data/test/{rails_root → rails_test}/public/images/service_icons/16/twine.png +0 -0
  263. data/test/{rails_root → rails_test}/public/images/service_icons/16/twitter.png +0 -0
  264. data/test/{rails_root → rails_test}/public/images/service_icons/16/vimeo.png +0 -0
  265. data/test/{rails_root → rails_test}/public/images/service_icons/16/webshots.png +0 -0
  266. data/test/{rails_root → rails_test}/public/images/service_icons/16/wordpress.png +0 -0
  267. data/test/{rails_root → rails_test}/public/images/service_icons/16/xanga.png +0 -0
  268. data/test/{rails_root → rails_test}/public/images/service_icons/16/yahoo.png +0 -0
  269. data/test/{rails_root → rails_test}/public/images/service_icons/16/yelp.png +0 -0
  270. data/test/{rails_root → rails_test}/public/images/service_icons/16/youtube.png +0 -0
  271. data/test/{rails_root → rails_test}/public/images/service_icons/16/zooomr.png +0 -0
  272. data/test/{rails_root → rails_test}/public/images/service_icons/16/zotero.png +0 -0
  273. data/test/{rails_root → rails_test}/public/images/service_icons/24/amazon.png +0 -0
  274. data/test/{rails_root → rails_test}/public/images/service_icons/24/ask.png +0 -0
  275. data/test/{rails_root → rails_test}/public/images/service_icons/24/bibsonomy.png +0 -0
  276. data/test/{rails_root → rails_test}/public/images/service_icons/24/bing.png +0 -0
  277. data/test/{rails_root → rails_test}/public/images/service_icons/24/blogger.png +0 -0
  278. data/test/{rails_root → rails_test}/public/images/service_icons/24/bloglines.png +0 -0
  279. data/test/{rails_root → rails_test}/public/images/service_icons/24/citeulike.png +0 -0
  280. data/test/{rails_root → rails_test}/public/images/service_icons/24/clipmarks.png +0 -0
  281. data/test/{rails_root → rails_test}/public/images/service_icons/24/connotea.png +0 -0
  282. data/test/{rails_root → rails_test}/public/images/service_icons/24/dailymotion.png +0 -0
  283. data/test/{rails_root → rails_test}/public/images/service_icons/24/delicious.png +0 -0
  284. data/test/{rails_root → rails_test}/public/images/service_icons/24/digg.png +0 -0
  285. data/test/{rails_root → rails_test}/public/images/service_icons/24/diigo.png +0 -0
  286. data/test/{rails_root → rails_test}/public/images/service_icons/24/facebook.png +0 -0
  287. data/test/{rails_root → rails_test}/public/images/service_icons/24/feed.png +0 -0
  288. data/test/{rails_root → rails_test}/public/images/service_icons/24/fireeagle.png +0 -0
  289. data/test/{rails_root → rails_test}/public/images/service_icons/24/flickr.png +0 -0
  290. data/test/{rails_root → rails_test}/public/images/service_icons/24/fotolog.png +0 -0
  291. data/test/{rails_root → rails_test}/public/images/service_icons/24/friendfeed.png +0 -0
  292. data/test/{rails_root → rails_test}/public/images/service_icons/24/friendster.png +0 -0
  293. data/test/{rails_root → rails_test}/public/images/service_icons/24/furl.png +0 -0
  294. data/test/{rails_root → rails_test}/public/images/service_icons/24/goodreads.png +0 -0
  295. data/test/{rails_root → rails_test}/public/images/service_icons/24/google.png +0 -0
  296. data/test/{rails_root → rails_test}/public/images/service_icons/24/googleblog.png +0 -0
  297. data/test/{rails_root → rails_test}/public/images/service_icons/24/googlenews.png +0 -0
  298. data/test/{rails_root → rails_test}/public/images/service_icons/24/icerocket.png +0 -0
  299. data/test/{rails_root → rails_test}/public/images/service_icons/24/identica.png +0 -0
  300. data/test/{rails_root → rails_test}/public/images/service_icons/24/joost.png +0 -0
  301. data/test/{rails_root → rails_test}/public/images/service_icons/24/lastfm.png +0 -0
  302. data/test/{rails_root → rails_test}/public/images/service_icons/24/librarything.png +0 -0
  303. data/test/{rails_root → rails_test}/public/images/service_icons/24/linkedin.png +0 -0
  304. data/test/{rails_root → rails_test}/public/images/service_icons/24/livejournal.png +0 -0
  305. data/test/{rails_root → rails_test}/public/images/service_icons/24/magnolia.png +0 -0
  306. data/test/{rails_root → rails_test}/public/images/service_icons/24/mendeley.png +0 -0
  307. data/test/{rails_root → rails_test}/public/images/service_icons/24/metacafe.png +0 -0
  308. data/test/{rails_root → rails_test}/public/images/service_icons/24/mixx.png +0 -0
  309. data/test/{rails_root → rails_test}/public/images/service_icons/24/myspace.png +0 -0
  310. data/test/{rails_root → rails_test}/public/images/service_icons/24/netflix.png +0 -0
  311. data/test/{rails_root → rails_test}/public/images/service_icons/24/netvibes.png +0 -0
  312. data/test/{rails_root → rails_test}/public/images/service_icons/24/newsvine.png +0 -0
  313. data/test/{rails_root → rails_test}/public/images/service_icons/24/oai.png +0 -0
  314. data/test/{rails_root → rails_test}/public/images/service_icons/24/odeo.png +0 -0
  315. data/test/{rails_root → rails_test}/public/images/service_icons/24/opml.png +0 -0
  316. data/test/{rails_root → rails_test}/public/images/service_icons/24/pandora.png +0 -0
  317. data/test/{rails_root → rails_test}/public/images/service_icons/24/photobucket.png +0 -0
  318. data/test/{rails_root → rails_test}/public/images/service_icons/24/picasa.png +0 -0
  319. data/test/{rails_root → rails_test}/public/images/service_icons/24/polyvore.png +0 -0
  320. data/test/{rails_root → rails_test}/public/images/service_icons/24/pownce.png +0 -0
  321. data/test/{rails_root → rails_test}/public/images/service_icons/24/reddit.png +0 -0
  322. data/test/{rails_root → rails_test}/public/images/service_icons/24/simpy.png +0 -0
  323. data/test/{rails_root → rails_test}/public/images/service_icons/24/smugmug.png +0 -0
  324. data/test/{rails_root → rails_test}/public/images/service_icons/24/stumbleupon.png +0 -0
  325. data/test/{rails_root → rails_test}/public/images/service_icons/24/tag.png +0 -0
  326. data/test/{rails_root → rails_test}/public/images/service_icons/24/technorati.png +0 -0
  327. data/test/{rails_root → rails_test}/public/images/service_icons/24/tumblr.png +0 -0
  328. data/test/{rails_root → rails_test}/public/images/service_icons/24/twine.png +0 -0
  329. data/test/{rails_root → rails_test}/public/images/service_icons/24/twitter.png +0 -0
  330. data/test/{rails_root → rails_test}/public/images/service_icons/24/vimeo.png +0 -0
  331. data/test/{rails_root → rails_test}/public/images/service_icons/24/webshots.png +0 -0
  332. data/test/{rails_root → rails_test}/public/images/service_icons/24/wordpress.png +0 -0
  333. data/test/{rails_root → rails_test}/public/images/service_icons/24/xanga.png +0 -0
  334. data/test/{rails_root → rails_test}/public/images/service_icons/24/yahoo.png +0 -0
  335. data/test/{rails_root → rails_test}/public/images/service_icons/24/yelp.png +0 -0
  336. data/test/{rails_root → rails_test}/public/images/service_icons/24/youtube.png +0 -0
  337. data/test/{rails_root → rails_test}/public/images/service_icons/24/zooomr.png +0 -0
  338. data/test/{rails_root → rails_test}/public/images/service_icons/24/zotero.png +0 -0
  339. data/test/{rails_root → rails_test}/public/images/service_icons/48/amazon.png +0 -0
  340. data/test/{rails_root → rails_test}/public/images/service_icons/48/ask.png +0 -0
  341. data/test/{rails_root → rails_test}/public/images/service_icons/48/bibsonomy.png +0 -0
  342. data/test/{rails_root → rails_test}/public/images/service_icons/48/bing.png +0 -0
  343. data/test/{rails_root → rails_test}/public/images/service_icons/48/blogger.png +0 -0
  344. data/test/{rails_root → rails_test}/public/images/service_icons/48/bloglines.png +0 -0
  345. data/test/{rails_root → rails_test}/public/images/service_icons/48/citeulike.png +0 -0
  346. data/test/{rails_root → rails_test}/public/images/service_icons/48/clipmarks.png +0 -0
  347. data/test/{rails_root → rails_test}/public/images/service_icons/48/connotea.png +0 -0
  348. data/test/{rails_root → rails_test}/public/images/service_icons/48/dailymotion.png +0 -0
  349. data/test/{rails_root → rails_test}/public/images/service_icons/48/delicious.png +0 -0
  350. data/test/{rails_root → rails_test}/public/images/service_icons/48/digg.png +0 -0
  351. data/test/{rails_root → rails_test}/public/images/service_icons/48/diigo.png +0 -0
  352. data/test/{rails_root → rails_test}/public/images/service_icons/48/facebook.png +0 -0
  353. data/test/{rails_root → rails_test}/public/images/service_icons/48/feed.png +0 -0
  354. data/test/{rails_root → rails_test}/public/images/service_icons/48/fireeagle.png +0 -0
  355. data/test/{rails_root → rails_test}/public/images/service_icons/48/flickr.png +0 -0
  356. data/test/{rails_root → rails_test}/public/images/service_icons/48/fotolog.png +0 -0
  357. data/test/{rails_root → rails_test}/public/images/service_icons/48/friendfeed.png +0 -0
  358. data/test/{rails_root → rails_test}/public/images/service_icons/48/friendster.png +0 -0
  359. data/test/{rails_root → rails_test}/public/images/service_icons/48/furl.png +0 -0
  360. data/test/{rails_root → rails_test}/public/images/service_icons/48/goodreads.png +0 -0
  361. data/test/{rails_root → rails_test}/public/images/service_icons/48/google.png +0 -0
  362. data/test/{rails_root → rails_test}/public/images/service_icons/48/googleblog.png +0 -0
  363. data/test/{rails_root → rails_test}/public/images/service_icons/48/googlenews.png +0 -0
  364. data/test/{rails_root → rails_test}/public/images/service_icons/48/icerocket.png +0 -0
  365. data/test/{rails_root → rails_test}/public/images/service_icons/48/identica.png +0 -0
  366. data/test/{rails_root → rails_test}/public/images/service_icons/48/joost.png +0 -0
  367. data/test/{rails_root → rails_test}/public/images/service_icons/48/lastfm.png +0 -0
  368. data/test/{rails_root → rails_test}/public/images/service_icons/48/librarything.png +0 -0
  369. data/test/{rails_root → rails_test}/public/images/service_icons/48/linkedin.png +0 -0
  370. data/test/{rails_root → rails_test}/public/images/service_icons/48/livejournal.png +0 -0
  371. data/test/{rails_root → rails_test}/public/images/service_icons/48/magnolia.png +0 -0
  372. data/test/{rails_root → rails_test}/public/images/service_icons/48/mendeley.png +0 -0
  373. data/test/{rails_root → rails_test}/public/images/service_icons/48/metacafe.png +0 -0
  374. data/test/{rails_root → rails_test}/public/images/service_icons/48/mixx.png +0 -0
  375. data/test/{rails_root → rails_test}/public/images/service_icons/48/myspace.png +0 -0
  376. data/test/{rails_root → rails_test}/public/images/service_icons/48/netflix.png +0 -0
  377. data/test/{rails_root → rails_test}/public/images/service_icons/48/netvibes.png +0 -0
  378. data/test/{rails_root → rails_test}/public/images/service_icons/48/newsvine.png +0 -0
  379. data/test/{rails_root → rails_test}/public/images/service_icons/48/oai.png +0 -0
  380. data/test/{rails_root → rails_test}/public/images/service_icons/48/odeo.png +0 -0
  381. data/test/{rails_root → rails_test}/public/images/service_icons/48/opml.png +0 -0
  382. data/test/{rails_root → rails_test}/public/images/service_icons/48/pandora.png +0 -0
  383. data/test/{rails_root → rails_test}/public/images/service_icons/48/photobucket.png +0 -0
  384. data/test/{rails_root → rails_test}/public/images/service_icons/48/picasa.png +0 -0
  385. data/test/{rails_root → rails_test}/public/images/service_icons/48/polyvore.png +0 -0
  386. data/test/{rails_root → rails_test}/public/images/service_icons/48/pownce.png +0 -0
  387. data/test/{rails_root → rails_test}/public/images/service_icons/48/reddit.png +0 -0
  388. data/test/{rails_root → rails_test}/public/images/service_icons/48/simpy.png +0 -0
  389. data/test/{rails_root → rails_test}/public/images/service_icons/48/smugmug.png +0 -0
  390. data/test/{rails_root → rails_test}/public/images/service_icons/48/stumbleupon.png +0 -0
  391. data/test/{rails_root → rails_test}/public/images/service_icons/48/tag.png +0 -0
  392. data/test/{rails_root → rails_test}/public/images/service_icons/48/technorati.png +0 -0
  393. data/test/{rails_root → rails_test}/public/images/service_icons/48/tumblr.png +0 -0
  394. data/test/{rails_root → rails_test}/public/images/service_icons/48/twine.png +0 -0
  395. data/test/{rails_root → rails_test}/public/images/service_icons/48/twitter.png +0 -0
  396. data/test/{rails_root → rails_test}/public/images/service_icons/48/vimeo.png +0 -0
  397. data/test/{rails_root → rails_test}/public/images/service_icons/48/webshots.png +0 -0
  398. data/test/{rails_root → rails_test}/public/images/service_icons/48/wordpress.png +0 -0
  399. data/test/{rails_root → rails_test}/public/images/service_icons/48/xanga.png +0 -0
  400. data/test/{rails_root → rails_test}/public/images/service_icons/48/yahoo.png +0 -0
  401. data/test/{rails_root → rails_test}/public/images/service_icons/48/yelp.png +0 -0
  402. data/test/{rails_root → rails_test}/public/images/service_icons/48/youtube.png +0 -0
  403. data/test/{rails_root → rails_test}/public/images/service_icons/48/zooomr.png +0 -0
  404. data/test/{rails_root → rails_test}/public/images/service_icons/48/zotero.png +0 -0
  405. data/test/{rails_root → rails_test}/public/images/service_icons/60/amazon.png +0 -0
  406. data/test/{rails_root → rails_test}/public/images/service_icons/60/ask.png +0 -0
  407. data/test/{rails_root → rails_test}/public/images/service_icons/60/bibsonomy.png +0 -0
  408. data/test/{rails_root → rails_test}/public/images/service_icons/60/bing.png +0 -0
  409. data/test/{rails_root → rails_test}/public/images/service_icons/60/blogger.png +0 -0
  410. data/test/{rails_root → rails_test}/public/images/service_icons/60/bloglines.png +0 -0
  411. data/test/{rails_root → rails_test}/public/images/service_icons/60/citeulike.png +0 -0
  412. data/test/{rails_root → rails_test}/public/images/service_icons/60/clipmarks.png +0 -0
  413. data/test/{rails_root → rails_test}/public/images/service_icons/60/connotea.png +0 -0
  414. data/test/{rails_root → rails_test}/public/images/service_icons/60/dailymotion.png +0 -0
  415. data/test/{rails_root → rails_test}/public/images/service_icons/60/delicious.png +0 -0
  416. data/test/{rails_root → rails_test}/public/images/service_icons/60/digg.png +0 -0
  417. data/test/{rails_root → rails_test}/public/images/service_icons/60/diigo.png +0 -0
  418. data/test/{rails_root → rails_test}/public/images/service_icons/60/facebook.png +0 -0
  419. data/test/{rails_root → rails_test}/public/images/service_icons/60/feed.png +0 -0
  420. data/test/{rails_root → rails_test}/public/images/service_icons/60/fireeagle.png +0 -0
  421. data/test/{rails_root → rails_test}/public/images/service_icons/60/flickr.png +0 -0
  422. data/test/{rails_root → rails_test}/public/images/service_icons/60/fotolog.png +0 -0
  423. data/test/{rails_root → rails_test}/public/images/service_icons/60/friendfeed.png +0 -0
  424. data/test/{rails_root → rails_test}/public/images/service_icons/60/friendster.png +0 -0
  425. data/test/{rails_root → rails_test}/public/images/service_icons/60/furl.png +0 -0
  426. data/test/{rails_root → rails_test}/public/images/service_icons/60/goodreads.png +0 -0
  427. data/test/{rails_root → rails_test}/public/images/service_icons/60/google.png +0 -0
  428. data/test/{rails_root → rails_test}/public/images/service_icons/60/googleblog.png +0 -0
  429. data/test/{rails_root → rails_test}/public/images/service_icons/60/googlenews.png +0 -0
  430. data/test/{rails_root → rails_test}/public/images/service_icons/60/icerocket.png +0 -0
  431. data/test/{rails_root → rails_test}/public/images/service_icons/60/identica.png +0 -0
  432. data/test/{rails_root → rails_test}/public/images/service_icons/60/joost.png +0 -0
  433. data/test/{rails_root → rails_test}/public/images/service_icons/60/lastfm.png +0 -0
  434. data/test/{rails_root → rails_test}/public/images/service_icons/60/librarything.png +0 -0
  435. data/test/{rails_root → rails_test}/public/images/service_icons/60/linkedin.png +0 -0
  436. data/test/{rails_root → rails_test}/public/images/service_icons/60/livejournal.png +0 -0
  437. data/test/{rails_root → rails_test}/public/images/service_icons/60/magnolia.png +0 -0
  438. data/test/{rails_root → rails_test}/public/images/service_icons/60/mendeley.png +0 -0
  439. data/test/{rails_root → rails_test}/public/images/service_icons/60/metacafe.png +0 -0
  440. data/test/{rails_root → rails_test}/public/images/service_icons/60/mixx.png +0 -0
  441. data/test/{rails_root → rails_test}/public/images/service_icons/60/myspace.png +0 -0
  442. data/test/{rails_root → rails_test}/public/images/service_icons/60/netflix.png +0 -0
  443. data/test/{rails_root → rails_test}/public/images/service_icons/60/netvibes.png +0 -0
  444. data/test/{rails_root → rails_test}/public/images/service_icons/60/newsvine.png +0 -0
  445. data/test/{rails_root → rails_test}/public/images/service_icons/60/oai.png +0 -0
  446. data/test/{rails_root → rails_test}/public/images/service_icons/60/odeo.png +0 -0
  447. data/test/{rails_root → rails_test}/public/images/service_icons/60/opml.png +0 -0
  448. data/test/{rails_root → rails_test}/public/images/service_icons/60/pandora.png +0 -0
  449. data/test/{rails_root → rails_test}/public/images/service_icons/60/photobucket.png +0 -0
  450. data/test/{rails_root → rails_test}/public/images/service_icons/60/picasa.png +0 -0
  451. data/test/{rails_root → rails_test}/public/images/service_icons/60/polyvore.png +0 -0
  452. data/test/{rails_root → rails_test}/public/images/service_icons/60/pownce.png +0 -0
  453. data/test/{rails_root → rails_test}/public/images/service_icons/60/reddit.png +0 -0
  454. data/test/{rails_root → rails_test}/public/images/service_icons/60/simpy.png +0 -0
  455. data/test/{rails_root → rails_test}/public/images/service_icons/60/smugmug.png +0 -0
  456. data/test/{rails_root → rails_test}/public/images/service_icons/60/stumbleupon.png +0 -0
  457. data/test/{rails_root → rails_test}/public/images/service_icons/60/tag.png +0 -0
  458. data/test/{rails_root → rails_test}/public/images/service_icons/60/technorati.png +0 -0
  459. data/test/{rails_root → rails_test}/public/images/service_icons/60/tumblr.png +0 -0
  460. data/test/{rails_root → rails_test}/public/images/service_icons/60/twine.png +0 -0
  461. data/test/{rails_root → rails_test}/public/images/service_icons/60/twitter.png +0 -0
  462. data/test/{rails_root → rails_test}/public/images/service_icons/60/vimeo.png +0 -0
  463. data/test/{rails_root → rails_test}/public/images/service_icons/60/webshots.png +0 -0
  464. data/test/{rails_root → rails_test}/public/images/service_icons/60/wordpress.png +0 -0
  465. data/test/{rails_root → rails_test}/public/images/service_icons/60/xanga.png +0 -0
  466. data/test/{rails_root → rails_test}/public/images/service_icons/60/yahoo.png +0 -0
  467. data/test/{rails_root → rails_test}/public/images/service_icons/60/yelp.png +0 -0
  468. data/test/{rails_root → rails_test}/public/images/service_icons/60/youtube.png +0 -0
  469. data/test/{rails_root → rails_test}/public/images/service_icons/60/zooomr.png +0 -0
  470. data/test/{rails_root → rails_test}/public/images/service_icons/60/zotero.png +0 -0
  471. data/test/{rails_root → rails_test}/public/images/service_icons/facebook_friend_links.jpg +0 -0
  472. data/test/{rails_root → rails_test}/public/images/service_icons/facebook_my_links.jpg +0 -0
  473. data/test/{rails_root → rails_test}/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  474. data/test/{rails_root → rails_test}/public/images/service_icons/source/Google.psd +0 -0
  475. data/test/rails_root/public/images/service_icons/source/Quake 9 Design.webloc b/data/test/rails_test/public/images/service_icons/source/Quake 9 → Design.webloc +0 -0
  476. data/test/{rails_root → rails_test}/public/images/service_icons/source/ReadMe.rtf +0 -0
  477. data/test/{rails_root → rails_test}/public/images/service_icons/source/amazon.png +0 -0
  478. data/test/{rails_root → rails_test}/public/images/service_icons/source/aquaticus.social.png +0 -0
  479. data/test/{rails_root → rails_test}/public/images/service_icons/source/ask.png +0 -0
  480. data/test/{rails_root → rails_test}/public/images/service_icons/source/ask.psd +0 -0
  481. data/test/{rails_root → rails_test}/public/images/service_icons/source/bibsonomy.png +0 -0
  482. data/test/{rails_root → rails_test}/public/images/service_icons/source/bibsonomy.psd +0 -0
  483. data/test/{rails_root → rails_test}/public/images/service_icons/source/bing.png +0 -0
  484. data/test/{rails_root → rails_test}/public/images/service_icons/source/bing.psd +0 -0
  485. data/test/{rails_root → rails_test}/public/images/service_icons/source/blogger.png +0 -0
  486. data/test/{rails_root → rails_test}/public/images/service_icons/source/bloglines.png +0 -0
  487. data/test/{rails_root → rails_test}/public/images/service_icons/source/bloglines.psd +0 -0
  488. data/test/{rails_root → rails_test}/public/images/service_icons/source/citeulike.png +0 -0
  489. data/test/{rails_root → rails_test}/public/images/service_icons/source/clipmarks.png +0 -0
  490. data/test/{rails_root → rails_test}/public/images/service_icons/source/connotea.png +0 -0
  491. data/test/{rails_root → rails_test}/public/images/service_icons/source/connotea.psd +0 -0
  492. data/test/{rails_root → rails_test}/public/images/service_icons/source/dailymotion.png +0 -0
  493. data/test/{rails_root → rails_test}/public/images/service_icons/source/delicious.png +0 -0
  494. data/test/{rails_root → rails_test}/public/images/service_icons/source/digg.png +0 -0
  495. data/test/{rails_root → rails_test}/public/images/service_icons/source/diigo.png +0 -0
  496. data/test/{rails_root → rails_test}/public/images/service_icons/source/facebook.png +0 -0
  497. data/test/{rails_root → rails_test}/public/images/service_icons/source/feed.png +0 -0
  498. data/test/{rails_root → rails_test}/public/images/service_icons/source/fireeagle.psd +0 -0
  499. data/test/{rails_root → rails_test}/public/images/service_icons/source/flickr.png +0 -0
  500. data/test/{rails_root → rails_test}/public/images/service_icons/source/fotolog.png +0 -0
  501. data/test/{rails_root → rails_test}/public/images/service_icons/source/friendfeed.png +0 -0
  502. data/test/{rails_root → rails_test}/public/images/service_icons/source/friendster.png +0 -0
  503. data/test/{rails_root → rails_test}/public/images/service_icons/source/furl.png +0 -0
  504. data/test/{rails_root → rails_test}/public/images/service_icons/source/goodreads.png +0 -0
  505. data/test/{rails_root → rails_test}/public/images/service_icons/source/google.png +0 -0
  506. data/test/{rails_root → rails_test}/public/images/service_icons/source/googleblog.png +0 -0
  507. data/test/{rails_root → rails_test}/public/images/service_icons/source/googlenews.png +0 -0
  508. data/test/{rails_root → rails_test}/public/images/service_icons/source/icerocket.png +0 -0
  509. data/test/{rails_root → rails_test}/public/images/service_icons/source/icerocket.psd +0 -0
  510. data/test/{rails_root → rails_test}/public/images/service_icons/source/identica.png +0 -0
  511. data/test/{rails_root → rails_test}/public/images/service_icons/source/joost.png +0 -0
  512. data/test/{rails_root → rails_test}/public/images/service_icons/source/lastfm.png +0 -0
  513. data/test/{rails_root → rails_test}/public/images/service_icons/source/librarything.png +0 -0
  514. data/test/{rails_root → rails_test}/public/images/service_icons/source/linkedin.png +0 -0
  515. data/test/{rails_root → rails_test}/public/images/service_icons/source/livejournal.png +0 -0
  516. data/test/{rails_root → rails_test}/public/images/service_icons/source/magnolia.png +0 -0
  517. data/test/{rails_root → rails_test}/public/images/service_icons/source/mendeley.png +0 -0
  518. data/test/{rails_root → rails_test}/public/images/service_icons/source/metacafe.png +0 -0
  519. data/test/{rails_root → rails_test}/public/images/service_icons/source/metacafe.psd +0 -0
  520. data/test/{rails_root → rails_test}/public/images/service_icons/source/mixx.png +0 -0
  521. data/test/{rails_root → rails_test}/public/images/service_icons/source/myspace.png +0 -0
  522. data/test/{rails_root → rails_test}/public/images/service_icons/source/netflix.png +0 -0
  523. data/test/{rails_root → rails_test}/public/images/service_icons/source/netvibes.png +0 -0
  524. data/test/{rails_root → rails_test}/public/images/service_icons/source/newsvine.png +0 -0
  525. data/test/{rails_root → rails_test}/public/images/service_icons/source/oai.png +0 -0
  526. data/test/{rails_root → rails_test}/public/images/service_icons/source/odeo.png +0 -0
  527. data/test/{rails_root → rails_test}/public/images/service_icons/source/opml.png +0 -0
  528. data/test/{rails_root → rails_test}/public/images/service_icons/source/pandora.png +0 -0
  529. data/test/{rails_root → rails_test}/public/images/service_icons/source/photobucket.png +0 -0
  530. data/test/{rails_root → rails_test}/public/images/service_icons/source/picasa.png +0 -0
  531. data/test/{rails_root → rails_test}/public/images/service_icons/source/polyvore.png +0 -0
  532. data/test/{rails_root → rails_test}/public/images/service_icons/source/pownce.png +0 -0
  533. data/test/{rails_root → rails_test}/public/images/service_icons/source/reddit.png +0 -0
  534. data/test/{rails_root → rails_test}/public/images/service_icons/source/simpy.png +0 -0
  535. data/test/{rails_root → rails_test}/public/images/service_icons/source/smugmug.png +0 -0
  536. data/test/{rails_root → rails_test}/public/images/service_icons/source/stumbleupon.png +0 -0
  537. data/test/{rails_root → rails_test}/public/images/service_icons/source/tag.png +0 -0
  538. data/test/{rails_root → rails_test}/public/images/service_icons/source/technorati.png +0 -0
  539. data/test/{rails_root → rails_test}/public/images/service_icons/source/template.png +0 -0
  540. data/test/{rails_root → rails_test}/public/images/service_icons/source/tumblr.png +0 -0
  541. data/test/{rails_root → rails_test}/public/images/service_icons/source/twine.png +0 -0
  542. data/test/{rails_root → rails_test}/public/images/service_icons/source/twine.psd +0 -0
  543. data/test/{rails_root → rails_test}/public/images/service_icons/source/twitter.png +0 -0
  544. data/test/{rails_root → rails_test}/public/images/service_icons/source/vimeo.png +0 -0
  545. data/test/{rails_root → rails_test}/public/images/service_icons/source/webshots.png +0 -0
  546. data/test/{rails_root → rails_test}/public/images/service_icons/source/wordpress.png +0 -0
  547. data/test/{rails_root → rails_test}/public/images/service_icons/source/xanga.png +0 -0
  548. data/test/{rails_root → rails_test}/public/images/service_icons/source/yahoo.png +0 -0
  549. data/test/{rails_root → rails_test}/public/images/service_icons/source/yelp.png +0 -0
  550. data/test/{rails_root → rails_test}/public/images/service_icons/source/youtube.png +0 -0
  551. data/test/{rails_root → rails_test}/public/images/service_icons/source/zooomr.png +0 -0
  552. data/test/{rails_root → rails_test}/public/images/service_icons/source/zotero.png +0 -0
  553. data/test/{rails_root → rails_test}/public/images/spinner.gif +0 -0
  554. data/test/{rails_root → rails_test}/public/images/sprites.png +0 -0
  555. data/test/{rails_root → rails_test}/public/javascripts/application.js +0 -0
  556. data/test/{rails_root → rails_test}/public/javascripts/builder.js +0 -0
  557. data/test/{rails_root → rails_test}/public/javascripts/controls.js +0 -0
  558. data/test/{rails_root → rails_test}/public/javascripts/dragdrop.js +0 -0
  559. data/test/{rails_root → rails_test}/public/javascripts/effects.js +0 -0
  560. data/test/{rails_root → rails_test}/public/javascripts/fancyzoom.min.js +0 -0
  561. data/test/{rails_root → rails_test}/public/javascripts/jquery/colorpicker.js +0 -0
  562. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery-ui.js +0 -0
  563. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.autocomplete.js.readme +0 -0
  564. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.autocomplete.min.js +0 -0
  565. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.autocomplete.pack.js +0 -0
  566. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.easing.js +0 -0
  567. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.fancybox.js +0 -0
  568. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.form.js +0 -0
  569. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.jgrowl.js +0 -0
  570. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.js +0 -0
  571. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.metadata.min.js +0 -0
  572. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.mousewheel.js +0 -0
  573. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.queryString.js +0 -0
  574. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.swapimage.js +0 -0
  575. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.swapimage.min.js +0 -0
  576. data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.tips.js +0 -0
  577. data/test/{rails_root → rails_test}/public/javascripts/jquery/jrails.js +0 -0
  578. data/test/{rails_root → rails_test}/public/javascripts/muck-countries.js +0 -0
  579. data/test/{rails_root → rails_test}/public/javascripts/muck-src.js +0 -0
  580. data/test/{rails_root → rails_test}/public/javascripts/muck-users.js +0 -0
  581. data/test/{rails_root → rails_test}/public/javascripts/muck.js +0 -0
  582. data/test/{rails_root → rails_test}/public/javascripts/muck_activities.js +0 -0
  583. data/test/{rails_root → rails_test}/public/javascripts/muck_time/en.js +0 -0
  584. data/test/{rails_root → rails_test}/public/javascripts/prototype.js +0 -0
  585. data/test/{rails_root → rails_test}/public/javascripts/scriptaculous.js +0 -0
  586. data/test/{rails_root → rails_test}/public/javascripts/slider.js +0 -0
  587. data/test/{rails_root → rails_test}/public/javascripts/sound.js +0 -0
  588. data/test/rails_test/public/javascripts/tiny_mce/langs/ar.js +170 -0
  589. data/test/rails_test/public/javascripts/tiny_mce/langs/ca.js +170 -0
  590. data/test/rails_test/public/javascripts/tiny_mce/langs/ch.js +178 -0
  591. data/test/rails_test/public/javascripts/tiny_mce/langs/cs.js +176 -0
  592. data/test/rails_test/public/javascripts/tiny_mce/langs/cy.js +170 -0
  593. data/test/rails_test/public/javascripts/tiny_mce/langs/de.js +171 -0
  594. data/test/rails_test/public/javascripts/tiny_mce/langs/en.js +170 -0
  595. data/test/rails_test/public/javascripts/tiny_mce/langs/es.js +172 -0
  596. data/test/rails_test/public/javascripts/tiny_mce/langs/fr.js +170 -0
  597. data/test/rails_test/public/javascripts/tiny_mce/langs/he.js +170 -0
  598. data/test/rails_test/public/javascripts/tiny_mce/langs/hi.js +170 -0
  599. data/test/rails_test/public/javascripts/tiny_mce/langs/hr.js +171 -0
  600. data/test/rails_test/public/javascripts/tiny_mce/langs/hu.js +170 -0
  601. data/test/rails_test/public/javascripts/tiny_mce/langs/it.js +206 -0
  602. data/test/rails_test/public/javascripts/tiny_mce/langs/ja.js +170 -0
  603. data/test/rails_test/public/javascripts/tiny_mce/langs/ka.js +173 -0
  604. data/test/rails_test/public/javascripts/tiny_mce/langs/kl.js +170 -0
  605. data/test/rails_test/public/javascripts/tiny_mce/langs/ko.js +170 -0
  606. data/test/rails_test/public/javascripts/tiny_mce/langs/lb.js +171 -0
  607. data/test/rails_test/public/javascripts/tiny_mce/langs/nl.js +170 -0
  608. data/test/rails_test/public/javascripts/tiny_mce/langs/pl.js +170 -0
  609. data/test/rails_test/public/javascripts/tiny_mce/langs/pt.js +170 -0
  610. data/test/rails_test/public/javascripts/tiny_mce/langs/ru.js +173 -0
  611. data/test/rails_test/public/javascripts/tiny_mce/langs/sk.js +176 -0
  612. data/test/rails_test/public/javascripts/tiny_mce/langs/sv.js +170 -0
  613. data/test/rails_test/public/javascripts/tiny_mce/langs/ta.js +170 -0
  614. data/test/rails_test/public/javascripts/tiny_mce/langs/uk.js +173 -0
  615. data/test/rails_test/public/javascripts/tiny_mce/langs/vi.js +170 -0
  616. data/test/rails_test/public/javascripts/tiny_mce/langs/zh.js +178 -0
  617. data/test/rails_test/public/javascripts/tiny_mce/license.txt +504 -0
  618. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
  619. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
  620. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
  621. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
  622. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +5 -0
  623. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +5 -0
  624. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +5 -0
  625. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +5 -0
  626. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +5 -0
  627. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +5 -0
  628. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
  629. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +5 -0
  630. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +5 -0
  631. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +5 -0
  632. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +5 -0
  633. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +5 -0
  634. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +5 -0
  635. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +5 -0
  636. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +5 -0
  637. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ka_dlg.js +5 -0
  638. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/kl_dlg.js +5 -0
  639. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +5 -0
  640. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/lb_dlg.js +5 -0
  641. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +5 -0
  642. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +5 -0
  643. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +5 -0
  644. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +5 -0
  645. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +5 -0
  646. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +5 -0
  647. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +5 -0
  648. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +5 -0
  649. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +5 -0
  650. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +5 -0
  651. data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/rule.htm +57 -0
  652. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
  653. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
  654. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
  655. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/image.htm +232 -0
  656. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  657. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
  658. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +43 -0
  659. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +43 -0
  660. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +43 -0
  661. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +43 -0
  662. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +43 -0
  663. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +43 -0
  664. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
  665. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +43 -0
  666. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +43 -0
  667. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +43 -0
  668. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +43 -0
  669. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +43 -0
  670. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +43 -0
  671. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +43 -0
  672. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +43 -0
  673. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ka_dlg.js +43 -0
  674. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/kl_dlg.js +43 -0
  675. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +43 -0
  676. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/lb_dlg.js +43 -0
  677. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +43 -0
  678. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +43 -0
  679. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +43 -0
  680. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +43 -0
  681. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +43 -0
  682. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +43 -0
  683. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +43 -0
  684. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +43 -0
  685. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +43 -0
  686. data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +43 -0
  687. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
  688. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
  689. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
  690. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
  691. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +52 -0
  692. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +52 -0
  693. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +52 -0
  694. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +52 -0
  695. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +52 -0
  696. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +52 -0
  697. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
  698. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +52 -0
  699. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +52 -0
  700. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +52 -0
  701. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +52 -0
  702. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +52 -0
  703. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +52 -0
  704. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +52 -0
  705. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +52 -0
  706. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ka_dlg.js +52 -0
  707. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/kl_dlg.js +52 -0
  708. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +52 -0
  709. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/lb_dlg.js +52 -0
  710. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +52 -0
  711. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +52 -0
  712. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +52 -0
  713. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +52 -0
  714. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +52 -0
  715. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +52 -0
  716. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +52 -0
  717. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +52 -0
  718. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +52 -0
  719. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +52 -0
  720. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/link.htm +333 -0
  721. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
  722. data/test/rails_test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
  723. data/test/rails_test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
  724. data/test/rails_test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +119 -0
  725. data/test/rails_test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
  726. data/test/rails_test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +422 -0
  727. data/test/rails_test/public/javascripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
  728. data/test/rails_test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
  729. data/test/rails_test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
  730. data/test/rails_test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
  731. data/test/rails_test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +140 -0
  732. data/test/rails_test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
  733. data/test/rails_test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
  734. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
  735. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
  736. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
  737. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  738. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  739. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  740. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  741. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  742. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  743. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  744. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  745. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  746. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  747. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  748. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  749. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  750. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  751. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  752. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  753. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
  754. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +20 -0
  755. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +20 -0
  756. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +20 -0
  757. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +20 -0
  758. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +20 -0
  759. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +20 -0
  760. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
  761. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +20 -0
  762. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +20 -0
  763. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +20 -0
  764. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +20 -0
  765. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +20 -0
  766. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +20 -0
  767. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +20 -0
  768. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +20 -0
  769. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ka_dlg.js +20 -0
  770. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/kl_dlg.js +20 -0
  771. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +20 -0
  772. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/lb_dlg.js +20 -0
  773. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +20 -0
  774. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +20 -0
  775. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +20 -0
  776. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +20 -0
  777. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +20 -0
  778. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +20 -0
  779. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +20 -0
  780. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +20 -0
  781. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +20 -0
  782. data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +20 -0
  783. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/dialog.htm +22 -0
  784. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
  785. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
  786. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
  787. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
  788. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
  789. data/test/rails_test/public/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
  790. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
  791. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
  792. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +149 -0
  793. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +571 -0
  794. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +471 -0
  795. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +85 -0
  796. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +85 -0
  797. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +85 -0
  798. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +85 -0
  799. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +85 -0
  800. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +85 -0
  801. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
  802. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +85 -0
  803. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +85 -0
  804. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +85 -0
  805. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +85 -0
  806. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +85 -0
  807. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +85 -0
  808. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +85 -0
  809. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +85 -0
  810. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ka_dlg.js +85 -0
  811. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/kl_dlg.js +85 -0
  812. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +85 -0
  813. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/lb_dlg.js +85 -0
  814. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +85 -0
  815. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +85 -0
  816. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +85 -0
  817. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +85 -0
  818. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +85 -0
  819. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +85 -0
  820. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +85 -0
  821. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +85 -0
  822. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +85 -0
  823. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +85 -0
  824. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
  825. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +151 -0
  826. data/test/rails_test/public/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
  827. data/test/rails_test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
  828. data/test/rails_test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
  829. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
  830. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +635 -0
  831. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  832. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  833. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  834. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  835. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  836. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  837. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  838. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
  839. data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
  840. data/test/rails_test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
  841. data/test/rails_test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
  842. data/test/rails_test/public/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
  843. data/test/rails_test/public/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +212 -0
  844. data/test/rails_test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
  845. data/test/rails_test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +136 -0
  846. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
  847. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
  848. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
  849. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +414 -0
  850. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
  851. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
  852. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
  853. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
  854. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
  855. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
  856. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
  857. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
  858. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +103 -0
  859. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +103 -0
  860. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +103 -0
  861. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +103 -0
  862. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +103 -0
  863. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +103 -0
  864. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
  865. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +103 -0
  866. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +103 -0
  867. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +103 -0
  868. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +103 -0
  869. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +103 -0
  870. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +103 -0
  871. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +103 -0
  872. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +103 -0
  873. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ka_dlg.js +103 -0
  874. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/kl_dlg.js +103 -0
  875. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +103 -0
  876. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/lb_dlg.js +103 -0
  877. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +103 -0
  878. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +103 -0
  879. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +103 -0
  880. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +103 -0
  881. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +103 -0
  882. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +103 -0
  883. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +103 -0
  884. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +103 -0
  885. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +103 -0
  886. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +103 -0
  887. data/test/rails_test/public/javascripts/tiny_mce/plugins/media/media.htm +817 -0
  888. data/test/rails_test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
  889. data/test/rails_test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
  890. data/test/rails_test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
  891. data/test/rails_test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
  892. data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
  893. data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
  894. data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +77 -0
  895. data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
  896. data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  897. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  898. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +940 -0
  899. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
  900. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
  901. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +5 -0
  902. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +5 -0
  903. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +5 -0
  904. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +5 -0
  905. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +5 -0
  906. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +5 -0
  907. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
  908. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +5 -0
  909. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +5 -0
  910. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +5 -0
  911. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +5 -0
  912. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +5 -0
  913. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +5 -0
  914. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +5 -0
  915. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +5 -0
  916. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ka_dlg.js +5 -0
  917. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/kl_dlg.js +5 -0
  918. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +5 -0
  919. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/lb_dlg.js +5 -0
  920. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +5 -0
  921. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +5 -0
  922. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +5 -0
  923. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +5 -0
  924. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +5 -0
  925. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +5 -0
  926. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +5 -0
  927. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +5 -0
  928. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +5 -0
  929. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +5 -0
  930. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +27 -0
  931. data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +21 -0
  932. data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
  933. data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
  934. data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/example.html +28 -0
  935. data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
  936. data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
  937. data/test/rails_test/public/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
  938. data/test/rails_test/public/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
  939. data/test/rails_test/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
  940. data/test/rails_test/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
  941. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
  942. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
  943. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +57 -0
  944. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +130 -0
  945. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +16 -0
  946. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +16 -0
  947. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +16 -0
  948. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +16 -0
  949. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +16 -0
  950. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +16 -0
  951. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
  952. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +16 -0
  953. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +16 -0
  954. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +16 -0
  955. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +16 -0
  956. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +16 -0
  957. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +16 -0
  958. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +16 -0
  959. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +16 -0
  960. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +16 -0
  961. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +16 -0
  962. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +16 -0
  963. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +16 -0
  964. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +16 -0
  965. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +16 -0
  966. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +16 -0
  967. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +16 -0
  968. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +16 -0
  969. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +16 -0
  970. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +16 -0
  971. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +16 -0
  972. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +16 -0
  973. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +16 -0
  974. data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +99 -0
  975. data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
  976. data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
  977. data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +415 -0
  978. data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  979. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
  980. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
  981. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
  982. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
  983. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +63 -0
  984. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +63 -0
  985. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +63 -0
  986. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +63 -0
  987. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +63 -0
  988. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +63 -0
  989. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
  990. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +63 -0
  991. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +63 -0
  992. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +63 -0
  993. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +63 -0
  994. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +63 -0
  995. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +63 -0
  996. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +63 -0
  997. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +63 -0
  998. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ka_dlg.js +63 -0
  999. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/kl_dlg.js +63 -0
  1000. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +63 -0
  1001. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/lb_dlg.js +63 -0
  1002. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +63 -0
  1003. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +63 -0
  1004. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +63 -0
  1005. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +63 -0
  1006. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +63 -0
  1007. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +63 -0
  1008. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +63 -0
  1009. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +63 -0
  1010. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +63 -0
  1011. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +63 -0
  1012. data/test/rails_test/public/javascripts/tiny_mce/plugins/style/props.htm +723 -0
  1013. data/test/rails_test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
  1014. data/test/rails_test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +112 -0
  1015. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/cell.htm +178 -0
  1016. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
  1017. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
  1018. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
  1019. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
  1020. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1125 -0
  1021. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/cell.js +286 -0
  1022. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
  1023. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/row.js +237 -0
  1024. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/table.js +449 -0
  1025. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +74 -0
  1026. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +74 -0
  1027. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +74 -0
  1028. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +74 -0
  1029. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +74 -0
  1030. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +74 -0
  1031. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
  1032. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +74 -0
  1033. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +74 -0
  1034. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +74 -0
  1035. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +74 -0
  1036. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +74 -0
  1037. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +74 -0
  1038. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +74 -0
  1039. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +74 -0
  1040. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ka_dlg.js +74 -0
  1041. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/kl_dlg.js +74 -0
  1042. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +74 -0
  1043. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/lb_dlg.js +74 -0
  1044. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +74 -0
  1045. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +74 -0
  1046. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +74 -0
  1047. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +74 -0
  1048. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +74 -0
  1049. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +73 -0
  1050. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +74 -0
  1051. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +74 -0
  1052. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +74 -0
  1053. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +74 -0
  1054. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/merge_cells.htm +32 -0
  1055. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/row.htm +155 -0
  1056. data/test/rails_test/public/javascripts/tiny_mce/plugins/table/table.htm +187 -0
  1057. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
  1058. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
  1059. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
  1060. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
  1061. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
  1062. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +15 -0
  1063. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +15 -0
  1064. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +15 -0
  1065. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +15 -0
  1066. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +15 -0
  1067. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +15 -0
  1068. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
  1069. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +15 -0
  1070. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +15 -0
  1071. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +15 -0
  1072. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +15 -0
  1073. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +15 -0
  1074. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +15 -0
  1075. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +15 -0
  1076. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +15 -0
  1077. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ka_dlg.js +15 -0
  1078. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/kl_dlg.js +15 -0
  1079. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +15 -0
  1080. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/lb_dlg.js +15 -0
  1081. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +15 -0
  1082. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +15 -0
  1083. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +15 -0
  1084. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +15 -0
  1085. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +15 -0
  1086. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +15 -0
  1087. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +15 -0
  1088. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +15 -0
  1089. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +15 -0
  1090. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +15 -0
  1091. data/test/rails_test/public/javascripts/tiny_mce/plugins/template/template.htm +31 -0
  1092. data/test/rails_test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
  1093. data/test/rails_test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +76 -0
  1094. data/test/rails_test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
  1095. data/test/rails_test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +98 -0
  1096. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +141 -0
  1097. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +141 -0
  1098. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +148 -0
  1099. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +141 -0
  1100. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
  1101. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
  1102. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +161 -0
  1103. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
  1104. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +144 -0
  1105. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +161 -0
  1106. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
  1107. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
  1108. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +126 -0
  1109. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
  1110. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +63 -0
  1111. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
  1112. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +62 -0
  1113. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +32 -0
  1114. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +32 -0
  1115. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +32 -0
  1116. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +32 -0
  1117. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +32 -0
  1118. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +32 -0
  1119. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
  1120. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +32 -0
  1121. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +32 -0
  1122. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +32 -0
  1123. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +32 -0
  1124. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +32 -0
  1125. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +32 -0
  1126. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +32 -0
  1127. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +32 -0
  1128. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +32 -0
  1129. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +32 -0
  1130. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +32 -0
  1131. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +32 -0
  1132. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +32 -0
  1133. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +32 -0
  1134. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +32 -0
  1135. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +32 -0
  1136. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +32 -0
  1137. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +32 -0
  1138. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +32 -0
  1139. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +32 -0
  1140. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +32 -0
  1141. data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +32 -0
  1142. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/about.htm +54 -0
  1143. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/anchor.htm +26 -0
  1144. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/charmap.htm +52 -0
  1145. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +73 -0
  1146. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
  1147. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1176 -0
  1148. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/image.htm +80 -0
  1149. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  1150. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  1151. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
  1152. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
  1153. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +335 -0
  1154. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
  1155. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
  1156. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
  1157. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
  1158. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ar.js +62 -0
  1159. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +51 -0
  1160. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ca.js +62 -0
  1161. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +51 -0
  1162. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ch.js +64 -0
  1163. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +51 -0
  1164. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cs.js +62 -0
  1165. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +51 -0
  1166. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cy.js +62 -0
  1167. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +51 -0
  1168. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/de.js +63 -0
  1169. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +51 -0
  1170. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
  1171. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
  1172. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/es.js +62 -0
  1173. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +51 -0
  1174. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/fr.js +62 -0
  1175. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
  1176. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/he.js +62 -0
  1177. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +51 -0
  1178. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hi.js +62 -0
  1179. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +51 -0
  1180. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hr.js +62 -0
  1181. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +51 -0
  1182. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hu.js +62 -0
  1183. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +51 -0
  1184. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/it.js +72 -0
  1185. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +51 -0
  1186. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ja.js +62 -0
  1187. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +51 -0
  1188. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ka.js +62 -0
  1189. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ka_dlg.js +51 -0
  1190. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/kl.js +62 -0
  1191. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/kl_dlg.js +51 -0
  1192. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ko.js +62 -0
  1193. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +51 -0
  1194. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/lb.js +63 -0
  1195. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/lb_dlg.js +51 -0
  1196. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/nl.js +62 -0
  1197. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +51 -0
  1198. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pl.js +62 -0
  1199. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +51 -0
  1200. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pt.js +62 -0
  1201. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +51 -0
  1202. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ru.js +62 -0
  1203. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +51 -0
  1204. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sk.js +62 -0
  1205. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +51 -0
  1206. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sv.js +60 -0
  1207. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +51 -0
  1208. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ta.js +62 -0
  1209. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +51 -0
  1210. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/uk.js +62 -0
  1211. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +51 -0
  1212. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/vi.js +62 -0
  1213. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +51 -0
  1214. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/zh.js +64 -0
  1215. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +51 -0
  1216. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/link.htm +58 -0
  1217. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +35 -0
  1218. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
  1219. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  1220. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  1221. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  1222. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  1223. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  1224. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  1225. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
  1226. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +35 -0
  1227. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +116 -0
  1228. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  1229. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
  1230. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
  1231. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
  1232. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
  1233. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
  1234. data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +25 -0
  1235. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
  1236. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
  1237. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
  1238. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ar.js +11 -0
  1239. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ca.js +11 -0
  1240. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ch.js +11 -0
  1241. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/cs.js +11 -0
  1242. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/cy.js +11 -0
  1243. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/de.js +11 -0
  1244. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
  1245. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/es.js +11 -0
  1246. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/fr.js +11 -0
  1247. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/he.js +11 -0
  1248. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/hi.js +11 -0
  1249. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/hr.js +11 -0
  1250. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/hu.js +11 -0
  1251. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/it.js +11 -0
  1252. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ja.js +11 -0
  1253. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ka.js +11 -0
  1254. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/kl.js +11 -0
  1255. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ko.js +11 -0
  1256. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/lb.js +11 -0
  1257. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/nl.js +11 -0
  1258. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/pl.js +11 -0
  1259. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/pt.js +11 -0
  1260. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ru.js +11 -0
  1261. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/sk.js +11 -0
  1262. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/sv.js +11 -0
  1263. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ta.js +11 -0
  1264. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/uk.js +11 -0
  1265. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/vi.js +11 -0
  1266. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/zh.js +11 -0
  1267. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
  1268. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
  1269. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
  1270. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  1271. data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
  1272. data/test/rails_test/public/javascripts/tiny_mce/tiny_mce.js +1 -0
  1273. data/test/rails_test/public/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
  1274. data/test/rails_test/public/javascripts/tiny_mce/tiny_mce_src.js +13959 -0
  1275. data/test/rails_test/public/javascripts/tiny_mce/utils/editable_selects.js +70 -0
  1276. data/test/rails_test/public/javascripts/tiny_mce/utils/form_utils.js +200 -0
  1277. data/test/rails_test/public/javascripts/tiny_mce/utils/mctabs.js +77 -0
  1278. data/test/rails_test/public/javascripts/tiny_mce/utils/validate.js +220 -0
  1279. data/test/{rails_root → rails_test}/public/javascripts/tree.js +0 -0
  1280. data/test/{rails_root → rails_test}/public/robots.txt +0 -0
  1281. data/test/{rails_root → rails_test}/public/stylesheets/.keep +0 -0
  1282. data/test/{rails_root → rails_test}/public/stylesheets/admin.css +0 -0
  1283. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/ie.css +0 -0
  1284. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/liquid_screen.css +0 -0
  1285. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
  1286. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
  1287. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
  1288. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/readme.txt +0 -0
  1289. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/screen.css +0 -0
  1290. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +0 -0
  1291. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/fancy-type/screen.css +0 -0
  1292. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
  1293. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
  1294. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
  1295. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
  1296. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
  1297. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  1298. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
  1299. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
  1300. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/readme.txt +0 -0
  1301. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/screen.css +0 -0
  1302. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/liquid/liquid.css +0 -0
  1303. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +0 -0
  1304. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/rtl/readme.txt +0 -0
  1305. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/rtl/screen.css +0 -0
  1306. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/print.css +0 -0
  1307. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/screen.css +0 -0
  1308. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/sprite.css +0 -0
  1309. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/forms.css +0 -0
  1310. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/grid.css +0 -0
  1311. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/grid.png +0 -0
  1312. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/ie.css +0 -0
  1313. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/print.css +0 -0
  1314. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/reset.css +0 -0
  1315. data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/typography.css +0 -0
  1316. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  1317. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  1318. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
  1319. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
  1320. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  1321. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
  1322. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1323. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  1324. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
  1325. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
  1326. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  1327. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  1328. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  1329. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
  1330. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
  1331. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  1332. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +0 -0
  1333. data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/jquery-ui-1.7.2.custom.css +0 -0
  1334. data/test/{rails_root → rails_test}/public/stylesheets/jquery/jquery.autocomplete.css +0 -0
  1335. data/test/{rails_root → rails_test}/public/stylesheets/jquery/jquery.fancybox.css +0 -0
  1336. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1337. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  1338. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  1339. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  1340. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1341. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  1342. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  1343. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1344. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  1345. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  1346. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  1347. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  1348. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  1349. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  1350. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  1351. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +0 -0
  1352. data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/jquery-ui-1.7.2.custom.css +0 -0
  1353. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1354. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1355. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1356. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1357. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1358. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1359. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1360. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1361. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
  1362. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  1363. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
  1364. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
  1365. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  1366. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +0 -0
  1367. data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/jquery-ui-1.7.2.custom.css +0 -0
  1368. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  1369. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  1370. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  1371. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  1372. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  1373. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1374. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  1375. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  1376. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  1377. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  1378. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  1379. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  1380. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  1381. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  1382. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +0 -0
  1383. data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.2.custom.css +0 -0
  1384. data/test/{rails_root → rails_test}/public/stylesheets/muck-activities.css +0 -0
  1385. data/test/{rails_root → rails_test}/public/stylesheets/muck-invites.css +0 -0
  1386. data/test/{rails_root → rails_test}/public/stylesheets/reset.css +0 -0
  1387. data/test/{rails_root → rails_test}/public/stylesheets/styles.css +0 -0
  1388. data/test/{rails_root → rails_test}/public/stylesheets/themes/blue/styles.css +0 -0
  1389. data/test/{rails_root → rails_test}/public/stylesheets/themes/red/styles.css +0 -0
  1390. data/test/rails_test/script/rails +6 -0
  1391. data/test/rails_test/spec/controllers/invites_controller_spec.rb +113 -0
  1392. data/test/rails_test/spec/mailers/invite_mailer_spec.rb +38 -0
  1393. data/test/rails_test/spec/models/contacts_spec.rb +37 -0
  1394. data/test/rails_test/spec/models/invite_spec.rb +19 -0
  1395. data/test/rails_test/spec/models/invitee_spec.rb +149 -0
  1396. data/test/rails_test/spec/models/user_spec.rb +18 -0
  1397. data/test/rails_test/spec/spec_helper.rb +5 -0
  1398. data/test/rails_test/test/fixtures/rails.png +0 -0
  1399. metadata +1467 -797
  1400. data/app/models/invite_mailer.rb +0 -28
  1401. data/app/views/invite_mailer/invite_notification.text.html.erb +0 -11
  1402. data/app/views/invite_mailer/invite_notification.text.plain.erb +0 -11
  1403. data/app/views/invite_mailer/invited_joined_notification.text.html.erb +0 -5
  1404. data/app/views/invite_mailer/invited_joined_notification.text.plain.erb +0 -5
  1405. data/config/muck_invites_routes.rb +0 -3
  1406. data/install.rb +0 -1
  1407. data/lib/active_record/acts/muck_invite.rb +0 -37
  1408. data/lib/active_record/acts/muck_invitee.rb +0 -57
  1409. data/lib/active_record/acts/muck_inviter.rb +0 -82
  1410. data/lib/muck_invites.rb +0 -7
  1411. data/lib/muck_invites/initialize_routes.rb +0 -8
  1412. data/lib/muck_invites/tasks.rb +0 -28
  1413. data/locales/ar.yml +0 -25
  1414. data/locales/bg.yml +0 -25
  1415. data/locales/ca.yml +0 -25
  1416. data/locales/cs.yml +0 -25
  1417. data/locales/da.yml +0 -25
  1418. data/locales/de.yml +0 -25
  1419. data/locales/el.yml +0 -25
  1420. data/locales/en.yml +0 -26
  1421. data/locales/es.yml +0 -25
  1422. data/locales/et.yml +0 -25
  1423. data/locales/fa.yml +0 -25
  1424. data/locales/fi.yml +0 -25
  1425. data/locales/fr.yml +0 -25
  1426. data/locales/gl.yml +0 -25
  1427. data/locales/hi.yml +0 -25
  1428. data/locales/hr.yml +0 -25
  1429. data/locales/hu.yml +0 -25
  1430. data/locales/id.yml +0 -25
  1431. data/locales/it.yml +0 -25
  1432. data/locales/iw.yml +0 -25
  1433. data/locales/ja.yml +0 -25
  1434. data/locales/ko.yml +0 -25
  1435. data/locales/lt.yml +0 -25
  1436. data/locales/lv.yml +0 -25
  1437. data/locales/mt.yml +0 -25
  1438. data/locales/nl.yml +0 -25
  1439. data/locales/no.yml +0 -26
  1440. data/locales/pl.yml +0 -25
  1441. data/locales/pt-PT.yml +0 -25
  1442. data/locales/ro.yml +0 -25
  1443. data/locales/ru.yml +0 -25
  1444. data/locales/sk.yml +0 -25
  1445. data/locales/sl.yml +0 -25
  1446. data/locales/sq.yml +0 -25
  1447. data/locales/sr.yml +0 -25
  1448. data/locales/sv.yml +0 -25
  1449. data/locales/th.yml +0 -25
  1450. data/locales/tl.yml +0 -25
  1451. data/locales/tr.yml +0 -25
  1452. data/locales/uk.yml +0 -25
  1453. data/locales/vi.yml +0 -25
  1454. data/locales/zh-CN.yml +0 -25
  1455. data/locales/zh-TW.yml +0 -25
  1456. data/locales/zh.yml +0 -25
  1457. data/rails/init.rb +0 -18
  1458. data/tasks/muck_invites_tasks.rake +0 -1
  1459. data/test/rails_root/Capfile +0 -3
  1460. data/test/rails_root/Gemfile +0 -51
  1461. data/test/rails_root/Rakefile +0 -17
  1462. data/test/rails_root/app/controllers/application_controller.rb +0 -23
  1463. data/test/rails_root/app/models/activity.rb +0 -26
  1464. data/test/rails_root/app/models/invite.rb +0 -3
  1465. data/test/rails_root/app/models/invitee.rb +0 -4
  1466. data/test/rails_root/app/models/user.rb +0 -10
  1467. data/test/rails_root/app/views/default/index.html.erb +0 -3
  1468. data/test/rails_root/config/boot.rb +0 -123
  1469. data/test/rails_root/config/environment.rb +0 -12
  1470. data/test/rails_root/config/environments/cucumber.rb +0 -38
  1471. data/test/rails_root/config/environments/development.rb +0 -19
  1472. data/test/rails_root/config/environments/production.rb +0 -1
  1473. data/test/rails_root/config/environments/test.rb +0 -28
  1474. data/test/rails_root/config/global_config.example.yml +0 -112
  1475. data/test/rails_root/config/initializers/inflections.rb +0 -10
  1476. data/test/rails_root/config/initializers/oauth_consumers.rb +0 -34
  1477. data/test/rails_root/config/initializers/requires.rb +0 -13
  1478. data/test/rails_root/config/initializers/session_store.rb +0 -8
  1479. data/test/rails_root/config/preinitializer.rb +0 -20
  1480. data/test/rails_root/config/routes.rb +0 -6
  1481. data/test/rails_root/features/comments.feature +0 -21
  1482. data/test/rails_root/features/step_definitions/comment_steps.rb +0 -11
  1483. data/test/rails_root/features/support/env.rb +0 -49
  1484. data/test/rails_root/features/support/paths.rb +0 -33
  1485. data/test/rails_root/lib/tasks/cucumber.rake +0 -20
  1486. data/test/rails_root/lib/tasks/muck.rake +0 -7
  1487. data/test/rails_root/script/about +0 -3
  1488. data/test/rails_root/script/breakpointer +0 -3
  1489. data/test/rails_root/script/console +0 -3
  1490. data/test/rails_root/script/create_project.rb +0 -52
  1491. data/test/rails_root/script/cucumber +0 -8
  1492. data/test/rails_root/script/dbconsole +0 -3
  1493. data/test/rails_root/script/destroy +0 -3
  1494. data/test/rails_root/script/generate +0 -3
  1495. data/test/rails_root/script/performance/benchmarker +0 -3
  1496. data/test/rails_root/script/performance/profiler +0 -3
  1497. data/test/rails_root/script/performance/request +0 -3
  1498. data/test/rails_root/script/plugin +0 -3
  1499. data/test/rails_root/script/process/inspector +0 -3
  1500. data/test/rails_root/script/process/reaper +0 -3
  1501. data/test/rails_root/script/process/spawner +0 -3
  1502. data/test/rails_root/script/runner +0 -3
  1503. data/test/rails_root/script/server +0 -3
  1504. data/test/rails_root/test/functional/.keep +0 -0
  1505. data/test/rails_root/test/functional/invites_controller_test.rb +0 -115
  1506. data/test/rails_root/test/test_helper.rb +0 -11
  1507. data/test/rails_root/test/unit/.keep +0 -0
  1508. data/test/rails_root/test/unit/contacts_test.rb +0 -37
  1509. data/test/rails_root/test/unit/invite_mailer_test.rb +0 -41
  1510. data/test/rails_root/test/unit/invite_test.rb +0 -19
  1511. data/test/rails_root/test/unit/invitee_test.rb +0 -146
  1512. data/test/rails_root/test/unit/user_test.rb +0 -18
  1513. data/test/rails_root/vendor/plugins/jrails/CHANGELOG +0 -43
  1514. data/test/rails_root/vendor/plugins/jrails/LICENSE +0 -18
  1515. data/test/rails_root/vendor/plugins/jrails/README.rdoc +0 -21
  1516. data/test/rails_root/vendor/plugins/jrails/Rakefile +0 -18
  1517. data/test/rails_root/vendor/plugins/jrails/VERSION.yml +0 -4
  1518. data/test/rails_root/vendor/plugins/jrails/bin/jrails +0 -30
  1519. data/test/rails_root/vendor/plugins/jrails/init.rb +0 -1
  1520. data/test/rails_root/vendor/plugins/jrails/install.rb +0 -9
  1521. data/test/rails_root/vendor/plugins/jrails/javascripts/jquery-ui.js +0 -188
  1522. data/test/rails_root/vendor/plugins/jrails/javascripts/jquery.js +0 -19
  1523. data/test/rails_root/vendor/plugins/jrails/javascripts/jrails.js +0 -1
  1524. data/test/rails_root/vendor/plugins/jrails/javascripts/sources/jrails.js +0 -197
  1525. data/test/rails_root/vendor/plugins/jrails/jrails.gemspec +0 -50
  1526. data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +0 -421
  1527. data/test/rails_root/vendor/plugins/jrails/rails/init.rb +0 -15
  1528. data/test/rails_root/vendor/plugins/jrails/tasks/jrails.rake +0 -25
  1529. data/test/rails_root/vendor/plugins/ssl_requirement/README +0 -43
  1530. data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
  1531. data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
  1532. data/uninstall.rb +0 -1
@@ -0,0 +1 @@
1
+ (function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(i){o=c.getParent(l.id,"form");n=o.elements;if(o){d(n,function(s,r){if(s.id==l.id){j=r;return false}});if(i>0){for(m=j+1;m<n.length;m++){if(n[m].type!="hidden"){return n[m]}}}else{for(m=j-1;m>=0;m--){if(n[m].type!="hidden"){return n[m]}}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(l=tinymce.get(n.id||n.name)){l.focus()}else{window.setTimeout(function(){window.focus();n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}f.onInit.add(function(){d(c.select("a:first,a:last",f.getContainer()),function(i){a.add(i,"focus",function(){f.focus()})})})},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})();
@@ -0,0 +1,112 @@
1
+ /**
2
+ * editor_plugin_src.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ (function() {
12
+ var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode;
13
+
14
+ tinymce.create('tinymce.plugins.TabFocusPlugin', {
15
+ init : function(ed, url) {
16
+ function tabCancel(ed, e) {
17
+ if (e.keyCode === 9)
18
+ return Event.cancel(e);
19
+ };
20
+
21
+ function tabHandler(ed, e) {
22
+ var x, i, f, el, v;
23
+
24
+ function find(d) {
25
+ f = DOM.getParent(ed.id, 'form');
26
+ el = f.elements;
27
+
28
+ if (f) {
29
+ each(el, function(e, i) {
30
+ if (e.id == ed.id) {
31
+ x = i;
32
+ return false;
33
+ }
34
+ });
35
+
36
+ if (d > 0) {
37
+ for (i = x + 1; i < el.length; i++) {
38
+ if (el[i].type != 'hidden')
39
+ return el[i];
40
+ }
41
+ } else {
42
+ for (i = x - 1; i >= 0; i--) {
43
+ if (el[i].type != 'hidden')
44
+ return el[i];
45
+ }
46
+ }
47
+ }
48
+
49
+ return null;
50
+ };
51
+
52
+ if (e.keyCode === 9) {
53
+ v = explode(ed.getParam('tab_focus', ed.getParam('tabfocus_elements', ':prev,:next')));
54
+
55
+ if (v.length == 1) {
56
+ v[1] = v[0];
57
+ v[0] = ':prev';
58
+ }
59
+
60
+ // Find element to focus
61
+ if (e.shiftKey) {
62
+ if (v[0] == ':prev')
63
+ el = find(-1);
64
+ else
65
+ el = DOM.get(v[0]);
66
+ } else {
67
+ if (v[1] == ':next')
68
+ el = find(1);
69
+ else
70
+ el = DOM.get(v[1]);
71
+ }
72
+
73
+ if (el) {
74
+ if (ed = tinymce.get(el.id || el.name))
75
+ ed.focus();
76
+ else
77
+ window.setTimeout(function() {window.focus();el.focus();}, 10);
78
+
79
+ return Event.cancel(e);
80
+ }
81
+ }
82
+ };
83
+
84
+ ed.onKeyUp.add(tabCancel);
85
+
86
+ if (tinymce.isGecko) {
87
+ ed.onKeyPress.add(tabHandler);
88
+ ed.onKeyDown.add(tabCancel);
89
+ } else
90
+ ed.onKeyDown.add(tabHandler);
91
+
92
+ ed.onInit.add(function() {
93
+ each(DOM.select('a:first,a:last', ed.getContainer()), function(n) {
94
+ Event.add(n, 'focus', function() {ed.focus();});
95
+ });
96
+ });
97
+ },
98
+
99
+ getInfo : function() {
100
+ return {
101
+ longname : 'Tabfocus',
102
+ author : 'Moxiecode Systems AB',
103
+ authorurl : 'http://tinymce.moxiecode.com',
104
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus',
105
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
106
+ };
107
+ }
108
+ });
109
+
110
+ // Register plugin
111
+ tinymce.PluginManager.add('tabfocus', tinymce.plugins.TabFocusPlugin);
112
+ })();
@@ -0,0 +1,178 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <title>{#table_dlg.cell_title}</title>
5
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
+ <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
+ <script type="text/javascript" src="../../utils/form_utils.js"></script>
8
+ <script type="text/javascript" src="../../utils/editable_selects.js"></script>
9
+ <script type="text/javascript" src="js/cell.js"></script>
10
+ <link href="css/cell.css" rel="stylesheet" type="text/css" />
11
+ </head>
12
+ <body id="tablecell" style="display: none">
13
+ <form onsubmit="updateAction();return false;" action="#">
14
+ <div class="tabs">
15
+ <ul>
16
+ <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
17
+ <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
18
+ </ul>
19
+ </div>
20
+
21
+ <div class="panel_wrapper">
22
+ <div id="general_panel" class="panel current">
23
+ <fieldset>
24
+ <legend>{#table_dlg.general_props}</legend>
25
+
26
+ <table border="0" cellpadding="4" cellspacing="0">
27
+ <tr>
28
+ <td><label for="align">{#table_dlg.align}</label></td>
29
+ <td>
30
+ <select id="align" name="align" class="mceFocus">
31
+ <option value="">{#not_set}</option>
32
+ <option value="center">{#table_dlg.align_middle}</option>
33
+ <option value="left">{#table_dlg.align_left}</option>
34
+ <option value="right">{#table_dlg.align_right}</option>
35
+ </select>
36
+ </td>
37
+
38
+ <td><label for="celltype">{#table_dlg.cell_type}</label></td>
39
+ <td>
40
+ <select id="celltype" name="celltype">
41
+ <option value="td">{#table_dlg.td}</option>
42
+ <option value="th">{#table_dlg.th}</option>
43
+ </select>
44
+ </td>
45
+ </tr>
46
+
47
+ <tr>
48
+ <td><label for="valign">{#table_dlg.valign}</label></td>
49
+ <td>
50
+ <select id="valign" name="valign">
51
+ <option value="">{#not_set}</option>
52
+ <option value="top">{#table_dlg.align_top}</option>
53
+ <option value="middle">{#table_dlg.align_middle}</option>
54
+ <option value="bottom">{#table_dlg.align_bottom}</option>
55
+ </select>
56
+ </td>
57
+
58
+ <td><label for="scope">{#table_dlg.scope}</label></td>
59
+ <td>
60
+ <select id="scope" name="scope">
61
+ <option value="">{#not_set}</option>
62
+ <option value="col">{#table.col}</option>
63
+ <option value="row">{#table.row}</option>
64
+ <option value="rowgroup">{#table_dlg.rowgroup}</option>
65
+ <option value="colgroup">{#table_dlg.colgroup}</option>
66
+ </select>
67
+ </td>
68
+
69
+ </tr>
70
+
71
+ <tr>
72
+ <td><label for="width">{#table_dlg.width}</label></td>
73
+ <td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
74
+
75
+ <td><label for="height">{#table_dlg.height}</label></td>
76
+ <td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
77
+ </tr>
78
+
79
+ <tr id="styleSelectRow">
80
+ <td><label for="class">{#class_name}</label></td>
81
+ <td colspan="3">
82
+ <select id="class" name="class" class="mceEditableSelect">
83
+ <option value="" selected="selected">{#not_set}</option>
84
+ </select>
85
+ </td>
86
+ </tr>
87
+ </table>
88
+ </fieldset>
89
+ </div>
90
+
91
+ <div id="advanced_panel" class="panel">
92
+ <fieldset>
93
+ <legend>{#table_dlg.advanced_props}</legend>
94
+
95
+ <table border="0" cellpadding="0" cellspacing="4">
96
+ <tr>
97
+ <td class="column1"><label for="id">{#table_dlg.id}</label></td>
98
+ <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
99
+ </tr>
100
+
101
+ <tr>
102
+ <td><label for="style">{#table_dlg.style}</label></td>
103
+ <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
104
+ </tr>
105
+
106
+ <tr>
107
+ <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
108
+ <td>
109
+ <select id="dir" name="dir" style="width: 200px">
110
+ <option value="">{#not_set}</option>
111
+ <option value="ltr">{#table_dlg.ltr}</option>
112
+ <option value="rtl">{#table_dlg.rtl}</option>
113
+ </select>
114
+ </td>
115
+ </tr>
116
+
117
+ <tr>
118
+ <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
119
+ <td>
120
+ <input id="lang" name="lang" type="text" value="" style="width: 200px" />
121
+ </td>
122
+ </tr>
123
+
124
+ <tr>
125
+ <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
126
+ <td>
127
+ <table border="0" cellpadding="0" cellspacing="0">
128
+ <tr>
129
+ <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
130
+ <td id="backgroundimagebrowsercontainer">&nbsp;</td>
131
+ </tr>
132
+ </table>
133
+ </td>
134
+ </tr>
135
+
136
+ <tr>
137
+ <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
138
+ <td>
139
+ <table border="0" cellpadding="0" cellspacing="0">
140
+ <tr>
141
+ <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
142
+ <td id="bordercolor_pickcontainer">&nbsp;</td>
143
+ </tr>
144
+ </table>
145
+ </td>
146
+ </tr>
147
+
148
+ <tr>
149
+ <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
150
+ <td>
151
+ <table border="0" cellpadding="0" cellspacing="0">
152
+ <tr>
153
+ <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
154
+ <td id="bgcolor_pickcontainer">&nbsp;</td>
155
+ </tr>
156
+ </table>
157
+ </td>
158
+ </tr>
159
+ </table>
160
+ </fieldset>
161
+ </div>
162
+ </div>
163
+
164
+ <div class="mceActionPanel">
165
+ <div>
166
+ <select id="action" name="action">
167
+ <option value="cell">{#table_dlg.cell_cell}</option>
168
+ <option value="row">{#table_dlg.cell_row}</option>
169
+ <option value="all">{#table_dlg.cell_all}</option>
170
+ </select>
171
+ </div>
172
+
173
+ <input type="submit" id="insert" name="insert" value="{#update}" />
174
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
175
+ </div>
176
+ </form>
177
+ </body>
178
+ </html>
@@ -0,0 +1,17 @@
1
+ /* CSS file for cell dialog in the table plugin */
2
+
3
+ .panel_wrapper div.current {
4
+ height: 200px;
5
+ }
6
+
7
+ .advfield {
8
+ width: 200px;
9
+ }
10
+
11
+ #action {
12
+ margin-bottom: 3px;
13
+ }
14
+
15
+ #class {
16
+ width: 150px;
17
+ }
@@ -0,0 +1,25 @@
1
+ /* CSS file for row dialog in the table plugin */
2
+
3
+ .panel_wrapper div.current {
4
+ height: 200px;
5
+ }
6
+
7
+ .advfield {
8
+ width: 200px;
9
+ }
10
+
11
+ #action {
12
+ margin-bottom: 3px;
13
+ }
14
+
15
+ #rowtype,#align,#valign,#class,#height {
16
+ width: 150px;
17
+ }
18
+
19
+ #height {
20
+ width: 50px;
21
+ }
22
+
23
+ .col2 {
24
+ padding-left: 20px;
25
+ }
@@ -0,0 +1,13 @@
1
+ /* CSS file for table dialog in the table plugin */
2
+
3
+ .panel_wrapper div.current {
4
+ height: 245px;
5
+ }
6
+
7
+ .advfield {
8
+ width: 200px;
9
+ }
10
+
11
+ #class {
12
+ width: 150px;
13
+ }
@@ -0,0 +1 @@
1
+ (function(b){var c=b.each;function a(F,E,I){var e,J,B,n;r();n=E.getParent(I.getStart(),"th,td");if(n){J=D(n);B=G();n=v(J.x,J.y)}function w(L,K){L=L.cloneNode(K);L.removeAttribute("id");return L}function r(){var K=0;e=[];c(["thead","tbody","tfoot"],function(L){var M=E.select(L+" tr",F);c(M,function(N,O){O+=K;c(E.select("td,th",N),function(U,P){var Q,R,S,T;if(e[O]){while(e[O][P]){P++}}S=g(U,"rowspan");T=g(U,"colspan");for(R=O;R<O+S;R++){if(!e[R]){e[R]=[]}for(Q=P;Q<P+T;Q++){e[R][Q]={part:L,real:R==O&&Q==P,elm:U,rowspan:S,colspan:T}}}})});K+=M.length})}function v(K,M){var L;L=e[M];if(L){return L[K]}}function g(L,K){return parseInt(L.getAttribute(K)||1)}function h(K){return E.hasClass(K.elm,"mceSelected")||K==n}function j(){var K=[];c(F.rows,function(L){c(L.cells,function(M){if(E.hasClass(M,"mceSelected")||M==n.elm){K.push(L);return false}})});return K}function q(){var K=E.createRng();K.setStartAfter(F);K.setEndAfter(F);I.setRng(K);E.remove(F)}function d(K){var L;b.walk(K,function(N){var M;if(N.nodeType==3){c(E.getParents(N.parentNode,null,K).reverse(),function(O){O=w(O,false);if(!L){L=M=O}else{if(M){M.appendChild(O)}}M=O});if(M){M.innerHTML=b.isIE?"&nbsp;":'<br _mce_bogus="1" />'}return false}},"childNodes");K=w(K,false);K.rowSpan=K.colSpan=1;if(L){K.appendChild(L)}else{if(!b.isIE){K.innerHTML='<br _mce_bogus="1" />'}}return K}function p(){var K=E.createRng();c(E.select("tr",F),function(L){if(L.cells.length==0){E.remove(L)}});if(E.select("tr",F).length==0){K.setStartAfter(F);K.setEndAfter(F);I.setRng(K);E.remove(F);return}c(E.select("thead,tbody,tfoot",F),function(L){if(L.rows.length==0){E.remove(L)}});r();row=e[Math.min(e.length-1,J.y)];if(row){I.select(row[Math.min(row.length-1,J.x)].elm,true);I.collapse(true)}}function s(Q,O,S,P){var N,L,K,M,R;N=e[O][Q].elm.parentNode;for(K=1;K<=S;K++){N=E.getNext(N,"tr");if(N){for(L=Q;L>=0;L--){R=e[O+K][L].elm;if(R.parentNode==N){for(M=1;M<=P;M++){E.insertAfter(d(R),R)}break}}if(L==-1){for(M=1;M<=P;M++){N.insertBefore(d(N.cells[0]),N.cells[0])}}}}}function A(){c(e,function(K,L){c(K,function(N,M){var Q,P,R,O;if(h(N)){N=N.elm;Q=g(N,"colspan");P=g(N,"rowspan");if(Q>1||P>1){N.colSpan=N.rowSpan=1;for(O=0;O<Q-1;O++){E.insertAfter(d(N),N)}s(M,L,P-1,Q)}}})})}function o(S,P,V){var N,M,U,T,R,O,Q,K,S,L;if(S){pos=D(S);N=pos.x;M=pos.y;U=N+(P-1);T=M+(V-1)}else{N=J.x;M=J.y;U=B.x;T=B.y}Q=v(N,M);K=v(U,T);if(Q&&K&&Q.part==K.part){A();r();Q=v(N,M).elm;Q.colSpan=(U-N)+1;Q.rowSpan=(T-M)+1;for(O=M;O<=T;O++){for(R=N;R<=U;R++){S=e[O][R].elm;if(S!=Q){L=b.grep(S.childNodes);c(L,function(X,W){if(X.nodeName!="BR"||W!=L.length-1){Q.appendChild(X)}});E.remove(S)}}}p()}}function k(N){var K,P,M,O,Q,R,L,S;c(e,function(T,U){c(T,function(W,V){if(h(W)){W=W.elm;Q=W.parentNode;R=w(Q,false);K=U;if(N){return false}}});if(N){return !K}});for(O=0;O<e[0].length;O++){P=e[K][O].elm;if(P!=M){if(!N){rowSpan=g(P,"rowspan");if(rowSpan>1){P.rowSpan=rowSpan+1;continue}}else{if(K>0&&e[K-1][O]){S=e[K-1][O].elm;rowSpan=g(S,"rowspan");if(rowSpan>1){S.rowSpan=rowSpan+1;continue}}}L=d(P);L.colSpan=P.colSpan;R.appendChild(L);M=P}}if(R.hasChildNodes()){if(!N){E.insertAfter(R,Q)}else{Q.parentNode.insertBefore(R,Q)}}}function f(L){var M,K;c(e,function(N,O){c(N,function(Q,P){if(h(Q)){M=P;if(L){return false}}});if(L){return !M}});c(e,function(Q,R){var N=Q[M].elm,O,P;if(N!=K){P=g(N,"colspan");O=g(N,"rowspan");if(P==1){if(!L){E.insertAfter(d(N),N);s(M,R,O-1,P)}else{N.parentNode.insertBefore(d(N),N);s(M,R,O-1,P)}}else{N.colSpan++}K=N}})}function m(){var K=[];c(e,function(L,M){c(L,function(O,N){if(h(O)&&b.inArray(K,N)===-1){c(e,function(R){var P=R[N].elm,Q;Q=g(P,"colspan");if(Q>1){P.colSpan=Q-1}else{E.remove(P)}});K.push(N)}})});p()}function l(){var L;function K(O){var N,P,M;N=E.getNext(O,"tr");c(O.cells,function(Q){var R=g(Q,"rowspan");if(R>1){Q.rowSpan=R-1;P=D(Q);s(P.x,P.y,1,1)}});P=D(O.cells[0]);c(e[P.y],function(Q){var R;Q=Q.elm;if(Q!=M){R=g(Q,"rowspan");if(R<=1){E.remove(Q)}else{Q.rowSpan=R-1}M=Q}})}L=j();c(L.reverse(),function(M){K(M)});p()}function C(){var K=j();E.remove(K);p();return K}function H(){var K=j();c(K,function(M,L){K[L]=w(M,true)});return K}function z(M,L){var N=j(),K=N[L?0:N.length-1],O=K.cells.length;c(e,function(Q){var P;O=0;c(Q,function(S,R){if(S.real){O+=S.colspan}if(S.elm.parentNode==K){P=1}});if(P){return false}});if(!L){M.reverse()}c(M,function(R){var Q=R.cells.length,P;for(i=0;i<Q;i++){P=R.cells[i];P.colSpan=P.rowSpan=1}for(i=Q;i<O;i++){R.appendChild(d(R.cells[Q-1]))}for(i=O;i<Q;i++){E.remove(R.cells[i])}if(L){K.parentNode.insertBefore(R,K)}else{E.insertAfter(R,K)}})}function D(K){var L;c(e,function(M,N){c(M,function(P,O){if(P.elm==K){L={x:O,y:N};return false}});return !L});return L}function u(K){J=D(K)}function G(){var M,L,K;L=K=0;c(e,function(N,O){c(N,function(Q,P){var S,R;if(h(Q)){Q=e[O][P];if(P>L){L=P}if(O>K){K=O}if(Q.real){S=Q.colspan-1;R=Q.rowspan-1;if(S){if(P+S>L){L=P+S}}if(R){if(O+R>K){K=O+R}}}}})});return{x:L,y:K}}function t(Q){var N,M,S,R,L,K,O,P;B=D(Q);if(J&&B){N=Math.min(J.x,B.x);M=Math.min(J.y,B.y);S=Math.max(J.x,B.x);R=Math.max(J.y,B.y);L=S;K=R;for(y=M;y<=K;y++){Q=e[y][N];if(!Q.real){if(N-(Q.colspan-1)<N){N-=Q.colspan-1}}}for(x=N;x<=L;x++){Q=e[M][x];if(!Q.real){if(M-(Q.rowspan-1)<M){M-=Q.rowspan-1}}}for(y=M;y<=R;y++){for(x=N;x<=S;x++){Q=e[y][x];if(Q.real){O=Q.colspan-1;P=Q.rowspan-1;if(O){if(x+O>L){L=x+O}}if(P){if(y+P>K){K=y+P}}}}}E.removeClass(E.select("td.mceSelected,th.mceSelected"),"mceSelected");for(y=M;y<=K;y++){for(x=N;x<=L;x++){E.addClass(e[y][x].elm,"mceSelected")}}}}b.extend(this,{deleteTable:q,split:A,merge:o,insertRow:k,insertCol:f,deleteCols:m,deleteRows:l,cutRows:C,copyRows:H,pasteRows:z,getPos:D,setStartCell:u,setEndCell:t})}b.create("tinymce.plugins.TablePlugin",{init:function(e,f){var d,j;function h(m){var l=e.selection,k=e.dom.getParent(m||l.getNode(),"table");if(k){return new a(k,e.dom,l)}}function g(){e.getBody().style.webkitUserSelect="";e.dom.removeClass(e.dom.select("td.mceSelected,th.mceSelected"),"mceSelected")}c([["table","table.desc","mceInsertTable",true],["delete_table","table.del","mceTableDelete"],["delete_col","table.delete_col_desc","mceTableDeleteCol"],["delete_row","table.delete_row_desc","mceTableDeleteRow"],["col_after","table.col_after_desc","mceTableInsertColAfter"],["col_before","table.col_before_desc","mceTableInsertColBefore"],["row_after","table.row_after_desc","mceTableInsertRowAfter"],["row_before","table.row_before_desc","mceTableInsertRowBefore"],["row_props","table.row_desc","mceTableRowProps",true],["cell_props","table.cell_desc","mceTableCellProps",true],["split_cells","table.split_cells_desc","mceTableSplitCells",true],["merge_cells","table.merge_cells_desc","mceTableMergeCells",true]],function(k){e.addButton(k[0],{title:k[1],cmd:k[2],ui:k[3]})});if(!b.isIE){e.onClick.add(function(k,l){l=l.target;if(l.nodeName==="TABLE"){k.selection.select(l)}})}e.onNodeChange.add(function(l,k,o){var m;o=l.selection.getStart();m=l.dom.getParent(o,"td,th,caption");k.setActive("table",o.nodeName==="TABLE"||!!m);if(m&&m.nodeName==="CAPTION"){m=0}k.setDisabled("delete_table",!m);k.setDisabled("delete_col",!m);k.setDisabled("delete_table",!m);k.setDisabled("delete_row",!m);k.setDisabled("col_after",!m);k.setDisabled("col_before",!m);k.setDisabled("row_after",!m);k.setDisabled("row_before",!m);k.setDisabled("row_props",!m);k.setDisabled("cell_props",!m);k.setDisabled("split_cells",!m);k.setDisabled("merge_cells",!m)});e.onInit.add(function(l){var k,o,p=l.dom,m;d=l.windowManager;l.onMouseDown.add(function(q,r){if(r.button!=2){g();o=p.getParent(r.target,"td,th");k=p.getParent(o,"table")}});p.bind(l.getDoc(),"mouseover",function(t){var r,q,s=t.target;if(o&&(m||s!=o)&&(s.nodeName=="TD"||s.nodeName=="TH")){q=p.getParent(s,"table");if(q==k){if(!m){m=h(q);m.setStartCell(o);l.getBody().style.webkitUserSelect="none"}m.setEndCell(s)}r=l.selection.getSel();if(r.removeAllRanges){r.removeAllRanges()}else{r.empty()}t.preventDefault()}});l.onMouseUp.add(function(z,A){var r,t=z.selection,B,C=t.getSel(),q,u,s,w;if(o){if(m){z.getBody().style.webkitUserSelect=""}function v(D,F){var E=new b.dom.TreeWalker(D,D);do{if(D.nodeType==3&&b.trim(D.nodeValue).length!=0){if(F){r.setStart(D,0)}else{r.setEnd(D,D.nodeValue.length)}return}if(D.nodeName=="BR"){if(F){r.setStartBefore(D)}else{r.setEndBefore(D)}return}}while(D=(F?E.next():E.prev()))}B=p.select("td.mceSelected,th.mceSelected");if(B.length>0){r=p.createRng();u=B[0];w=B[B.length-1];v(u,1);q=new b.dom.TreeWalker(u,p.getParent(B[0],"table"));do{if(u.nodeName=="TD"||u.nodeName=="TH"){if(!p.hasClass(u,"mceSelected")){break}s=u}}while(u=q.next());v(s);t.setRng(r)}z.nodeChanged();o=m=k=null}});l.onKeyUp.add(function(q,r){g()});if(l&&l.plugins.contextmenu){l.plugins.contextmenu.onContextMenu.add(function(s,q,u){var v,t=l.selection,r=t.getNode()||l.getBody();if(l.dom.getParent(u,"td")||l.dom.getParent(u,"th")||l.dom.select("td.mceSelected,th.mceSelected").length){q.removeAll();if(r.nodeName=="A"&&!l.dom.getAttrib(r,"name")){q.add({title:"advanced.link_desc",icon:"link",cmd:l.plugins.advlink?"mceAdvLink":"mceLink",ui:true});q.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"});q.addSeparator()}if(r.nodeName=="IMG"&&r.className.indexOf("mceItem")==-1){q.add({title:"advanced.image_desc",icon:"image",cmd:l.plugins.advimage?"mceAdvImage":"mceImage",ui:true});q.addSeparator()}q.add({title:"table.desc",icon:"table",cmd:"mceInsertTable",value:{action:"insert"}});q.add({title:"table.props_desc",icon:"table_props",cmd:"mceInsertTable"});q.add({title:"table.del",icon:"delete_table",cmd:"mceTableDelete"});q.addSeparator();v=q.addMenu({title:"table.cell"});v.add({title:"table.cell_desc",icon:"cell_props",cmd:"mceTableCellProps"});v.add({title:"table.split_cells_desc",icon:"split_cells",cmd:"mceTableSplitCells"});v.add({title:"table.merge_cells_desc",icon:"merge_cells",cmd:"mceTableMergeCells"});v=q.addMenu({title:"table.row"});v.add({title:"table.row_desc",icon:"row_props",cmd:"mceTableRowProps"});v.add({title:"table.row_before_desc",icon:"row_before",cmd:"mceTableInsertRowBefore"});v.add({title:"table.row_after_desc",icon:"row_after",cmd:"mceTableInsertRowAfter"});v.add({title:"table.delete_row_desc",icon:"delete_row",cmd:"mceTableDeleteRow"});v.addSeparator();v.add({title:"table.cut_row_desc",icon:"cut",cmd:"mceTableCutRow"});v.add({title:"table.copy_row_desc",icon:"copy",cmd:"mceTableCopyRow"});v.add({title:"table.paste_row_before_desc",icon:"paste",cmd:"mceTablePasteRowBefore"}).setDisabled(!j);v.add({title:"table.paste_row_after_desc",icon:"paste",cmd:"mceTablePasteRowAfter"}).setDisabled(!j);v=q.addMenu({title:"table.col"});v.add({title:"table.col_before_desc",icon:"col_before",cmd:"mceTableInsertColBefore"});v.add({title:"table.col_after_desc",icon:"col_after",cmd:"mceTableInsertColAfter"});v.add({title:"table.delete_col_desc",icon:"delete_col",cmd:"mceTableDeleteCol"})}else{q.add({title:"table.desc",icon:"table",cmd:"mceInsertTable"})}})}if(!b.isIE){function n(){var q;for(q=l.getBody().lastChild;q&&q.nodeType==3&&!q.nodeValue.length;q=q.previousSibling){}if(q&&q.nodeName=="TABLE"){l.dom.add(l.getBody(),"p",null,'<br mce_bogus="1" />')}}if(b.isGecko){l.onKeyDown.add(function(r,t){var q,s,u=r.dom;if(t.keyCode==37||t.keyCode==38){q=r.selection.getRng();s=u.getParent(q.startContainer,"table");if(s&&r.getBody().firstChild==s){if(isAtStart(q,s)){q=u.createRng();q.setStartBefore(s);q.setEndBefore(s);r.selection.setRng(q);t.preventDefault()}}}})}l.onKeyUp.add(n);l.onSetContent.add(n);l.onVisualAid.add(n);l.onPreProcess.add(function(q,s){var r=s.node.lastChild;if(r&&r.childNodes.length==1&&r.firstChild.nodeName=="BR"){q.dom.remove(r)}});n()}});c({mceTableSplitCells:function(k){k.split()},mceTableMergeCells:function(l){var m,n,k;k=e.dom.getParent(e.selection.getNode(),"th,td");if(k){m=k.rowSpan;n=k.colSpan}if(!e.dom.select("td.mceSelected,th.mceSelected").length){d.open({url:f+"/merge_cells.htm",width:240+parseInt(e.getLang("table.merge_cells_delta_width",0)),height:110+parseInt(e.getLang("table.merge_cells_delta_height",0)),inline:1},{rows:m,cols:n,onaction:function(o){l.merge(k,o.cols,o.rows)},plugin_url:f})}else{l.merge()}},mceTableInsertRowBefore:function(k){k.insertRow(true)},mceTableInsertRowAfter:function(k){k.insertRow()},mceTableInsertColBefore:function(k){k.insertCol(true)},mceTableInsertColAfter:function(k){k.insertCol()},mceTableDeleteCol:function(k){k.deleteCols()},mceTableDeleteRow:function(k){k.deleteRows()},mceTableCutRow:function(k){j=k.cutRows()},mceTableCopyRow:function(k){j=k.copyRows()},mceTablePasteRowBefore:function(k){k.pasteRows(j,true)},mceTablePasteRowAfter:function(k){k.pasteRows(j)},mceTableDelete:function(k){k.deleteTable()}},function(l,k){e.addCommand(k,function(){var m=h();if(m){l(m);e.execCommand("mceRepaint");g()}})});c({mceInsertTable:function(k){d.open({url:f+"/table.htm",width:400+parseInt(e.getLang("table.table_delta_width",0)),height:320+parseInt(e.getLang("table.table_delta_height",0)),inline:1},{plugin_url:f,action:k?k.action:0})},mceTableRowProps:function(){d.open({url:f+"/row.htm",width:400+parseInt(e.getLang("table.rowprops_delta_width",0)),height:295+parseInt(e.getLang("table.rowprops_delta_height",0)),inline:1},{plugin_url:f})},mceTableCellProps:function(){d.open({url:f+"/cell.htm",width:400+parseInt(e.getLang("table.cellprops_delta_width",0)),height:295+parseInt(e.getLang("table.cellprops_delta_height",0)),inline:1},{plugin_url:f})}},function(l,k){e.addCommand(k,function(m,n){l(n)})})}});b.PluginManager.add("table",b.plugins.TablePlugin)})(tinymce);
@@ -0,0 +1,1125 @@
1
+ /**
2
+ * editor_plugin_src.js
3
+ *
4
+ * Copyright 2009, Moxiecode Systems AB
5
+ * Released under LGPL License.
6
+ *
7
+ * License: http://tinymce.moxiecode.com/license
8
+ * Contributing: http://tinymce.moxiecode.com/contributing
9
+ */
10
+
11
+ (function(tinymce) {
12
+ var each = tinymce.each;
13
+
14
+ /**
15
+ * Table Grid class.
16
+ */
17
+ function TableGrid(table, dom, selection) {
18
+ var grid, startPos, endPos, selectedCell;
19
+
20
+ buildGrid();
21
+ selectedCell = dom.getParent(selection.getStart(), 'th,td');
22
+ if (selectedCell) {
23
+ startPos = getPos(selectedCell);
24
+ endPos = findEndPos();
25
+ selectedCell = getCell(startPos.x, startPos.y);
26
+ }
27
+
28
+ function cloneNode(node, children) {
29
+ node = node.cloneNode(children);
30
+ node.removeAttribute('id');
31
+
32
+ return node;
33
+ }
34
+
35
+ function buildGrid() {
36
+ var startY = 0;
37
+
38
+ grid = [];
39
+
40
+ each(['thead', 'tbody', 'tfoot'], function(part) {
41
+ var rows = dom.select(part + ' tr', table);
42
+
43
+ each(rows, function(tr, y) {
44
+ y += startY;
45
+
46
+ each(dom.select('td,th', tr), function(td, x) {
47
+ var x2, y2, rowspan, colspan;
48
+
49
+ // Skip over existing cells produced by rowspan
50
+ if (grid[y]) {
51
+ while (grid[y][x])
52
+ x++;
53
+ }
54
+
55
+ // Get col/rowspan from cell
56
+ rowspan = getSpanVal(td, 'rowspan');
57
+ colspan = getSpanVal(td, 'colspan');
58
+
59
+ // Fill out rowspan/colspan right and down
60
+ for (y2 = y; y2 < y + rowspan; y2++) {
61
+ if (!grid[y2])
62
+ grid[y2] = [];
63
+
64
+ for (x2 = x; x2 < x + colspan; x2++) {
65
+ grid[y2][x2] = {
66
+ part : part,
67
+ real : y2 == y && x2 == x,
68
+ elm : td,
69
+ rowspan : rowspan,
70
+ colspan : colspan
71
+ };
72
+ }
73
+ }
74
+ });
75
+ });
76
+
77
+ startY += rows.length;
78
+ });
79
+ };
80
+
81
+ function getCell(x, y) {
82
+ var row;
83
+
84
+ row = grid[y];
85
+ if (row)
86
+ return row[x];
87
+ };
88
+
89
+ function getSpanVal(td, name) {
90
+ return parseInt(td.getAttribute(name) || 1);
91
+ };
92
+
93
+ function isCellSelected(cell) {
94
+ return dom.hasClass(cell.elm, 'mceSelected') || cell == selectedCell;
95
+ };
96
+
97
+ function getSelectedRows() {
98
+ var rows = [];
99
+
100
+ each(table.rows, function(row) {
101
+ each(row.cells, function(cell) {
102
+ if (dom.hasClass(cell, 'mceSelected') || cell == selectedCell.elm) {
103
+ rows.push(row);
104
+ return false;
105
+ }
106
+ });
107
+ });
108
+
109
+ return rows;
110
+ };
111
+
112
+ function deleteTable() {
113
+ var rng = dom.createRng();
114
+
115
+ rng.setStartAfter(table);
116
+ rng.setEndAfter(table);
117
+
118
+ selection.setRng(rng);
119
+
120
+ dom.remove(table);
121
+ };
122
+
123
+ function cloneCell(cell) {
124
+ var formatNode;
125
+
126
+ // Clone formats
127
+ tinymce.walk(cell, function(node) {
128
+ var curNode;
129
+
130
+ if (node.nodeType == 3) {
131
+ each(dom.getParents(node.parentNode, null, cell).reverse(), function(node) {
132
+ node = cloneNode(node, false);
133
+
134
+ if (!formatNode)
135
+ formatNode = curNode = node;
136
+ else if (curNode)
137
+ curNode.appendChild(node);
138
+
139
+ curNode = node;
140
+ });
141
+
142
+ // Add something to the inner node
143
+ if (curNode)
144
+ curNode.innerHTML = tinymce.isIE ? '&nbsp;' : '<br _mce_bogus="1" />';
145
+
146
+ return false;
147
+ }
148
+ }, 'childNodes');
149
+
150
+ cell = cloneNode(cell, false);
151
+ cell.rowSpan = cell.colSpan = 1;
152
+
153
+ if (formatNode) {
154
+ cell.appendChild(formatNode);
155
+ } else {
156
+ if (!tinymce.isIE)
157
+ cell.innerHTML = '<br _mce_bogus="1" />';
158
+ }
159
+
160
+ return cell;
161
+ };
162
+
163
+ function cleanup() {
164
+ var rng = dom.createRng();
165
+
166
+ // Empty rows
167
+ each(dom.select('tr', table), function(tr) {
168
+ if (tr.cells.length == 0)
169
+ dom.remove(tr);
170
+ });
171
+
172
+ // Empty table
173
+ if (dom.select('tr', table).length == 0) {
174
+ rng.setStartAfter(table);
175
+ rng.setEndAfter(table);
176
+ selection.setRng(rng);
177
+ dom.remove(table);
178
+ return;
179
+ }
180
+
181
+ // Empty header/body/footer
182
+ each(dom.select('thead,tbody,tfoot', table), function(part) {
183
+ if (part.rows.length == 0)
184
+ dom.remove(part);
185
+ });
186
+
187
+ // Restore selection to start position if it still exists
188
+ buildGrid();
189
+
190
+ // Restore the selection to the closest table position
191
+ row = grid[Math.min(grid.length - 1, startPos.y)];
192
+ if (row) {
193
+ selection.select(row[Math.min(row.length - 1, startPos.x)].elm, true);
194
+ selection.collapse(true);
195
+ }
196
+ };
197
+
198
+ function fillLeftDown(x, y, rows, cols) {
199
+ var tr, x2, r, c, cell;
200
+
201
+ tr = grid[y][x].elm.parentNode;
202
+ for (r = 1; r <= rows; r++) {
203
+ tr = dom.getNext(tr, 'tr');
204
+
205
+ if (tr) {
206
+ // Loop left to find real cell
207
+ for (x2 = x; x2 >= 0; x2--) {
208
+ cell = grid[y + r][x2].elm;
209
+
210
+ if (cell.parentNode == tr) {
211
+ // Append clones after
212
+ for (c = 1; c <= cols; c++)
213
+ dom.insertAfter(cloneCell(cell), cell);
214
+
215
+ break;
216
+ }
217
+ }
218
+
219
+ if (x2 == -1) {
220
+ // Insert nodes before first cell
221
+ for (c = 1; c <= cols; c++)
222
+ tr.insertBefore(cloneCell(tr.cells[0]), tr.cells[0]);
223
+ }
224
+ }
225
+ }
226
+ };
227
+
228
+ function split() {
229
+ each(grid, function(row, y) {
230
+ each(row, function(cell, x) {
231
+ var colSpan, rowSpan, newCell, i;
232
+
233
+ if (isCellSelected(cell)) {
234
+ cell = cell.elm;
235
+ colSpan = getSpanVal(cell, 'colspan');
236
+ rowSpan = getSpanVal(cell, 'rowspan');
237
+
238
+ if (colSpan > 1 || rowSpan > 1) {
239
+ cell.colSpan = cell.rowSpan = 1;
240
+
241
+ // Insert cells right
242
+ for (i = 0; i < colSpan - 1; i++)
243
+ dom.insertAfter(cloneCell(cell), cell);
244
+
245
+ fillLeftDown(x, y, rowSpan - 1, colSpan);
246
+ }
247
+ }
248
+ });
249
+ });
250
+ };
251
+
252
+ function merge(cell, cols, rows) {
253
+ var startX, startY, endX, endY, x, y, startCell, endCell, cell, children;
254
+
255
+ // Use specified cell and cols/rows
256
+ if (cell) {
257
+ pos = getPos(cell);
258
+ startX = pos.x;
259
+ startY = pos.y;
260
+ endX = startX + (cols - 1);
261
+ endY = startY + (rows - 1);
262
+ } else {
263
+ // Use selection
264
+ startX = startPos.x;
265
+ startY = startPos.y;
266
+ endX = endPos.x;
267
+ endY = endPos.y;
268
+ }
269
+
270
+ // Find start/end cells
271
+ startCell = getCell(startX, startY);
272
+ endCell = getCell(endX, endY);
273
+
274
+ // Check if the cells exists and if they are of the same part for example tbody = tbody
275
+ if (startCell && endCell && startCell.part == endCell.part) {
276
+ // Split and rebuild grid
277
+ split();
278
+ buildGrid();
279
+
280
+ // Set row/col span to start cell
281
+ startCell = getCell(startX, startY).elm;
282
+ startCell.colSpan = (endX - startX) + 1;
283
+ startCell.rowSpan = (endY - startY) + 1;
284
+
285
+ // Remove other cells and add it's contents to the start cell
286
+ for (y = startY; y <= endY; y++) {
287
+ for (x = startX; x <= endX; x++) {
288
+ cell = grid[y][x].elm;
289
+
290
+ if (cell != startCell) {
291
+ // Move children to startCell
292
+ children = tinymce.grep(cell.childNodes);
293
+ each(children, function(node, i) {
294
+ // Jump over last BR element
295
+ if (node.nodeName != 'BR' || i != children.length - 1)
296
+ startCell.appendChild(node);
297
+ });
298
+
299
+ // Remove cell
300
+ dom.remove(cell);
301
+ }
302
+ }
303
+ }
304
+
305
+ // Remove empty rows etc and restore caret location
306
+ cleanup();
307
+ }
308
+ };
309
+
310
+ function insertRow(before) {
311
+ var posY, cell, lastCell, x, rowElm, newRow, newCell, otherCell;
312
+
313
+ // Find first/last row
314
+ each(grid, function(row, y) {
315
+ each(row, function(cell, x) {
316
+ if (isCellSelected(cell)) {
317
+ cell = cell.elm;
318
+ rowElm = cell.parentNode;
319
+ newRow = cloneNode(rowElm, false);
320
+ posY = y;
321
+
322
+ if (before)
323
+ return false;
324
+ }
325
+ });
326
+
327
+ if (before)
328
+ return !posY;
329
+ });
330
+
331
+ for (x = 0; x < grid[0].length; x++) {
332
+ cell = grid[posY][x].elm;
333
+
334
+ if (cell != lastCell) {
335
+ if (!before) {
336
+ rowSpan = getSpanVal(cell, 'rowspan');
337
+ if (rowSpan > 1) {
338
+ cell.rowSpan = rowSpan + 1;
339
+ continue;
340
+ }
341
+ } else {
342
+ // Check if cell above can be expanded
343
+ if (posY > 0 && grid[posY - 1][x]) {
344
+ otherCell = grid[posY - 1][x].elm;
345
+ rowSpan = getSpanVal(otherCell, 'rowspan');
346
+ if (rowSpan > 1) {
347
+ otherCell.rowSpan = rowSpan + 1;
348
+ continue;
349
+ }
350
+ }
351
+ }
352
+
353
+ // Insert new cell into new row
354
+ newCell = cloneCell(cell)
355
+ newCell.colSpan = cell.colSpan;
356
+ newRow.appendChild(newCell);
357
+
358
+ lastCell = cell;
359
+ }
360
+ }
361
+
362
+ if (newRow.hasChildNodes()) {
363
+ if (!before)
364
+ dom.insertAfter(newRow, rowElm);
365
+ else
366
+ rowElm.parentNode.insertBefore(newRow, rowElm);
367
+ }
368
+ };
369
+
370
+ function insertCol(before) {
371
+ var posX, lastCell;
372
+
373
+ // Find first/last column
374
+ each(grid, function(row, y) {
375
+ each(row, function(cell, x) {
376
+ if (isCellSelected(cell)) {
377
+ posX = x;
378
+
379
+ if (before)
380
+ return false;
381
+ }
382
+ });
383
+
384
+ if (before)
385
+ return !posX;
386
+ });
387
+
388
+ each(grid, function(row, y) {
389
+ var cell = row[posX].elm, rowSpan, colSpan;
390
+
391
+ if (cell != lastCell) {
392
+ colSpan = getSpanVal(cell, 'colspan');
393
+ rowSpan = getSpanVal(cell, 'rowspan');
394
+
395
+ if (colSpan == 1) {
396
+ if (!before) {
397
+ dom.insertAfter(cloneCell(cell), cell);
398
+ fillLeftDown(posX, y, rowSpan - 1, colSpan);
399
+ } else {
400
+ cell.parentNode.insertBefore(cloneCell(cell), cell);
401
+ fillLeftDown(posX, y, rowSpan - 1, colSpan);
402
+ }
403
+ } else
404
+ cell.colSpan++;
405
+
406
+ lastCell = cell;
407
+ }
408
+ });
409
+ };
410
+
411
+ function deleteCols() {
412
+ var cols = [];
413
+
414
+ // Get selected column indexes
415
+ each(grid, function(row, y) {
416
+ each(row, function(cell, x) {
417
+ if (isCellSelected(cell) && tinymce.inArray(cols, x) === -1) {
418
+ each(grid, function(row) {
419
+ var cell = row[x].elm, colSpan;
420
+
421
+ colSpan = getSpanVal(cell, 'colspan');
422
+
423
+ if (colSpan > 1)
424
+ cell.colSpan = colSpan - 1;
425
+ else
426
+ dom.remove(cell);
427
+ });
428
+
429
+ cols.push(x);
430
+ }
431
+ });
432
+ });
433
+
434
+ cleanup();
435
+ };
436
+
437
+ function deleteRows() {
438
+ var rows;
439
+
440
+ function deleteRow(tr) {
441
+ var nextTr, pos, lastCell;
442
+
443
+ nextTr = dom.getNext(tr, 'tr');
444
+
445
+ // Move down row spanned cells
446
+ each(tr.cells, function(cell) {
447
+ var rowSpan = getSpanVal(cell, 'rowspan');
448
+
449
+ if (rowSpan > 1) {
450
+ cell.rowSpan = rowSpan - 1;
451
+ pos = getPos(cell);
452
+ fillLeftDown(pos.x, pos.y, 1, 1);
453
+ }
454
+ });
455
+
456
+ // Delete cells
457
+ pos = getPos(tr.cells[0]);
458
+ each(grid[pos.y], function(cell) {
459
+ var rowSpan;
460
+
461
+ cell = cell.elm;
462
+
463
+ if (cell != lastCell) {
464
+ rowSpan = getSpanVal(cell, 'rowspan');
465
+
466
+ if (rowSpan <= 1)
467
+ dom.remove(cell);
468
+ else
469
+ cell.rowSpan = rowSpan - 1;
470
+
471
+ lastCell = cell;
472
+ }
473
+ });
474
+ };
475
+
476
+ // Get selected rows and move selection out of scope
477
+ rows = getSelectedRows();
478
+
479
+ // Delete all selected rows
480
+ each(rows.reverse(), function(tr) {
481
+ deleteRow(tr);
482
+ });
483
+
484
+ cleanup();
485
+ };
486
+
487
+ function cutRows() {
488
+ var rows = getSelectedRows();
489
+
490
+ dom.remove(rows);
491
+ cleanup();
492
+
493
+ return rows;
494
+ };
495
+
496
+ function copyRows() {
497
+ var rows = getSelectedRows();
498
+
499
+ each(rows, function(row, i) {
500
+ rows[i] = cloneNode(row, true);
501
+ });
502
+
503
+ return rows;
504
+ };
505
+
506
+ function pasteRows(rows, before) {
507
+ var selectedRows = getSelectedRows(),
508
+ targetRow = selectedRows[before ? 0 : selectedRows.length - 1],
509
+ targetCellCount = targetRow.cells.length;
510
+
511
+ // Calc target cell count
512
+ each(grid, function(row) {
513
+ var match;
514
+
515
+ targetCellCount = 0;
516
+ each(row, function(cell, x) {
517
+ if (cell.real)
518
+ targetCellCount += cell.colspan;
519
+
520
+ if (cell.elm.parentNode == targetRow)
521
+ match = 1;
522
+ });
523
+
524
+ if (match)
525
+ return false;
526
+ });
527
+
528
+ if (!before)
529
+ rows.reverse();
530
+
531
+ each(rows, function(row) {
532
+ var cellCount = row.cells.length, cell;
533
+
534
+ // Remove col/rowspans
535
+ for (i = 0; i < cellCount; i++) {
536
+ cell = row.cells[i];
537
+ cell.colSpan = cell.rowSpan = 1;
538
+ }
539
+
540
+ // Needs more cells
541
+ for (i = cellCount; i < targetCellCount; i++)
542
+ row.appendChild(cloneCell(row.cells[cellCount - 1]));
543
+
544
+ // Needs less cells
545
+ for (i = targetCellCount; i < cellCount; i++)
546
+ dom.remove(row.cells[i]);
547
+
548
+ // Add before/after
549
+ if (before)
550
+ targetRow.parentNode.insertBefore(row, targetRow);
551
+ else
552
+ dom.insertAfter(row, targetRow);
553
+ });
554
+ };
555
+
556
+ function getPos(target) {
557
+ var pos;
558
+
559
+ each(grid, function(row, y) {
560
+ each(row, function(cell, x) {
561
+ if (cell.elm == target) {
562
+ pos = {x : x, y : y};
563
+ return false;
564
+ }
565
+ });
566
+
567
+ return !pos;
568
+ });
569
+
570
+ return pos;
571
+ };
572
+
573
+ function setStartCell(cell) {
574
+ startPos = getPos(cell);
575
+ };
576
+
577
+ function findEndPos() {
578
+ var pos, maxX, maxY;
579
+
580
+ maxX = maxY = 0;
581
+
582
+ each(grid, function(row, y) {
583
+ each(row, function(cell, x) {
584
+ var colSpan, rowSpan;
585
+
586
+ if (isCellSelected(cell)) {
587
+ cell = grid[y][x];
588
+
589
+ if (x > maxX)
590
+ maxX = x;
591
+
592
+ if (y > maxY)
593
+ maxY = y;
594
+
595
+ if (cell.real) {
596
+ colSpan = cell.colspan - 1;
597
+ rowSpan = cell.rowspan - 1;
598
+
599
+ if (colSpan) {
600
+ if (x + colSpan > maxX)
601
+ maxX = x + colSpan;
602
+ }
603
+
604
+ if (rowSpan) {
605
+ if (y + rowSpan > maxY)
606
+ maxY = y + rowSpan;
607
+ }
608
+ }
609
+ }
610
+ });
611
+ });
612
+
613
+ return {x : maxX, y : maxY};
614
+ };
615
+
616
+ function setEndCell(cell) {
617
+ var startX, startY, endX, endY, maxX, maxY, colSpan, rowSpan;
618
+
619
+ endPos = getPos(cell);
620
+
621
+ if (startPos && endPos) {
622
+ // Get start/end positions
623
+ startX = Math.min(startPos.x, endPos.x);
624
+ startY = Math.min(startPos.y, endPos.y);
625
+ endX = Math.max(startPos.x, endPos.x);
626
+ endY = Math.max(startPos.y, endPos.y);
627
+
628
+ // Expand end positon to include spans
629
+ maxX = endX;
630
+ maxY = endY;
631
+
632
+ // Expand startX
633
+ for (y = startY; y <= maxY; y++) {
634
+ cell = grid[y][startX];
635
+
636
+ if (!cell.real) {
637
+ if (startX - (cell.colspan - 1) < startX)
638
+ startX -= cell.colspan - 1;
639
+ }
640
+ }
641
+
642
+ // Expand startY
643
+ for (x = startX; x <= maxX; x++) {
644
+ cell = grid[startY][x];
645
+
646
+ if (!cell.real) {
647
+ if (startY - (cell.rowspan - 1) < startY)
648
+ startY -= cell.rowspan - 1;
649
+ }
650
+ }
651
+
652
+ // Find max X, Y
653
+ for (y = startY; y <= endY; y++) {
654
+ for (x = startX; x <= endX; x++) {
655
+ cell = grid[y][x];
656
+
657
+ if (cell.real) {
658
+ colSpan = cell.colspan - 1;
659
+ rowSpan = cell.rowspan - 1;
660
+
661
+ if (colSpan) {
662
+ if (x + colSpan > maxX)
663
+ maxX = x + colSpan;
664
+ }
665
+
666
+ if (rowSpan) {
667
+ if (y + rowSpan > maxY)
668
+ maxY = y + rowSpan;
669
+ }
670
+ }
671
+ }
672
+ }
673
+
674
+ // Remove current selection
675
+ dom.removeClass(dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
676
+
677
+ // Add new selection
678
+ for (y = startY; y <= maxY; y++) {
679
+ for (x = startX; x <= maxX; x++)
680
+ dom.addClass(grid[y][x].elm, 'mceSelected');
681
+ }
682
+ }
683
+ };
684
+
685
+ // Expose to public
686
+ tinymce.extend(this, {
687
+ deleteTable : deleteTable,
688
+ split : split,
689
+ merge : merge,
690
+ insertRow : insertRow,
691
+ insertCol : insertCol,
692
+ deleteCols : deleteCols,
693
+ deleteRows : deleteRows,
694
+ cutRows : cutRows,
695
+ copyRows : copyRows,
696
+ pasteRows : pasteRows,
697
+ getPos : getPos,
698
+ setStartCell : setStartCell,
699
+ setEndCell : setEndCell
700
+ });
701
+ };
702
+
703
+ tinymce.create('tinymce.plugins.TablePlugin', {
704
+ init : function(ed, url) {
705
+ var winMan, clipboardRows;
706
+
707
+ function createTableGrid(node) {
708
+ var selection = ed.selection, tblElm = ed.dom.getParent(node || selection.getNode(), 'table');
709
+
710
+ if (tblElm)
711
+ return new TableGrid(tblElm, ed.dom, selection);
712
+ };
713
+
714
+ function cleanup() {
715
+ // Restore selection possibilities
716
+ ed.getBody().style.webkitUserSelect = '';
717
+ ed.dom.removeClass(ed.dom.select('td.mceSelected,th.mceSelected'), 'mceSelected');
718
+ };
719
+
720
+ // Register buttons
721
+ each([
722
+ ['table', 'table.desc', 'mceInsertTable', true],
723
+ ['delete_table', 'table.del', 'mceTableDelete'],
724
+ ['delete_col', 'table.delete_col_desc', 'mceTableDeleteCol'],
725
+ ['delete_row', 'table.delete_row_desc', 'mceTableDeleteRow'],
726
+ ['col_after', 'table.col_after_desc', 'mceTableInsertColAfter'],
727
+ ['col_before', 'table.col_before_desc', 'mceTableInsertColBefore'],
728
+ ['row_after', 'table.row_after_desc', 'mceTableInsertRowAfter'],
729
+ ['row_before', 'table.row_before_desc', 'mceTableInsertRowBefore'],
730
+ ['row_props', 'table.row_desc', 'mceTableRowProps', true],
731
+ ['cell_props', 'table.cell_desc', 'mceTableCellProps', true],
732
+ ['split_cells', 'table.split_cells_desc', 'mceTableSplitCells', true],
733
+ ['merge_cells', 'table.merge_cells_desc', 'mceTableMergeCells', true]
734
+ ], function(c) {
735
+ ed.addButton(c[0], {title : c[1], cmd : c[2], ui : c[3]});
736
+ });
737
+
738
+ // Select whole table is a table border is clicked
739
+ if (!tinymce.isIE) {
740
+ ed.onClick.add(function(ed, e) {
741
+ e = e.target;
742
+
743
+ if (e.nodeName === 'TABLE')
744
+ ed.selection.select(e);
745
+ });
746
+ }
747
+
748
+ // Handle node change updates
749
+ ed.onNodeChange.add(function(ed, cm, n) {
750
+ var p;
751
+
752
+ n = ed.selection.getStart();
753
+ p = ed.dom.getParent(n, 'td,th,caption');
754
+ cm.setActive('table', n.nodeName === 'TABLE' || !!p);
755
+
756
+ // Disable table tools if we are in caption
757
+ if (p && p.nodeName === 'CAPTION')
758
+ p = 0;
759
+
760
+ cm.setDisabled('delete_table', !p);
761
+ cm.setDisabled('delete_col', !p);
762
+ cm.setDisabled('delete_table', !p);
763
+ cm.setDisabled('delete_row', !p);
764
+ cm.setDisabled('col_after', !p);
765
+ cm.setDisabled('col_before', !p);
766
+ cm.setDisabled('row_after', !p);
767
+ cm.setDisabled('row_before', !p);
768
+ cm.setDisabled('row_props', !p);
769
+ cm.setDisabled('cell_props', !p);
770
+ cm.setDisabled('split_cells', !p);
771
+ cm.setDisabled('merge_cells', !p);
772
+ });
773
+
774
+ ed.onInit.add(function(ed) {
775
+ var startTable, startCell, dom = ed.dom, tableGrid;
776
+
777
+ winMan = ed.windowManager;
778
+
779
+ // Add cell selection logic
780
+ ed.onMouseDown.add(function(ed, e) {
781
+ if (e.button != 2) {
782
+ cleanup();
783
+
784
+ startCell = dom.getParent(e.target, 'td,th');
785
+ startTable = dom.getParent(startCell, 'table');
786
+ }
787
+ });
788
+
789
+ dom.bind(ed.getDoc(), 'mouseover', function(e) {
790
+ var sel, table, target = e.target;
791
+
792
+ if (startCell && (tableGrid || target != startCell) && (target.nodeName == 'TD' || target.nodeName == 'TH')) {
793
+ table = dom.getParent(target, 'table');
794
+ if (table == startTable) {
795
+ if (!tableGrid) {
796
+ tableGrid = createTableGrid(table);
797
+ tableGrid.setStartCell(startCell);
798
+
799
+ ed.getBody().style.webkitUserSelect = 'none';
800
+ }
801
+
802
+ tableGrid.setEndCell(target);
803
+ }
804
+
805
+ // Remove current selection
806
+ sel = ed.selection.getSel();
807
+
808
+ if (sel.removeAllRanges)
809
+ sel.removeAllRanges();
810
+ else
811
+ sel.empty();
812
+
813
+ e.preventDefault();
814
+ }
815
+ });
816
+
817
+ ed.onMouseUp.add(function(ed, e) {
818
+ var rng, sel = ed.selection, selectedCells, nativeSel = sel.getSel(), walker, node, lastNode, endNode;
819
+
820
+ // Move selection to startCell
821
+ if (startCell) {
822
+ if (tableGrid)
823
+ ed.getBody().style.webkitUserSelect = '';
824
+
825
+ function setPoint(node, start) {
826
+ var walker = new tinymce.dom.TreeWalker(node, node);
827
+
828
+ do {
829
+ // Text node
830
+ if (node.nodeType == 3 && tinymce.trim(node.nodeValue).length != 0) {
831
+ if (start)
832
+ rng.setStart(node, 0);
833
+ else
834
+ rng.setEnd(node, node.nodeValue.length);
835
+
836
+ return;
837
+ }
838
+
839
+ // BR element
840
+ if (node.nodeName == 'BR') {
841
+ if (start)
842
+ rng.setStartBefore(node);
843
+ else
844
+ rng.setEndBefore(node);
845
+
846
+ return;
847
+ }
848
+ } while (node = (start ? walker.next() : walker.prev()));
849
+ };
850
+
851
+ // Try to expand text selection as much as we can only Gecko supports cell selection
852
+ selectedCells = dom.select('td.mceSelected,th.mceSelected');
853
+ if (selectedCells.length > 0) {
854
+ rng = dom.createRng();
855
+ node = selectedCells[0];
856
+ endNode = selectedCells[selectedCells.length - 1];
857
+
858
+ setPoint(node, 1);
859
+ walker = new tinymce.dom.TreeWalker(node, dom.getParent(selectedCells[0], 'table'));
860
+
861
+ do {
862
+ if (node.nodeName == 'TD' || node.nodeName == 'TH') {
863
+ if (!dom.hasClass(node, 'mceSelected'))
864
+ break;
865
+
866
+ lastNode = node;
867
+ }
868
+ } while (node = walker.next());
869
+
870
+ setPoint(lastNode);
871
+
872
+ sel.setRng(rng);
873
+ }
874
+
875
+ ed.nodeChanged();
876
+ startCell = tableGrid = startTable = null;
877
+ }
878
+ });
879
+
880
+ ed.onKeyUp.add(function(ed, e) {
881
+ cleanup();
882
+ });
883
+
884
+ // Add context menu
885
+ if (ed && ed.plugins.contextmenu) {
886
+ ed.plugins.contextmenu.onContextMenu.add(function(th, m, e) {
887
+ var sm, se = ed.selection, el = se.getNode() || ed.getBody();
888
+
889
+ if (ed.dom.getParent(e, 'td') || ed.dom.getParent(e, 'th') || ed.dom.select('td.mceSelected,th.mceSelected').length) {
890
+ m.removeAll();
891
+
892
+ if (el.nodeName == 'A' && !ed.dom.getAttrib(el, 'name')) {
893
+ m.add({title : 'advanced.link_desc', icon : 'link', cmd : ed.plugins.advlink ? 'mceAdvLink' : 'mceLink', ui : true});
894
+ m.add({title : 'advanced.unlink_desc', icon : 'unlink', cmd : 'UnLink'});
895
+ m.addSeparator();
896
+ }
897
+
898
+ if (el.nodeName == 'IMG' && el.className.indexOf('mceItem') == -1) {
899
+ m.add({title : 'advanced.image_desc', icon : 'image', cmd : ed.plugins.advimage ? 'mceAdvImage' : 'mceImage', ui : true});
900
+ m.addSeparator();
901
+ }
902
+
903
+ m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable', value : {action : 'insert'}});
904
+ m.add({title : 'table.props_desc', icon : 'table_props', cmd : 'mceInsertTable'});
905
+ m.add({title : 'table.del', icon : 'delete_table', cmd : 'mceTableDelete'});
906
+ m.addSeparator();
907
+
908
+ // Cell menu
909
+ sm = m.addMenu({title : 'table.cell'});
910
+ sm.add({title : 'table.cell_desc', icon : 'cell_props', cmd : 'mceTableCellProps'});
911
+ sm.add({title : 'table.split_cells_desc', icon : 'split_cells', cmd : 'mceTableSplitCells'});
912
+ sm.add({title : 'table.merge_cells_desc', icon : 'merge_cells', cmd : 'mceTableMergeCells'});
913
+
914
+ // Row menu
915
+ sm = m.addMenu({title : 'table.row'});
916
+ sm.add({title : 'table.row_desc', icon : 'row_props', cmd : 'mceTableRowProps'});
917
+ sm.add({title : 'table.row_before_desc', icon : 'row_before', cmd : 'mceTableInsertRowBefore'});
918
+ sm.add({title : 'table.row_after_desc', icon : 'row_after', cmd : 'mceTableInsertRowAfter'});
919
+ sm.add({title : 'table.delete_row_desc', icon : 'delete_row', cmd : 'mceTableDeleteRow'});
920
+ sm.addSeparator();
921
+ sm.add({title : 'table.cut_row_desc', icon : 'cut', cmd : 'mceTableCutRow'});
922
+ sm.add({title : 'table.copy_row_desc', icon : 'copy', cmd : 'mceTableCopyRow'});
923
+ sm.add({title : 'table.paste_row_before_desc', icon : 'paste', cmd : 'mceTablePasteRowBefore'}).setDisabled(!clipboardRows);
924
+ sm.add({title : 'table.paste_row_after_desc', icon : 'paste', cmd : 'mceTablePasteRowAfter'}).setDisabled(!clipboardRows);
925
+
926
+ // Column menu
927
+ sm = m.addMenu({title : 'table.col'});
928
+ sm.add({title : 'table.col_before_desc', icon : 'col_before', cmd : 'mceTableInsertColBefore'});
929
+ sm.add({title : 'table.col_after_desc', icon : 'col_after', cmd : 'mceTableInsertColAfter'});
930
+ sm.add({title : 'table.delete_col_desc', icon : 'delete_col', cmd : 'mceTableDeleteCol'});
931
+ } else
932
+ m.add({title : 'table.desc', icon : 'table', cmd : 'mceInsertTable'});
933
+ });
934
+ }
935
+
936
+ // Fixes an issue on Gecko where it's impossible to place the caret behind a table
937
+ // This fix will force a paragraph element after the table but only when the forced_root_block setting is enabled
938
+ if (!tinymce.isIE) {
939
+ function fixTableCaretPos() {
940
+ var last;
941
+
942
+ // Skip empty text nodes form the end
943
+ for (last = ed.getBody().lastChild; last && last.nodeType == 3 && !last.nodeValue.length; last = last.previousSibling) ;
944
+
945
+ if (last && last.nodeName == 'TABLE')
946
+ ed.dom.add(ed.getBody(), 'p', null, '<br mce_bogus="1" />');
947
+ };
948
+
949
+ // Fixes an bug where it's impossible to place the caret before a table in Gecko
950
+ // this fix solves it by detecting when the caret is at the beginning of such a table
951
+ // and then manually moves the caret infront of the table
952
+ if (tinymce.isGecko) {
953
+ ed.onKeyDown.add(function(ed, e) {
954
+ var rng, table, dom = ed.dom;
955
+
956
+ // On gecko it's not possible to place the caret before a table
957
+ if (e.keyCode == 37 || e.keyCode == 38) {
958
+ rng = ed.selection.getRng();
959
+ table = dom.getParent(rng.startContainer, 'table');
960
+
961
+ if (table && ed.getBody().firstChild == table) {
962
+ if (isAtStart(rng, table)) {
963
+ rng = dom.createRng();
964
+
965
+ rng.setStartBefore(table);
966
+ rng.setEndBefore(table);
967
+
968
+ ed.selection.setRng(rng);
969
+
970
+ e.preventDefault();
971
+ }
972
+ }
973
+ }
974
+ });
975
+ }
976
+
977
+ ed.onKeyUp.add(fixTableCaretPos);
978
+ ed.onSetContent.add(fixTableCaretPos);
979
+ ed.onVisualAid.add(fixTableCaretPos);
980
+
981
+ ed.onPreProcess.add(function(ed, o) {
982
+ var last = o.node.lastChild;
983
+
984
+ if (last && last.childNodes.length == 1 && last.firstChild.nodeName == 'BR')
985
+ ed.dom.remove(last);
986
+ });
987
+
988
+ fixTableCaretPos();
989
+ }
990
+ });
991
+
992
+ // Register action commands
993
+ each({
994
+ mceTableSplitCells : function(grid) {
995
+ grid.split();
996
+ },
997
+
998
+ mceTableMergeCells : function(grid) {
999
+ var rowSpan, colSpan, cell;
1000
+
1001
+ cell = ed.dom.getParent(ed.selection.getNode(), 'th,td');
1002
+ if (cell) {
1003
+ rowSpan = cell.rowSpan;
1004
+ colSpan = cell.colSpan;
1005
+ }
1006
+
1007
+ if (!ed.dom.select('td.mceSelected,th.mceSelected').length) {
1008
+ winMan.open({
1009
+ url : url + '/merge_cells.htm',
1010
+ width : 240 + parseInt(ed.getLang('table.merge_cells_delta_width', 0)),
1011
+ height : 110 + parseInt(ed.getLang('table.merge_cells_delta_height', 0)),
1012
+ inline : 1
1013
+ }, {
1014
+ rows : rowSpan,
1015
+ cols : colSpan,
1016
+ onaction : function(data) {
1017
+ grid.merge(cell, data.cols, data.rows);
1018
+ },
1019
+ plugin_url : url
1020
+ });
1021
+ } else
1022
+ grid.merge();
1023
+ },
1024
+
1025
+ mceTableInsertRowBefore : function(grid) {
1026
+ grid.insertRow(true);
1027
+ },
1028
+
1029
+ mceTableInsertRowAfter : function(grid) {
1030
+ grid.insertRow();
1031
+ },
1032
+
1033
+ mceTableInsertColBefore : function(grid) {
1034
+ grid.insertCol(true);
1035
+ },
1036
+
1037
+ mceTableInsertColAfter : function(grid) {
1038
+ grid.insertCol();
1039
+ },
1040
+
1041
+ mceTableDeleteCol : function(grid) {
1042
+ grid.deleteCols();
1043
+ },
1044
+
1045
+ mceTableDeleteRow : function(grid) {
1046
+ grid.deleteRows();
1047
+ },
1048
+
1049
+ mceTableCutRow : function(grid) {
1050
+ clipboardRows = grid.cutRows();
1051
+ },
1052
+
1053
+ mceTableCopyRow : function(grid) {
1054
+ clipboardRows = grid.copyRows();
1055
+ },
1056
+
1057
+ mceTablePasteRowBefore : function(grid) {
1058
+ grid.pasteRows(clipboardRows, true);
1059
+ },
1060
+
1061
+ mceTablePasteRowAfter : function(grid) {
1062
+ grid.pasteRows(clipboardRows);
1063
+ },
1064
+
1065
+ mceTableDelete : function(grid) {
1066
+ grid.deleteTable();
1067
+ }
1068
+ }, function(func, name) {
1069
+ ed.addCommand(name, function() {
1070
+ var grid = createTableGrid();
1071
+
1072
+ if (grid) {
1073
+ func(grid);
1074
+ ed.execCommand('mceRepaint');
1075
+ cleanup();
1076
+ }
1077
+ });
1078
+ });
1079
+
1080
+ // Register dialog commands
1081
+ each({
1082
+ mceInsertTable : function(val) {
1083
+ winMan.open({
1084
+ url : url + '/table.htm',
1085
+ width : 400 + parseInt(ed.getLang('table.table_delta_width', 0)),
1086
+ height : 320 + parseInt(ed.getLang('table.table_delta_height', 0)),
1087
+ inline : 1
1088
+ }, {
1089
+ plugin_url : url,
1090
+ action : val ? val.action : 0
1091
+ });
1092
+ },
1093
+
1094
+ mceTableRowProps : function() {
1095
+ winMan.open({
1096
+ url : url + '/row.htm',
1097
+ width : 400 + parseInt(ed.getLang('table.rowprops_delta_width', 0)),
1098
+ height : 295 + parseInt(ed.getLang('table.rowprops_delta_height', 0)),
1099
+ inline : 1
1100
+ }, {
1101
+ plugin_url : url
1102
+ });
1103
+ },
1104
+
1105
+ mceTableCellProps : function() {
1106
+ winMan.open({
1107
+ url : url + '/cell.htm',
1108
+ width : 400 + parseInt(ed.getLang('table.cellprops_delta_width', 0)),
1109
+ height : 295 + parseInt(ed.getLang('table.cellprops_delta_height', 0)),
1110
+ inline : 1
1111
+ }, {
1112
+ plugin_url : url
1113
+ });
1114
+ }
1115
+ }, function(func, name) {
1116
+ ed.addCommand(name, function(ui, val) {
1117
+ func(val);
1118
+ });
1119
+ });
1120
+ }
1121
+ });
1122
+
1123
+ // Register plugin
1124
+ tinymce.PluginManager.add('table', tinymce.plugins.TablePlugin);
1125
+ })(tinymce);