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.
- data/.gitignore +2 -1
- data/MIT-LICENSE +1 -1
- data/README.rdoc +19 -19
- data/Rakefile +11 -12
- data/VERSION +1 -1
- data/app/controllers/muck/invites_controller.rb +2 -2
- data/app/helpers/muck_invites_helper.rb +1 -1
- data/app/mailers/invite_mailer.rb +22 -0
- data/app/views/invite_mailer/invite_notification.html.erb +11 -0
- data/app/views/invite_mailer/invite_notification.text.erb +11 -0
- data/app/views/invite_mailer/invited_joined_notification.html.erb +5 -0
- data/app/views/invite_mailer/invited_joined_notification.text.erb +5 -0
- data/app/views/invites/_contacts_query.erb +1 -1
- data/app/views/invites/_invite_compose.erb +1 -1
- data/app/views/invites/_invite_standard.erb +1 -1
- data/app/views/invites/get_contacts.html.erb +1 -1
- data/app/views/invites/get_contacts.js.erb +1 -1
- data/config/locales/ar.yml +25 -0
- data/config/locales/bg.yml +25 -0
- data/config/locales/ca.yml +25 -0
- data/config/locales/cs.yml +25 -0
- data/config/locales/da.yml +25 -0
- data/config/locales/de.yml +25 -0
- data/config/locales/el.yml +25 -0
- data/config/locales/en.yml +26 -0
- data/config/locales/es.yml +25 -0
- data/config/locales/et.yml +25 -0
- data/config/locales/fa.yml +25 -0
- data/config/locales/fi.yml +25 -0
- data/config/locales/fr.yml +25 -0
- data/config/locales/gl.yml +25 -0
- data/config/locales/hi.yml +25 -0
- data/config/locales/hr.yml +25 -0
- data/config/locales/hu.yml +25 -0
- data/config/locales/id.yml +25 -0
- data/config/locales/it.yml +25 -0
- data/config/locales/iw.yml +25 -0
- data/config/locales/ja.yml +25 -0
- data/config/locales/ko.yml +25 -0
- data/config/locales/lt.yml +25 -0
- data/config/locales/lv.yml +25 -0
- data/config/locales/mt.yml +25 -0
- data/config/locales/nl.yml +25 -0
- data/config/locales/no.yml +26 -0
- data/config/locales/pl.yml +25 -0
- data/config/locales/pt-PT.yml +25 -0
- data/config/locales/ro.yml +25 -0
- data/config/locales/ru.yml +25 -0
- data/config/locales/sk.yml +25 -0
- data/config/locales/sl.yml +25 -0
- data/config/locales/sq.yml +25 -0
- data/config/locales/sr.yml +25 -0
- data/config/locales/sv.yml +25 -0
- data/config/locales/th.yml +25 -0
- data/config/locales/tl.yml +25 -0
- data/config/locales/tr.yml +25 -0
- data/config/locales/uk.yml +25 -0
- data/config/locales/vi.yml +25 -0
- data/config/locales/zh-CN.yml +25 -0
- data/config/locales/zh-TW.yml +25 -0
- data/config/locales/zh.yml +25 -0
- data/config/routes.rb +14 -0
- data/lib/muck-invites.rb +8 -0
- data/lib/muck-invites/config.rb +25 -0
- data/lib/muck-invites/engine.rb +18 -0
- data/lib/{muck_invites → muck-invites}/exceptions.rb +0 -0
- data/lib/muck-invites/models/invite.rb +21 -0
- data/lib/muck-invites/models/invitee.rb +42 -0
- data/lib/muck-invites/models/inviter.rb +68 -0
- data/lib/tasks/muck_invites.rake +10 -0
- data/muck-invites.gemspec +1452 -793
- data/test/{rails_root → rails_test}/.gitignore +0 -0
- data/test/{rails_root → rails_test}/.rake_tasks +0 -0
- data/test/rails_test/Gemfile +42 -0
- data/test/rails_test/Gemfile.lock +292 -0
- data/test/rails_test/Rakefile +10 -0
- data/test/rails_test/app/controllers/application_controller.rb +15 -0
- data/test/{rails_root → rails_test}/app/controllers/default_controller.rb +0 -0
- data/test/{rails_root → rails_test}/app/helpers/application_helper.rb +0 -0
- data/test/{rails_root → rails_test}/app/models/.keep +0 -0
- data/test/rails_test/app/models/activity.rb +26 -0
- data/test/rails_test/app/models/country.rb +13 -0
- data/test/rails_test/app/models/invite.rb +3 -0
- data/test/rails_test/app/models/invitee.rb +4 -0
- data/test/rails_test/app/models/language.rb +15 -0
- data/test/rails_test/app/models/state.rb +13 -0
- data/test/rails_test/app/models/user.rb +10 -0
- data/test/{rails_root → rails_test}/app/models/user_session.rb +0 -0
- data/test/rails_test/app/views/default/index.html.erb +3 -0
- data/test/{rails_root → rails_test}/app/views/layouts/default.html.erb +0 -0
- data/test/rails_test/config.ru +4 -0
- data/test/rails_test/config/application.rb +42 -0
- data/test/rails_test/config/boot.rb +13 -0
- data/test/{rails_root → rails_test}/config/database.yml +0 -0
- data/test/rails_test/config/environment.rb +5 -0
- data/test/rails_test/config/environments/development.rb +26 -0
- data/test/rails_test/config/environments/production.rb +49 -0
- data/test/rails_test/config/environments/test.rb +35 -0
- data/test/rails_test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails_test/config/initializers/inflections.rb +10 -0
- data/test/{rails_root → rails_test}/config/initializers/mime_types.rb +0 -0
- data/test/rails_test/config/initializers/muck.rb +66 -0
- data/test/rails_test/config/initializers/secret_token.rb +7 -0
- data/test/rails_test/config/initializers/session_store.rb +8 -0
- data/test/rails_test/config/locales/en.yml +5 -0
- data/test/rails_test/config/routes.rb +6 -0
- data/test/rails_test/config/tiny_mce.yml +6 -0
- data/test/{rails_root → rails_test}/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090327231918_create_users.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090402033319_add_muck_activities.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090402234137_create_languages.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041056_create_countries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041103_create_states.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090512013727_create_profiles.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090608073052_create_friends.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090703055724_add_contents.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090704220055_create_slugs.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090730044139_add_comment_cache.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090818204527_add_activity_indexes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090819030523_add_attachable_to_activities.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090928213532_create_invites.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091124203137_add_location_to_profiles.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091124205819_add_fields_to_profiles.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091128170318_make_invites_polymorphic.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091205001023_create_oauth_consumer_tokens.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20091210172015_create_oauth_tables.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20100123035450_create_access_codes.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20100123233654_create_access_code_requests.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20100206000906_remove_name_fields.rb +0 -0
- data/test/rails_test/db/seeds.rb +7 -0
- data/test/rails_test/doc/README_FOR_APP +2 -0
- data/test/{rails_root → rails_test}/features/step_definitions/common_steps.rb +0 -0
- data/test/rails_test/features/step_definitions/web_steps.rb +219 -0
- data/test/{rails_root → rails_test}/features/step_definitions/webrat_steps.rb +0 -0
- data/test/rails_test/features/support/custom_env.rb +19 -0
- data/test/rails_test/features/support/env.rb +58 -0
- data/test/rails_test/features/support/paths.rb +33 -0
- data/test/{rails_root/db/.keep → rails_test/lib/tasks/.gitkeep} +0 -0
- data/test/rails_test/lib/tasks/cucumber.rake +53 -0
- data/test/{rails_root → rails_test}/public/.htaccess +0 -0
- data/test/{rails_root → rails_test}/public/404.html +0 -0
- data/test/{rails_root → rails_test}/public/422.html +0 -0
- data/test/{rails_root → rails_test}/public/500.html +0 -0
- data/test/{rails_root → rails_test}/public/dispatch.rb +0 -0
- data/test/{rails_root → rails_test}/public/favicon.ico +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/Home.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/roles.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/source/Home.png +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/source/User.png +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/source/roles.png +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/user.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_down.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_left.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_right.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_up.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/blank.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_close.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_closebox.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_left.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_loading.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_nav_left.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_nav_right.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_progress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_right.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_e.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_n.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_ne.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_nw.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_s.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_se.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_sw.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_w.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_left.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_main.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_over.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_right.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancybox-x.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancybox-y.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancybox.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/accept.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/add.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/blue_guy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/button_background.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/cancel.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/close.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/comment.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/delete.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/exclaim.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/external.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/grey_guy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/hide.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/information.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/minus.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/pending.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/question.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/search_box.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/star.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/stop.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/thumb_down.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/thumb_up.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/vote.png +0 -0
- data/test/{rails_root → rails_test}/public/images/loading.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/nothing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/profile_default.jpg +0 -0
- data/test/{rails_root → rails_test}/public/images/rails.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/Google.psd +0 -0
- 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
- data/test/{rails_root → rails_test}/public/images/service_icons/source/ReadMe.rtf +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/aquaticus.social.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/ask.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bibsonomy.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bing.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bloglines.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/connotea.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/fireeagle.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/icerocket.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/metacafe.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/template.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/twine.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/spinner.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/sprites.png +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/application.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/builder.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/controls.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/dragdrop.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/effects.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/fancyzoom.min.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/colorpicker.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery-ui.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.autocomplete.js.readme +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.autocomplete.min.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.autocomplete.pack.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.easing.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.fancybox.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.form.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.jgrowl.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.metadata.min.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.mousewheel.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.queryString.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.swapimage.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.swapimage.min.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.tips.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jrails.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck-countries.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck-src.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck-users.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck_activities.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck_time/en.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/prototype.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/scriptaculous.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/slider.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/sound.js +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ar.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ca.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ch.js +178 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/cs.js +176 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/cy.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/de.js +171 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/en.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/es.js +172 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/fr.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/he.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/hi.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/hr.js +171 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/hu.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/it.js +206 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ja.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ka.js +173 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/kl.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ko.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/lb.js +171 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/nl.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/pl.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/pt.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ru.js +173 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/sk.js +176 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/sv.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/ta.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/uk.js +173 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/vi.js +170 -0
- data/test/rails_test/public/javascripts/tiny_mce/langs/zh.js +178 -0
- data/test/rails_test/public/javascripts/tiny_mce/license.txt +504 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ar_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ca_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ch_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/cs_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/cy_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/de_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/es_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/fr_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/he_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/hi_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/hr_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/hu_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/it_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ja_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ka_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/kl_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ko_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/lb_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/nl_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/pl_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/pt_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ru_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/sk_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/sv_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/ta_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/uk_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/vi_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/langs/zh_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advhr/rule.htm +57 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/image.htm +232 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ar_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ca_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ch_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/cs_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/cy_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/de_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/es_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/fr_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/he_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/hi_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/hr_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/hu_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/it_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ja_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ka_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/kl_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ko_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/lb_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/nl_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/pl_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/pt_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ru_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/sk_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/sv_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/ta_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/uk_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/vi_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advimage/langs/zh_dlg.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ar_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ca_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ch_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/cs_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/cy_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/de_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/es_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/fr_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/he_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/hi_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/hr_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/hu_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/it_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ja_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ka_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/kl_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ko_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/lb_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/nl_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/pl_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/pt_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ru_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/sk_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/sv_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/ta_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/uk_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/vi_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/langs/zh_dlg.js +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlink/link.htm +333 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +119 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +422 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +140 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ar_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ca_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ch_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/cs_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/cy_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/de_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/es_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/fr_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/he_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/hi_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/hr_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/hu_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/it_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ka_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/kl_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ko_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/lb_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/nl_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/pl_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/pt_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ru_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/sk_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/sv_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/ta_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/uk_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/vi_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/emotions/langs/zh_dlg.js +20 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/dialog.htm +22 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +149 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +571 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +471 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ar_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ca_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ch_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/cs_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/cy_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/de_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/es_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/fr_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/he_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/hi_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/hr_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/hu_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/it_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ja_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ka_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/kl_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ko_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/lb_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/nl_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/pl_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/pt_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ru_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/sk_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/sv_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/ta_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/uk_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/vi_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullpage/langs/zh_dlg.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +151 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +635 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +212 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +136 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +414 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ar_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ca_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ch_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/cs_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/cy_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/de_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/es_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/fr_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/he_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/hi_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/hr_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/hu_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/it_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ja_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ka_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/kl_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ko_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/lb_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/nl_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/pl_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/pt_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ru_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/sk_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/sv_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/ta_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/uk_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/vi_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/langs/zh_dlg.js +103 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/media/media.htm +817 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +77 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +940 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ar_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ca_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ch_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/cs_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/cy_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/de_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/es_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/fr_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/he_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/hi_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/hr_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/hu_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/it_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ja_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ka_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/kl_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ko_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/lb_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/nl_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/pl_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/pt_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ru_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/sk_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/sv_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/ta_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/uk_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/vi_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/langs/zh_dlg.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +27 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +21 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/example.html +28 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +57 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +130 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ar_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ca_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ch_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cs_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/cy_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/de_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/fr_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/he_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hi_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hr_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/hu_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/it_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ja_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ka_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/kl_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ko_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/lb_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/nl_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pl_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/pt_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ru_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sk_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/sv_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/ta_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/uk_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/vi_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js +16 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +99 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +415 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ar_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ca_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ch_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/cs_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/cy_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/de_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/es_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/fr_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/he_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/hi_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/hr_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/hu_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/it_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ja_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ka_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/kl_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ko_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/lb_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/nl_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/pl_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/pt_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ru_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/sk_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/sv_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/ta_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/uk_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/vi_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/langs/zh_dlg.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/style/props.htm +723 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +112 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/cell.htm +178 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1125 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/cell.js +286 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/row.js +237 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/js/table.js +449 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ar_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ca_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ch_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/cs_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/cy_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/de_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/es_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/fr_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/he_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/hi_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/hr_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/hu_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/it_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ja_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ka_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/kl_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ko_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/lb_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/nl_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/pl_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/pt_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ru_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/sk_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/sv_dlg.js +73 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/ta_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/uk_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/vi_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/langs/zh_dlg.js +74 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/merge_cells.htm +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/row.htm +155 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/table/table.htm +187 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ar_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ca_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ch_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/cs_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/cy_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/de_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/es_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/fr_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/he_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/hi_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/hr_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/hu_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/it_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ja_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ka_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/kl_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ko_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/lb_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/nl_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/pl_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/pt_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ru_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/sk_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/sv_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/ta_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/uk_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/vi_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/langs/zh_dlg.js +15 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/template/template.htm +31 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +76 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +98 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +141 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +141 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +148 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +141 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +161 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +144 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +161 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +126 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ar_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ca_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ch_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cs_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/cy_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/fr_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/he_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hi_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hr_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/hu_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/it_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ja_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ka_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/kl_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ko_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/lb_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/nl_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pl_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/pt_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ru_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sk_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/sv_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/ta_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/uk_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/vi_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/zh_dlg.js +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/about.htm +54 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/anchor.htm +26 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/charmap.htm +52 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +73 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1176 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/image.htm +80 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +335 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ar.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ar_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ca.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ca_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ch.js +64 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ch_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cs.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cs_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cy.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/cy_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/de.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/de_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/es.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/es_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/fr.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/fr_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/he.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/he_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hi.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hi_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hr.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hr_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hu.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/hu_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/it.js +72 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/it_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ja.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ja_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ka.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ka_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/kl.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/kl_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ko.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ko_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/lb.js +63 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/lb_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/nl.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/nl_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pl.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pl_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pt.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/pt_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ru.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ru_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sk.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sk_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sv.js +60 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/sv_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ta.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/ta_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/uk.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/uk_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/vi.js +62 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/vi_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/zh.js +64 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/langs/zh_dlg.js +51 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/link.htm +58 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +35 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +35 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +116 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +25 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ar.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ca.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ch.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/cs.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/cy.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/de.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/es.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/fr.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/he.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/hi.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/hr.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/hu.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/it.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ja.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ka.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/kl.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ko.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/lb.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/nl.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/pl.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/pt.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ru.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/sk.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/sv.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/ta.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/uk.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/vi.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/langs/zh.js +11 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/test/rails_test/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/test/rails_test/public/javascripts/tiny_mce/tiny_mce.js +1 -0
- data/test/rails_test/public/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
- data/test/rails_test/public/javascripts/tiny_mce/tiny_mce_src.js +13959 -0
- data/test/rails_test/public/javascripts/tiny_mce/utils/editable_selects.js +70 -0
- data/test/rails_test/public/javascripts/tiny_mce/utils/form_utils.js +200 -0
- data/test/rails_test/public/javascripts/tiny_mce/utils/mctabs.js +77 -0
- data/test/rails_test/public/javascripts/tiny_mce/utils/validate.js +220 -0
- data/test/{rails_root → rails_test}/public/javascripts/tree.js +0 -0
- data/test/{rails_root → rails_test}/public/robots.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/.keep +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/admin.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/ie.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/liquid_screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/fancy-type/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/liquid/liquid.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/rtl/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/rtl/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/print.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/sprite.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/forms.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/grid.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/grid.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/ie.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/print.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/reset.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/typography.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/jquery-ui-1.7.2.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/jquery.autocomplete.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/jquery.fancybox.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/jquery-ui-1.7.2.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/jquery-ui-1.7.2.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.2.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/muck-activities.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/muck-invites.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/reset.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/styles.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/themes/blue/styles.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/themes/red/styles.css +0 -0
- data/test/rails_test/script/rails +6 -0
- data/test/rails_test/spec/controllers/invites_controller_spec.rb +113 -0
- data/test/rails_test/spec/mailers/invite_mailer_spec.rb +38 -0
- data/test/rails_test/spec/models/contacts_spec.rb +37 -0
- data/test/rails_test/spec/models/invite_spec.rb +19 -0
- data/test/rails_test/spec/models/invitee_spec.rb +149 -0
- data/test/rails_test/spec/models/user_spec.rb +18 -0
- data/test/rails_test/spec/spec_helper.rb +5 -0
- data/test/rails_test/test/fixtures/rails.png +0 -0
- metadata +1467 -797
- data/app/models/invite_mailer.rb +0 -28
- data/app/views/invite_mailer/invite_notification.text.html.erb +0 -11
- data/app/views/invite_mailer/invite_notification.text.plain.erb +0 -11
- data/app/views/invite_mailer/invited_joined_notification.text.html.erb +0 -5
- data/app/views/invite_mailer/invited_joined_notification.text.plain.erb +0 -5
- data/config/muck_invites_routes.rb +0 -3
- data/install.rb +0 -1
- data/lib/active_record/acts/muck_invite.rb +0 -37
- data/lib/active_record/acts/muck_invitee.rb +0 -57
- data/lib/active_record/acts/muck_inviter.rb +0 -82
- data/lib/muck_invites.rb +0 -7
- data/lib/muck_invites/initialize_routes.rb +0 -8
- data/lib/muck_invites/tasks.rb +0 -28
- data/locales/ar.yml +0 -25
- data/locales/bg.yml +0 -25
- data/locales/ca.yml +0 -25
- data/locales/cs.yml +0 -25
- data/locales/da.yml +0 -25
- data/locales/de.yml +0 -25
- data/locales/el.yml +0 -25
- data/locales/en.yml +0 -26
- data/locales/es.yml +0 -25
- data/locales/et.yml +0 -25
- data/locales/fa.yml +0 -25
- data/locales/fi.yml +0 -25
- data/locales/fr.yml +0 -25
- data/locales/gl.yml +0 -25
- data/locales/hi.yml +0 -25
- data/locales/hr.yml +0 -25
- data/locales/hu.yml +0 -25
- data/locales/id.yml +0 -25
- data/locales/it.yml +0 -25
- data/locales/iw.yml +0 -25
- data/locales/ja.yml +0 -25
- data/locales/ko.yml +0 -25
- data/locales/lt.yml +0 -25
- data/locales/lv.yml +0 -25
- data/locales/mt.yml +0 -25
- data/locales/nl.yml +0 -25
- data/locales/no.yml +0 -26
- data/locales/pl.yml +0 -25
- data/locales/pt-PT.yml +0 -25
- data/locales/ro.yml +0 -25
- data/locales/ru.yml +0 -25
- data/locales/sk.yml +0 -25
- data/locales/sl.yml +0 -25
- data/locales/sq.yml +0 -25
- data/locales/sr.yml +0 -25
- data/locales/sv.yml +0 -25
- data/locales/th.yml +0 -25
- data/locales/tl.yml +0 -25
- data/locales/tr.yml +0 -25
- data/locales/uk.yml +0 -25
- data/locales/vi.yml +0 -25
- data/locales/zh-CN.yml +0 -25
- data/locales/zh-TW.yml +0 -25
- data/locales/zh.yml +0 -25
- data/rails/init.rb +0 -18
- data/tasks/muck_invites_tasks.rake +0 -1
- data/test/rails_root/Capfile +0 -3
- data/test/rails_root/Gemfile +0 -51
- data/test/rails_root/Rakefile +0 -17
- data/test/rails_root/app/controllers/application_controller.rb +0 -23
- data/test/rails_root/app/models/activity.rb +0 -26
- data/test/rails_root/app/models/invite.rb +0 -3
- data/test/rails_root/app/models/invitee.rb +0 -4
- data/test/rails_root/app/models/user.rb +0 -10
- data/test/rails_root/app/views/default/index.html.erb +0 -3
- data/test/rails_root/config/boot.rb +0 -123
- data/test/rails_root/config/environment.rb +0 -12
- data/test/rails_root/config/environments/cucumber.rb +0 -38
- data/test/rails_root/config/environments/development.rb +0 -19
- data/test/rails_root/config/environments/production.rb +0 -1
- data/test/rails_root/config/environments/test.rb +0 -28
- data/test/rails_root/config/global_config.example.yml +0 -112
- data/test/rails_root/config/initializers/inflections.rb +0 -10
- data/test/rails_root/config/initializers/oauth_consumers.rb +0 -34
- data/test/rails_root/config/initializers/requires.rb +0 -13
- data/test/rails_root/config/initializers/session_store.rb +0 -8
- data/test/rails_root/config/preinitializer.rb +0 -20
- data/test/rails_root/config/routes.rb +0 -6
- data/test/rails_root/features/comments.feature +0 -21
- data/test/rails_root/features/step_definitions/comment_steps.rb +0 -11
- data/test/rails_root/features/support/env.rb +0 -49
- data/test/rails_root/features/support/paths.rb +0 -33
- data/test/rails_root/lib/tasks/cucumber.rake +0 -20
- data/test/rails_root/lib/tasks/muck.rake +0 -7
- data/test/rails_root/script/about +0 -3
- data/test/rails_root/script/breakpointer +0 -3
- data/test/rails_root/script/console +0 -3
- data/test/rails_root/script/create_project.rb +0 -52
- data/test/rails_root/script/cucumber +0 -8
- data/test/rails_root/script/dbconsole +0 -3
- data/test/rails_root/script/destroy +0 -3
- data/test/rails_root/script/generate +0 -3
- data/test/rails_root/script/performance/benchmarker +0 -3
- data/test/rails_root/script/performance/profiler +0 -3
- data/test/rails_root/script/performance/request +0 -3
- data/test/rails_root/script/plugin +0 -3
- data/test/rails_root/script/process/inspector +0 -3
- data/test/rails_root/script/process/reaper +0 -3
- data/test/rails_root/script/process/spawner +0 -3
- data/test/rails_root/script/runner +0 -3
- data/test/rails_root/script/server +0 -3
- data/test/rails_root/test/functional/.keep +0 -0
- data/test/rails_root/test/functional/invites_controller_test.rb +0 -115
- data/test/rails_root/test/test_helper.rb +0 -11
- data/test/rails_root/test/unit/.keep +0 -0
- data/test/rails_root/test/unit/contacts_test.rb +0 -37
- data/test/rails_root/test/unit/invite_mailer_test.rb +0 -41
- data/test/rails_root/test/unit/invite_test.rb +0 -19
- data/test/rails_root/test/unit/invitee_test.rb +0 -146
- data/test/rails_root/test/unit/user_test.rb +0 -18
- data/test/rails_root/vendor/plugins/jrails/CHANGELOG +0 -43
- data/test/rails_root/vendor/plugins/jrails/LICENSE +0 -18
- data/test/rails_root/vendor/plugins/jrails/README.rdoc +0 -21
- data/test/rails_root/vendor/plugins/jrails/Rakefile +0 -18
- data/test/rails_root/vendor/plugins/jrails/VERSION.yml +0 -4
- data/test/rails_root/vendor/plugins/jrails/bin/jrails +0 -30
- data/test/rails_root/vendor/plugins/jrails/init.rb +0 -1
- data/test/rails_root/vendor/plugins/jrails/install.rb +0 -9
- data/test/rails_root/vendor/plugins/jrails/javascripts/jquery-ui.js +0 -188
- data/test/rails_root/vendor/plugins/jrails/javascripts/jquery.js +0 -19
- data/test/rails_root/vendor/plugins/jrails/javascripts/jrails.js +0 -1
- data/test/rails_root/vendor/plugins/jrails/javascripts/sources/jrails.js +0 -197
- data/test/rails_root/vendor/plugins/jrails/jrails.gemspec +0 -50
- data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +0 -421
- data/test/rails_root/vendor/plugins/jrails/rails/init.rb +0 -15
- data/test/rails_root/vendor/plugins/jrails/tasks/jrails.rake +0 -25
- data/test/rails_root/vendor/plugins/ssl_requirement/README +0 -43
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
- 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"> </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"> </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"> </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,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 @@
|
|
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?" ":'<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 ? ' ' : '<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);
|