typo 5.5 → 6.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1461) hide show
  1. data/PostInstall.txt +5 -0
  2. data/typo.gemspec +16 -0
  3. metadata +35 -1619
  4. data/CHANGELOG +0 -59
  5. data/MAINTAINERS +0 -23
  6. data/MIT-LICENSE +0 -21
  7. data/README +0 -57
  8. data/Rakefile +0 -10
  9. data/Typo users guide.pdf +0 -0
  10. data/UPGRADE +0 -144
  11. data/app/apis/blogger_service.rb +0 -93
  12. data/app/apis/meta_weblog_service.rb +0 -173
  13. data/app/apis/movable_type_service.rb +0 -144
  14. data/app/apis/typo_web_service.rb +0 -26
  15. data/app/controllers/accounts_controller.rb +0 -106
  16. data/app/controllers/admin/base_controller.rb +0 -18
  17. data/app/controllers/admin/categories_controller.rb +0 -66
  18. data/app/controllers/admin/content_controller.rb +0 -242
  19. data/app/controllers/admin/dashboard_controller.rb +0 -96
  20. data/app/controllers/admin/feedback_controller.rb +0 -173
  21. data/app/controllers/admin/pages_controller.rb +0 -77
  22. data/app/controllers/admin/profiles_controller.rb +0 -14
  23. data/app/controllers/admin/resources_controller.rb +0 -96
  24. data/app/controllers/admin/settings_controller.rb +0 -76
  25. data/app/controllers/admin/sidebar_controller.rb +0 -102
  26. data/app/controllers/admin/tags_controller.rb +0 -37
  27. data/app/controllers/admin/textfilters_controller.rb +0 -8
  28. data/app/controllers/admin/themes_controller.rb +0 -121
  29. data/app/controllers/admin/users_controller.rb +0 -47
  30. data/app/controllers/application_controller.rb +0 -78
  31. data/app/controllers/articles_controller.rb +0 -312
  32. data/app/controllers/authors_controller.rb +0 -21
  33. data/app/controllers/backend_controller.rb +0 -20
  34. data/app/controllers/categories_controller.rb +0 -4
  35. data/app/controllers/comments_controller.rb +0 -89
  36. data/app/controllers/content_controller.rb +0 -51
  37. data/app/controllers/feedback_controller.rb +0 -50
  38. data/app/controllers/grouping_controller.rb +0 -123
  39. data/app/controllers/setup_controller.rb +0 -45
  40. data/app/controllers/tags_controller.rb +0 -3
  41. data/app/controllers/textfilter_controller.rb +0 -19
  42. data/app/controllers/theme_controller.rb +0 -62
  43. data/app/controllers/trackbacks_controller.rb +0 -41
  44. data/app/controllers/xml_controller.rb +0 -134
  45. data/app/helpers/accounts_helper.rb +0 -2
  46. data/app/helpers/admin/base_helper.rb +0 -251
  47. data/app/helpers/admin/cache_helper.rb +0 -2
  48. data/app/helpers/admin/categories_helper.rb +0 -12
  49. data/app/helpers/admin/comments_helper.rb +0 -2
  50. data/app/helpers/admin/content_helper.rb +0 -88
  51. data/app/helpers/admin/feedback_helper.rb +0 -15
  52. data/app/helpers/admin/general_helper.rb +0 -2
  53. data/app/helpers/admin/pages_helper.rb +0 -8
  54. data/app/helpers/admin/resources_helper.rb +0 -8
  55. data/app/helpers/admin/settings_helper.rb +0 -23
  56. data/app/helpers/admin/sidebar_helper.rb +0 -2
  57. data/app/helpers/admin/textfilters_helper.rb +0 -2
  58. data/app/helpers/admin/themes_helper.rb +0 -23
  59. data/app/helpers/admin/trackbacks_helper.rb +0 -2
  60. data/app/helpers/admin/users_helper.rb +0 -14
  61. data/app/helpers/application_helper.rb +0 -199
  62. data/app/helpers/articles_helper.rb +0 -21
  63. data/app/helpers/authors_helper.rb +0 -19
  64. data/app/helpers/backend_helper.rb +0 -2
  65. data/app/helpers/categories_helper.rb +0 -5
  66. data/app/helpers/comments_helper.rb +0 -2
  67. data/app/helpers/content_helper.rb +0 -67
  68. data/app/helpers/groupings_helper.rb +0 -5
  69. data/app/helpers/mail_helper.rb +0 -7
  70. data/app/helpers/sidebar_helper.rb +0 -47
  71. data/app/helpers/sidebars/plugin_helper.rb +0 -2
  72. data/app/helpers/tags_helper.rb +0 -5
  73. data/app/helpers/text_filter_plugin_helper.rb +0 -2
  74. data/app/helpers/textfilter_helper.rb +0 -2
  75. data/app/helpers/theme_helper.rb +0 -7
  76. data/app/helpers/xml_helper.rb +0 -20
  77. data/app/models/article.rb +0 -575
  78. data/app/models/article/states.rb +0 -191
  79. data/app/models/blog.rb +0 -202
  80. data/app/models/blog_sweeper.rb +0 -88
  81. data/app/models/categorization.rb +0 -4
  82. data/app/models/category.rb +0 -98
  83. data/app/models/comment.rb +0 -75
  84. data/app/models/config_manager.rb +0 -80
  85. data/app/models/content.rb +0 -385
  86. data/app/models/email_notifier.rb +0 -8
  87. data/app/models/feedback.rb +0 -175
  88. data/app/models/feedback/states.rb +0 -221
  89. data/app/models/notification.rb +0 -4
  90. data/app/models/notification_mailer.rb +0 -41
  91. data/app/models/page.rb +0 -41
  92. data/app/models/page_cache.rb +0 -62
  93. data/app/models/ping.rb +0 -124
  94. data/app/models/profile.rb +0 -15
  95. data/app/models/redirect.rb +0 -3
  96. data/app/models/resource.rb +0 -66
  97. data/app/models/right.rb +0 -4
  98. data/app/models/sidebar.rb +0 -269
  99. data/app/models/tag.rb +0 -99
  100. data/app/models/text_filter.rb +0 -106
  101. data/app/models/theme.rb +0 -58
  102. data/app/models/trackback.rb +0 -67
  103. data/app/models/trigger.rb +0 -32
  104. data/app/models/user.rb +0 -208
  105. data/app/models/web_notifier.rb +0 -7
  106. data/app/views/accounts/confirm.html.erb +0 -1
  107. data/app/views/accounts/login.html.erb +0 -25
  108. data/app/views/accounts/recover_password.html.erb +0 -15
  109. data/app/views/accounts/signup.html.erb +0 -22
  110. data/app/views/admin/categories/_categories.html.erb +0 -22
  111. data/app/views/admin/categories/_form.html.erb +0 -19
  112. data/app/views/admin/categories/destroy.html.erb +0 -10
  113. data/app/views/admin/categories/index.html.erb +0 -8
  114. data/app/views/admin/categories/new.html.erb +0 -6
  115. data/app/views/admin/categories/reorder.html.erb +0 -11
  116. data/app/views/admin/content/_article_list.html.erb +0 -17
  117. data/app/views/admin/content/_attachment.html.erb +0 -30
  118. data/app/views/admin/content/_drafts.html.erb +0 -8
  119. data/app/views/admin/content/_form.html.erb +0 -124
  120. data/app/views/admin/content/_images.html.erb +0 -18
  121. data/app/views/admin/content/_show_resources.html.erb +0 -9
  122. data/app/views/admin/content/_simple_editor.html.erb +0 -15
  123. data/app/views/admin/content/_visual_editor.html.erb +0 -20
  124. data/app/views/admin/content/destroy.html.erb +0 -11
  125. data/app/views/admin/content/index.html.erb +0 -47
  126. data/app/views/admin/content/new.html.erb +0 -3
  127. data/app/views/admin/dashboard/_comments.html.erb +0 -19
  128. data/app/views/admin/dashboard/_inbound.html.erb +0 -23
  129. data/app/views/admin/dashboard/_overview.html.erb +0 -19
  130. data/app/views/admin/dashboard/_popular.html.erb +0 -17
  131. data/app/views/admin/dashboard/_posts.html.erb +0 -19
  132. data/app/views/admin/dashboard/_typo_dev.html.erb +0 -25
  133. data/app/views/admin/dashboard/_welcome.html.erb +0 -17
  134. data/app/views/admin/dashboard/index.html.erb +0 -13
  135. data/app/views/admin/feedback/_button.html.erb +0 -10
  136. data/app/views/admin/feedback/_form.html.erb +0 -32
  137. data/app/views/admin/feedback/_item.html.erb +0 -19
  138. data/app/views/admin/feedback/article.html.erb +0 -34
  139. data/app/views/admin/feedback/edit.html.erb +0 -10
  140. data/app/views/admin/feedback/index.html.erb +0 -44
  141. data/app/views/admin/pages/_form.html.erb +0 -62
  142. data/app/views/admin/pages/_images.html.erb +0 -18
  143. data/app/views/admin/pages/_pages.html.erb +0 -17
  144. data/app/views/admin/pages/_simple_editor.html.erb +0 -15
  145. data/app/views/admin/pages/_visual_editor.html.erb +0 -21
  146. data/app/views/admin/pages/destroy.html.erb +0 -11
  147. data/app/views/admin/pages/edit.html.erb +0 -4
  148. data/app/views/admin/pages/index.html.erb +0 -13
  149. data/app/views/admin/pages/new.html.erb +0 -3
  150. data/app/views/admin/pages/show.html.erb +0 -2
  151. data/app/views/admin/profiles/index.html.erb +0 -8
  152. data/app/views/admin/resources/_mime_edit.html.erb +0 -8
  153. data/app/views/admin/resources/_pages.html.erb +0 -3
  154. data/app/views/admin/resources/_upload.html.erb +0 -17
  155. data/app/views/admin/resources/destroy.html.erb +0 -11
  156. data/app/views/admin/resources/get_thumbnails.html.erb +0 -5
  157. data/app/views/admin/resources/images.html.erb +0 -28
  158. data/app/views/admin/resources/index.html.erb +0 -30
  159. data/app/views/admin/settings/_submit.html.erb +0 -3
  160. data/app/views/admin/settings/feedback.html.erb +0 -109
  161. data/app/views/admin/settings/index.html.erb +0 -86
  162. data/app/views/admin/settings/seo.html.erb +0 -80
  163. data/app/views/admin/settings/update_database.html.erb +0 -42
  164. data/app/views/admin/settings/write.html.erb +0 -34
  165. data/app/views/admin/shared/_edit.html.erb +0 -6
  166. data/app/views/admin/sidebar/_active.html.erb +0 -15
  167. data/app/views/admin/sidebar/_actives.html.erb +0 -9
  168. data/app/views/admin/sidebar/_available.html.erb +0 -7
  169. data/app/views/admin/sidebar/_availables.html.erb +0 -5
  170. data/app/views/admin/sidebar/_publish.html.erb +0 -2
  171. data/app/views/admin/sidebar/_target.html.erb +0 -1
  172. data/app/views/admin/sidebar/index.html.erb +0 -49
  173. data/app/views/admin/sidebar/publish.rjs +0 -4
  174. data/app/views/admin/sidebar/remove.rjs +0 -5
  175. data/app/views/admin/sidebar/set_active.rjs +0 -10
  176. data/app/views/admin/tags/_form.html.erb +0 -6
  177. data/app/views/admin/tags/destroy.html.erb +0 -11
  178. data/app/views/admin/tags/edit.html.erb +0 -13
  179. data/app/views/admin/tags/index.html.erb +0 -19
  180. data/app/views/admin/themes/catalogue.html.erb +0 -30
  181. data/app/views/admin/themes/editor.html.erb +0 -29
  182. data/app/views/admin/themes/index.html.erb +0 -36
  183. data/app/views/admin/users/_form.html.erb +0 -188
  184. data/app/views/admin/users/destroy.html.erb +0 -14
  185. data/app/views/admin/users/edit.html.erb +0 -6
  186. data/app/views/admin/users/index.html.erb +0 -27
  187. data/app/views/admin/users/new.html.erb +0 -6
  188. data/app/views/articles/_article.html.erb +0 -24
  189. data/app/views/articles/_article_content.html.erb +0 -1
  190. data/app/views/articles/_atom_feed.atom.builder +0 -12
  191. data/app/views/articles/_comment.html.erb +0 -9
  192. data/app/views/articles/_comment_box.html.erb +0 -45
  193. data/app/views/articles/_comment_error.html.erb +0 -1
  194. data/app/views/articles/_comment_failed.html.erb +0 -4
  195. data/app/views/articles/_password_form.html.erb +0 -10
  196. data/app/views/articles/_rss20_feed.rss.builder +0 -19
  197. data/app/views/articles/_trackback.html.erb +0 -6
  198. data/app/views/articles/archives.html.erb +0 -22
  199. data/app/views/articles/comment_preview.html.erb +0 -3
  200. data/app/views/articles/error.html.erb +0 -3
  201. data/app/views/articles/groupings.html.erb +0 -15
  202. data/app/views/articles/index.html.erb +0 -8
  203. data/app/views/articles/live_search.html.erb +0 -10
  204. data/app/views/articles/read.html.erb +0 -66
  205. data/app/views/articles/search.html.erb +0 -8
  206. data/app/views/articles/trackback.xml.builder +0 -5
  207. data/app/views/articles/view_page.html.erb +0 -3
  208. data/app/views/authors/show.html.erb +0 -37
  209. data/app/views/comments/index.html.erb +0 -1
  210. data/app/views/comments/show.html.erb +0 -13
  211. data/app/views/layouts/accounts.html.erb +0 -18
  212. data/app/views/layouts/administration.html.erb +0 -45
  213. data/app/views/layouts/setup.html.erb +0 -18
  214. data/app/views/layouts/sidebar.html.erb +0 -40
  215. data/app/views/notification_mailer/_mail_footer.html.erb +0 -7
  216. data/app/views/notification_mailer/_mail_header.html.erb +0 -1
  217. data/app/views/notification_mailer/article.html.erb +0 -6
  218. data/app/views/notification_mailer/comment.html.erb +0 -11
  219. data/app/views/notification_mailer/notif_user.html.erb +0 -14
  220. data/app/views/notification_mailer/trackback.html.erb +0 -3
  221. data/app/views/settings/done.html.erb +0 -2
  222. data/app/views/settings/install.html.erb +0 -12
  223. data/app/views/setup/confirm.html.erb +0 -1
  224. data/app/views/setup/index.html.erb +0 -17
  225. data/app/views/shared/_confirm.html.erb +0 -16
  226. data/app/views/shared/_search.html.erb +0 -10
  227. data/app/views/sidebar/_row.html.erb +0 -1
  228. data/app/views/sidebar/_sidebar.html.erb +0 -5
  229. data/app/views/sidebar/display_plugins.html.erb +0 -5
  230. data/app/views/sidebar/show.html.erb +0 -1
  231. data/app/views/theme/static_view_test.html.erb +0 -1
  232. data/app/views/trackbacks/trackback.xml.builder +0 -4
  233. data/app/views/xml/_atom10_item_article.atom.builder +0 -39
  234. data/app/views/xml/_atom10_item_comment.atom.builder +0 -12
  235. data/app/views/xml/_atom10_item_trackback.atom.builder +0 -16
  236. data/app/views/xml/_googlesitemap_item_article.googlesitemap.builder +0 -5
  237. data/app/views/xml/_googlesitemap_item_category.googlesitemap.builder +0 -4
  238. data/app/views/xml/_googlesitemap_item_page.googlesitemap.builder +0 -4
  239. data/app/views/xml/_googlesitemap_item_tag.googlesitemap.builder +0 -4
  240. data/app/views/xml/_itunes_item_resource.xml.builder +0 -28
  241. data/app/views/xml/_rss20_item_article.rss.builder +0 -29
  242. data/app/views/xml/_rss20_item_comment.rss.builder +0 -7
  243. data/app/views/xml/_rss20_item_trackback.rss.builder +0 -7
  244. data/app/views/xml/feed.atom.builder +0 -18
  245. data/app/views/xml/feed.googlesitemap.builder +0 -7
  246. data/app/views/xml/feed.rss.builder +0 -21
  247. data/app/views/xml/itunes_feed.rss.builder +0 -29
  248. data/app/views/xml/rsd.rsd.builder +0 -19
  249. data/app/views/xml/rsd.rxml +0 -19
  250. data/bin/typo +0 -122
  251. data/config/boot.rb +0 -110
  252. data/config/ckeditor.yml +0 -14
  253. data/config/database.yml.example +0 -18
  254. data/config/environment.rb +0 -109
  255. data/config/environments/cucumber.rb +0 -23
  256. data/config/environments/development.rb +0 -21
  257. data/config/environments/production.rb +0 -19
  258. data/config/environments/test.rb +0 -26
  259. data/config/filemanager.yml +0 -16
  260. data/config/initializers/access_rules.rb +0 -110
  261. data/config/initializers/inflector.rb +0 -4
  262. data/config/initializers/mime_types.rb +0 -3
  263. data/config/lighttpd.conf +0 -46
  264. data/config/locales/nl.rb +0 -103
  265. data/config/mail.yml.example +0 -8
  266. data/config/routes.rb +0 -128
  267. data/db/converters/README +0 -14
  268. data/db/converters/feed.rb +0 -68
  269. data/db/converters/mt3.rb +0 -172
  270. data/db/converters/rss.rb +0 -67
  271. data/db/converters/s9y.rb +0 -182
  272. data/db/converters/textpattern.rb +0 -137
  273. data/db/migrate/001_initial_schema.rb +0 -145
  274. data/db/migrate/002_add_user_email.rb +0 -17
  275. data/db/migrate/003_add_article_user_id.rb +0 -31
  276. data/db/migrate/004_add_sidebars.rb +0 -48
  277. data/db/migrate/005_add_cache_table.rb +0 -20
  278. data/db/migrate/006_add_pages.rb +0 -17
  279. data/db/migrate/007_add_permalink.rb +0 -36
  280. data/db/migrate/008_add_page_title.rb +0 -20
  281. data/db/migrate/009_add_article_guid.rb +0 -10
  282. data/db/migrate/010_add_tags.rb +0 -19
  283. data/db/migrate/011_add_article_id.rb +0 -17
  284. data/db/migrate/012_enlarge_settings.rb +0 -11
  285. data/db/migrate/013_add_textfilters.rb +0 -33
  286. data/db/migrate/014_move_text_filter_to_text_filter_id.rb +0 -43
  287. data/db/migrate/015_convert_mysql_to_innodb.rb +0 -19
  288. data/db/migrate/016_fix_is_primary_postgres.rb +0 -16
  289. data/db/migrate/017_add_comment_user_id.rb +0 -23
  290. data/db/migrate/018_add_guids.rb +0 -13
  291. data/db/migrate/019_add_whiteboards_to_content.rb +0 -15
  292. data/db/migrate/020_superclass_articles.rb +0 -168
  293. data/db/migrate/021_superclass_comments.rb +0 -94
  294. data/db/migrate/022_superclass_trackbacks.rb +0 -73
  295. data/db/migrate/023_superclass_pages.rb +0 -65
  296. data/db/migrate/024_cleanup_contents.rb +0 -54
  297. data/db/migrate/025_add_itunes_metadata.rb +0 -29
  298. data/db/migrate/026_add_redirect_table.rb +0 -13
  299. data/db/migrate/027_set_comment_published_flag.rb +0 -19
  300. data/db/migrate/028_rename_redirect_to.rb +0 -16
  301. data/db/migrate/029_add_user_notification.rb +0 -29
  302. data/db/migrate/030_index_sessions.rb +0 -9
  303. data/db/migrate/031_add_notifications_table.rb +0 -14
  304. data/db/migrate/032_add_jabber_notification.rb +0 -11
  305. data/db/migrate/033_add_count_caching.rb +0 -34
  306. data/db/migrate/034_boolify_published.rb +0 -36
  307. data/db/migrate/035_boolify_content_allow_foo.rb +0 -36
  308. data/db/migrate/036_add_tag_display_name.rb +0 -51
  309. data/db/migrate/037_enlarge_ip_field.rb +0 -9
  310. data/db/migrate/038_add_blog_object.rb +0 -52
  311. data/db/migrate/039_serialize_blog_attributes.rb +0 -160
  312. data/db/migrate/040_attach_content_to_blog.rb +0 -28
  313. data/db/migrate/041_fixup_default_sidebars.rb +0 -18
  314. data/db/migrate/042_remove_sidebar_staged_config.rb +0 -22
  315. data/db/migrate/043_create_triggers.rb +0 -14
  316. data/db/migrate/044_add_published_at_to_content.rb +0 -18
  317. data/db/migrate/045_fix_contents_published_default.rb +0 -9
  318. data/db/migrate/046_fixup_forthcoming_publications.rb +0 -40
  319. data/db/migrate/047_add_content_state_field.rb +0 -24
  320. data/db/migrate/048_remove_count_caching.rb +0 -31
  321. data/db/migrate/049_move_feedback_to_new_state_machine.rb +0 -33
  322. data/db/migrate/050_add_status_confirmed_field_to_content.rb +0 -19
  323. data/db/migrate/051_fix_canonical_server_url.rb +0 -17
  324. data/db/migrate/052_remove_cached_html.rb +0 -11
  325. data/db/migrate/053_promote_canonical_server_url.rb +0 -22
  326. data/db/migrate/054_upgrade_sidebar_objects.rb +0 -26
  327. data/db/migrate/055_link_sidebars_to_blog.rb +0 -17
  328. data/db/migrate/056_create_notifications.rb +0 -33
  329. data/db/migrate/057_add_categorization_model.rb +0 -58
  330. data/db/migrate/058_separate_entries_and_feedback.rb +0 -81
  331. data/db/migrate/059_cleanup_feedback_table.rb +0 -25
  332. data/db/migrate/060_cleanup_contents_table.rb +0 -37
  333. data/db/migrate/061_convert_title_prefix_setting.rb +0 -25
  334. data/db/migrate/062_add_sitealizer_plugin.rb +0 -18
  335. data/db/migrate/063_rejig_state_field.rb +0 -42
  336. data/db/migrate/064_add_users_profile.rb +0 -32
  337. data/db/migrate/065_add_users_rights.rb +0 -116
  338. data/db/migrate/066_fix_profiles.rb +0 -20
  339. data/db/migrate/067_remove_blog_ids.rb +0 -30
  340. data/db/migrate/068_fix_grants.rb +0 -113
  341. data/db/migrate/069_add_modules_to_profile.rb +0 -18
  342. data/db/migrate/070_add_users_to_non_admins.rb +0 -17
  343. data/db/migrate/071_fix_tags_naming.rb +0 -18
  344. data/db/migrate/072_add_remember_token.rb +0 -9
  345. data/db/migrate/073_add_meta_and_subcategories.rb +0 -13
  346. data/db/migrate/074_add_remember_token_expires_at.rb +0 -9
  347. data/db/migrate/075_move_editor_to_user.rb +0 -10
  348. data/db/migrate/076_fix_users_empty_email.rb +0 -15
  349. data/db/migrate/077_fix_userless_articles.rb +0 -20
  350. data/db/migrate/078_add_textfilter_to_users.rb +0 -15
  351. data/db/migrate/079_move_editor_as_string.rb +0 -16
  352. data/db/migrate/080_add_state_to_user.rb +0 -14
  353. data/db/migrate/081_create_cache_informations.rb +0 -28
  354. data/db/migrate/082_add_users_options.rb +0 -35
  355. data/db/migrate/083_add_users_display_perms.rb +0 -19
  356. data/db/migrate/084_move_users_to_profiles.rb +0 -19
  357. data/db/migrate/085_add_article_parent_draft.rb +0 -9
  358. data/db/migrate/086_add_user_last_connection.rb +0 -9
  359. data/db/migrate/087_drop_blacklist_patterns.rb +0 -14
  360. data/db/migrate/088_drop_session_table.rb +0 -14
  361. data/db/migrate/089_drop_cache_information_table.rb +0 -31
  362. data/db/migrate/090_remove_keywords_from_posts.rb +0 -9
  363. data/db/migrate/091_adds_password_protection_to_posts.rb +0 -9
  364. data/db/schema.mysql-v3.sql +0 -3
  365. data/db/schema.mysql.sql +0 -3
  366. data/db/schema.postgresql.sql +0 -3
  367. data/db/schema.sqlite.sql +0 -3
  368. data/db/schema.sqlite3.sql +0 -3
  369. data/db/schema.sqlserver.sql +0 -3
  370. data/db/schema_version +0 -1
  371. data/db/scripts/fix_permalinks.rb +0 -5
  372. data/db/updates/update.168.to.200.mysql.sql +0 -33
  373. data/db/updates/update.168.to.200.psql.sql +0 -30
  374. data/doc/CACHE.SETUP.README +0 -36
  375. data/doc/Installer.txt +0 -160
  376. data/installer/apache13.conf.example.template +0 -33
  377. data/installer/apache20.conf.example.template +0 -40
  378. data/installer/lighttpd.conf.example.template +0 -6
  379. data/installer/rails_installer_defaults.yml +0 -5
  380. data/lang/de_DE.rb +0 -497
  381. data/lang/en_US.rb +0 -3
  382. data/lang/es_MX.rb +0 -556
  383. data/lang/fr_FR.rb +0 -762
  384. data/lang/he_IL.rb +0 -715
  385. data/lang/it_IT.rb +0 -566
  386. data/lang/ja_JP.rb +0 -707
  387. data/lang/nl_NL.rb +0 -657
  388. data/lang/pl_PL.rb +0 -685
  389. data/lang/ro_RO.rb +0 -552
  390. data/lang/zh_TW.rb +0 -597
  391. data/lib/backpack_api.rb +0 -202
  392. data/lib/bare_migration.rb +0 -145
  393. data/lib/email_notify.rb +0 -32
  394. data/lib/filemanager.rb +0 -53
  395. data/lib/filemanager/controller.rb +0 -217
  396. data/lib/format.rb +0 -19
  397. data/lib/generators/sidebar/sidebar_generator.rb +0 -22
  398. data/lib/generators/sidebar/templates/Rakefile +0 -22
  399. data/lib/generators/sidebar/templates/content.html.erb +0 -10
  400. data/lib/generators/sidebar/templates/init.rb +0 -4
  401. data/lib/generators/sidebar/templates/sidebar.rb +0 -16
  402. data/lib/generators/sidebar/templates/unit_test.rb +0 -8
  403. data/lib/i18n_interpolation_deprecation.rb +0 -26
  404. data/lib/migrator.rb +0 -28
  405. data/lib/rails_patch/active_record.rb +0 -9
  406. data/lib/rails_patch/active_support.rb +0 -4
  407. data/lib/route_cache.rb +0 -15
  408. data/lib/sidebars/component_plugin.rb +0 -8
  409. data/lib/sidebars/consolidated_plugin.rb +0 -26
  410. data/lib/sidebars/plugin.rb +0 -237
  411. data/lib/spam_protection.rb +0 -110
  412. data/lib/stateful.rb +0 -111
  413. data/lib/tasks/cucumber.rake +0 -20
  414. data/lib/tasks/release.rake +0 -53
  415. data/lib/tasks/rspec.rake +0 -167
  416. data/lib/tasks/schemas.rake +0 -6
  417. data/lib/tasks/sweep_cache.rake +0 -5
  418. data/lib/text_filter_plugin.rb +0 -148
  419. data/lib/transforms.rb +0 -26
  420. data/lib/typo_guid.rb +0 -10
  421. data/lib/typo_plugins.rb +0 -19
  422. data/lib/typo_version.rb +0 -1
  423. data/public/.htaccess +0 -36
  424. data/public/404.html +0 -8
  425. data/public/500.html +0 -8
  426. data/public/dispatch.cgi +0 -10
  427. data/public/dispatch.fcgi +0 -24
  428. data/public/dispatch.rb +0 -10
  429. data/public/favicon.ico +0 -0
  430. data/public/filemanager/images/avi.gif +0 -0
  431. data/public/filemanager/images/box.gif +0 -0
  432. data/public/filemanager/images/bullet.gif +0 -0
  433. data/public/filemanager/images/close.gif +0 -0
  434. data/public/filemanager/images/closelabel.gif +0 -0
  435. data/public/filemanager/images/doc.gif +0 -0
  436. data/public/filemanager/images/donate-button.gif +0 -0
  437. data/public/filemanager/images/download-icon.gif +0 -0
  438. data/public/filemanager/images/folder.gif +0 -0
  439. data/public/filemanager/images/gif.gif +0 -0
  440. data/public/filemanager/images/htm.gif +0 -0
  441. data/public/filemanager/images/html.gif +0 -0
  442. data/public/filemanager/images/image-1.jpg +0 -0
  443. data/public/filemanager/images/image.gif +0 -0
  444. data/public/filemanager/images/jpg.gif +0 -0
  445. data/public/filemanager/images/loading.gif +0 -0
  446. data/public/filemanager/images/mov.gif +0 -0
  447. data/public/filemanager/images/nextlabel.gif +0 -0
  448. data/public/filemanager/images/pdf.gif +0 -0
  449. data/public/filemanager/images/png.gif +0 -0
  450. data/public/filemanager/images/ppt.gif +0 -0
  451. data/public/filemanager/images/prevlabel.gif +0 -0
  452. data/public/filemanager/images/rar.gif +0 -0
  453. data/public/filemanager/images/rm.gif +0 -0
  454. data/public/filemanager/images/rmvb.gif +0 -0
  455. data/public/filemanager/images/separator.gif +0 -0
  456. data/public/filemanager/images/spacer.gif +0 -0
  457. data/public/filemanager/images/swf.gif +0 -0
  458. data/public/filemanager/images/thumb-1.jpg +0 -0
  459. data/public/filemanager/images/tool_copy.gif +0 -0
  460. data/public/filemanager/images/tool_cut.gif +0 -0
  461. data/public/filemanager/images/tool_del.gif +0 -0
  462. data/public/filemanager/images/tool_folder.gif +0 -0
  463. data/public/filemanager/images/tool_imagemanager.gif +0 -0
  464. data/public/filemanager/images/tool_new.gif +0 -0
  465. data/public/filemanager/images/tool_paste.gif +0 -0
  466. data/public/filemanager/images/tool_props.gif +0 -0
  467. data/public/filemanager/images/tool_refresh.gif +0 -0
  468. data/public/filemanager/images/tool_unzip.gif +0 -0
  469. data/public/filemanager/images/tool_upload.gif +0 -0
  470. data/public/filemanager/images/tool_zip.gif +0 -0
  471. data/public/filemanager/images/txt.gif +0 -0
  472. data/public/filemanager/images/unknown.gif +0 -0
  473. data/public/filemanager/images/wmv.gif +0 -0
  474. data/public/filemanager/images/xls.gif +0 -0
  475. data/public/filemanager/images/zip.gif +0 -0
  476. data/public/filemanager/javascripts/filemanager.js +0 -6
  477. data/public/filemanager/javascripts/lang/en.js +0 -31
  478. data/public/filemanager/javascripts/lang/zh_CN.js +0 -31
  479. data/public/filemanager/javascripts/lightbox.js +0 -497
  480. data/public/filemanager/javascripts/translate.js +0 -42
  481. data/public/filemanager/resources/resources.txt +0 -1
  482. data/public/filemanager/stylesheets/filelist.css +0 -147
  483. data/public/filemanager/stylesheets/general.css +0 -135
  484. data/public/filemanager/stylesheets/lightbox.css +0 -27
  485. data/public/images/admin/loading.gif +0 -0
  486. data/public/images/admin/typologo.gif +0 -0
  487. data/public/images/admin/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  488. data/public/images/admin/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  489. data/public/images/admin/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  490. data/public/images/admin/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  491. data/public/images/admin/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  492. data/public/images/admin/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  493. data/public/images/admin/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  494. data/public/images/admin/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  495. data/public/images/admin/ui-bg_highlight-soft_50_116088_1x100.png +0 -0
  496. data/public/images/admin/ui-icons_2694e8_256x240.png +0 -0
  497. data/public/images/admin/ui-icons_2e83ff_256x240.png +0 -0
  498. data/public/images/admin/ui-icons_3d80b3_256x240.png +0 -0
  499. data/public/images/admin/ui-icons_72a7cf_256x240.png +0 -0
  500. data/public/images/admin/ui-icons_ffffff_256x240.png +0 -0
  501. data/public/images/calendar_date_select/calendar.gif +0 -0
  502. data/public/images/close.gif +0 -0
  503. data/public/images/closelabel.gif +0 -0
  504. data/public/images/go.png +0 -0
  505. data/public/images/loading.gif +0 -0
  506. data/public/images/nextlabel.gif +0 -0
  507. data/public/images/overlay.png +0 -0
  508. data/public/images/powered.gif +0 -0
  509. data/public/images/prevlabel.gif +0 -0
  510. data/public/images/spinner-blue.gif +0 -0
  511. data/public/images/spinner.gif +0 -0
  512. data/public/images/thumb_blank.jpg +0 -0
  513. data/public/javascripts/administration.js +0 -20
  514. data/public/javascripts/application.js +0 -2
  515. data/public/javascripts/base_packaged.js +0 -377
  516. data/public/javascripts/builder.js +0 -136
  517. data/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
  518. data/public/javascripts/calendar_date_select/format_db.js +0 -27
  519. data/public/javascripts/ckcustom.js +0 -27
  520. data/public/javascripts/ckeditor/.htaccess +0 -24
  521. data/public/javascripts/ckeditor/CHANGES.html +0 -254
  522. data/public/javascripts/ckeditor/INSTALL.html +0 -92
  523. data/public/javascripts/ckeditor/LICENSE.html +0 -1334
  524. data/public/javascripts/ckeditor/ckeditor.js +0 -108
  525. data/public/javascripts/ckeditor/ckeditor.pack +0 -199
  526. data/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
  527. data/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
  528. data/public/javascripts/ckeditor/ckeditor_source.js +0 -25
  529. data/public/javascripts/ckeditor/config.bak +0 -27
  530. data/public/javascripts/ckeditor/contents.css +0 -35
  531. data/public/javascripts/ckeditor/images/spacer.gif +0 -0
  532. data/public/javascripts/ckeditor/lang/_languages.js +0 -6
  533. data/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
  534. data/public/javascripts/ckeditor/lang/af.js +0 -6
  535. data/public/javascripts/ckeditor/lang/ar.js +0 -6
  536. data/public/javascripts/ckeditor/lang/bg.js +0 -6
  537. data/public/javascripts/ckeditor/lang/bn.js +0 -6
  538. data/public/javascripts/ckeditor/lang/bs.js +0 -6
  539. data/public/javascripts/ckeditor/lang/ca.js +0 -6
  540. data/public/javascripts/ckeditor/lang/cs.js +0 -6
  541. data/public/javascripts/ckeditor/lang/da.js +0 -6
  542. data/public/javascripts/ckeditor/lang/de.js +0 -6
  543. data/public/javascripts/ckeditor/lang/el.js +0 -6
  544. data/public/javascripts/ckeditor/lang/en-au.js +0 -6
  545. data/public/javascripts/ckeditor/lang/en-ca.js +0 -6
  546. data/public/javascripts/ckeditor/lang/en-uk.js +0 -6
  547. data/public/javascripts/ckeditor/lang/en.js +0 -6
  548. data/public/javascripts/ckeditor/lang/eo.js +0 -6
  549. data/public/javascripts/ckeditor/lang/es.js +0 -6
  550. data/public/javascripts/ckeditor/lang/et.js +0 -6
  551. data/public/javascripts/ckeditor/lang/eu.js +0 -6
  552. data/public/javascripts/ckeditor/lang/fa.js +0 -6
  553. data/public/javascripts/ckeditor/lang/fi.js +0 -6
  554. data/public/javascripts/ckeditor/lang/fo.js +0 -6
  555. data/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
  556. data/public/javascripts/ckeditor/lang/fr.js +0 -6
  557. data/public/javascripts/ckeditor/lang/gl.js +0 -6
  558. data/public/javascripts/ckeditor/lang/gu.js +0 -6
  559. data/public/javascripts/ckeditor/lang/he.js +0 -6
  560. data/public/javascripts/ckeditor/lang/hi.js +0 -6
  561. data/public/javascripts/ckeditor/lang/hr.js +0 -6
  562. data/public/javascripts/ckeditor/lang/hu.js +0 -6
  563. data/public/javascripts/ckeditor/lang/is.js +0 -6
  564. data/public/javascripts/ckeditor/lang/it.js +0 -6
  565. data/public/javascripts/ckeditor/lang/ja.js +0 -6
  566. data/public/javascripts/ckeditor/lang/km.js +0 -6
  567. data/public/javascripts/ckeditor/lang/ko.js +0 -6
  568. data/public/javascripts/ckeditor/lang/lt.js +0 -6
  569. data/public/javascripts/ckeditor/lang/lv.js +0 -6
  570. data/public/javascripts/ckeditor/lang/mn.js +0 -6
  571. data/public/javascripts/ckeditor/lang/ms.js +0 -6
  572. data/public/javascripts/ckeditor/lang/nb.js +0 -6
  573. data/public/javascripts/ckeditor/lang/nl.js +0 -6
  574. data/public/javascripts/ckeditor/lang/no.js +0 -6
  575. data/public/javascripts/ckeditor/lang/pl.js +0 -6
  576. data/public/javascripts/ckeditor/lang/pt-br.js +0 -6
  577. data/public/javascripts/ckeditor/lang/pt.js +0 -6
  578. data/public/javascripts/ckeditor/lang/ro.js +0 -6
  579. data/public/javascripts/ckeditor/lang/ru.js +0 -6
  580. data/public/javascripts/ckeditor/lang/sk.js +0 -6
  581. data/public/javascripts/ckeditor/lang/sl.js +0 -6
  582. data/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
  583. data/public/javascripts/ckeditor/lang/sr.js +0 -6
  584. data/public/javascripts/ckeditor/lang/sv.js +0 -6
  585. data/public/javascripts/ckeditor/lang/th.js +0 -6
  586. data/public/javascripts/ckeditor/lang/tr.js +0 -6
  587. data/public/javascripts/ckeditor/lang/uk.js +0 -6
  588. data/public/javascripts/ckeditor/lang/vi.js +0 -6
  589. data/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
  590. data/public/javascripts/ckeditor/lang/zh.js +0 -6
  591. data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
  592. data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  593. data/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
  594. data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
  595. data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
  596. data/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
  597. data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
  598. data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
  599. data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
  600. data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -6
  601. data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +0 -6
  602. data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
  603. data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  604. data/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
  605. data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
  606. data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
  607. data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
  608. data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
  609. data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
  610. data/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
  611. data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
  612. data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
  613. data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
  614. data/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
  615. data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
  616. data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  617. data/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
  618. data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
  619. data/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
  620. data/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
  621. data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
  622. data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
  623. data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
  624. data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
  625. data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
  626. data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
  627. data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
  628. data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
  629. data/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
  630. data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
  631. data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
  632. data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
  633. data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
  634. data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
  635. data/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
  636. data/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
  637. data/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
  638. data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
  639. data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
  640. data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
  641. data/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  642. data/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
  643. data/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
  644. data/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
  645. data/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
  646. data/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
  647. data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
  648. data/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
  649. data/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  650. data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
  651. data/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
  652. data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
  653. data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
  654. data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
  655. data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  656. data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
  657. data/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
  658. data/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
  659. data/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
  660. data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
  661. data/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
  662. data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
  663. data/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
  664. data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
  665. data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
  666. data/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
  667. data/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
  668. data/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  669. data/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  670. data/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  671. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  672. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  673. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  674. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  675. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  676. data/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  677. data/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  678. data/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  679. data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
  680. data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
  681. data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  682. data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  683. data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  684. data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  685. data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  686. data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  687. data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  688. data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  689. data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  690. data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  691. data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  692. data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  693. data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  694. data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  695. data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  696. data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  697. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  698. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  699. data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  700. data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  701. data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  702. data/public/javascripts/ckeditor/plugins/smiley/plugin.js +0 -6
  703. data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
  704. data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
  705. data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
  706. data/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
  707. data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
  708. data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
  709. data/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
  710. data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
  711. data/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
  712. data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
  713. data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
  714. data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
  715. data/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
  716. data/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
  717. data/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  718. data/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  719. data/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  720. data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
  721. data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  722. data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
  723. data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
  724. data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  725. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  726. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  727. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  728. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  729. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  730. data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  731. data/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
  732. data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  733. data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  734. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
  735. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
  736. data/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
  737. data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
  738. data/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
  739. data/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
  740. data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  741. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  742. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  743. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  744. data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  745. data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  746. data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  747. data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  748. data/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  749. data/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
  750. data/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
  751. data/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
  752. data/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
  753. data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  754. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  755. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  756. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  757. data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  758. data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  759. data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  760. data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  761. data/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
  762. data/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
  763. data/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
  764. data/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
  765. data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  766. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  767. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  768. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  769. data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  770. data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  771. data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  772. data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  773. data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  774. data/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
  775. data/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
  776. data/public/javascripts/ckeditor/themes/default/theme.js +0 -7
  777. data/public/javascripts/codecollapse.js +0 -8
  778. data/public/javascripts/controls.js +0 -963
  779. data/public/javascripts/cookies.js +0 -60
  780. data/public/javascripts/dragdrop.js +0 -973
  781. data/public/javascripts/effects.js +0 -1128
  782. data/public/javascripts/growler.js +0 -168
  783. data/public/javascripts/lang/default.js +0 -21
  784. data/public/javascripts/lang/en_US.js +0 -21
  785. data/public/javascripts/lang/fr_FR.js +0 -21
  786. data/public/javascripts/lang/nl_NL.js +0 -21
  787. data/public/javascripts/lang/zh_TW.js +0 -17
  788. data/public/javascripts/lightbox.js +0 -497
  789. data/public/javascripts/prototype.js +0 -4320
  790. data/public/javascripts/prototype_ext.js +0 -117
  791. data/public/javascripts/quicktags.js +0 -522
  792. data/public/javascripts/scriptaculous.js +0 -58
  793. data/public/javascripts/slider.js +0 -258
  794. data/public/javascripts/typo.js +0 -136
  795. data/public/javascripts/typo_carousel.js +0 -340
  796. data/public/robots.txt +0 -6
  797. data/public/stylesheets/accounts.css +0 -119
  798. data/public/stylesheets/administration.css +0 -678
  799. data/public/stylesheets/administration_rtl.css +0 -905
  800. data/public/stylesheets/base_packaged.css +0 -100
  801. data/public/stylesheets/calendar_date_select/default.css +0 -136
  802. data/public/stylesheets/codecollapse.css +0 -3
  803. data/public/stylesheets/coderay.css +0 -128
  804. data/public/stylesheets/growler.css +0 -216
  805. data/public/stylesheets/lightbox.css +0 -27
  806. data/public/stylesheets/rss.css +0 -54
  807. data/public/stylesheets/textmate/dawn.css +0 -209
  808. data/public/stylesheets/textmate/iplastic.css +0 -142
  809. data/public/stylesheets/textmate/space_cadet.css +0 -99
  810. data/public/stylesheets/textmate/textmate.css +0 -48
  811. data/public/stylesheets/textmate/twilight.css +0 -227
  812. data/public/stylesheets/user-styles.css +0 -24
  813. data/script/about +0 -4
  814. data/script/autospec +0 -6
  815. data/script/breakpointer +0 -3
  816. data/script/console +0 -3
  817. data/script/dbconsole +0 -3
  818. data/script/destroy +0 -3
  819. data/script/generate +0 -3
  820. data/script/lighttpd +0 -2
  821. data/script/logreport +0 -79
  822. data/script/migrate +0 -31
  823. data/script/performance/benchmarker +0 -3
  824. data/script/performance/profiler +0 -3
  825. data/script/plugin +0 -3
  826. data/script/runner +0 -3
  827. data/script/server +0 -3
  828. data/script/spacecheck +0 -40
  829. data/script/spec +0 -10
  830. data/themes/dirtylicious/about.markdown +0 -3
  831. data/themes/dirtylicious/images/body.jpg +0 -0
  832. data/themes/dirtylicious/images/container.jpg +0 -0
  833. data/themes/dirtylicious/images/gravatar.gif +0 -0
  834. data/themes/dirtylicious/images/header.jpg +0 -0
  835. data/themes/dirtylicious/images/li.gif +0 -0
  836. data/themes/dirtylicious/images/main.gif +0 -0
  837. data/themes/dirtylicious/images/nav.gif +0 -0
  838. data/themes/dirtylicious/images/quote.gif +0 -0
  839. data/themes/dirtylicious/images/spinner.gif +0 -0
  840. data/themes/dirtylicious/layouts/default.html.erb +0 -57
  841. data/themes/dirtylicious/preview.png +0 -0
  842. data/themes/dirtylicious/stylesheets/application.css +0 -327
  843. data/themes/dirtylicious/views/articles/_article.html.erb +0 -43
  844. data/themes/dirtylicious/views/articles/_article_content.html.erb +0 -1
  845. data/themes/dirtylicious/views/articles/_comment.html.erb +0 -14
  846. data/themes/dirtylicious/views/articles/_comment_form.html.erb +0 -37
  847. data/themes/dirtylicious/views/articles/_comment_list.html.erb +0 -7
  848. data/themes/dirtylicious/views/articles/_password_form.html.erb +0 -10
  849. data/themes/dirtylicious/views/articles/_trackback.html.erb +0 -9
  850. data/themes/dirtylicious/views/articles/comment_preview.html.erb +0 -10
  851. data/themes/dirtylicious/views/articles/index.html.erb +0 -3
  852. data/themes/dirtylicious/views/articles/read.html.erb +0 -48
  853. data/themes/scribbish/CONTRIBUTORS +0 -2
  854. data/themes/scribbish/about.markdown +0 -9
  855. data/themes/scribbish/images/background.gif +0 -0
  856. data/themes/scribbish/images/gravatar.gif +0 -0
  857. data/themes/scribbish/images/header_shadow.gif +0 -0
  858. data/themes/scribbish/images/spinner.gif +0 -0
  859. data/themes/scribbish/layouts/default.html.erb +0 -41
  860. data/themes/scribbish/preview.png +0 -0
  861. data/themes/scribbish/stylesheets/application.css +0 -27
  862. data/themes/scribbish/stylesheets/content.css +0 -399
  863. data/themes/scribbish/stylesheets/layout.css +0 -70
  864. data/themes/scribbish/views/articles/_article.html.erb +0 -47
  865. data/themes/scribbish/views/articles/_article_content.html.erb +0 -1
  866. data/themes/scribbish/views/articles/_comment.html.erb +0 -14
  867. data/themes/scribbish/views/articles/_comment_form.html.erb +0 -53
  868. data/themes/scribbish/views/articles/_comment_list.html.erb +0 -7
  869. data/themes/scribbish/views/articles/_password_form.html.erb +0 -10
  870. data/themes/scribbish/views/articles/_trackback.html.erb +0 -9
  871. data/themes/scribbish/views/articles/comment_preview.html.erb +0 -10
  872. data/themes/scribbish/views/articles/index.html.erb +0 -3
  873. data/themes/scribbish/views/articles/read.html.erb +0 -48
  874. data/themes/standard_issue/about.markdown +0 -5
  875. data/themes/standard_issue/images/img01.gif +0 -0
  876. data/themes/standard_issue/images/img02.gif +0 -0
  877. data/themes/standard_issue/images/img03.gif +0 -0
  878. data/themes/standard_issue/images/img04.jpg +0 -0
  879. data/themes/standard_issue/images/img05.gif +0 -0
  880. data/themes/standard_issue/images/img06.gif +0 -0
  881. data/themes/standard_issue/images/img07.gif +0 -0
  882. data/themes/standard_issue/images/img08.gif +0 -0
  883. data/themes/standard_issue/images/img09.gif +0 -0
  884. data/themes/standard_issue/images/img10.gif +0 -0
  885. data/themes/standard_issue/images/spacer.gif +0 -0
  886. data/themes/standard_issue/images/spinner.gif +0 -0
  887. data/themes/standard_issue/layouts/default.html.erb +0 -56
  888. data/themes/standard_issue/preview.png +0 -0
  889. data/themes/standard_issue/stylesheets/application.css +0 -461
  890. data/themes/standard_issue/views/articles/_article.html.erb +0 -47
  891. data/themes/standard_issue/views/articles/_article_content.html.erb +0 -1
  892. data/themes/standard_issue/views/articles/_comment.html.erb +0 -12
  893. data/themes/standard_issue/views/articles/_comment_form.html.erb +0 -48
  894. data/themes/standard_issue/views/articles/_comment_list.html.erb +0 -7
  895. data/themes/standard_issue/views/articles/_password_form.html.erb +0 -10
  896. data/themes/standard_issue/views/articles/_trackback.html.erb +0 -9
  897. data/themes/standard_issue/views/articles/comment_preview.html.erb +0 -10
  898. data/themes/standard_issue/views/articles/index.html.erb +0 -3
  899. data/themes/standard_issue/views/articles/read.html.erb +0 -47
  900. data/themes/standard_issue/views/theme/static_view_test.html.erb +0 -1
  901. data/themes/true-blue-3/README +0 -3
  902. data/themes/true-blue-3/about.markdown +0 -3
  903. data/themes/true-blue-3/helpers/theme_helper.rb +0 -85
  904. data/themes/true-blue-3/images/background.gif +0 -0
  905. data/themes/true-blue-3/images/bg_input.jpg +0 -0
  906. data/themes/true-blue-3/images/bullet.jpg +0 -0
  907. data/themes/true-blue-3/images/comment.gif +0 -0
  908. data/themes/true-blue-3/images/comment.jpg +0 -0
  909. data/themes/true-blue-3/images/comment_bottom.gif +0 -0
  910. data/themes/true-blue-3/images/comment_fdv.gif +0 -0
  911. data/themes/true-blue-3/images/find.png +0 -0
  912. data/themes/true-blue-3/images/fleche1.png +0 -0
  913. data/themes/true-blue-3/images/fleche2.png +0 -0
  914. data/themes/true-blue-3/images/rss.png +0 -0
  915. data/themes/true-blue-3/images/searchform.png +0 -0
  916. data/themes/true-blue-3/images/submit_form.jpg +0 -0
  917. data/themes/true-blue-3/images/twitter.jpg +0 -0
  918. data/themes/true-blue-3/images/twitter.png +0 -0
  919. data/themes/true-blue-3/layouts/default.html.erb +0 -52
  920. data/themes/true-blue-3/preview.png +0 -0
  921. data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
  922. data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
  923. data/themes/true-blue-3/stylesheets/style.css +0 -579
  924. data/themes/true-blue-3/views/articles/_article.html.erb +0 -28
  925. data/themes/true-blue-3/views/articles/_article_content.html.erb +0 -1
  926. data/themes/true-blue-3/views/articles/_comment.html.erb +0 -14
  927. data/themes/true-blue-3/views/articles/_comment_form.html.erb +0 -23
  928. data/themes/true-blue-3/views/articles/_comment_list.html.erb +0 -8
  929. data/themes/true-blue-3/views/articles/_password_form.html.erb +0 -10
  930. data/themes/true-blue-3/views/articles/_trackback.html.erb +0 -9
  931. data/themes/true-blue-3/views/articles/comment_preview.html.erb +0 -10
  932. data/themes/true-blue-3/views/articles/index.html.erb +0 -5
  933. data/themes/true-blue-3/views/articles/read.html.erb +0 -38
  934. data/themes/true-blue-3/views/articles/search.html.erb +0 -29
  935. data/themes/true-blue-3/views/articles/view_page.html.erb +0 -4
  936. data/themes/true-blue-3/views/categories/_article.html.erb +0 -27
  937. data/themes/true-blue-3/views/categories/index.html.erb +0 -13
  938. data/themes/true-blue-3/views/categories/show.html.erb +0 -7
  939. data/themes/true-blue-3/views/tags/_article.html.erb +0 -26
  940. data/themes/true-blue-3/views/tags/show.html.erb +0 -6
  941. data/themes/typographic/about.markdown +0 -7
  942. data/themes/typographic/images/accept.gif +0 -0
  943. data/themes/typographic/images/accept.png +0 -0
  944. data/themes/typographic/images/accept50.gif +0 -0
  945. data/themes/typographic/images/accept50.png +0 -0
  946. data/themes/typographic/images/bg_body.jpg +0 -0
  947. data/themes/typographic/images/bg_white.gif +0 -0
  948. data/themes/typographic/images/bg_white.png +0 -0
  949. data/themes/typographic/images/bg_wrapper.gif +0 -0
  950. data/themes/typographic/images/bg_wrapper.jpg +0 -0
  951. data/themes/typographic/images/bullet_bottom.gif +0 -0
  952. data/themes/typographic/images/bullet_bottom.png +0 -0
  953. data/themes/typographic/images/bullet_right.gif +0 -0
  954. data/themes/typographic/images/bullet_right.png +0 -0
  955. data/themes/typographic/images/email_open.gif +0 -0
  956. data/themes/typographic/images/email_open.png +0 -0
  957. data/themes/typographic/images/email_open50.gif +0 -0
  958. data/themes/typographic/images/email_open50.png +0 -0
  959. data/themes/typographic/images/meta.gif +0 -0
  960. data/themes/typographic/images/meta.png +0 -0
  961. data/themes/typographic/images/page_edit.gif +0 -0
  962. data/themes/typographic/images/page_edit.png +0 -0
  963. data/themes/typographic/images/page_edit50.gif +0 -0
  964. data/themes/typographic/images/page_edit50.png +0 -0
  965. data/themes/typographic/images/spinner.gif +0 -0
  966. data/themes/typographic/images/tag.gif +0 -0
  967. data/themes/typographic/images/tag.png +0 -0
  968. data/themes/typographic/images/user.gif +0 -0
  969. data/themes/typographic/images/user.png +0 -0
  970. data/themes/typographic/images/user50.gif +0 -0
  971. data/themes/typographic/images/user50.png +0 -0
  972. data/themes/typographic/images/world_link.gif +0 -0
  973. data/themes/typographic/images/world_link.png +0 -0
  974. data/themes/typographic/images/world_link50.gif +0 -0
  975. data/themes/typographic/images/world_link50.png +0 -0
  976. data/themes/typographic/layouts/default.html.erb +0 -44
  977. data/themes/typographic/preview.png +0 -0
  978. data/themes/typographic/stylesheets/colors.css +0 -51
  979. data/themes/typographic/stylesheets/ie6.css +0 -86
  980. data/themes/typographic/stylesheets/layout.css +0 -350
  981. data/themes/typographic/stylesheets/reset.css +0 -5
  982. data/themes/typographic/stylesheets/style.css +0 -36
  983. data/themes/typographic/views/articles/_article.html.erb +0 -51
  984. data/themes/typographic/views/articles/_article_content.html.erb +0 -1
  985. data/themes/typographic/views/articles/_comment.html.erb +0 -14
  986. data/themes/typographic/views/articles/_comment_form.html.erb +0 -48
  987. data/themes/typographic/views/articles/_comment_list.html.erb +0 -7
  988. data/themes/typographic/views/articles/_password_form.html.erb +0 -10
  989. data/themes/typographic/views/articles/_trackback.html.erb +0 -9
  990. data/themes/typographic/views/articles/comment_preview.html.erb +0 -10
  991. data/themes/typographic/views/articles/index.html.erb +0 -3
  992. data/themes/typographic/views/articles/read.html.erb +0 -46
  993. data/themes/typographic/views/theme/static_view_test.html.erb +0 -1
  994. data/vendor/akismet/akismet.rb +0 -168
  995. data/vendor/flickr/Rakefile +0 -36
  996. data/vendor/flickr/flickr.rb +0 -490
  997. data/vendor/flickr/index.html +0 -129
  998. data/vendor/flickr/test_flickr.rb +0 -173
  999. data/vendor/plugins/acts_as_list/README +0 -23
  1000. data/vendor/plugins/acts_as_list/init.rb +0 -3
  1001. data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +0 -256
  1002. data/vendor/plugins/acts_as_list/test/list_test.rb +0 -332
  1003. data/vendor/plugins/acts_as_tree/README +0 -26
  1004. data/vendor/plugins/acts_as_tree/Rakefile +0 -22
  1005. data/vendor/plugins/acts_as_tree/init.rb +0 -1
  1006. data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +0 -96
  1007. data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
  1008. data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +0 -219
  1009. data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
  1010. data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
  1011. data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
  1012. data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
  1013. data/vendor/plugins/amazon_sidebar/init.rb +0 -5
  1014. data/vendor/plugins/amazon_sidebar/lib/amazon_sidebar.rb +0 -16
  1015. data/vendor/plugins/amazon_sidebar/views/content.rhtml +0 -4
  1016. data/vendor/plugins/archives_sidebar/Rakefile +0 -22
  1017. data/vendor/plugins/archives_sidebar/init.rb +0 -5
  1018. data/vendor/plugins/archives_sidebar/lib/archives_sidebar.rb +0 -40
  1019. data/vendor/plugins/archives_sidebar/test/archives_sidebar_test.rb +0 -8
  1020. data/vendor/plugins/archives_sidebar/views/content.rhtml +0 -11
  1021. data/vendor/plugins/authors_sidebar/Rakefile +0 -22
  1022. data/vendor/plugins/authors_sidebar/init.rb +0 -4
  1023. data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +0 -10
  1024. data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +0 -8
  1025. data/vendor/plugins/authors_sidebar/views/content.rhtml +0 -11
  1026. data/vendor/plugins/category_sidebar/Rakefile +0 -22
  1027. data/vendor/plugins/category_sidebar/init.rb +0 -5
  1028. data/vendor/plugins/category_sidebar/lib/category_sidebar.rb +0 -11
  1029. data/vendor/plugins/category_sidebar/test/category_sidebar_test.rb +0 -8
  1030. data/vendor/plugins/category_sidebar/views/content.rhtml +0 -10
  1031. data/vendor/plugins/easy-ckeditor/CHANGELOG +0 -15
  1032. data/vendor/plugins/easy-ckeditor/LICENSE +0 -16
  1033. data/vendor/plugins/easy-ckeditor/README.textile +0 -164
  1034. data/vendor/plugins/easy-ckeditor/Rakefile +0 -72
  1035. data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +0 -226
  1036. data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +0 -2
  1037. data/vendor/plugins/easy-ckeditor/init.rb +0 -33
  1038. data/vendor/plugins/easy-ckeditor/install.rb +0 -12
  1039. data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +0 -93
  1040. data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +0 -108
  1041. data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +0 -9
  1042. data/vendor/plugins/easy-ckeditor/lib/tasks/ckeditor_tasks.rake +0 -108
  1043. data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +0 -16
  1044. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +0 -24
  1045. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +0 -254
  1046. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +0 -92
  1047. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +0 -1334
  1048. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +0 -108
  1049. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +0 -199
  1050. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +0 -8
  1051. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +0 -20
  1052. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +0 -25
  1053. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +0 -11
  1054. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +0 -35
  1055. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif +0 -0
  1056. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +0 -6
  1057. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +0 -59
  1058. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +0 -6
  1059. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +0 -6
  1060. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +0 -6
  1061. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +0 -6
  1062. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +0 -6
  1063. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +0 -6
  1064. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +0 -6
  1065. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +0 -6
  1066. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +0 -6
  1067. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +0 -6
  1068. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +0 -6
  1069. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +0 -6
  1070. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +0 -6
  1071. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +0 -6
  1072. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +0 -6
  1073. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +0 -6
  1074. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +0 -6
  1075. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +0 -6
  1076. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +0 -6
  1077. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +0 -6
  1078. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +0 -6
  1079. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +0 -6
  1080. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +0 -6
  1081. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +0 -6
  1082. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +0 -6
  1083. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +0 -6
  1084. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +0 -6
  1085. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +0 -6
  1086. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +0 -6
  1087. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +0 -6
  1088. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +0 -6
  1089. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +0 -6
  1090. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +0 -6
  1091. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +0 -6
  1092. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +0 -6
  1093. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +0 -6
  1094. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +0 -6
  1095. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +0 -6
  1096. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +0 -6
  1097. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +0 -6
  1098. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +0 -6
  1099. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +0 -6
  1100. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +0 -6
  1101. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +0 -6
  1102. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +0 -6
  1103. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +0 -6
  1104. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +0 -6
  1105. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +0 -6
  1106. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +0 -6
  1107. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +0 -6
  1108. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +0 -6
  1109. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +0 -6
  1110. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +0 -6
  1111. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +0 -6
  1112. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +0 -6
  1113. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +0 -6
  1114. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +0 -6
  1115. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +0 -6
  1116. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  1117. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +0 -6
  1118. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +0 -6
  1119. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +0 -7
  1120. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +0 -7
  1121. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +0 -7
  1122. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +0 -6
  1123. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +0 -7
  1124. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +0 -6
  1125. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  1126. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +0 -17
  1127. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +0 -11
  1128. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +0 -7
  1129. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +0 -6
  1130. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +0 -6
  1131. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +0 -7
  1132. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +0 -6
  1133. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +0 -6
  1134. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +0 -7
  1135. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +0 -9
  1136. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +0 -6
  1137. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +0 -9
  1138. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  1139. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +0 -6
  1140. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +0 -7
  1141. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +0 -6
  1142. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +0 -6
  1143. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +0 -6
  1144. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +0 -6
  1145. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +0 -6
  1146. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -6
  1147. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +0 -6
  1148. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +0 -9
  1149. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +0 -6
  1150. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +0 -6
  1151. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +0 -7
  1152. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +0 -6
  1153. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +0 -7
  1154. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +0 -6
  1155. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +0 -6
  1156. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +0 -12
  1157. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +0 -6
  1158. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +0 -7
  1159. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +0 -6
  1160. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +0 -6
  1161. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +0 -6
  1162. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +0 -11
  1163. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
  1164. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +0 -6
  1165. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +0 -9
  1166. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +0 -7
  1167. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +0 -7
  1168. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +0 -7
  1169. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +0 -6
  1170. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +0 -6
  1171. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  1172. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +0 -6
  1173. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +0 -7
  1174. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +0 -6
  1175. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -8
  1176. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +0 -6
  1177. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -6
  1178. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +0 -6
  1179. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +0 -6
  1180. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +0 -6
  1181. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +0 -6
  1182. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +0 -6
  1183. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +0 -6
  1184. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +0 -7
  1185. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +0 -6
  1186. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +0 -8
  1187. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -6
  1188. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +0 -8
  1189. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +0 -9
  1190. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  1191. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  1192. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  1193. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  1194. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  1195. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  1196. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  1197. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  1198. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  1199. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  1200. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  1201. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +0 -6
  1202. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +0 -7
  1203. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  1204. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  1205. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  1206. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  1207. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  1208. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  1209. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  1210. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  1211. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  1212. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  1213. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  1214. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  1215. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  1216. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  1217. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  1218. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  1219. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  1220. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  1221. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  1222. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  1223. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  1224. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +0 -6
  1225. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +0 -6
  1226. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -7
  1227. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +0 -6
  1228. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +0 -10
  1229. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +0 -7
  1230. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +0 -6
  1231. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +0 -6
  1232. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +0 -8
  1233. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +0 -6
  1234. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -7
  1235. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +0 -9
  1236. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +0 -6
  1237. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +0 -6
  1238. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +0 -6
  1239. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  1240. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  1241. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  1242. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +0 -7
  1243. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -7
  1244. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +0 -6
  1245. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +0 -6
  1246. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  1247. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  1248. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  1249. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  1250. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  1251. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -6
  1252. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +0 -76
  1253. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +0 -7
  1254. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
  1255. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  1256. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +0 -6
  1257. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +0 -7
  1258. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +0 -6
  1259. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +0 -8
  1260. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +0 -9
  1261. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +0 -12
  1262. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  1263. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  1264. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  1265. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  1266. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  1267. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  1268. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  1269. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  1270. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  1271. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +0 -7
  1272. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +0 -6
  1273. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +0 -8
  1274. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +0 -13
  1275. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  1276. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  1277. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  1278. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  1279. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  1280. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  1281. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  1282. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  1283. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +0 -6
  1284. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +0 -6
  1285. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +0 -8
  1286. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +0 -12
  1287. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  1288. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  1289. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  1290. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  1291. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  1292. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  1293. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  1294. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  1295. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  1296. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +0 -6
  1297. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +0 -6
  1298. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +0 -7
  1299. data/vendor/plugins/easy-ckeditor/uninstall.rb +0 -8
  1300. data/vendor/plugins/filemanager/app/controllers/fm/filemanager_controller.rb +0 -22
  1301. data/vendor/plugins/filemanager/app/views/fm/filemanager/index.html.erb +0 -512
  1302. data/vendor/plugins/filemanager/app/views/fm/filemanager/view.html.erb +0 -67
  1303. data/vendor/plugins/filemanager/filemanager.yml +0 -16
  1304. data/vendor/plugins/livesearch_sidebar/init.rb +0 -4
  1305. data/vendor/plugins/livesearch_sidebar/lib/livesearch_sidebar.rb +0 -5
  1306. data/vendor/plugins/livesearch_sidebar/views/content.rhtml +0 -15
  1307. data/vendor/plugins/localization/CHANGELOG +0 -1
  1308. data/vendor/plugins/localization/README +0 -85
  1309. data/vendor/plugins/localization/bin/make_language.rb +0 -78
  1310. data/vendor/plugins/localization/init.rb +0 -3
  1311. data/vendor/plugins/localization/lib/localization.rb +0 -60
  1312. data/vendor/plugins/page_sidebar/Rakefile +0 -22
  1313. data/vendor/plugins/page_sidebar/init.rb +0 -5
  1314. data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +0 -10
  1315. data/vendor/plugins/page_sidebar/test/page_sidebar_test.rb +0 -8
  1316. data/vendor/plugins/page_sidebar/views/content.rhtml +0 -12
  1317. data/vendor/plugins/search_sidebar/Rakefile +0 -22
  1318. data/vendor/plugins/search_sidebar/init.rb +0 -4
  1319. data/vendor/plugins/search_sidebar/lib/search_sidebar.rb +0 -6
  1320. data/vendor/plugins/search_sidebar/test/search_sidebar_test.rb +0 -8
  1321. data/vendor/plugins/search_sidebar/views/content.rhtml +0 -7
  1322. data/vendor/plugins/static_sidebar/init.rb +0 -4
  1323. data/vendor/plugins/static_sidebar/lib/static_sidebar.rb +0 -18
  1324. data/vendor/plugins/static_sidebar/views/content.rhtml +0 -2
  1325. data/vendor/plugins/tag_sidebar/Rakefile +0 -22
  1326. data/vendor/plugins/tag_sidebar/init.rb +0 -5
  1327. data/vendor/plugins/tag_sidebar/lib/tag_sidebar.rb +0 -24
  1328. data/vendor/plugins/tag_sidebar/test/tag_sidebar_test.rb +0 -8
  1329. data/vendor/plugins/tag_sidebar/views/content.rhtml +0 -8
  1330. data/vendor/plugins/typo_converter/README +0 -71
  1331. data/vendor/plugins/typo_converter/Rakefile +0 -21
  1332. data/vendor/plugins/typo_converter/db/wp25_schema.rb +0 -152
  1333. data/vendor/plugins/typo_converter/init.rb +0 -8
  1334. data/vendor/plugins/typo_converter/lib/converters/base.rb +0 -288
  1335. data/vendor/plugins/typo_converter/lib/converters/dotclear.rb +0 -98
  1336. data/vendor/plugins/typo_converter/lib/converters/dotclear/category.rb +0 -7
  1337. data/vendor/plugins/typo_converter/lib/converters/dotclear/comment.rb +0 -8
  1338. data/vendor/plugins/typo_converter/lib/converters/dotclear/post.rb +0 -9
  1339. data/vendor/plugins/typo_converter/lib/converters/dotclear/user.rb +0 -8
  1340. data/vendor/plugins/typo_converter/lib/converters/dotclear_2.rb +0 -122
  1341. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/category.rb +0 -11
  1342. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/comment.rb +0 -13
  1343. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/post.rb +0 -15
  1344. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/tag.rb +0 -13
  1345. data/vendor/plugins/typo_converter/lib/converters/dotclear_2/user.rb +0 -13
  1346. data/vendor/plugins/typo_converter/lib/converters/wp25.rb +0 -183
  1347. data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +0 -13
  1348. data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +0 -11
  1349. data/vendor/plugins/typo_converter/lib/converters/wp25/post.rb +0 -37
  1350. data/vendor/plugins/typo_converter/lib/converters/wp25/term.rb +0 -11
  1351. data/vendor/plugins/typo_converter/lib/converters/wp25/term_relationship.rb +0 -13
  1352. data/vendor/plugins/typo_converter/lib/converters/wp25/term_taxonomy.rb +0 -19
  1353. data/vendor/plugins/typo_converter/lib/converters/wp25/user.rb +0 -12
  1354. data/vendor/plugins/typo_converter/lib/tasks/typo_converters_tasks.rake +0 -1
  1355. data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +0 -192
  1356. data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +0 -77
  1357. data/vendor/plugins/typo_converter/spec/spec_helper.rb +0 -19
  1358. data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +0 -2
  1359. data/vendor/plugins/typo_login_system/init.rb +0 -2
  1360. data/vendor/plugins/typo_login_system/lib/access_control.rb +0 -182
  1361. data/vendor/plugins/typo_login_system/lib/login_system.rb +0 -90
  1362. data/vendor/plugins/typo_textfilter_code/README +0 -4
  1363. data/vendor/plugins/typo_textfilter_code/Rakefile +0 -22
  1364. data/vendor/plugins/typo_textfilter_code/init.rb +0 -9
  1365. data/vendor/plugins/typo_textfilter_code/install.rb +0 -1
  1366. data/vendor/plugins/typo_textfilter_code/lib/tasks/typo_textfilter_code_tasks.rake +0 -4
  1367. data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +0 -70
  1368. data/vendor/plugins/typo_textfilter_code/test/typo_textfilter_code_test.rb +0 -8
  1369. data/vendor/plugins/typo_textfilter_flickr/README +0 -4
  1370. data/vendor/plugins/typo_textfilter_flickr/Rakefile +0 -22
  1371. data/vendor/plugins/typo_textfilter_flickr/init.rb +0 -4
  1372. data/vendor/plugins/typo_textfilter_flickr/install.rb +0 -1
  1373. data/vendor/plugins/typo_textfilter_flickr/lib/tasks/typo_textfilter_flickr_tasks.rake +0 -4
  1374. data/vendor/plugins/typo_textfilter_flickr/lib/typo_textfilter_flickr.rb +0 -79
  1375. data/vendor/plugins/typo_textfilter_flickr/test/typo_textfilter_flickr_test.rb +0 -8
  1376. data/vendor/plugins/typo_textfilter_htmlfilter/README +0 -4
  1377. data/vendor/plugins/typo_textfilter_htmlfilter/Rakefile +0 -22
  1378. data/vendor/plugins/typo_textfilter_htmlfilter/init.rb +0 -2
  1379. data/vendor/plugins/typo_textfilter_htmlfilter/install.rb +0 -1
  1380. data/vendor/plugins/typo_textfilter_htmlfilter/lib/tasks/typo_textfilter_htmlfilter_tasks.rake +0 -4
  1381. data/vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb +0 -12
  1382. data/vendor/plugins/typo_textfilter_htmlfilter/test/typo_textfilter_htmlfilter_test.rb +0 -8
  1383. data/vendor/plugins/typo_textfilter_lightbox/README +0 -4
  1384. data/vendor/plugins/typo_textfilter_lightbox/Rakefile +0 -22
  1385. data/vendor/plugins/typo_textfilter_lightbox/init.rb +0 -2
  1386. data/vendor/plugins/typo_textfilter_lightbox/install.rb +0 -1
  1387. data/vendor/plugins/typo_textfilter_lightbox/lib/tasks/typo_textfilter_lightbox_tasks.rake +0 -4
  1388. data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +0 -127
  1389. data/vendor/plugins/typo_textfilter_lightbox/test/typo_textfilter_lightbox_test.rb +0 -8
  1390. data/vendor/plugins/typo_textfilter_markdown/README +0 -4
  1391. data/vendor/plugins/typo_textfilter_markdown/Rakefile +0 -22
  1392. data/vendor/plugins/typo_textfilter_markdown/init.rb +0 -2
  1393. data/vendor/plugins/typo_textfilter_markdown/install.rb +0 -1
  1394. data/vendor/plugins/typo_textfilter_markdown/lib/tasks/typo_textfilter_markdown_tasks.rake +0 -4
  1395. data/vendor/plugins/typo_textfilter_markdown/lib/typo_textfilter_markdown.rb +0 -36
  1396. data/vendor/plugins/typo_textfilter_markdown/test/typo_textfilter_markdown_test.rb +0 -8
  1397. data/vendor/plugins/typo_textfilter_none/README +0 -4
  1398. data/vendor/plugins/typo_textfilter_none/Rakefile +0 -22
  1399. data/vendor/plugins/typo_textfilter_none/init.rb +0 -2
  1400. data/vendor/plugins/typo_textfilter_none/install.rb +0 -1
  1401. data/vendor/plugins/typo_textfilter_none/lib/tasks/typo_textfilter_none_tasks.rake +0 -4
  1402. data/vendor/plugins/typo_textfilter_none/lib/typo_textfilter_none.rb +0 -12
  1403. data/vendor/plugins/typo_textfilter_none/test/typo_textfilter_none_test.rb +0 -8
  1404. data/vendor/plugins/typo_textfilter_smartypants/README +0 -4
  1405. data/vendor/plugins/typo_textfilter_smartypants/Rakefile +0 -22
  1406. data/vendor/plugins/typo_textfilter_smartypants/init.rb +0 -2
  1407. data/vendor/plugins/typo_textfilter_smartypants/install.rb +0 -1
  1408. data/vendor/plugins/typo_textfilter_smartypants/lib/tasks/typo_textfilter_smartypants_tasks.rake +0 -4
  1409. data/vendor/plugins/typo_textfilter_smartypants/lib/typo_textfilter_smartypants.rb +0 -12
  1410. data/vendor/plugins/typo_textfilter_smartypants/test/typo_textfilter_smartypants_test.rb +0 -8
  1411. data/vendor/plugins/typo_textfilter_textile/README +0 -4
  1412. data/vendor/plugins/typo_textfilter_textile/Rakefile +0 -22
  1413. data/vendor/plugins/typo_textfilter_textile/init.rb +0 -2
  1414. data/vendor/plugins/typo_textfilter_textile/install.rb +0 -1
  1415. data/vendor/plugins/typo_textfilter_textile/lib/tasks/typo_textfilter_textile_tasks.rake +0 -4
  1416. data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +0 -18
  1417. data/vendor/plugins/typo_textfilter_textile/test/typo_textfilter_textile_test.rb +0 -8
  1418. data/vendor/plugins/typo_textfilter_textile_and_markdown/README +0 -4
  1419. data/vendor/plugins/typo_textfilter_textile_and_markdown/Rakefile +0 -22
  1420. data/vendor/plugins/typo_textfilter_textile_and_markdown/init.rb +0 -2
  1421. data/vendor/plugins/typo_textfilter_textile_and_markdown/install.rb +0 -1
  1422. data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/tasks/typo_textfilter_textile_and_markdown_tasks.rake +0 -4
  1423. data/vendor/plugins/typo_textfilter_textile_and_markdown/lib/typo_textfilter_textile_and_markdown.rb +0 -12
  1424. data/vendor/plugins/typo_textfilter_textile_and_markdown/test/typo_textfilter_textile_and_markdown_test.rb +0 -8
  1425. data/vendor/plugins/upload_progress/CHANGELOG +0 -3
  1426. data/vendor/plugins/upload_progress/MIT-LICENSE +0 -20
  1427. data/vendor/plugins/upload_progress/README +0 -45
  1428. data/vendor/plugins/upload_progress/Rakefile +0 -23
  1429. data/vendor/plugins/upload_progress/init.rb +0 -7
  1430. data/vendor/plugins/upload_progress/lib/multipart_progress.rb +0 -169
  1431. data/vendor/plugins/upload_progress/lib/progress.rb +0 -145
  1432. data/vendor/plugins/upload_progress/lib/upload_progress.rb +0 -303
  1433. data/vendor/plugins/upload_progress/lib/upload_progress_helper.rb +0 -424
  1434. data/vendor/plugins/upload_progress/public/stylesheets/upload_progress.css +0 -21
  1435. data/vendor/plugins/upload_progress/test/multipart_progress_testx.rb +0 -364
  1436. data/vendor/plugins/upload_progress/test/upload_progress_helper_testx.rb +0 -134
  1437. data/vendor/plugins/upload_progress/test/upload_progress_testx.rb +0 -88
  1438. data/vendor/plugins/xml_sidebar/Rakefile +0 -22
  1439. data/vendor/plugins/xml_sidebar/init.rb +0 -5
  1440. data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +0 -24
  1441. data/vendor/plugins/xml_sidebar/test/xml_sidebar_test.rb +0 -8
  1442. data/vendor/plugins/xml_sidebar/views/content.rhtml +0 -26
  1443. data/vendor/rubypants/README +0 -114
  1444. data/vendor/rubypants/Rakefile +0 -55
  1445. data/vendor/rubypants/html/classes/RubyPants.html +0 -924
  1446. data/vendor/rubypants/html/created.rid +0 -1
  1447. data/vendor/rubypants/html/files/README.html +0 -248
  1448. data/vendor/rubypants/html/files/rubypants_rb.html +0 -125
  1449. data/vendor/rubypants/html/fr_class_index.html +0 -27
  1450. data/vendor/rubypants/html/fr_file_index.html +0 -28
  1451. data/vendor/rubypants/html/fr_method_index.html +0 -38
  1452. data/vendor/rubypants/html/index.html +0 -24
  1453. data/vendor/rubypants/html/rdoc-style.css +0 -172
  1454. data/vendor/rubypants/install.rb +0 -9
  1455. data/vendor/rubypants/rubypants.rb +0 -490
  1456. data/vendor/rubypants/test_rubypants.rb +0 -162
  1457. data/vendor/uuidtools/CHANGELOG +0 -4
  1458. data/vendor/uuidtools/README +0 -13
  1459. data/vendor/uuidtools/install.rb +0 -30
  1460. data/vendor/uuidtools/lib/uuidtools.rb +0 -555
  1461. data/vendor/uuidtools/rakefile +0 -112
@@ -1,42 +0,0 @@
1
- function htmlEncode(text) {
2
- if (!text)
3
- return '' ;
4
- text = text.replace(/&/g, '&');
5
- text = text.replace(/</g, '&lt;');
6
- text = text.replace(/>/g, '&gt;');
7
- return text ;
8
- }
9
- function translateTag(tag, propertyToSet, encode) {
10
- var tags = document.getElementsByTagName(tag) ;
11
- var sKey, s ;
12
- for (var i = 0 ; i < tags.length ; i++ ) {
13
- if ((sKey = tags[i].getAttribute( 'fmLang' ))) {
14
- if ((s = FMLang[sKey]) && s.length > 0) {
15
- if (encode) {
16
- s = htmlEncode(s);
17
- }
18
- tags[i][ propertyToSet ] = s ;
19
-
20
- }
21
- }
22
- }
23
- }
24
- function translatePage() {
25
- translateTag('INPUT', 'value');
26
- translateTag('SPAN', 'innerHTML');
27
- translateTag('LABEL', 'innerHTML');
28
- translateTag('OPTION', 'innerHTML', true);
29
- translateTag('LEGEND', 'innerHTML');
30
- }
31
-
32
- function getText(key, defaultValue) {
33
- if (!FMLang[key]) {
34
- if (!defaultValue) {
35
- return key;
36
- } else {
37
- return defaultValue;
38
- }
39
- } else {
40
- return FMLang[key];
41
- }
42
- }
@@ -1 +0,0 @@
1
- Filemanager
@@ -1,147 +0,0 @@
1
- HTML BODY {
2
- HEIGHT: 100%
3
- }
4
- HTML BODY {
5
- PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 40px 0px 0px; OVERFLOW: hidden; PADDING-TOP: 0px
6
- }
7
- HTML #toolbar {
8
- PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; POSITION: absolute; TOP: 0px; HEIGHT: 40px;
9
- }
10
- HTML #filelist {
11
- PADDING-RIGHT: 0px; OVERFLOW-Y: scroll; OVERFLOW-X: hidden; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; HEIGHT: 600px;
12
- }
13
- #top {
14
- WIDTH: 100%
15
- }
16
- #filelist {
17
- WIDTH: 100%;
18
- }
19
- BODY {
20
- BACKGROUND-COLOR: #f0f0ee
21
- }
22
- A:link {
23
- FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none
24
- }
25
- A:active {
26
- TEXT-DECORATION: underline
27
- }
28
- A:visited {
29
- FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none
30
- }
31
- A:hover {
32
- TEXT-DECORATION: underline
33
- }
34
- .filelistPath {
35
- BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 9pt; VERTICAL-ALIGN: middle; OVERFLOW: hidden; COLOR: #000000; LINE-HEIGHT: 15px; FONT-FAMILY: Sans-serif, Verdana, Arial; HEIGHT: 15px
36
- }
37
- .mceSeparatorLine {
38
- BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN-LEFT: 4px; BORDER-LEFT: 0px; MARGIN-RIGHT: 2px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px
39
- }
40
- A.mceButtonDisabled IMG {
41
- MARGIN-TOP: 1px; MARGIN-LEFT: 1px; WIDTH: 20px; CURSOR: default; HEIGHT: 20px
42
- }
43
- A.mceButtonNormal IMG {
44
- MARGIN-TOP: 1px; MARGIN-LEFT: 1px; WIDTH: 20px; CURSOR: default; HEIGHT: 20px
45
- }
46
- A.mceButtonSelected IMG {
47
- MARGIN-TOP: 1px; MARGIN-LEFT: 1px; WIDTH: 20px; CURSOR: default; HEIGHT: 20px
48
- }
49
- A.mceButtonDisabled IMG {
50
- BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
51
- }
52
- A.mceButtonNormal IMG {
53
- BORDER-RIGHT: #f0f0ee 1px solid; BORDER-TOP: #f0f0ee 1px solid; BORDER-LEFT: #f0f0ee 1px solid; BORDER-BOTTOM: #f0f0ee 1px solid
54
- }
55
- A.mceButtonSelected IMG {
56
- BORDER-RIGHT: #f0f0ee 1px solid; BORDER-TOP: #f0f0ee 1px solid; BORDER-LEFT: #f0f0ee 1px solid; BORDER-BOTTOM: #f0f0ee 1px solid
57
- }
58
- A.mceButtonSelected IMG {
59
- BORDER-RIGHT: #c0c0bb 1px solid; BORDER-TOP: #c0c0bb 1px solid; BORDER-LEFT: #c0c0bb 1px solid; BORDER-BOTTOM: #c0c0bb 1px solid
60
- }
61
- A.mceButtonNormal IMG:hover {
62
- BORDER-RIGHT: #0a246a 1px solid; BORDER-TOP: #0a246a 1px solid; BORDER-LEFT: #0a246a 1px solid; CURSOR: default; BORDER-BOTTOM: #0a246a 1px solid; BACKGROUND-COLOR: #b6bdd2
63
- }
64
- A.mceButtonSelected IMG:hover {
65
- BORDER-RIGHT: #0a246a 1px solid; BORDER-TOP: #0a246a 1px solid; BORDER-LEFT: #0a246a 1px solid; CURSOR: default; BORDER-BOTTOM: #0a246a 1px solid; BACKGROUND-COLOR: #b6bdd2
66
- }
67
- A.mceButtonDisabled IMG {
68
- BORDER-RIGHT: #f0f0ee 1px solid; BORDER-TOP: #f0f0ee 1px solid; BORDER-LEFT: #f0f0ee 1px solid; CURSOR: default; BORDER-BOTTOM: #f0f0ee 1px solid; moz-opacity: 0.3; opacity: 0.3
69
- }
70
- HTML A.mceButtonNormal IMG {
71
- BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-TOP: 2px; MARGIN-BOTTOM: 1px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
72
- }
73
- HTML A.mceButtonSelected IMG {
74
- BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-TOP: 2px; MARGIN-BOTTOM: 1px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
75
- }
76
- HTML A.mceButtonDisabled IMG {
77
- BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-TOP: 2px; MARGIN-BOTTOM: 1px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
78
- }
79
- HTML A.mceButtonDisabled IMG {
80
- BORDER-RIGHT: 0px; BORDER-TOP: 0px; FILTER: progid:DXImageTransform.Microsoft.Alpha(opacity=30); BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
81
- }
82
- HTML A.mceButtonDisabled {
83
- BORDER-RIGHT: #f0f0ee 1px solid; BORDER-TOP: #f0f0ee 1px solid; BORDER-LEFT: #f0f0ee 1px solid; BORDER-BOTTOM: #f0f0ee 1px solid
84
- }
85
- HTML A.mceButtonNormal {
86
- BORDER-RIGHT: #f0f0ee 1px solid; BORDER-TOP: #f0f0ee 1px solid; BORDER-LEFT: #f0f0ee 1px solid; CURSOR: default; BORDER-BOTTOM: #f0f0ee 1px solid
87
- }
88
- HTML A.mceButtonSelected {
89
- BORDER-RIGHT: #f0f0ee 1px solid; BORDER-TOP: #f0f0ee 1px solid; BORDER-LEFT: #f0f0ee 1px solid; CURSOR: default; BORDER-BOTTOM: #f0f0ee 1px solid
90
- }
91
- HTML A.mceButtonSelected {
92
- BORDER-RIGHT: #c0c0bb 1px solid; BORDER-TOP: #c0c0bb 1px solid; BORDER-LEFT: #c0c0bb 1px solid; BORDER-BOTTOM: #c0c0bb 1px solid
93
- }
94
- HTML A.mceButtonNormal:hover {
95
- BORDER-RIGHT: #0a246a 1px solid; BORDER-TOP: #0a246a 1px solid; BORDER-LEFT: #0a246a 1px solid; CURSOR: default; BORDER-BOTTOM: #0a246a 1px solid; BACKGROUND-COLOR: #b6bdd2
96
- }
97
- HTML A.mceButtonSelected:hover {
98
- BORDER-RIGHT: #0a246a 1px solid; BORDER-TOP: #0a246a 1px solid; BORDER-LEFT: #0a246a 1px solid; CURSOR: default; BORDER-BOTTOM: #0a246a 1px solid; BACKGROUND-COLOR: #b6bdd2
99
- }
100
- HTML .mceSelectList {
101
- MARGIN-TOP: 2px
102
- }
103
- .status {
104
- BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: 0px; FONT-WEIGHT: bold; FONT-SIZE: 9pt; PADDING-BOTTOM: 2px; BORDER-LEFT: #cccccc 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: "MS Sans Serif", Verdana, Arial; BACKGROUND-COLOR: #f0f0ee
105
- }
106
- .statusError {
107
- COLOR: #880000
108
- }
109
- .statusMsg {
110
- COLOR: #000000
111
- }
112
- .toolbaritems {
113
-
114
- }
115
- FORM {
116
- PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
117
- }
118
- TD {
119
- FONT-SIZE: 9pt; FONT-FAMILY: "MS Sans Serif", Verdana, Arial
120
- }
121
- .filelistHeadRow TD {
122
- BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: buttonhighlight 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 1px; BORDER-LEFT: buttonhighlight 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: buttonshadow 1px solid; BACKGROUND-COLOR: #d4d0c8
123
- }
124
- .filelistHeadCol A {
125
- COLOR: #000000
126
- }
127
- .filelistHeadCol A:visited {
128
- COLOR: #000000
129
- }
130
- .filelistFileName {
131
- PADDING-LEFT: 4px
132
- }
133
- .filelistCutFileName {
134
- PADDING-LEFT: 4px
135
- }
136
- .filelistRowOdd {
137
- BACKGROUND-COLOR: #ffffff
138
- }
139
- .filelistRowEven {
140
- BACKGROUND-COLOR: #f7f7f7
141
- }
142
- .sortarrow {
143
- MARGIN-BOTTOM: 2px; MARGIN-LEFT: 7px
144
- }
145
- .cutFile {
146
- FILTER: progid:DXImageTransform.Microsoft.Alpha(opacity=40); moz-opacity: 0.4; opacity: 0.4
147
- }
@@ -1,135 +0,0 @@
1
- BODY {
2
- FONT-SIZE: 12px; MARGIN: 0px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff
3
- }
4
- FIELDSET {
5
- PADDING-RIGHT: 8px; PADDING-LEFT: 8px; PADDING-BOTTOM: 8px; PADDING-TOP: 8px
6
- }
7
- HTML FIELDSET {
8
- MARGIN-TOP: -12px
9
- }
10
- FORM {
11
- PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
12
- }
13
- leg2end {
14
- PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
15
- }
16
- LEGEND {
17
- FONT-WEIGHT: bold; FONT-SIZE: 9pt; FONT-FAMILY: "MS Sans Serif", Verdana, Arial
18
- }
19
- A:link {
20
- FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none
21
- }
22
- A:active {
23
- TEXT-DECORATION: underline
24
- }
25
- A:visited {
26
- FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none
27
- }
28
- A:hover {
29
- TEXT-DECORATION: underline
30
- }
31
- TD {
32
- FONT-SIZE: 9pt; FONT-FAMILY: "MS Sans Serif", Verdana, Arial
33
- }
34
- .statusError {
35
- COLOR: #880000
36
- }
37
- .statusMsg {
38
- COLOR: #000000
39
- }
40
- .disabledFileName {
41
- COLOR: #888888
42
- }
43
- .inputText {
44
- BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BACKGROUND: #ffffff; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid
45
- }
46
- .inputFile {
47
- BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BACKGROUND: #ffffff; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid
48
- }
49
- .inputFile:unknown {
50
- BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #888888 1px solid; BACKGROUND: #dddddd; BORDER-LEFT: #888888 1px solid; BORDER-BOTTOM: #000000 1px solid
51
- }
52
- INPUT {
53
- FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
54
- }
55
- SELECT {
56
- FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
57
- }
58
- TEXTAREA {
59
- FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
60
- }
61
- .title {
62
- FONT-SIZE: 12px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
63
- }
64
- .title {
65
- FONT-WEIGHT: bold; FONT-SIZE: 12px
66
- }
67
- .button {
68
- BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #888888 1px solid; BACKGROUND: #dddddd; BORDER-LEFT: #888888 1px solid; BORDER-BOTTOM: #000000 1px solid
69
- }
70
- #insert {
71
- FONT-WEIGHT: bold; BACKGROUND-COLOR: #ffffff
72
- }
73
- #view {
74
- FONT-WEIGHT: bold; BACKGROUND-COLOR: #ffffff
75
- }
76
- .button {
77
- FONT-WEIGHT: bold; BACKGROUND-COLOR: #ffffff
78
- }
79
- .previewText {
80
- FONT-SIZE: 9pt; FONT-FAMILY: "MS Sans Serif", Verdana, Arial
81
- }
82
- .previewSubTitle {
83
- FONT-SIZE: 9pt; FONT-FAMILY: "MS Sans Serif", Verdana, Arial
84
- }
85
- .previewSubTitle {
86
- FONT-WEIGHT: bold
87
- }
88
- .previewText {
89
- PADDING-BOTTOM: 5px
90
- }
91
- #errorBody {
92
- BACKGROUND-COLOR: #f0f0ee
93
- }
94
- #previewBody {
95
- BACKGROUND-IMAGE: url(../images/preview_bg.gif); MARGIN: 24px 12px 12px; BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #f0f0ee
96
- }
97
- #previewWrapper {
98
-
99
- }
100
- #previewIframe {
101
- BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 200px; BACKGROUND-COLOR: #ffffff
102
- }
103
- UNKNOWN {
104
- WIDTH: 252px
105
- }
106
- UNKNOWN {
107
- PADDING-TOP: 5px
108
- }
109
- HTML #previewIframe {
110
- MARGIN-TOP: 4px
111
- }
112
- HTML #previewNoPreviewBox {
113
- MARGIN-TOP: 4px
114
- }
115
- #previewNoPreviewBox {
116
- BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 200px; TEXT-ALIGN: center
117
- }
118
- #previewNoPreviewText {
119
- FONT-SIZE: 9pt; FONT-FAMILY: "MS Sans Serif", Verdana, Arial; POSITION: relative; TOP: 45%
120
- }
121
- .downloadLink:link {
122
- TEXT-DECORATION: underline
123
- }
124
- .downloadLink:visited {
125
- TEXT-DECORATION: underline
126
- }
127
- #createdirBody {
128
- BACKGROUND-COLOR: #f0f0ee
129
- }
130
- #createzipBody {
131
- BACKGROUND-COLOR: #f0f0ee
132
- }
133
- #previewNewDocIframe {
134
- BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 200px; BORDER-BOTTOM: #000000 1px solid; HEIGHT: 200px; BACKGROUND-COLOR: #ffffff
135
- }
@@ -1,27 +0,0 @@
1
- #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
2
- #lightbox img{ width: auto; height: auto;}
3
- #lightbox a img{ border: none; }
4
-
5
- #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
6
- #imageContainer{ padding: 10px; }
7
-
8
- #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
9
- #hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
10
- #imageContainer>#hoverNav{ left: 0;}
11
- #hoverNav a{ outline: none;}
12
-
13
- #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
14
- #prevLink { left: 0; float: left;}
15
- #nextLink { right: 0; float: right;}
16
- #prevLink:hover, #prevLink:visited:hover { background: url(/filemanager/images/prevlabel.gif) left 15% no-repeat; }
17
- #nextLink:hover, #nextLink:visited:hover { background: url(/filemanager/images/nextlabel.gif) right 15% no-repeat; }
18
-
19
- #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; }
20
-
21
- #imageData{ padding:0 10px; color: #666; }
22
- #imageData #imageDetails{ width: 70%; float: left; text-align: left; }
23
- #imageData #caption{ font-weight: bold; }
24
- #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
25
- #imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;}
26
-
27
- #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,20 +0,0 @@
1
- function autosave_request(e) {
2
- new Form.Observer (e, 30, function(element, value) {
3
- if ($('current_editor').value == 'visual') {
4
- $('article__body_and_extended_editor').value = CKEDITOR.instances.article__body_and_extended_editor.getData();;
5
- }
6
-
7
- new Ajax.Request(e.action.gsub(/\/new\/{0,1}/, '/autosave/') , {
8
- asynchronous:true,
9
- evalScripts:true,
10
- parameters: Form.serialize(e)
11
- })
12
- var g = new k.Growler({location : 'br'});
13
- g.info('Article was successfully saved', {life: 3});
14
- })
15
-
16
- }
17
-
18
- Event.observe(window, 'load', function() {
19
- $$('.autosave').each(function(e){autosave_request(e)})
20
- })
@@ -1,2 +0,0 @@
1
- // Place your application-specific JavaScript functions and classes here
2
- // This file is automatically included by javascript_include_tag :defaults
@@ -1,377 +0,0 @@
1
- function setCookie(name,value,expires,path,domain,secure){document.cookie=name+"="+escape(value)+
2
- ((expires)?"; expires="+expires.toGMTString():"")+
3
- ((path)?"; path="+path:"")+
4
- ((domain)?"; domain="+domain:"")+
5
- ((secure)?"; secure":"");}
6
- function getCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null;}else{begin+=2;}
7
- var end=document.cookie.indexOf(";",begin);if(end==-1){end=dc.length;}
8
- return unescape(decodeURI(dc.substring(begin+prefix.length,end))).split("+").join(" ");}
9
- function deleteCookie(name,path,domain){if(getCookie(name)){document.cookie=name+"="+
10
- ((path)?"; path="+path:"")+
11
- ((domain)?"; domain="+domain:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}
12
- var Prototype={Version:'1.6.0.3',Browser:{IE:!!(window.attachEvent&&navigator.userAgent.indexOf('Opera')===-1),Opera:navigator.userAgent.indexOf('Opera')>-1,WebKit:navigator.userAgent.indexOf('AppleWebKit/')>-1,Gecko:navigator.userAgent.indexOf('Gecko')>-1&&navigator.userAgent.indexOf('KHTML')===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement('div')['__proto__']&&document.createElement('div')['__proto__']!==document.createElement('form')['__proto__']},ScriptFragment:'<script[^>]*>([\\S\\s]*?)<\/script>',JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari)
13
- Prototype.BrowserFeatures.SpecificElementExtensions=false;var Class={create:function(){var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0]))
14
- parent=properties.shift();function klass(){this.initialize.apply(this,arguments);}
15
- Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=[];if(parent){var subclass=function(){};subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass);}
16
- for(var i=0;i<properties.length;i++)
17
- klass.addMethods(properties[i]);if(!klass.prototype.initialize)
18
- klass.prototype.initialize=Prototype.emptyFunction;klass.prototype.constructor=klass;return klass;}};Class.Methods={addMethods:function(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length)
19
- properties.push("toString","valueOf");for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value)&&value.argumentNames().first()=="$super"){var method=value;value=(function(m){return function(){return ancestor[m].apply(this,arguments)};})(property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=method.toString.bind(method);}
20
- this.prototype[property]=value;}
21
- return this;}};var Abstract={};Object.extend=function(destination,source){for(var property in source)
22
- destination[property]=source[property];return destination;};Object.extend(Object,{inspect:function(object){try{if(Object.isUndefined(object))return'undefined';if(object===null)return'null';return object.inspect?object.inspect():String(object);}catch(e){if(e instanceof RangeError)return'...';throw e;}},toJSON:function(object){var type=typeof object;switch(type){case'undefined':case'function':case'unknown':return;case'boolean':return object.toString();}
23
- if(object===null)return'null';if(object.toJSON)return object.toJSON();if(Object.isElement(object))return;var results=[];for(var property in object){var value=Object.toJSON(object[property]);if(!Object.isUndefined(value))
24
- results.push(property.toJSON()+': '+value);}
25
- return'{'+results.join(', ')+'}';},toQueryString:function(object){return $H(object).toQueryString();},toHTML:function(object){return object&&object.toHTML?object.toHTML():String.interpret(object);},keys:function(object){var keys=[];for(var property in object)
26
- keys.push(property);return keys;},values:function(object){var values=[];for(var property in object)
27
- values.push(object[property]);return values;},clone:function(object){return Object.extend({},object);},isElement:function(object){return!!(object&&object.nodeType==1);},isArray:function(object){return object!=null&&typeof object=="object"&&'splice'in object&&'join'in object;},isHash:function(object){return object instanceof Hash;},isFunction:function(object){return typeof object=="function";},isString:function(object){return typeof object=="string";},isNumber:function(object){return typeof object=="number";},isUndefined:function(object){return typeof object=="undefined";}});Object.extend(Function.prototype,{argumentNames:function(){var names=this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,'').split(',');return names.length==1&&!names[0]?[]:names;},bind:function(){if(arguments.length<2&&Object.isUndefined(arguments[0]))return this;var __method=this,args=$A(arguments),object=args.shift();return function(){return __method.apply(object,args.concat($A(arguments)));}},bindAsEventListener:function(){var __method=this,args=$A(arguments),object=args.shift();return function(event){return __method.apply(object,[event||window.event].concat(args));}},curry:function(){if(!arguments.length)return this;var __method=this,args=$A(arguments);return function(){return __method.apply(this,args.concat($A(arguments)));}},delay:function(){var __method=this,args=$A(arguments),timeout=args.shift()*1000;return window.setTimeout(function(){return __method.apply(__method,args);},timeout);},defer:function(){var args=[0.01].concat($A(arguments));return this.delay.apply(this,args);},wrap:function(wrapper){var __method=this;return function(){return wrapper.apply(this,[__method.bind(this)].concat($A(arguments)));}},methodize:function(){if(this._methodized)return this._methodized;var __method=this;return this._methodized=function(){return __method.apply(null,[this].concat($A(arguments)));};}});Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+'-'+
28
- (this.getUTCMonth()+1).toPaddedString(2)+'-'+
29
- this.getUTCDate().toPaddedString(2)+'T'+
30
- this.getUTCHours().toPaddedString(2)+':'+
31
- this.getUTCMinutes().toPaddedString(2)+':'+
32
- this.getUTCSeconds().toPaddedString(2)+'Z"';};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break;}catch(e){}}
33
- return returnValue;}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(str){return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g,'\\$1');};var PeriodicalExecuter=Class.create({initialize:function(callback,frequency){this.callback=callback;this.frequency=frequency;this.currentlyExecuting=false;this.registerCallback();},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000);},execute:function(){this.callback(this);},stop:function(){if(!this.timer)return;clearInterval(this.timer);this.timer=null;},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute();}finally{this.currentlyExecuting=false;}}}});Object.extend(String,{interpret:function(value){return value==null?'':String(value);},specialChar:{'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','\\':'\\\\'}});Object.extend(String.prototype,{gsub:function(pattern,replacement){var result='',source=this,match;replacement=arguments.callee.prepareReplacement(replacement);while(source.length>0){if(match=source.match(pattern)){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length);}else{result+=source,source='';}}
34
- return result;},sub:function(pattern,replacement,count){replacement=this.gsub.prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0)return match[0];return replacement(match);});},scan:function(pattern,iterator){this.gsub(pattern,iterator);return String(this);},truncate:function(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?'...':truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this);},strip:function(){return this.replace(/^\s+/,'').replace(/\s+$/,'');},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,'');},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,'img'),'');},extractScripts:function(){var matchAll=new RegExp(Prototype.ScriptFragment,'img');var matchOne=new RegExp(Prototype.ScriptFragment,'im');return(this.match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||['',''])[1];});},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)});},escapeHTML:function(){var self=arguments.callee;self.text.data=this;return self.div.innerHTML;},unescapeHTML:function(){var div=new Element('div');div.innerHTML=this.stripTags();return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject('',function(memo,node){return memo+node.nodeValue}):div.childNodes[0].nodeValue):'';},toQueryParams:function(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match)return{};return match[1].split(separator||'&').inject({},function(hash,pair){if((pair=pair.split('='))[0]){var key=decodeURIComponent(pair.shift());var value=pair.length>1?pair.join('='):pair[0];if(value!=undefined)value=decodeURIComponent(value);if(key in hash){if(!Object.isArray(hash[key]))hash[key]=[hash[key]];hash[key].push(value);}
35
- else hash[key]=value;}
36
- return hash;});},toArray:function(){return this.split('');},succ:function(){return this.slice(0,this.length-1)+
37
- String.fromCharCode(this.charCodeAt(this.length-1)+1);},times:function(count){return count<1?'':new Array(count+1).join(this);},camelize:function(){var parts=this.split('-'),len=parts.length;if(len==1)return parts[0];var camelized=this.charAt(0)=='-'?parts[0].charAt(0).toUpperCase()+parts[0].substring(1):parts[0];for(var i=1;i<len;i++)
38
- camelized+=parts[i].charAt(0).toUpperCase()+parts[i].substring(1);return camelized;},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase();},underscore:function(){return this.gsub(/::/,'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase();},dasherize:function(){return this.gsub(/_/,'-');},inspect:function(useDoubleQuotes){var escapedString=this.gsub(/[\x00-\x1f\\]/,function(match){var character=String.specialChar[match[0]];return character?character:'\\u00'+match[0].charCodeAt().toPaddedString(2,16);});if(useDoubleQuotes)return'"'+escapedString.replace(/"/g,'\\"')+'"';return"'"+escapedString.replace(/'/g,'\\\'')+"'";},toJSON:function(){return this.inspect(true);},unfilterJSON:function(filter){return this.sub(filter||Prototype.JSONFilter,'#{1}');},isJSON:function(){var str=this;if(str.blank())return false;str=this.replace(/\\./g,'@').replace(/"[^"\\\n\r]*"/g,'');return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON())return eval('('+json+')');}catch(e){}
39
- throw new SyntaxError('Badly formed JSON string: '+this.inspect());},include:function(pattern){return this.indexOf(pattern)>-1;},startsWith:function(pattern){return this.indexOf(pattern)===0;},endsWith:function(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d;},empty:function(){return this=='';},blank:function(){return/^\s*$/.test(this);},interpolate:function(object,pattern){return new Template(this,pattern).evaluate(object);}});if(Prototype.Browser.WebKit||Prototype.Browser.IE)Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');},unescapeHTML:function(){return this.stripTags().replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>');}});String.prototype.gsub.prepareReplacement=function(replacement){if(Object.isFunction(replacement))return replacement;var template=new Template(replacement);return function(match){return template.evaluate(match)};};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement('div'),text:document.createTextNode('')});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern;},evaluate:function(object){if(Object.isFunction(object.toTemplateReplacements))
40
- object=object.toTemplateReplacements();return this.template.gsub(this.pattern,function(match){if(object==null)return'';var before=match[1]||'';if(before=='\\')return match[2];var ctx=object,expr=match[3];var pattern=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;match=pattern.exec(expr);if(match==null)return before;while(match!=null){var comp=match[1].startsWith('[')?match[2].gsub('\\\\]',']'):match[1];ctx=ctx[comp];if(null==ctx||''==match[3])break;expr=expr.substring('['==match[3]?match[1].length:match[0].length);match=pattern.exec(expr);}
41
- return before+String.interpret(ctx);});}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++);});}catch(e){if(e!=$break)throw e;}
42
- return this;},eachSlice:function(number,iterator,context){var index=-number,slices=[],array=this.toArray();if(number<1)return array;while((index+=number)<array.length)
43
- slices.push(array.slice(index,index+number));return slices.collect(iterator,context);},all:function(iterator,context){iterator=iterator||Prototype.K;var result=true;this.each(function(value,index){result=result&&!!iterator.call(context,value,index);if(!result)throw $break;});return result;},any:function(iterator,context){iterator=iterator||Prototype.K;var result=false;this.each(function(value,index){if(result=!!iterator.call(context,value,index))
44
- throw $break;});return result;},collect:function(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index));});return results;},detect:function(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break;}});return result;},findAll:function(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index))
45
- results.push(value);});return results;},grep:function(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter))
46
- filter=new RegExp(filter);this.each(function(value,index){if(filter.match(value))
47
- results.push(iterator.call(context,value,index));});return results;},include:function(object){if(Object.isFunction(this.indexOf))
48
- if(this.indexOf(object)!=-1)return true;var found=false;this.each(function(value){if(value==object){found=true;throw $break;}});return found;},inGroupsOf:function(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number)slice.push(fillWith);return slice;});},inject:function(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index);});return memo;},invoke:function(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args);});},max:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value>=result)
49
- result=value;});return result;},min:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value<result)
50
- result=value;});return result;},partition:function(iterator,context){iterator=iterator||Prototype.K;var trues=[],falses=[];this.each(function(value,index){(iterator.call(context,value,index)?trues:falses).push(value);});return[trues,falses];},pluck:function(property){var results=[];this.each(function(value){results.push(value[property]);});return results;},reject:function(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index))
51
- results.push(value);});return results;},sortBy:function(iterator,context){return this.map(function(value,index){return{value:value,criteria:iterator.call(context,value,index)};}).sort(function(left,right){var a=left.criteria,b=right.criteria;return a<b?-1:a>b?1:0;}).pluck('value');},toArray:function(){return this.map();},zip:function(){var iterator=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last()))
52
- iterator=args.pop();var collections=[this].concat(args).map($A);return this.map(function(value,index){return iterator(collections.pluck(index));});},size:function(){return this.toArray().length;},inspect:function(){return'#<Enumerable:'+this.toArray().inspect()+'>';}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(iterable){if(!iterable)return[];if(iterable.toArray)return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results;}
53
- if(Prototype.Browser.WebKit){$A=function(iterable){if(!iterable)return[];if(!(typeof iterable==='function'&&typeof iterable.length==='number'&&typeof iterable.item==='function')&&iterable.toArray)
54
- return iterable.toArray();var length=iterable.length||0,results=new Array(length);while(length--)results[length]=iterable[length];return results;};}
55
- Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse)Array.prototype._reverse=Array.prototype.reverse;Object.extend(Array.prototype,{_each:function(iterator){for(var i=0,length=this.length;i<length;i++)
56
- iterator(this[i]);},clear:function(){this.length=0;return this;},first:function(){return this[0];},last:function(){return this[this.length-1];},compact:function(){return this.select(function(value){return value!=null;});},flatten:function(){return this.inject([],function(array,value){return array.concat(Object.isArray(value)?value.flatten():[value]);});},without:function(){var values=$A(arguments);return this.select(function(value){return!values.include(value);});},reverse:function(inline){return(inline!==false?this:this.toArray())._reverse();},reduce:function(){return this.length>1?this:this[0];},uniq:function(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value)))
57
- array.push(value);return array;});},intersect:function(array){return this.uniq().findAll(function(item){return array.detect(function(value){return item===value});});},clone:function(){return[].concat(this);},size:function(){return this.length;},inspect:function(){return'['+this.map(Object.inspect).join(', ')+']';},toJSON:function(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value))results.push(value);});return'['+results.join(', ')+']';}});if(Object.isFunction(Array.prototype.forEach))
58
- Array.prototype._each=Array.prototype.forEach;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(item,i){i||(i=0);var length=this.length;if(i<0)i=length+i;for(;i<length;i++)
59
- if(this[i]===item)return i;return-1;};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(item,i){i=isNaN(i)?this.length:(i<0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(item);return(n<0)?n:i-n-1;};Array.prototype.toArray=Array.prototype.clone;function $w(string){if(!Object.isString(string))return[];string=string.strip();return string?string.split(/\s+/):[];}
60
- if(Prototype.Browser.Opera){Array.prototype.concat=function(){var array=[];for(var i=0,length=this.length;i<length;i++)array.push(this[i]);for(var i=0,length=arguments.length;i<length;i++){if(Object.isArray(arguments[i])){for(var j=0,arrayLength=arguments[i].length;j<arrayLength;j++)
61
- array.push(arguments[i][j]);}else{array.push(arguments[i]);}}
62
- return array;};}
63
- Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16);},succ:function(){return this+1;},times:function(iterator,context){$R(0,this,true).each(iterator,context);return this;},toPaddedString:function(length,radix){var string=this.toString(radix||10);return'0'.times(length-string.length)+string;},toJSON:function(){return isFinite(this)?this.toString():'null';}});$w('abs round ceil floor').each(function(method){Number.prototype[method]=Math[method].methodize();});function $H(object){return new Hash(object);};var Hash=Class.create(Enumerable,(function(){function toQueryPair(key,value){if(Object.isUndefined(value))return key;return key+'='+encodeURIComponent(String.interpret(value));}
64
- return{initialize:function(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object);},_each:function(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair);}},set:function(key,value){return this._object[key]=value;},get:function(key){if(this._object[key]!==Object.prototype[key])
65
- return this._object[key];},unset:function(key){var value=this._object[key];delete this._object[key];return value;},toObject:function(){return Object.clone(this._object);},keys:function(){return this.pluck('key');},values:function(){return this.pluck('value');},index:function(value){var match=this.detect(function(pair){return pair.value===value;});return match&&match.key;},merge:function(object){return this.clone().update(object);},update:function(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result;});},toQueryString:function(){return this.inject([],function(results,pair){var key=encodeURIComponent(pair.key),values=pair.value;if(values&&typeof values=='object'){if(Object.isArray(values))
66
- return results.concat(values.map(toQueryPair.curry(key)));}else results.push(toQueryPair(key,values));return results;}).join('&');},inspect:function(){return'#<Hash:{'+this.map(function(pair){return pair.map(Object.inspect).join(': ');}).join(', ')+'}>';},toJSON:function(){return Object.toJSON(this.toObject());},clone:function(){return new Hash(this);}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive;},_each:function(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ();}},include:function(value){if(value<this.start)
67
- return false;if(this.exclusive)
68
- return value<this.end;return value<=this.end;}});var $R=function(start,end,exclusive){return new ObjectRange(start,end,exclusive);};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new ActiveXObject('Microsoft.XMLHTTP')})||false;},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(iterator){this.responders._each(iterator);},register:function(responder){if(!this.include(responder))
69
- this.responders.push(responder);},unregister:function(responder){this.responders=this.responders.without(responder);},dispatch:function(callback,request,transport,json){this.each(function(responder){if(Object.isFunction(responder[callback])){try{responder[callback].apply(responder,[request,transport,json]);}catch(e){}}});}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(options){this.options={method:'post',asynchronous:true,contentType:'application/x-www-form-urlencoded',encoding:'UTF-8',parameters:'',evalJSON:true,evalJS:true};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters))
70
- this.options.parameters=this.options.parameters.toQueryParams();else if(Object.isHash(this.options.parameters))
71
- this.options.parameters=this.options.parameters.toObject();}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,url,options){$super(options);this.transport=Ajax.getTransport();this.request(url);},request:function(url){this.url=url;this.method=this.options.method;var params=Object.clone(this.options.parameters);if(!['get','post'].include(this.method)){params['_method']=this.method;this.method='post';}
72
- this.parameters=params;if(params=Object.toQueryString(params)){if(this.method=='get')
73
- this.url+=(this.url.include('?')?'&':'?')+params;else if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))
74
- params+='&_=';}
75
- try{var response=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(response);Ajax.Responders.dispatch('onCreate',this,response);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=='post'?(this.options.postBody||params):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType)
76
- this.onStateChange();}
77
- catch(e){this.dispatchException(e);}},onStateChange:function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete))
78
- this.respondToReadyState(this.transport.readyState);},setRequestHeaders:function(){var headers={'X-Requested-With':'XMLHttpRequest','X-Prototype-Version':Prototype.Version,'Accept':'text/javascript, text/html, application/xml, text/xml, */*'};if(this.method=='post'){headers['Content-type']=this.options.contentType+
79
- (this.options.encoding?'; charset='+this.options.encoding:'');if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005)
80
- headers['Connection']='close';}
81
- if(typeof this.options.requestHeaders=='object'){var extras=this.options.requestHeaders;if(Object.isFunction(extras.push))
82
- for(var i=0,length=extras.length;i<length;i+=2)
83
- headers[extras[i]]=extras[i+1];else
84
- $H(extras).each(function(pair){headers[pair.key]=pair.value});}
85
- for(var name in headers)
86
- this.transport.setRequestHeader(name,headers[name]);},success:function(){var status=this.getStatus();return!status||(status>=200&&status<300);},getStatus:function(){try{return this.transport.status||0;}catch(e){return 0}},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState],response=new Ajax.Response(this);if(state=='Complete'){try{this._complete=true;(this.options['on'+response.status]||this.options['on'+(this.success()?'Success':'Failure')]||Prototype.emptyFunction)(response,response.headerJSON);}catch(e){this.dispatchException(e);}
87
- var contentType=response.getHeader('Content-type');if(this.options.evalJS=='force'||(this.options.evalJS&&this.isSameOrigin()&&contentType&&contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))
88
- this.evalResponse();}
89
- try{(this.options['on'+state]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch('on'+state,this,response,response.headerJSON);}catch(e){this.dispatchException(e);}
90
- if(state=='Complete'){this.transport.onreadystatechange=Prototype.emptyFunction;}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return!m||(m[0]=='#{protocol}//#{domain}#{port}'.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?':'+location.port:''}));},getHeader:function(name){try{return this.transport.getResponseHeader(name)||null;}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||'').unfilterJSON());}catch(e){this.dispatchException(e);}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch('onException',this,exception);}});Ajax.Request.Events=['Uninitialized','Loading','Loaded','Interactive','Complete'];Ajax.Response=Class.create({initialize:function(request){this.request=request;var transport=this.transport=request.transport,readyState=this.readyState=transport.readyState;if((readyState>2&&!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(transport.responseText);this.headerJSON=this._getHeaderJSON();}
91
- if(readyState==4){var xml=transport.responseXML;this.responseXML=Object.isUndefined(xml)?null:xml;this.responseJSON=this._getResponseJSON();}},status:0,statusText:'',getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||'';}catch(e){return''}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders();}catch(e){return null}},getResponseHeader:function(name){return this.transport.getResponseHeader(name);},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders();},_getHeaderJSON:function(){var json=this.getHeader('X-JSON');if(!json)return null;json=decodeURIComponent(escape(json));try{return json.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin());}catch(e){this.request.dispatchException(e);}},_getResponseJSON:function(){var options=this.request.options;if(!options.evalJSON||(options.evalJSON!='force'&&!(this.getHeader('Content-type')||'').include('application/json'))||this.responseText.blank())
92
- return null;try{return this.responseText.evalJSON(options.sanitizeJSON||!this.request.isSameOrigin());}catch(e){this.request.dispatchException(e);}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};options=Object.clone(options);var onComplete=options.onComplete;options.onComplete=(function(response,json){this.updateContent(response.responseText);if(Object.isFunction(onComplete))onComplete(response,json);}).bind(this);$super(url,options);},updateContent:function(responseText){var receiver=this.container[this.success()?'success':'failure'],options=this.options;if(!options.evalScripts)responseText=responseText.stripScripts();if(receiver=$(receiver)){if(options.insertion){if(Object.isString(options.insertion)){var insertion={};insertion[options.insertion]=responseText;receiver.insert(insertion);}
93
- else options.insertion(receiver,responseText);}
94
- else receiver.update(responseText);}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=container;this.url=url;this.start();},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent();},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments);},updateComplete:function(response){if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=response.responseText;}
95
- this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency);},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options);}});function $(element){if(arguments.length>1){for(var i=0,elements=[],length=arguments.length;i<length;i++)
96
- elements.push($(arguments[i]));return elements;}
97
- if(Object.isString(element))
98
- element=document.getElementById(element);return Element.extend(element);}
99
- if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(expression,parentElement){var results=[];var query=document.evaluate(expression,$(parentElement)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=query.snapshotLength;i<length;i++)
100
- results.push(Element.extend(query.snapshotItem(i)));return results;};}
101
- if(!window.Node)var Node={};if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12});}
102
- (function(){var element=this.Element;this.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(Prototype.Browser.IE&&attributes.name){tagName='<'+tagName+' name="'+attributes.name+'">';delete attributes.name;return Element.writeAttribute(document.createElement(tagName),attributes);}
103
- if(!cache[tagName])cache[tagName]=Element.extend(document.createElement(tagName));return Element.writeAttribute(cache[tagName].cloneNode(false),attributes);};Object.extend(this.Element,element||{});if(element)this.Element.prototype=element.prototype;}).call(window);Element.cache={};Element.Methods={visible:function(element){return $(element).style.display!='none';},toggle:function(element){element=$(element);Element[Element.visible(element)?'hide':'show'](element);return element;},hide:function(element){element=$(element);element.style.display='none';return element;},show:function(element){element=$(element);element.style.display='';return element;},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element;},update:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element;},replace:function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();else if(!Object.isElement(content)){content=Object.toHTML(content);var range=element.ownerDocument.createRange();range.selectNode(element);content.evalScripts.bind(content).defer();content=range.createContextualFragment(content.stripScripts());}
104
- element.parentNode.replaceChild(content,element);return element;},insert:function(element,insertions){element=$(element);if(Object.isString(insertions)||Object.isNumber(insertions)||Object.isElement(insertions)||(insertions&&(insertions.toElement||insertions.toHTML)))
105
- insertions={bottom:insertions};var content,insert,tagName,childNodes;for(var position in insertions){content=insertions[position];position=position.toLowerCase();insert=Element._insertionTranslations[position];if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){insert(element,content);continue;}
106
- content=Object.toHTML(content);tagName=((position=='before'||position=='after')?element.parentNode:element).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,content.stripScripts());if(position=='top'||position=='after')childNodes.reverse();childNodes.each(insert.curry(element));content.evalScripts.bind(content).defer();}
107
- return element;},wrap:function(element,wrapper,attributes){element=$(element);if(Object.isElement(wrapper))
108
- $(wrapper).writeAttribute(attributes||{});else if(Object.isString(wrapper))wrapper=new Element(wrapper,attributes);else wrapper=new Element('div',wrapper);if(element.parentNode)
109
- element.parentNode.replaceChild(wrapper,element);wrapper.appendChild(element);return wrapper;},inspect:function(element){element=$(element);var result='<'+element.tagName.toLowerCase();$H({'id':'id','className':'class'}).each(function(pair){var property=pair.first(),attribute=pair.last();var value=(element[property]||'').toString();if(value)result+=' '+attribute+'='+value.inspect(true);});return result+'>';},recursivelyCollect:function(element,property){element=$(element);var elements=[];while(element=element[property])
110
- if(element.nodeType==1)
111
- elements.push(Element.extend(element));return elements;},ancestors:function(element){return $(element).recursivelyCollect('parentNode');},descendants:function(element){return $(element).select("*");},firstDescendant:function(element){element=$(element).firstChild;while(element&&element.nodeType!=1)element=element.nextSibling;return $(element);},immediateDescendants:function(element){if(!(element=$(element).firstChild))return[];while(element&&element.nodeType!=1)element=element.nextSibling;if(element)return[element].concat($(element).nextSiblings());return[];},previousSiblings:function(element){return $(element).recursivelyCollect('previousSibling');},nextSiblings:function(element){return $(element).recursivelyCollect('nextSibling');},siblings:function(element){element=$(element);return element.previousSiblings().reverse().concat(element.nextSiblings());},match:function(element,selector){if(Object.isString(selector))
112
- selector=new Selector(selector);return selector.match($(element));},up:function(element,expression,index){element=$(element);if(arguments.length==1)return $(element.parentNode);var ancestors=element.ancestors();return Object.isNumber(expression)?ancestors[expression]:Selector.findElement(ancestors,expression,index);},down:function(element,expression,index){element=$(element);if(arguments.length==1)return element.firstDescendant();return Object.isNumber(expression)?element.descendants()[expression]:Element.select(element,expression)[index||0];},previous:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.previousElementSibling(element));var previousSiblings=element.previousSiblings();return Object.isNumber(expression)?previousSiblings[expression]:Selector.findElement(previousSiblings,expression,index);},next:function(element,expression,index){element=$(element);if(arguments.length==1)return $(Selector.handlers.nextElementSibling(element));var nextSiblings=element.nextSiblings();return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index);},select:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element,args);},adjacent:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element.parentNode,args).without(element);},identify:function(element){element=$(element);var id=element.readAttribute('id'),self=arguments.callee;if(id)return id;do{id='anonymous_element_'+self.counter++}while($(id));element.writeAttribute('id',id);return id;},readAttribute:function(element,name){element=$(element);if(Prototype.Browser.IE){var t=Element._attributeTranslations.read;if(t.values[name])return t.values[name](element,name);if(t.names[name])name=t.names[name];if(name.include(':')){return(!element.attributes||!element.attributes[name])?null:element.attributes[name].value;}}
113
- return element.getAttribute(name);},writeAttribute:function(element,name,value){element=$(element);var attributes={},t=Element._attributeTranslations.write;if(typeof name=='object')attributes=name;else attributes[name]=Object.isUndefined(value)?true:value;for(var attr in attributes){name=t.names[attr]||attr;value=attributes[attr];if(t.values[attr])name=t.values[attr](element,value);if(value===false||value===null)
114
- element.removeAttribute(name);else if(value===true)
115
- element.setAttribute(name,name);else element.setAttribute(name,value);}
116
- return element;},getHeight:function(element){return $(element).getDimensions().height;},getWidth:function(element){return $(element).getDimensions().width;},classNames:function(element){return new Element.ClassNames(element);},hasClassName:function(element,className){if(!(element=$(element)))return;var elementClassName=element.className;return(elementClassName.length>0&&(elementClassName==className||new RegExp("(^|\\s)"+className+"(\\s|$)").test(elementClassName)));},addClassName:function(element,className){if(!(element=$(element)))return;if(!element.hasClassName(className))
117
- element.className+=(element.className?' ':'')+className;return element;},removeClassName:function(element,className){if(!(element=$(element)))return;element.className=element.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)"),' ').strip();return element;},toggleClassName:function(element,className){if(!(element=$(element)))return;return element[element.hasClassName(className)?'removeClassName':'addClassName'](className);},cleanWhitespace:function(element){element=$(element);var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue))
118
- element.removeChild(node);node=nextNode;}
119
- return element;},empty:function(element){return $(element).innerHTML.blank();},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);if(element.compareDocumentPosition)
120
- return(element.compareDocumentPosition(ancestor)&8)===8;if(ancestor.contains)
121
- return ancestor.contains(element)&&ancestor!==element;while(element=element.parentNode)
122
- if(element==ancestor)return true;return false;},scrollTo:function(element){element=$(element);var pos=element.cumulativeOffset();window.scrollTo(pos[0],pos[1]);return element;},getStyle:function(element,style){element=$(element);style=style=='float'?'cssFloat':style.camelize();var value=element.style[style];if(!value||value=='auto'){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null;}
123
- if(style=='opacity')return value?parseFloat(value):1.0;return value=='auto'?null:value;},getOpacity:function(element){return $(element).getStyle('opacity');},setStyle:function(element,styles){element=$(element);var elementStyle=element.style,match;if(Object.isString(styles)){element.style.cssText+=';'+styles;return styles.include('opacity')?element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]):element;}
124
- for(var property in styles)
125
- if(property=='opacity')element.setOpacity(styles[property]);else
126
- elementStyle[(property=='float'||property=='cssFloat')?(Object.isUndefined(elementStyle.styleFloat)?'cssFloat':'styleFloat'):property]=styles[property];return element;},setOpacity:function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;return element;},getDimensions:function(element){element=$(element);var display=element.getStyle('display');if(display!='none'&&display!=null)
127
- return{width:element.offsetWidth,height:element.offsetHeight};var els=element.style;var originalVisibility=els.visibility;var originalPosition=els.position;var originalDisplay=els.display;els.visibility='hidden';els.position='absolute';els.display='block';var originalWidth=element.clientWidth;var originalHeight=element.clientHeight;els.display=originalDisplay;els.position=originalPosition;els.visibility=originalVisibility;return{width:originalWidth,height:originalHeight};},makePositioned:function(element){element=$(element);var pos=Element.getStyle(element,'position');if(pos=='static'||!pos){element._madePositioned=true;element.style.position='relative';if(Prototype.Browser.Opera){element.style.top=0;element.style.left=0;}}
128
- return element;},undoPositioned:function(element){element=$(element);if(element._madePositioned){element._madePositioned=undefined;element.style.position=element.style.top=element.style.left=element.style.bottom=element.style.right='';}
129
- return element;},makeClipping:function(element){element=$(element);if(element._overflow)return element;element._overflow=Element.getStyle(element,'overflow')||'auto';if(element._overflow!=='hidden')
130
- element.style.overflow='hidden';return element;},undoClipping:function(element){element=$(element);if(!element._overflow)return element;element.style.overflow=element._overflow=='auto'?'':element._overflow;element._overflow=null;return element;},cumulativeOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent;}while(element);return Element._returnOffset(valueL,valueT);},positionedOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent;if(element){if(element.tagName.toUpperCase()=='BODY')break;var p=Element.getStyle(element,'position');if(p!=='static')break;}}while(element);return Element._returnOffset(valueL,valueT);},absolutize:function(element){element=$(element);if(element.getStyle('position')=='absolute')return element;var offsets=element.positionedOffset();var top=offsets[1];var left=offsets[0];var width=element.clientWidth;var height=element.clientHeight;element._originalLeft=left-parseFloat(element.style.left||0);element._originalTop=top-parseFloat(element.style.top||0);element._originalWidth=element.style.width;element._originalHeight=element.style.height;element.style.position='absolute';element.style.top=top+'px';element.style.left=left+'px';element.style.width=width+'px';element.style.height=height+'px';return element;},relativize:function(element){element=$(element);if(element.getStyle('position')=='relative')return element;element.style.position='relative';var top=parseFloat(element.style.top||0)-(element._originalTop||0);var left=parseFloat(element.style.left||0)-(element._originalLeft||0);element.style.top=top+'px';element.style.left=left+'px';element.style.height=element._originalHeight;element.style.width=element._originalWidth;return element;},cumulativeScrollOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;element=element.parentNode;}while(element);return Element._returnOffset(valueL,valueT);},getOffsetParent:function(element){if(element.offsetParent)return $(element.offsetParent);if(element==document.body)return $(element);while((element=element.parentNode)&&element!=document.body)
131
- if(Element.getStyle(element,'position')!='static')
132
- return $(element);return $(document.body);},viewportOffset:function(forElement){var valueT=0,valueL=0;var element=forElement;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body&&Element.getStyle(element,'position')=='absolute')break;}while(element=element.offsetParent);element=forElement;do{if(!Prototype.Browser.Opera||(element.tagName&&(element.tagName.toUpperCase()=='BODY'))){valueT-=element.scrollTop||0;valueL-=element.scrollLeft||0;}}while(element=element.parentNode);return Element._returnOffset(valueL,valueT);},clonePosition:function(element,source){var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});source=$(source);var p=source.viewportOffset();element=$(element);var delta=[0,0];var parent=null;if(Element.getStyle(element,'position')=='absolute'){parent=element.getOffsetParent();delta=parent.viewportOffset();}
133
- if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop;}
134
- if(options.setLeft)element.style.left=(p[0]-delta[0]+options.offsetLeft)+'px';if(options.setTop)element.style.top=(p[1]-delta[1]+options.offsetTop)+'px';if(options.setWidth)element.style.width=source.offsetWidth+'px';if(options.setHeight)element.style.height=source.offsetHeight+'px';return element;}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:'class',htmlFor:'for'},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(proceed,element,style){switch(style){case'left':case'top':case'right':case'bottom':if(proceed(element,'position')==='static')return null;case'height':case'width':if(!Element.visible(element))return null;var dim=parseInt(proceed(element,style),10);if(dim!==element['offset'+style.capitalize()])
135
- return dim+'px';var properties;if(style==='height'){properties=['border-top-width','padding-top','padding-bottom','border-bottom-width'];}
136
- else{properties=['border-left-width','padding-left','padding-right','border-right-width'];}
137
- return properties.inject(dim,function(memo,property){var val=proceed(element,property);return val===null?memo:memo-parseInt(val,10);})+'px';default:return proceed(element,style);}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(proceed,element,attribute){if(attribute==='title')return element.title;return proceed(element,attribute);});}
138
- else if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(proceed,element){element=$(element);try{element.offsetParent}
139
- catch(e){return $(document.body)}
140
- var position=element.getStyle('position');if(position!=='static')return proceed(element);element.setStyle({position:'relative'});var value=proceed(element);element.setStyle({position:position});return value;});$w('positionedOffset viewportOffset').each(function(method){Element.Methods[method]=Element.Methods[method].wrap(function(proceed,element){element=$(element);try{element.offsetParent}
141
- catch(e){return Element._returnOffset(0,0)}
142
- var position=element.getStyle('position');if(position!=='static')return proceed(element);var offsetParent=element.getOffsetParent();if(offsetParent&&offsetParent.getStyle('position')==='fixed')
143
- offsetParent.setStyle({zoom:1});element.setStyle({position:'relative'});var value=proceed(element);element.setStyle({position:position});return value;});});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(proceed,element){try{element.offsetParent}
144
- catch(e){return Element._returnOffset(0,0)}
145
- return proceed(element);});Element.Methods.getStyle=function(element,style){element=$(element);style=(style=='float'||style=='cssFloat')?'styleFloat':style.camelize();var value=element.style[style];if(!value&&element.currentStyle)value=element.currentStyle[style];if(style=='opacity'){if(value=(element.getStyle('filter')||'').match(/alpha\(opacity=(.*)\)/))
146
- if(value[1])return parseFloat(value[1])/100;return 1.0;}
147
- if(value=='auto'){if((style=='width'||style=='height')&&(element.getStyle('display')!='none'))
148
- return element['offset'+style.capitalize()]+'px';return null;}
149
- return value;};Element.Methods.setOpacity=function(element,value){function stripAlpha(filter){return filter.replace(/alpha\([^\)]*\)/gi,'');}
150
- element=$(element);var currentStyle=element.currentStyle;if((currentStyle&&!currentStyle.hasLayout)||(!currentStyle&&element.style.zoom=='normal'))
151
- element.style.zoom=1;var filter=element.getStyle('filter'),style=element.style;if(value==1||value===''){(filter=stripAlpha(filter))?style.filter=filter:style.removeAttribute('filter');return element;}else if(value<0.00001)value=0;style.filter=stripAlpha(filter)+'alpha(opacity='+(value*100)+')';return element;};Element._attributeTranslations={read:{names:{'class':'className','for':'htmlFor'},values:{_getAttr:function(element,attribute){return element.getAttribute(attribute,2);},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:"";},_getEv:function(element,attribute){attribute=element.getAttribute(attribute);return attribute?attribute.toString().slice(23,-2):null;},_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null;},style:function(element){return element.style.cssText.toLowerCase();},title:function(element){return element.title;}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:'cellPadding',cellspacing:'cellSpacing'},Element._attributeTranslations.read.names),values:{checked:function(element,value){element.checked=!!value;},style:function(element,value){element.style.cssText=value?value:'';}}};Element._attributeTranslations.has={};$w('colSpan rowSpan vAlign dateTime accessKey tabIndex '+'encType maxLength readOnly longDesc frameBorder').each(function(attr){Element._attributeTranslations.write.names[attr.toLowerCase()]=attr;Element._attributeTranslations.has[attr.toLowerCase()]=attr;});(function(v){Object.extend(v,{href:v._getAttr,src:v._getAttr,type:v._getAttr,action:v._getAttrNode,disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv});})(Element._attributeTranslations.read.values);}
152
- else if(Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1)?0.999999:(value==='')?'':(value<0.00001)?0:value;return element;};}
153
- else if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1||value==='')?'':(value<0.00001)?0:value;if(value==1)
154
- if(element.tagName.toUpperCase()=='IMG'&&element.width){element.width++;element.width--;}else try{var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n);}catch(e){}
155
- return element;};Element.Methods.cumulativeOffset=function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body)
156
- if(Element.getStyle(element,'position')=='absolute')break;element=element.offsetParent;}while(element);return Element._returnOffset(valueL,valueT);};}
157
- if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content))return element.update().insert(content);content=Object.toHTML(content);var tagName=element.tagName.toUpperCase();if(tagName in Element._insertionTranslations.tags){$A(element.childNodes).each(function(node){element.removeChild(node)});Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)});}
158
- else element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element;};}
159
- if('outerHTML'in document.createElement('div')){Element.Methods.replace=function(element,content){element=$(element);if(content&&content.toElement)content=content.toElement();if(Object.isElement(content)){element.parentNode.replaceChild(content,element);return element;}
160
- content=Object.toHTML(content);var parent=element.parentNode,tagName=parent.tagName.toUpperCase();if(Element._insertionTranslations.tags[tagName]){var nextSibling=element.next();var fragments=Element._getContentFromAnonymousElement(tagName,content.stripScripts());parent.removeChild(element);if(nextSibling)
161
- fragments.each(function(node){parent.insertBefore(node,nextSibling)});else
162
- fragments.each(function(node){parent.appendChild(node)});}
163
- else element.outerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element;};}
164
- Element._returnOffset=function(l,t){var result=[l,t];result.left=l;result.top=t;return result;};Element._getContentFromAnonymousElement=function(tagName,html){var div=new Element('div'),t=Element._insertionTranslations.tags[tagName];if(t){div.innerHTML=t[0]+html+t[1];t[2].times(function(){div=div.firstChild});}else div.innerHTML=html;return $A(div.childNodes);};Element._insertionTranslations={before:function(element,node){element.parentNode.insertBefore(node,element);},top:function(element,node){element.insertBefore(node,element.firstChild);},bottom:function(element,node){element.appendChild(node);},after:function(element,node){element.parentNode.insertBefore(node,element.nextSibling);},tags:{TABLE:['<table>','</table>',1],TBODY:['<table><tbody>','</tbody></table>',2],TR:['<table><tbody><tr>','</tr></tbody></table>',3],TD:['<table><tbody><tr><td>','</td></tr></tbody></table>',4],SELECT:['<select>','</select>',1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD});}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(element,attribute){attribute=Element._attributeTranslations.has[attribute]||attribute;var node=$(element).getAttributeNode(attribute);return!!(node&&node.specified);}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&&document.createElement('div')['__proto__']){window.HTMLElement={};window.HTMLElement.prototype=document.createElement('div')['__proto__'];Prototype.BrowserFeatures.ElementExtensions=true;}
165
- Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions)
166
- return Prototype.K;var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||element._extendedByPrototype||element.nodeType!=1||element==window)return element;var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase(),property,value;if(ByTag[tagName])Object.extend(methods,ByTag[tagName]);for(property in methods){value=methods[property];if(Object.isFunction(value)&&!(property in element))
167
- element[property]=value.methodize();}
168
- element._extendedByPrototype=Prototype.emptyFunction;return element;},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(Methods,Element.Methods);Object.extend(Methods,Element.Methods.Simulated);}}});extend.refresh();return extend;})();Element.hasAttribute=function(element,attribute){if(element.hasAttribute)return element.hasAttribute(attribute);return Element.Methods.Simulated.hasAttribute(element,attribute);};Element.addMethods=function(methods){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!methods){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{"FORM":Object.clone(Form.Methods),"INPUT":Object.clone(Form.Element.Methods),"SELECT":Object.clone(Form.Element.Methods),"TEXTAREA":Object.clone(Form.Element.Methods)});}
169
- if(arguments.length==2){var tagName=methods;methods=arguments[1];}
170
- if(!tagName)Object.extend(Element.Methods,methods||{});else{if(Object.isArray(tagName))tagName.each(extend);else extend(tagName);}
171
- function extend(tagName){tagName=tagName.toUpperCase();if(!Element.Methods.ByTag[tagName])
172
- Element.Methods.ByTag[tagName]={};Object.extend(Element.Methods.ByTag[tagName],methods);}
173
- function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;for(var property in methods){var value=methods[property];if(!Object.isFunction(value))continue;if(!onlyIfAbsent||!(property in destination))
174
- destination[property]=value.methodize();}}
175
- function findDOMClass(tagName){var klass;var trans={"OPTGROUP":"OptGroup","TEXTAREA":"TextArea","P":"Paragraph","FIELDSET":"FieldSet","UL":"UList","OL":"OList","DL":"DList","DIR":"Directory","H1":"Heading","H2":"Heading","H3":"Heading","H4":"Heading","H5":"Heading","H6":"Heading","Q":"Quote","INS":"Mod","DEL":"Mod","A":"Anchor","IMG":"Image","CAPTION":"TableCaption","COL":"TableCol","COLGROUP":"TableCol","THEAD":"TableSection","TFOOT":"TableSection","TBODY":"TableSection","TR":"TableRow","TH":"TableCell","TD":"TableCell","FRAMESET":"FrameSet","IFRAME":"IFrame"};if(trans[tagName])klass='HTML'+trans[tagName]+'Element';if(window[klass])return window[klass];klass='HTML'+tagName+'Element';if(window[klass])return window[klass];klass='HTML'+tagName.capitalize()+'Element';if(window[klass])return window[klass];window[klass]={};window[klass].prototype=document.createElement(tagName)['__proto__'];return window[klass];}
176
- if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true);}
177
- if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var klass=findDOMClass(tag);if(Object.isUndefined(klass))continue;copy(T[tag],klass.prototype);}}
178
- Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh)Element.extend.refresh();Element.cache={};};document.viewport={getDimensions:function(){var dimensions={},B=Prototype.Browser;$w('width height').each(function(d){var D=d.capitalize();if(B.WebKit&&!document.evaluate){dimensions[d]=self['inner'+D];}else if(B.Opera&&parseFloat(window.opera.version())<9.5){dimensions[d]=document.body['client'+D]}else{dimensions[d]=document.documentElement['client'+D];}});return dimensions;},getWidth:function(){return this.getDimensions().width;},getHeight:function(){return this.getDimensions().height;},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop);}};var Selector=Class.create({initialize:function(expression){this.expression=expression.strip();if(this.shouldUseSelectorsAPI()){this.mode='selectorsAPI';}else if(this.shouldUseXPath()){this.mode='xpath';this.compileXPathMatcher();}else{this.mode="normal";this.compileMatcher();}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath)return false;var e=this.expression;if(Prototype.Browser.WebKit&&(e.include("-of-type")||e.include(":empty")))
179
- return false;if((/(\[[\w-]*?:|:checked)/).test(e))
180
- return false;return true;},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI)return false;if(!Selector._div)Selector._div=new Element('div');try{Selector._div.querySelector(this.expression);}catch(e){return false;}
181
- return true;},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return;}
182
- this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],'');break;}}}
183
- this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join('\n'));Selector._cache[this.expression]=this.matcher;},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache[e]){this.xpath=Selector._cache[e];return;}
184
- this.matcher=['.//*'];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps[i])){this.matcher.push(Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m));e=e.replace(m[0],'');break;}}}
185
- this.xpath=this.matcher.join('');Selector._cache[this.expression]=this.xpath;},findElements:function(root){root=root||document;var e=this.expression,results;switch(this.mode){case'selectorsAPI':if(root!==document){var oldId=root.id,id=$(root).identify();e="#"+id+" "+e;}
186
- results=$A(root.querySelectorAll(e)).map(Element.extend);root.id=oldId;return results;case'xpath':return document._getElementsByXPath(this.xpath,root);default:return this.matcher(root);}},match:function(element){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var le,p,m;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){if(as[i]){this.tokens.push([i,Object.clone(m)]);e=e.replace(m[0],'');}else{return this.findElements(document).include(element);}}}}
187
- var match=true,name,matches;for(var i=0,token;token=this.tokens[i];i++){name=token[0],matches=token[1];if(!Selector.assertions[name](element,matches)){match=false;break;}}
188
- return match;},toString:function(){return this.expression;},inspect:function(){return"#<Selector:"+this.expression.inspect()+">";}});Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:'/following-sibling::*',tagName:function(m){if(m[1]=='*')return'';return"[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']";},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:function(m){m[1]=m[1].toLowerCase();return new Template("[@#{1}]").evaluate(m);},attr:function(m){m[1]=m[1].toLowerCase();m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m);},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h)return'';if(Object.isFunction(h))return h(m);return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);},operators:{'=':"[@#{1}='#{3}']",'!=':"[@#{1}!='#{3}']",'^=':"[starts-with(@#{1}, '#{3}')]",'$=':"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']",'*=':"[contains(@#{1}, '#{3}')]",'~=':"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",'|=':"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{'first-child':'[not(preceding-sibling::*)]','last-child':'[not(following-sibling::*)]','only-child':'[not(preceding-sibling::* or following-sibling::*)]','empty':"[count(*) = 0 and (count(text()) = 0)]",'checked':"[@checked]",'disabled':"[(@disabled) and (@type!='hidden')]",'enabled':"[not(@disabled) and (@type!='hidden')]",'not':function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,v;var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p[i])){v=Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m);exclusion.push("("+v.substring(1,v.length-1)+")");e=e.replace(m[0],'');break;}}}
189
- return"[not("+exclusion.join(" and ")+")]";},'nth-child':function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m);},'nth-last-child':function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m);},'nth-of-type':function(m){return Selector.xpath.pseudos.nth("position() ",m);},'nth-last-of-type':function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m);},'first-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-of-type'](m);},'last-of-type':function(m){m[6]="1";return Selector.xpath.pseudos['nth-last-of-type'](m);},'only-of-type':function(m){var p=Selector.xpath.pseudos;return p['first-of-type'](m)+p['last-of-type'](m);},nth:function(fragment,m){var mm,formula=m[6],predicate;if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';if(mm=formula.match(/^(\d+)$/))
190
- return'['+fragment+"= "+mm[1]+']';if(mm=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-")mm[1]=-1;var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;predicate="[((#{fragment} - #{b}) mod #{a} = 0) and "+"((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(predicate).evaluate({fragment:fragment,a:a,b:b});}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c); c = false;',className:'n = h.className(n, r, "#{1}", c); c = false;',id:'n = h.id(n, r, "#{1}", c); c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}", c); c = false;',attr:function(m){m[3]=(m[5]||m[6]);return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m);},pseudo:function(m){if(m[6])m[6]=m[6].replace(/"/g,'\\"');return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m);},descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/},assertions:{tagName:function(element,matches){return matches[1].toUpperCase()==element.tagName.toUpperCase();},className:function(element,matches){return Element.hasClassName(element,matches[1]);},id:function(element,matches){return element.id===matches[1];},attrPresence:function(element,matches){return Element.hasAttribute(element,matches[1]);},attr:function(element,matches){var nodeValue=Element.readAttribute(element,matches[1]);return nodeValue&&Selector.operators[matches[2]](nodeValue,matches[5]||matches[6]);}},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++)
191
- a.push(node);return a;},mark:function(nodes){var _true=Prototype.emptyFunction;for(var i=0,node;node=nodes[i];i++)
192
- node._countedByPrototype=_true;return nodes;},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)
193
- node._countedByPrototype=undefined;return nodes;},index:function(parentNode,reverse,ofType){parentNode._countedByPrototype=Prototype.emptyFunction;if(reverse){for(var nodes=parentNode.childNodes,i=nodes.length-1,j=1;i>=0;i--){var node=nodes[i];if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++;}}else{for(var i=0,j=1,nodes=parentNode.childNodes;node=nodes[i];i++)
194
- if(node.nodeType==1&&(!ofType||node._countedByPrototype))node.nodeIndex=j++;}},unique:function(nodes){if(nodes.length==0)return nodes;var results=[],n;for(var i=0,l=nodes.length;i<l;i++)
195
- if(!(n=nodes[i])._countedByPrototype){n._countedByPrototype=Prototype.emptyFunction;results.push(Element.extend(n));}
196
- return Selector.handlers.unmark(results);},descendant:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)
197
- h.concat(results,node.getElementsByTagName('*'));return results;},child:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){for(var j=0,child;child=node.childNodes[j];j++)
198
- if(child.nodeType==1&&child.tagName!='!')results.push(child);}
199
- return results;},adjacent:function(nodes){for(var i=0,results=[],node;node=nodes[i];i++){var next=this.nextElementSibling(node);if(next)results.push(next);}
200
- return results;},laterSibling:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)
201
- h.concat(results,Element.nextSiblings(node));return results;},nextElementSibling:function(node){while(node=node.nextSibling)
202
- if(node.nodeType==1)return node;return null;},previousElementSibling:function(node){while(node=node.previousSibling)
203
- if(node.nodeType==1)return node;return null;},tagName:function(nodes,root,tagName,combinator){var uTagName=tagName.toUpperCase();var results=[],h=Selector.handlers;if(nodes){if(combinator){if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++)
204
- h.concat(results,node.getElementsByTagName(tagName));return results;}else nodes=this[combinator](nodes);if(tagName=="*")return nodes;}
205
- for(var i=0,node;node=nodes[i];i++)
206
- if(node.tagName.toUpperCase()===uTagName)results.push(node);return results;}else return root.getElementsByTagName(tagName);},id:function(nodes,root,id,combinator){var targetNode=$(id),h=Selector.handlers;if(!targetNode)return[];if(!nodes&&root==document)return[targetNode];if(nodes){if(combinator){if(combinator=='child'){for(var i=0,node;node=nodes[i];i++)
207
- if(targetNode.parentNode==node)return[targetNode];}else if(combinator=='descendant'){for(var i=0,node;node=nodes[i];i++)
208
- if(Element.descendantOf(targetNode,node))return[targetNode];}else if(combinator=='adjacent'){for(var i=0,node;node=nodes[i];i++)
209
- if(Selector.handlers.previousElementSibling(targetNode)==node)
210
- return[targetNode];}else nodes=h[combinator](nodes);}
211
- for(var i=0,node;node=nodes[i];i++)
212
- if(node==targetNode)return[targetNode];return[];}
213
- return(targetNode&&Element.descendantOf(targetNode,root))?[targetNode]:[];},className:function(nodes,root,className,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);return Selector.handlers.byClassName(nodes,root,className);},byClassName:function(nodes,root,className){if(!nodes)nodes=Selector.handlers.descendant([root]);var needle=' '+className+' ';for(var i=0,results=[],node,nodeClassName;node=nodes[i];i++){nodeClassName=node.className;if(nodeClassName.length==0)continue;if(nodeClassName==className||(' '+nodeClassName+' ').include(needle))
214
- results.push(node);}
215
- return results;},attrPresence:function(nodes,root,attr,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var results=[];for(var i=0,node;node=nodes[i];i++)
216
- if(Element.hasAttribute(node,attr))results.push(node);return results;},attr:function(nodes,root,attr,value,operator,combinator){if(!nodes)nodes=root.getElementsByTagName("*");if(nodes&&combinator)nodes=this[combinator](nodes);var handler=Selector.operators[operator],results=[];for(var i=0,node;node=nodes[i];i++){var nodeValue=Element.readAttribute(node,attr);if(nodeValue===null)continue;if(handler(nodeValue,value))results.push(node);}
217
- return results;},pseudo:function(nodes,name,value,root,combinator){if(nodes&&combinator)nodes=this[combinator](nodes);if(!nodes)nodes=root.getElementsByTagName("*");return Selector.pseudos[name](nodes,value,root);}},pseudos:{'first-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(node))continue;results.push(node);}
218
- return results;},'last-child':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.nextElementSibling(node))continue;results.push(node);}
219
- return results;},'only-child':function(nodes,value,root){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++)
220
- if(!h.previousElementSibling(node)&&!h.nextElementSibling(node))
221
- results.push(node);return results;},'nth-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root);},'nth-last-child':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true);},'nth-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,false,true);},'nth-last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true,true);},'first-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,false,true);},'last-of-type':function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,true,true);},'only-of-type':function(nodes,formula,root){var p=Selector.pseudos;return p['last-of-type'](p['first-of-type'](nodes,formula,root),formula,root);},getIndices:function(a,b,total){if(a==0)return b>0?[b]:[];return $R(1,total).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0)memo.push(i);return memo;});},nth:function(nodes,formula,root,reverse,ofType){if(nodes.length==0)return[];if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';var h=Selector.handlers,results=[],indexed=[],m;h.mark(nodes);for(var i=0,node;node=nodes[i];i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,reverse,ofType);indexed.push(node.parentNode);}}
222
- if(formula.match(/^\d+$/)){formula=Number(formula);for(var i=0,node;node=nodes[i];i++)
223
- if(node.nodeIndex==formula)results.push(node);}else if(m=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-")m[1]=-1;var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var indices=Selector.pseudos.getIndices(a,b,nodes.length);for(var i=0,node,l=indices.length;node=nodes[i];i++){for(var j=0;j<l;j++)
224
- if(node.nodeIndex==indices[j])results.push(node);}}
225
- h.unmark(nodes);h.unmark(indexed);return results;},'empty':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.tagName=='!'||node.firstChild)continue;results.push(node);}
226
- return results;},'not':function(nodes,selector,root){var h=Selector.handlers,selectorType,m;var exclusions=new Selector(selector).findElements(root);h.mark(exclusions);for(var i=0,results=[],node;node=nodes[i];i++)
227
- if(!node._countedByPrototype)results.push(node);h.unmark(exclusions);return results;},'enabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)
228
- if(!node.disabled&&(!node.type||node.type!=='hidden'))
229
- results.push(node);return results;},'disabled':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)
230
- if(node.disabled)results.push(node);return results;},'checked':function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++)
231
- if(node.checked)results.push(node);return results;}},operators:{'=':function(nv,v){return nv==v;},'!=':function(nv,v){return nv!=v;},'^=':function(nv,v){return nv==v||nv&&nv.startsWith(v);},'$=':function(nv,v){return nv==v||nv&&nv.endsWith(v);},'*=':function(nv,v){return nv==v||nv&&nv.include(v);},'$=':function(nv,v){return nv.endsWith(v);},'*=':function(nv,v){return nv.include(v);},'~=':function(nv,v){return(' '+nv+' ').include(' '+v+' ');},'|=':function(nv,v){return('-'+(nv||"").toUpperCase()+'-').include('-'+(v||"").toUpperCase()+'-');}},split:function(expression){var expressions=[];expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){expressions.push(m[1].strip());});return expressions;},matchElements:function(elements,expression){var matches=$$(expression),h=Selector.handlers;h.mark(matches);for(var i=0,results=[],element;element=elements[i];i++)
232
- if(element._countedByPrototype)results.push(element);h.unmark(matches);return results;},findElement:function(elements,expression,index){if(Object.isNumber(expression)){index=expression;expression=false;}
233
- return Selector.matchElements(elements,expression||'*')[index||0];},findChildElements:function(element,expressions){expressions=Selector.split(expressions.join(','));var results=[],h=Selector.handlers;for(var i=0,l=expressions.length,selector;i<l;i++){selector=new Selector(expressions[i].strip());h.concat(results,selector.findElements(element));}
234
- return(l>1)?h.unique(results):results;}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b[i];i++)
235
- if(node.tagName!=="!")a.push(node);return a;},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++)
236
- node.removeAttribute('_countedByPrototype');return nodes;}});}
237
- function $$(){return Selector.findChildElements(document,$A(arguments));}
238
- var Form={reset:function(form){$(form).reset();return form;},serializeElements:function(elements,options){if(typeof options!='object')options={hash:!!options};else if(Object.isUndefined(options.hash))options.hash=true;var key,value,submitted=false,submit=options.submit;var data=elements.inject({},function(result,element){if(!element.disabled&&element.name){key=element.name;value=$(element).getValue();if(value!=null&&element.type!='file'&&(element.type!='submit'||(!submitted&&submit!==false&&(!submit||key==submit)&&(submitted=true)))){if(key in result){if(!Object.isArray(result[key]))result[key]=[result[key]];result[key].push(value);}
239
- else result[key]=value;}}
240
- return result;});return options.hash?data:Object.toQueryString(data);}};Form.Methods={serialize:function(form,options){return Form.serializeElements(Form.getElements(form),options);},getElements:function(form){return $A($(form).getElementsByTagName('*')).inject([],function(elements,child){if(Form.Element.Serializers[child.tagName.toLowerCase()])
241
- elements.push(Element.extend(child));return elements;});},getInputs:function(form,typeName,name){form=$(form);var inputs=form.getElementsByTagName('input');if(!typeName&&!name)return $A(inputs).map(Element.extend);for(var i=0,matchingInputs=[],length=inputs.length;i<length;i++){var input=inputs[i];if((typeName&&input.type!=typeName)||(name&&input.name!=name))
242
- continue;matchingInputs.push(Element.extend(input));}
243
- return matchingInputs;},disable:function(form){form=$(form);Form.getElements(form).invoke('disable');return form;},enable:function(form){form=$(form);Form.getElements(form).invoke('enable');return form;},findFirstElement:function(form){var elements=$(form).getElements().findAll(function(element){return'hidden'!=element.type&&!element.disabled;});var firstByIndex=elements.findAll(function(element){return element.hasAttribute('tabIndex')&&element.tabIndex>=0;}).sortBy(function(element){return element.tabIndex}).first();return firstByIndex?firstByIndex:elements.find(function(element){return['input','select','textarea'].include(element.tagName.toLowerCase());});},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form;},request:function(form,options){form=$(form),options=Object.clone(options||{});var params=options.parameters,action=form.readAttribute('action')||'';if(action.blank())action=window.location.href;options.parameters=form.serialize(true);if(params){if(Object.isString(params))params=params.toQueryParams();Object.extend(options.parameters,params);}
244
- if(form.hasAttribute('method')&&!options.method)
245
- options.method=form.method;return new Ajax.Request(action,options);}};Form.Element={focus:function(element){$(element).focus();return element;},select:function(element){$(element).select();return element;}};Form.Element.Methods={serialize:function(element){element=$(element);if(!element.disabled&&element.name){var value=element.getValue();if(value!=undefined){var pair={};pair[element.name]=value;return Object.toQueryString(pair);}}
246
- return'';},getValue:function(element){element=$(element);var method=element.tagName.toLowerCase();return Form.Element.Serializers[method](element);},setValue:function(element,value){element=$(element);var method=element.tagName.toLowerCase();Form.Element.Serializers[method](element,value);return element;},clear:function(element){$(element).value='';return element;},present:function(element){return $(element).value!='';},activate:function(element){element=$(element);try{element.focus();if(element.select&&(element.tagName.toLowerCase()!='input'||!['button','reset','submit'].include(element.type)))
247
- element.select();}catch(e){}
248
- return element;},disable:function(element){element=$(element);element.disabled=true;return element;},enable:function(element){element=$(element);element.disabled=false;return element;}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(element,value){switch(element.type.toLowerCase()){case'checkbox':case'radio':return Form.Element.Serializers.inputSelector(element,value);default:return Form.Element.Serializers.textarea(element,value);}},inputSelector:function(element,value){if(Object.isUndefined(value))return element.checked?element.value:null;else element.checked=!!value;},textarea:function(element,value){if(Object.isUndefined(value))return element.value;else element.value=value;},select:function(element,value){if(Object.isUndefined(value))
249
- return this[element.type=='select-one'?'selectOne':'selectMany'](element);else{var opt,currentValue,single=!Object.isArray(value);for(var i=0,length=element.length;i<length;i++){opt=element.options[i];currentValue=this.optionValue(opt);if(single){if(currentValue==value){opt.selected=true;return;}}
250
- else opt.selected=value.include(currentValue);}}},selectOne:function(element){var index=element.selectedIndex;return index>=0?this.optionValue(element.options[index]):null;},selectMany:function(element){var values,length=element.length;if(!length)return null;for(var i=0,values=[];i<length;i++){var opt=element.options[i];if(opt.selected)values.push(this.optionValue(opt));}
251
- return values;},optionValue:function(opt){return Element.extend(opt).hasAttribute('value')?opt.value:opt.text;}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,element,frequency,callback){$super(callback,frequency);this.element=$(element);this.lastValue=this.getValue();},execute:function(){var value=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(value)?this.lastValue!=value:String(this.lastValue)!=String(value)){this.callback(this.element,value);this.lastValue=value;}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element);}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element);}});Abstract.EventObserver=Class.create({initialize:function(element,callback){this.element=$(element);this.callback=callback;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=='form')
252
- this.registerFormCallbacks();else
253
- this.registerCallback(this.element);},onElementEvent:function(){var value=this.getValue();if(this.lastValue!=value){this.callback(this.element,value);this.lastValue=value;}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this);},registerCallback:function(element){if(element.type){switch(element.type.toLowerCase()){case'checkbox':case'radio':Event.observe(element,'click',this.onElementEvent.bind(this));break;default:Event.observe(element,'change',this.onElementEvent.bind(this));break;}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element);}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element);}});if(!window.Event)var Event={};Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(event){var element;switch(event.type){case'mouseover':element=event.fromElement;break;case'mouseout':element=event.toElement;break;default:return null;}
254
- return Element.extend(element);}});Event.Methods=(function(){var isButton;if(Prototype.Browser.IE){var buttonMap={0:1,1:4,2:2};isButton=function(event,code){return event.button==buttonMap[code];};}else if(Prototype.Browser.WebKit){isButton=function(event,code){switch(code){case 0:return event.which==1&&!event.metaKey;case 1:return event.which==1&&event.metaKey;default:return false;}};}else{isButton=function(event,code){return event.which?(event.which===code+1):(event.button===code);};}
255
- return{isLeftClick:function(event){return isButton(event,0)},isMiddleClick:function(event){return isButton(event,1)},isRightClick:function(event){return isButton(event,2)},element:function(event){event=Event.extend(event);var node=event.target,type=event.type,currentTarget=event.currentTarget;if(currentTarget&&currentTarget.tagName){if(type==='load'||type==='error'||(type==='click'&&currentTarget.tagName.toLowerCase()==='input'&&currentTarget.type==='radio'))
256
- node=currentTarget;}
257
- if(node.nodeType==Node.TEXT_NODE)node=node.parentNode;return Element.extend(node);},findElement:function(event,expression){var element=Event.element(event);if(!expression)return element;var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0);},pointer:function(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0,scrollTop:0};return{x:event.pageX||(event.clientX+
258
- (docElement.scrollLeft||body.scrollLeft)-
259
- (docElement.clientLeft||0)),y:event.pageY||(event.clientY+
260
- (docElement.scrollTop||body.scrollTop)-
261
- (docElement.clientTop||0))};},pointerX:function(event){return Event.pointer(event).x},pointerY:function(event){return Event.pointer(event).y},stop:function(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true;}};})();Event.extend=(function(){var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m;});if(Prototype.Browser.IE){Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});return function(event){if(!event)return false;if(event._extendedByPrototype)return event;event._extendedByPrototype=Prototype.emptyFunction;var pointer=Event.pointer(event);Object.extend(event,{target:event.srcElement,relatedTarget:Event.relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods);};}else{Event.prototype=Event.prototype||document.createEvent("HTMLEvents")['__proto__'];Object.extend(Event.prototype,methods);return Prototype.K;}})();Object.extend(Event,(function(){var cache=Event.cache;function getEventID(element){if(element._prototypeEventID)return element._prototypeEventID[0];arguments.callee.id=arguments.callee.id||1;return element._prototypeEventID=[++arguments.callee.id];}
262
- function getDOMEventName(eventName){if(eventName&&eventName.include(':'))return"dataavailable";return eventName;}
263
- function getCacheForID(id){return cache[id]=cache[id]||{};}
264
- function getWrappersForEventName(id,eventName){var c=getCacheForID(id);return c[eventName]=c[eventName]||[];}
265
- function createWrapper(element,eventName,handler){var id=getEventID(element);var c=getWrappersForEventName(id,eventName);if(c.pluck("handler").include(handler))return false;var wrapper=function(event){if(!Event||!Event.extend||(event.eventName&&event.eventName!=eventName))
266
- return false;Event.extend(event);handler.call(element,event);};wrapper.handler=handler;c.push(wrapper);return wrapper;}
267
- function findWrapper(id,eventName,handler){var c=getWrappersForEventName(id,eventName);return c.find(function(wrapper){return wrapper.handler==handler});}
268
- function destroyWrapper(id,eventName,handler){var c=getCacheForID(id);if(!c[eventName])return false;c[eventName]=c[eventName].without(findWrapper(id,eventName,handler));}
269
- function destroyCache(){for(var id in cache)
270
- for(var eventName in cache[id])
271
- cache[id][eventName]=null;}
272
- if(window.attachEvent){window.attachEvent("onunload",destroyCache);}
273
- if(Prototype.Browser.WebKit){window.addEventListener('unload',Prototype.emptyFunction,false);}
274
- return{observe:function(element,eventName,handler){element=$(element);var name=getDOMEventName(eventName);var wrapper=createWrapper(element,eventName,handler);if(!wrapper)return element;if(element.addEventListener){element.addEventListener(name,wrapper,false);}else{element.attachEvent("on"+name,wrapper);}
275
- return element;},stopObserving:function(element,eventName,handler){element=$(element);var id=getEventID(element),name=getDOMEventName(eventName);if(!handler&&eventName){getWrappersForEventName(id,eventName).each(function(wrapper){element.stopObserving(eventName,wrapper.handler);});return element;}else if(!eventName){Object.keys(getCacheForID(id)).each(function(eventName){element.stopObserving(eventName);});return element;}
276
- var wrapper=findWrapper(id,eventName,handler);if(!wrapper)return element;if(element.removeEventListener){element.removeEventListener(name,wrapper,false);}else{element.detachEvent("on"+name,wrapper);}
277
- destroyWrapper(id,eventName,handler);return element;},fire:function(element,eventName,memo){element=$(element);if(element==document&&document.createEvent&&!element.dispatchEvent)
278
- element=document.documentElement;var event;if(document.createEvent){event=document.createEvent("HTMLEvents");event.initEvent("dataavailable",true,true);}else{event=document.createEventObject();event.eventType="ondataavailable";}
279
- event.eventName=eventName;event.memo=memo||{};if(document.createEvent){element.dispatchEvent(event);}else{element.fireEvent(event.eventType,event);}
280
- return Event.extend(event);}};})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var timer;function fireContentLoadedEvent(){if(document.loaded)return;if(timer)window.clearInterval(timer);document.fire("dom:loaded");document.loaded=true;}
281
- if(document.addEventListener){if(Prototype.Browser.WebKit){timer=window.setInterval(function(){if(/loaded|complete/.test(document.readyState))
282
- fireContentLoadedEvent();},0);Event.observe(window,"load",fireContentLoadedEvent);}else{document.addEventListener("DOMContentLoaded",fireContentLoadedEvent,false);}}else{document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");$("__onDOMContentLoaded").onreadystatechange=function(){if(this.readyState=="complete"){this.onreadystatechange=null;fireContentLoadedEvent();}};}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(element,content){return Element.insert(element,{before:content});},Top:function(element,content){return Element.insert(element,{top:content});},Bottom:function(element,content){return Element.insert(element,{bottom:content});},After:function(element,content){return Element.insert(element,{after:content});}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;},within:function(element,x,y){if(this.includeScrollOffsets)
283
- return this.withinIncludingScrolloffsets(element,x,y);this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(element);return(y>=this.offset[1]&&y<this.offset[1]+element.offsetHeight&&x>=this.offset[0]&&x<this.offset[0]+element.offsetWidth);},withinIncludingScrolloffsets:function(element,x,y){var offsetcache=Element.cumulativeScrollOffset(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=Element.cumulativeOffset(element);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+element.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+element.offsetWidth);},overlap:function(mode,element){if(!mode)return 0;if(mode=='vertical')
284
- return((this.offset[1]+element.offsetHeight)-this.ycomp)/element.offsetHeight;if(mode=='horizontal')
285
- return((this.offset[0]+element.offsetWidth)-this.xcomp)/element.offsetWidth;},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(element){Position.prepare();return Element.absolutize(element);},relativize:function(element){Position.prepare();return Element.relativize(element);},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(source,target,options){options=options||{};return Element.clonePosition(target,source,options);}};if(!document.getElementsByClassName)document.getElementsByClassName=function(instanceMethods){function iter(name){return name.blank()?null:"[contains(concat(' ', @class, ' '), ' "+name+" ')]";}
286
- instanceMethods.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(element,className){className=className.toString().strip();var cond=/\s/.test(className)?$w(className).map(iter).join(''):iter(className);return cond?document._getElementsByXPath('.//*'+cond,element):[];}:function(element,className){className=className.toString().strip();var elements=[],classNames=(/\s/.test(className)?$w(className):null);if(!classNames&&!className)return elements;var nodes=$(element).getElementsByTagName('*');className=' '+className+' ';for(var i=0,child,cn;child=nodes[i];i++){if(child.className&&(cn=' '+child.className+' ')&&(cn.include(className)||(classNames&&classNames.all(function(name){return!name.toString().blank()&&cn.include(' '+name+' ');}))))
287
- elements.push(Element.extend(child));}
288
- return elements;};return function(className,parentElement){return $(parentElement||document.body).getElementsByClassName(className);};}(Element.Methods);Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(element){this.element=$(element);},_each:function(iterator){this.element.className.split(/\s+/).select(function(name){return name.length>0;})._each(iterator);},set:function(className){this.element.className=className;},add:function(classNameToAdd){if(this.include(classNameToAdd))return;this.set($A(this).concat(classNameToAdd).join(' '));},remove:function(classNameToRemove){if(!this.include(classNameToRemove))return;this.set($A(this).without(classNameToRemove).join(' '));},toString:function(){return $A(this).join(' ');}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();String.prototype.parseColor=function(){var color='#';if(this.slice(0,4)=='rgb('){var cols=this.slice(4,this.length-1).split(',');var i=0;do{color+=parseInt(cols[i]).toColorPart()}while(++i<3);}else{if(this.slice(0,1)=='#'){if(this.length==4)for(var i=1;i<4;i++)color+=(this.charAt(i)+this.charAt(i)).toLowerCase();if(this.length==7)color=this.toLowerCase();}}
289
- return(color.length==7?color:(arguments[0]||this));};Element.collectTextNodes=function(element){return $A($(element).childNodes).collect(function(node){return(node.nodeType==3?node.nodeValue:(node.hasChildNodes()?Element.collectTextNodes(node):''));}).flatten().join('');};Element.collectTextNodesIgnoreClass=function(element,className){return $A($(element).childNodes).collect(function(node){return(node.nodeType==3?node.nodeValue:((node.hasChildNodes()&&!Element.hasClassName(node,className))?Element.collectTextNodesIgnoreClass(node,className):''));}).flatten().join('');};Element.setContentZoom=function(element,percent){element=$(element);element.setStyle({fontSize:(percent/100)+'em'});if(Prototype.Browser.WebKit)window.scrollBy(0,0);return element;};Element.getInlineOpacity=function(element){return $(element).style.opacity||'';};Element.forceRerendering=function(element){try{element=$(element);var n=document.createTextNode(' ');element.appendChild(n);element.removeChild(n);}catch(e){}};var Effect={_elementDoesNotExistError:{name:'ElementDoesNotExistError',message:'The specified DOM element does not exist, but is required for this effect to operate'},Transitions:{linear:Prototype.K,sinoidal:function(pos){return(-Math.cos(pos*Math.PI)/2)+.5;},reverse:function(pos){return 1-pos;},flicker:function(pos){var pos=((-Math.cos(pos*Math.PI)/4)+.75)+Math.random()/4;return pos>1?1:pos;},wobble:function(pos){return(-Math.cos(pos*Math.PI*(9*pos))/2)+.5;},pulse:function(pos,pulses){return(-Math.cos((pos*((pulses||5)-.5)*2)*Math.PI)/2)+.5;},spring:function(pos){return 1-(Math.cos(pos*4.5*Math.PI)*Math.exp(-pos*6));},none:function(pos){return 0;},full:function(pos){return 1;}},DefaultOptions:{duration:1.0,fps:100,sync:false,from:0.0,to:1.0,delay:0.0,queue:'parallel'},tagifyText:function(element){var tagifyStyle='position:relative';if(Prototype.Browser.IE)tagifyStyle+=';zoom:1';element=$(element);$A(element.childNodes).each(function(child){if(child.nodeType==3){child.nodeValue.toArray().each(function(character){element.insertBefore(new Element('span',{style:tagifyStyle}).update(character==' '?String.fromCharCode(160):character),child);});Element.remove(child);}});},multiple:function(element,effect){var elements;if(((typeof element=='object')||Object.isFunction(element))&&(element.length))
290
- elements=element;else
291
- elements=$(element).childNodes;var options=Object.extend({speed:0.1,delay:0.0},arguments[2]||{});var masterDelay=options.delay;$A(elements).each(function(element,index){new effect(element,Object.extend(options,{delay:index*options.speed+masterDelay}));});},PAIRS:{'slide':['SlideDown','SlideUp'],'blind':['BlindDown','BlindUp'],'appear':['Appear','Fade']},toggle:function(element,effect){element=$(element);effect=(effect||'appear').toLowerCase();var options=Object.extend({queue:{position:'end',scope:(element.id||'global'),limit:1}},arguments[2]||{});Effect[element.visible()?Effect.PAIRS[effect][1]:Effect.PAIRS[effect][0]](element,options);}};Effect.DefaultOptions.transition=Effect.Transitions.sinoidal;Effect.ScopedQueue=Class.create(Enumerable,{initialize:function(){this.effects=[];this.interval=null;},_each:function(iterator){this.effects._each(iterator);},add:function(effect){var timestamp=new Date().getTime();var position=Object.isString(effect.options.queue)?effect.options.queue:effect.options.queue.position;switch(position){case'front':this.effects.findAll(function(e){return e.state=='idle'}).each(function(e){e.startOn+=effect.finishOn;e.finishOn+=effect.finishOn;});break;case'with-last':timestamp=this.effects.pluck('startOn').max()||timestamp;break;case'end':timestamp=this.effects.pluck('finishOn').max()||timestamp;break;}
292
- effect.startOn+=timestamp;effect.finishOn+=timestamp;if(!effect.options.queue.limit||(this.effects.length<effect.options.queue.limit))
293
- this.effects.push(effect);if(!this.interval)
294
- this.interval=setInterval(this.loop.bind(this),15);},remove:function(effect){this.effects=this.effects.reject(function(e){return e==effect});if(this.effects.length==0){clearInterval(this.interval);this.interval=null;}},loop:function(){var timePos=new Date().getTime();for(var i=0,len=this.effects.length;i<len;i++)
295
- this.effects[i]&&this.effects[i].loop(timePos);}});Effect.Queues={instances:$H(),get:function(queueName){if(!Object.isString(queueName))return queueName;return this.instances.get(queueName)||this.instances.set(queueName,new Effect.ScopedQueue());}};Effect.Queue=Effect.Queues.get('global');Effect.Base=Class.create({position:null,start:function(options){function codeForEvent(options,eventName){return((options[eventName+'Internal']?'this.options.'+eventName+'Internal(this);':'')+
296
- (options[eventName]?'this.options.'+eventName+'(this);':''));}
297
- if(options&&options.transition===false)options.transition=Effect.Transitions.linear;this.options=Object.extend(Object.extend({},Effect.DefaultOptions),options||{});this.currentFrame=0;this.state='idle';this.startOn=this.options.delay*1000;this.finishOn=this.startOn+(this.options.duration*1000);this.fromToDelta=this.options.to-this.options.from;this.totalTime=this.finishOn-this.startOn;this.totalFrames=this.options.fps*this.options.duration;this.render=(function(){function dispatch(effect,eventName){if(effect.options[eventName+'Internal'])
298
- effect.options[eventName+'Internal'](effect);if(effect.options[eventName])
299
- effect.options[eventName](effect);}
300
- return function(pos){if(this.state==="idle"){this.state="running";dispatch(this,'beforeSetup');if(this.setup)this.setup();dispatch(this,'afterSetup');}
301
- if(this.state==="running"){pos=(this.options.transition(pos)*this.fromToDelta)+this.options.from;this.position=pos;dispatch(this,'beforeUpdate');if(this.update)this.update(pos);dispatch(this,'afterUpdate');}};})();this.event('beforeStart');if(!this.options.sync)
302
- Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).add(this);},loop:function(timePos){if(timePos>=this.startOn){if(timePos>=this.finishOn){this.render(1.0);this.cancel();this.event('beforeFinish');if(this.finish)this.finish();this.event('afterFinish');return;}
303
- var pos=(timePos-this.startOn)/this.totalTime,frame=(pos*this.totalFrames).round();if(frame>this.currentFrame){this.render(pos);this.currentFrame=frame;}}},cancel:function(){if(!this.options.sync)
304
- Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).remove(this);this.state='finished';},event:function(eventName){if(this.options[eventName+'Internal'])this.options[eventName+'Internal'](this);if(this.options[eventName])this.options[eventName](this);},inspect:function(){var data=$H();for(property in this)
305
- if(!Object.isFunction(this[property]))data.set(property,this[property]);return'#<Effect:'+data.inspect()+',options:'+$H(this.options).inspect()+'>';}});Effect.Parallel=Class.create(Effect.Base,{initialize:function(effects){this.effects=effects||[];this.start(arguments[1]);},update:function(position){this.effects.invoke('render',position);},finish:function(position){this.effects.each(function(effect){effect.render(1.0);effect.cancel();effect.event('beforeFinish');if(effect.finish)effect.finish(position);effect.event('afterFinish');});}});Effect.Tween=Class.create(Effect.Base,{initialize:function(object,from,to){object=Object.isString(object)?$(object):object;var args=$A(arguments),method=args.last(),options=args.length==5?args[3]:null;this.method=Object.isFunction(method)?method.bind(object):Object.isFunction(object[method])?object[method].bind(object):function(value){object[method]=value};this.start(Object.extend({from:from,to:to},options||{}));},update:function(position){this.method(position);}});Effect.Event=Class.create(Effect.Base,{initialize:function(){this.start(Object.extend({duration:0},arguments[0]||{}));},update:Prototype.emptyFunction});Effect.Opacity=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);if(Prototype.Browser.IE&&(!this.element.currentStyle.hasLayout))
306
- this.element.setStyle({zoom:1});var options=Object.extend({from:this.element.getOpacity()||0.0,to:1.0},arguments[1]||{});this.start(options);},update:function(position){this.element.setOpacity(position);}});Effect.Move=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({x:0,y:0,mode:'relative'},arguments[1]||{});this.start(options);},setup:function(){this.element.makePositioned();this.originalLeft=parseFloat(this.element.getStyle('left')||'0');this.originalTop=parseFloat(this.element.getStyle('top')||'0');if(this.options.mode=='absolute'){this.options.x=this.options.x-this.originalLeft;this.options.y=this.options.y-this.originalTop;}},update:function(position){this.element.setStyle({left:(this.options.x*position+this.originalLeft).round()+'px',top:(this.options.y*position+this.originalTop).round()+'px'});}});Effect.MoveBy=function(element,toTop,toLeft){return new Effect.Move(element,Object.extend({x:toLeft,y:toTop},arguments[3]||{}));};Effect.Scale=Class.create(Effect.Base,{initialize:function(element,percent){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({scaleX:true,scaleY:true,scaleContent:true,scaleFromCenter:false,scaleMode:'box',scaleFrom:100.0,scaleTo:percent},arguments[2]||{});this.start(options);},setup:function(){this.restoreAfterFinish=this.options.restoreAfterFinish||false;this.elementPositioning=this.element.getStyle('position');this.originalStyle={};['top','left','width','height','fontSize'].each(function(k){this.originalStyle[k]=this.element.style[k];}.bind(this));this.originalTop=this.element.offsetTop;this.originalLeft=this.element.offsetLeft;var fontSize=this.element.getStyle('font-size')||'100%';['em','px','%','pt'].each(function(fontSizeType){if(fontSize.indexOf(fontSizeType)>0){this.fontSize=parseFloat(fontSize);this.fontSizeType=fontSizeType;}}.bind(this));this.factor=(this.options.scaleTo-this.options.scaleFrom)/100;this.dims=null;if(this.options.scaleMode=='box')
307
- this.dims=[this.element.offsetHeight,this.element.offsetWidth];if(/^content/.test(this.options.scaleMode))
308
- this.dims=[this.element.scrollHeight,this.element.scrollWidth];if(!this.dims)
309
- this.dims=[this.options.scaleMode.originalHeight,this.options.scaleMode.originalWidth];},update:function(position){var currentScale=(this.options.scaleFrom/100.0)+(this.factor*position);if(this.options.scaleContent&&this.fontSize)
310
- this.element.setStyle({fontSize:this.fontSize*currentScale+this.fontSizeType});this.setDimensions(this.dims[0]*currentScale,this.dims[1]*currentScale);},finish:function(position){if(this.restoreAfterFinish)this.element.setStyle(this.originalStyle);},setDimensions:function(height,width){var d={};if(this.options.scaleX)d.width=width.round()+'px';if(this.options.scaleY)d.height=height.round()+'px';if(this.options.scaleFromCenter){var topd=(height-this.dims[0])/2;var leftd=(width-this.dims[1])/2;if(this.elementPositioning=='absolute'){if(this.options.scaleY)d.top=this.originalTop-topd+'px';if(this.options.scaleX)d.left=this.originalLeft-leftd+'px';}else{if(this.options.scaleY)d.top=-topd+'px';if(this.options.scaleX)d.left=-leftd+'px';}}
311
- this.element.setStyle(d);}});Effect.Highlight=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({startcolor:'#ffff99'},arguments[1]||{});this.start(options);},setup:function(){if(this.element.getStyle('display')=='none'){this.cancel();return;}
312
- this.oldStyle={};if(!this.options.keepBackgroundImage){this.oldStyle.backgroundImage=this.element.getStyle('background-image');this.element.setStyle({backgroundImage:'none'});}
313
- if(!this.options.endcolor)
314
- this.options.endcolor=this.element.getStyle('background-color').parseColor('#ffffff');if(!this.options.restorecolor)
315
- this.options.restorecolor=this.element.getStyle('background-color');this._base=$R(0,2).map(function(i){return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16)}.bind(this));this._delta=$R(0,2).map(function(i){return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i]}.bind(this));},update:function(position){this.element.setStyle({backgroundColor:$R(0,2).inject('#',function(m,v,i){return m+((this._base[i]+(this._delta[i]*position)).round().toColorPart());}.bind(this))});},finish:function(){this.element.setStyle(Object.extend(this.oldStyle,{backgroundColor:this.options.restorecolor}));}});Effect.ScrollTo=function(element){var options=arguments[1]||{},scrollOffsets=document.viewport.getScrollOffsets(),elementOffsets=$(element).cumulativeOffset();if(options.offset)elementOffsets[1]+=options.offset;return new Effect.Tween(null,scrollOffsets.top,elementOffsets[1],options,function(p){scrollTo(scrollOffsets.left,p.round());});};Effect.Fade=function(element){element=$(element);var oldOpacity=element.getInlineOpacity();var options=Object.extend({from:element.getOpacity()||1.0,to:0.0,afterFinishInternal:function(effect){if(effect.options.to!=0)return;effect.element.hide().setStyle({opacity:oldOpacity});}},arguments[1]||{});return new Effect.Opacity(element,options);};Effect.Appear=function(element){element=$(element);var options=Object.extend({from:(element.getStyle('display')=='none'?0.0:element.getOpacity()||0.0),to:1.0,afterFinishInternal:function(effect){effect.element.forceRerendering();},beforeSetup:function(effect){effect.element.setOpacity(effect.options.from).show();}},arguments[1]||{});return new Effect.Opacity(element,options);};Effect.Puff=function(element){element=$(element);var oldStyle={opacity:element.getInlineOpacity(),position:element.getStyle('position'),top:element.style.top,left:element.style.left,width:element.style.width,height:element.style.height};return new Effect.Parallel([new Effect.Scale(element,200,{sync:true,scaleFromCenter:true,scaleContent:true,restoreAfterFinish:true}),new Effect.Opacity(element,{sync:true,to:0.0})],Object.extend({duration:1.0,beforeSetupInternal:function(effect){Position.absolutize(effect.effects[0].element);},afterFinishInternal:function(effect){effect.effects[0].element.hide().setStyle(oldStyle);}},arguments[1]||{}));};Effect.BlindUp=function(element){element=$(element);element.makeClipping();return new Effect.Scale(element,0,Object.extend({scaleContent:false,scaleX:false,restoreAfterFinish:true,afterFinishInternal:function(effect){effect.element.hide().undoClipping();}},arguments[1]||{}));};Effect.BlindDown=function(element){element=$(element);var elementDimensions=element.getDimensions();return new Effect.Scale(element,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:0,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makeClipping().setStyle({height:'0px'}).show();},afterFinishInternal:function(effect){effect.element.undoClipping();}},arguments[1]||{}));};Effect.SwitchOff=function(element){element=$(element);var oldOpacity=element.getInlineOpacity();return new Effect.Appear(element,Object.extend({duration:0.4,from:0,transition:Effect.Transitions.flicker,afterFinishInternal:function(effect){new Effect.Scale(effect.element,1,{duration:0.3,scaleFromCenter:true,scaleX:false,scaleContent:false,restoreAfterFinish:true,beforeSetup:function(effect){effect.element.makePositioned().makeClipping();},afterFinishInternal:function(effect){effect.element.hide().undoClipping().undoPositioned().setStyle({opacity:oldOpacity});}});}},arguments[1]||{}));};Effect.DropOut=function(element){element=$(element);var oldStyle={top:element.getStyle('top'),left:element.getStyle('left'),opacity:element.getInlineOpacity()};return new Effect.Parallel([new Effect.Move(element,{x:0,y:100,sync:true}),new Effect.Opacity(element,{sync:true,to:0.0})],Object.extend({duration:0.5,beforeSetup:function(effect){effect.effects[0].element.makePositioned();},afterFinishInternal:function(effect){effect.effects[0].element.hide().undoPositioned().setStyle(oldStyle);}},arguments[1]||{}));};Effect.Shake=function(element){element=$(element);var options=Object.extend({distance:20,duration:0.5},arguments[1]||{});var distance=parseFloat(options.distance);var split=parseFloat(options.duration)/10.0;var oldStyle={top:element.getStyle('top'),left:element.getStyle('left')};return new Effect.Move(element,{x:distance,y:0,duration:split,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:distance*2,y:0,duration:split*2,afterFinishInternal:function(effect){new Effect.Move(effect.element,{x:-distance,y:0,duration:split,afterFinishInternal:function(effect){effect.element.undoPositioned().setStyle(oldStyle);}});}});}});}});}});}});};Effect.SlideDown=function(element){element=$(element).cleanWhitespace();var oldInnerBottom=element.down().getStyle('bottom');var elementDimensions=element.getDimensions();return new Effect.Scale(element,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:window.opera?0:1,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makePositioned();effect.element.down().makePositioned();if(window.opera)effect.element.setStyle({top:''});effect.element.makeClipping().setStyle({height:'0px'}).show();},afterUpdateInternal:function(effect){effect.element.down().setStyle({bottom:(effect.dims[0]-effect.element.clientHeight)+'px'});},afterFinishInternal:function(effect){effect.element.undoClipping().undoPositioned();effect.element.down().undoPositioned().setStyle({bottom:oldInnerBottom});}},arguments[1]||{}));};Effect.SlideUp=function(element){element=$(element).cleanWhitespace();var oldInnerBottom=element.down().getStyle('bottom');var elementDimensions=element.getDimensions();return new Effect.Scale(element,window.opera?0:1,Object.extend({scaleContent:false,scaleX:false,scaleMode:'box',scaleFrom:100,scaleMode:{originalHeight:elementDimensions.height,originalWidth:elementDimensions.width},restoreAfterFinish:true,afterSetup:function(effect){effect.element.makePositioned();effect.element.down().makePositioned();if(window.opera)effect.element.setStyle({top:''});effect.element.makeClipping().show();},afterUpdateInternal:function(effect){effect.element.down().setStyle({bottom:(effect.dims[0]-effect.element.clientHeight)+'px'});},afterFinishInternal:function(effect){effect.element.hide().undoClipping().undoPositioned();effect.element.down().undoPositioned().setStyle({bottom:oldInnerBottom});}},arguments[1]||{}));};Effect.Squish=function(element){return new Effect.Scale(element,window.opera?1:0,{restoreAfterFinish:true,beforeSetup:function(effect){effect.element.makeClipping();},afterFinishInternal:function(effect){effect.element.hide().undoClipping();}});};Effect.Grow=function(element){element=$(element);var options=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.full},arguments[1]||{});var oldStyle={top:element.style.top,left:element.style.left,height:element.style.height,width:element.style.width,opacity:element.getInlineOpacity()};var dims=element.getDimensions();var initialMoveX,initialMoveY;var moveX,moveY;switch(options.direction){case'top-left':initialMoveX=initialMoveY=moveX=moveY=0;break;case'top-right':initialMoveX=dims.width;initialMoveY=moveY=0;moveX=-dims.width;break;case'bottom-left':initialMoveX=moveX=0;initialMoveY=dims.height;moveY=-dims.height;break;case'bottom-right':initialMoveX=dims.width;initialMoveY=dims.height;moveX=-dims.width;moveY=-dims.height;break;case'center':initialMoveX=dims.width/2;initialMoveY=dims.height/2;moveX=-dims.width/2;moveY=-dims.height/2;break;}
316
- return new Effect.Move(element,{x:initialMoveX,y:initialMoveY,duration:0.01,beforeSetup:function(effect){effect.element.hide().makeClipping().makePositioned();},afterFinishInternal:function(effect){new Effect.Parallel([new Effect.Opacity(effect.element,{sync:true,to:1.0,from:0.0,transition:options.opacityTransition}),new Effect.Move(effect.element,{x:moveX,y:moveY,sync:true,transition:options.moveTransition}),new Effect.Scale(effect.element,100,{scaleMode:{originalHeight:dims.height,originalWidth:dims.width},sync:true,scaleFrom:window.opera?1:0,transition:options.scaleTransition,restoreAfterFinish:true})],Object.extend({beforeSetup:function(effect){effect.effects[0].element.setStyle({height:'0px'}).show();},afterFinishInternal:function(effect){effect.effects[0].element.undoClipping().undoPositioned().setStyle(oldStyle);}},options));}});};Effect.Shrink=function(element){element=$(element);var options=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.none},arguments[1]||{});var oldStyle={top:element.style.top,left:element.style.left,height:element.style.height,width:element.style.width,opacity:element.getInlineOpacity()};var dims=element.getDimensions();var moveX,moveY;switch(options.direction){case'top-left':moveX=moveY=0;break;case'top-right':moveX=dims.width;moveY=0;break;case'bottom-left':moveX=0;moveY=dims.height;break;case'bottom-right':moveX=dims.width;moveY=dims.height;break;case'center':moveX=dims.width/2;moveY=dims.height/2;break;}
317
- return new Effect.Parallel([new Effect.Opacity(element,{sync:true,to:0.0,from:1.0,transition:options.opacityTransition}),new Effect.Scale(element,window.opera?1:0,{sync:true,transition:options.scaleTransition,restoreAfterFinish:true}),new Effect.Move(element,{x:moveX,y:moveY,sync:true,transition:options.moveTransition})],Object.extend({beforeStartInternal:function(effect){effect.effects[0].element.makePositioned().makeClipping();},afterFinishInternal:function(effect){effect.effects[0].element.hide().undoClipping().undoPositioned().setStyle(oldStyle);}},options));};Effect.Pulsate=function(element){element=$(element);var options=arguments[1]||{},oldOpacity=element.getInlineOpacity(),transition=options.transition||Effect.Transitions.linear,reverser=function(pos){return 1-transition((-Math.cos((pos*(options.pulses||5)*2)*Math.PI)/2)+.5);};return new Effect.Opacity(element,Object.extend(Object.extend({duration:2.0,from:0,afterFinishInternal:function(effect){effect.element.setStyle({opacity:oldOpacity});}},options),{transition:reverser}));};Effect.Fold=function(element){element=$(element);var oldStyle={top:element.style.top,left:element.style.left,width:element.style.width,height:element.style.height};element.makeClipping();return new Effect.Scale(element,5,Object.extend({scaleContent:false,scaleX:false,afterFinishInternal:function(effect){new Effect.Scale(element,1,{scaleContent:false,scaleY:false,afterFinishInternal:function(effect){effect.element.hide().undoClipping().setStyle(oldStyle);}});}},arguments[1]||{}));};Effect.Morph=Class.create(Effect.Base,{initialize:function(element){this.element=$(element);if(!this.element)throw(Effect._elementDoesNotExistError);var options=Object.extend({style:{}},arguments[1]||{});if(!Object.isString(options.style))this.style=$H(options.style);else{if(options.style.include(':'))
318
- this.style=options.style.parseStyle();else{this.element.addClassName(options.style);this.style=$H(this.element.getStyles());this.element.removeClassName(options.style);var css=this.element.getStyles();this.style=this.style.reject(function(style){return style.value==css[style.key];});options.afterFinishInternal=function(effect){effect.element.addClassName(effect.options.style);effect.transforms.each(function(transform){effect.element.style[transform.style]='';});};}}
319
- this.start(options);},setup:function(){function parseColor(color){if(!color||['rgba(0, 0, 0, 0)','transparent'].include(color))color='#ffffff';color=color.parseColor();return $R(0,2).map(function(i){return parseInt(color.slice(i*2+1,i*2+3),16);});}
320
- this.transforms=this.style.map(function(pair){var property=pair[0],value=pair[1],unit=null;if(value.parseColor('#zzzzzz')!='#zzzzzz'){value=value.parseColor();unit='color';}else if(property=='opacity'){value=parseFloat(value);if(Prototype.Browser.IE&&(!this.element.currentStyle.hasLayout))
321
- this.element.setStyle({zoom:1});}else if(Element.CSS_LENGTH.test(value)){var components=value.match(/^([\+\-]?[0-9\.]+)(.*)$/);value=parseFloat(components[1]);unit=(components.length==3)?components[2]:null;}
322
- var originalValue=this.element.getStyle(property);return{style:property.camelize(),originalValue:unit=='color'?parseColor(originalValue):parseFloat(originalValue||0),targetValue:unit=='color'?parseColor(value):value,unit:unit};}.bind(this)).reject(function(transform){return((transform.originalValue==transform.targetValue)||(transform.unit!='color'&&(isNaN(transform.originalValue)||isNaN(transform.targetValue))));});},update:function(position){var style={},transform,i=this.transforms.length;while(i--)
323
- style[(transform=this.transforms[i]).style]=transform.unit=='color'?'#'+
324
- (Math.round(transform.originalValue[0]+
325
- (transform.targetValue[0]-transform.originalValue[0])*position)).toColorPart()+
326
- (Math.round(transform.originalValue[1]+
327
- (transform.targetValue[1]-transform.originalValue[1])*position)).toColorPart()+
328
- (Math.round(transform.originalValue[2]+
329
- (transform.targetValue[2]-transform.originalValue[2])*position)).toColorPart():(transform.originalValue+
330
- (transform.targetValue-transform.originalValue)*position).toFixed(3)+
331
- (transform.unit===null?'':transform.unit);this.element.setStyle(style,true);}});Effect.Transform=Class.create({initialize:function(tracks){this.tracks=[];this.options=arguments[1]||{};this.addTracks(tracks);},addTracks:function(tracks){tracks.each(function(track){track=$H(track);var data=track.values().first();this.tracks.push($H({ids:track.keys().first(),effect:Effect.Morph,options:{style:data}}));}.bind(this));return this;},play:function(){return new Effect.Parallel(this.tracks.map(function(track){var ids=track.get('ids'),effect=track.get('effect'),options=track.get('options');var elements=[$(ids)||$$(ids)].flatten();return elements.map(function(e){return new effect(e,Object.extend({sync:true},options))});}).flatten(),this.options);}});Element.CSS_PROPERTIES=$w('backgroundColor backgroundPosition borderBottomColor borderBottomStyle '+'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth '+'borderRightColor borderRightStyle borderRightWidth borderSpacing '+'borderTopColor borderTopStyle borderTopWidth bottom clip color '+'fontSize fontWeight height left letterSpacing lineHeight '+'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+'maxWidth minHeight minWidth opacity outlineColor outlineOffset '+'outlineWidth paddingBottom paddingLeft paddingRight paddingTop '+'right textIndent top width wordSpacing zIndex');Element.CSS_LENGTH=/^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;String.__parseStyleElement=document.createElement('div');String.prototype.parseStyle=function(){var style,styleRules=$H();if(Prototype.Browser.WebKit)
332
- style=new Element('div',{style:this}).style;else{String.__parseStyleElement.innerHTML='<div style="'+this+'"></div>';style=String.__parseStyleElement.childNodes[0].style;}
333
- Element.CSS_PROPERTIES.each(function(property){if(style[property])styleRules.set(property,style[property]);});if(Prototype.Browser.IE&&this.include('opacity'))
334
- styleRules.set('opacity',this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/)[1]);return styleRules;};if(document.defaultView&&document.defaultView.getComputedStyle){Element.getStyles=function(element){var css=document.defaultView.getComputedStyle($(element),null);return Element.CSS_PROPERTIES.inject({},function(styles,property){styles[property]=css[property];return styles;});};}else{Element.getStyles=function(element){element=$(element);var css=element.currentStyle,styles;styles=Element.CSS_PROPERTIES.inject({},function(results,property){results[property]=css[property];return results;});if(!styles.opacity)styles.opacity=element.getOpacity();return styles;};}
335
- Effect.Methods={morph:function(element,style){element=$(element);new Effect.Morph(element,Object.extend({style:style},arguments[2]||{}));return element;},visualEffect:function(element,effect,options){element=$(element);var s=effect.dasherize().camelize(),klass=s.charAt(0).toUpperCase()+s.substring(1);new Effect[klass](element,options);return element;},highlight:function(element,options){element=$(element);new Effect.Highlight(element,options);return element;}};$w('fade appear grow shrink fold blindUp blindDown slideUp slideDown '+'pulsate shake puff squish switchOff dropOut').each(function(effect){Effect.Methods[effect]=function(element,options){element=$(element);Effect[effect.charAt(0).toUpperCase()+effect.substring(1)](element,options);return element;};});$w('getInlineOpacity forceRerendering setContentZoom collectTextNodes collectTextNodesIgnoreClass getStyles').each(function(f){Effect.Methods[f]=Element[f];});Element.addMethods(Effect.Methods);var Builder={NODEMAP:{AREA:'map',CAPTION:'table',COL:'table',COLGROUP:'table',LEGEND:'fieldset',OPTGROUP:'select',OPTION:'select',PARAM:'object',TBODY:'table',TD:'table',TFOOT:'table',TH:'table',THEAD:'table',TR:'table'},node:function(elementName){elementName=elementName.toUpperCase();var parentTag=this.NODEMAP[elementName]||'div';var parentElement=document.createElement(parentTag);try{parentElement.innerHTML="<"+elementName+"></"+elementName+">";}catch(e){}
336
- var element=parentElement.firstChild||null;if(element&&(element.tagName.toUpperCase()!=elementName))
337
- element=element.getElementsByTagName(elementName)[0];if(!element)element=document.createElement(elementName);if(!element)return;if(arguments[1])
338
- if(this._isStringOrNumber(arguments[1])||(arguments[1]instanceof Array)||arguments[1].tagName){this._children(element,arguments[1]);}else{var attrs=this._attributes(arguments[1]);if(attrs.length){try{parentElement.innerHTML="<"+elementName+" "+
339
- attrs+"></"+elementName+">";}catch(e){}
340
- element=parentElement.firstChild||null;if(!element){element=document.createElement(elementName);for(attr in arguments[1])
341
- element[attr=='class'?'className':attr]=arguments[1][attr];}
342
- if(element.tagName.toUpperCase()!=elementName)
343
- element=parentElement.getElementsByTagName(elementName)[0];}}
344
- if(arguments[2])
345
- this._children(element,arguments[2]);return element;},_text:function(text){return document.createTextNode(text);},ATTR_MAP:{'className':'class','htmlFor':'for'},_attributes:function(attributes){var attrs=[];for(attribute in attributes)
346
- attrs.push((attribute in this.ATTR_MAP?this.ATTR_MAP[attribute]:attribute)+'="'+attributes[attribute].toString().escapeHTML().gsub(/"/,'&quot;')+'"');return attrs.join(" ");},_children:function(element,children){if(children.tagName){element.appendChild(children);return;}
347
- if(typeof children=='object'){children.flatten().each(function(e){if(typeof e=='object')
348
- element.appendChild(e)
349
- else
350
- if(Builder._isStringOrNumber(e))
351
- element.appendChild(Builder._text(e));});}else
352
- if(Builder._isStringOrNumber(children))
353
- element.appendChild(Builder._text(children));},_isStringOrNumber:function(param){return(typeof param=='string'||typeof param=='number');},build:function(html){var element=this.node('div');$(element).update(html.strip());return element.down();},dump:function(scope){if(typeof scope!='object'&&typeof scope!='function')scope=window;var tags=("A ABBR ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BIG BLOCKQUOTE BODY "+"BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP DD DEL DFN DIR DIV DL DT EM FIELDSET "+"FONT FORM FRAME FRAMESET H1 H2 H3 H4 H5 H6 HEAD HR HTML I IFRAME IMG INPUT INS ISINDEX "+"KBD LABEL LEGEND LI LINK MAP MENU META NOFRAMES NOSCRIPT OBJECT OL OPTGROUP OPTION P "+"PARAM PRE Q S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG STYLE SUB SUP TABLE TBODY TD "+"TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR").split(/\s+/);tags.each(function(tag){scope[tag]=function(){return Builder.node.apply(Builder,[tag].concat($A(arguments)));}});}}
354
- window._lang=window._lang||"default";window._l10s=window._l10s||{};window._l10s[_lang]=window._l10s[_lang]||{}
355
- function _(string_to_localize){var args=[];var string_to_localize=arguments[0];for(var i=1;i<arguments.length;i++){args.push(arguments[i]);}
356
- var translated=_l10s[_lang][string_to_localize]||string_to_localize
357
- if(typeof(translated)=='function'){return translated.apply(window,args);}
358
- if(typeof(translated)=='array'){if(translated.length==3){translated=translated[args[0]==0?0:(args[0]>1?2:1)];}else{translated=translated[args[0]>1?1:0];}}
359
- return translated.interpolate(args);}
360
- function register_onload(func){Event.observe(window,'load',func,false);}
361
- function show_dates_as_local_time(){$$('span.typo_date').each(function(e){var classname=e.className;var gmtdate='';res=classname.match(/gmttimestamp-(\d+)/);if(!res){gmtdate=e.title;}else{gmtdate=new Date();gmtdate.setTime(parseInt(res[1])*1000);}
362
- e.update(get_local_time_for_date(gmtdate))})}
363
- function get_local_time_for_date(time){if(typeof(time)=='date'){system_date=time;}else{system_date=new Date(time);}
364
- user_date=new Date();delta_minutes=Math.floor((user_date-system_date)/(60*1000));if(Math.abs(delta_minutes)<=(8*7*24*60)){distance=distance_of_time_in_words(delta_minutes);if(delta_minutes<0){return _("#{0} from now",distance);}else{return _("#{0} ago",distance);}}else{return _('on #{0}',system_date.toLocaleDateString());}}
365
- function distance_of_time_in_words(minutes){if(minutes.isNaN)return"";minutes=Math.abs(minutes);if(minutes<1)return(_('less than a minute'));if(minutes<50)return(_('#{0} minute'+(minutes==1?'':'s'),minutes));if(minutes<90)return(_('about one hour'));if(minutes<1080)return(_("#{0} hours",Math.round(minutes/60)));if(minutes<1440)return(_('one day'));if(minutes<2880)return(_('about one day'));else return(_("#{0} days",Math.round(minutes/1440)));}
366
- function commentAdded(request){Element.cleanWhitespace('commentList');new Effect.BlindDown($('commentList').lastChild);if($('dummy_comment')){Element.remove('dummy_comment');}
367
- $('commentform').elements["comment_body"].value='';$('commentform').elements["comment_body"].focus();}
368
- function failure(request){$('errors').innerHTML=request.responseText;new Effect.Highlight('errors');}
369
- function loading(){$('form-submit-button').disabled=true;Element.show('comment_loading');new Element.hide('preview');}
370
- function complete(request){Element.hide('comment_loading');Element.show('commentform');$('form-submit-button').disabled=false;if(request.status==200){commentAdded()};}
371
- function popup(mylink,windowname)
372
- {if(!window.focus)return true;var href;window.open(mylink,windowname,'width=400,height=500,scrollbars=yes');return false;}
373
- function check_all(checkbox){var form=checkbox.form,z=0;for(z=0;z<form.length;z++){if(form[z].type=='checkbox'&&form[z].name!='checkall'){form[z].checked=checkbox.checked;}}}
374
- register_onload(function(){if($('commentform')){var _author=getCookie('author');var _url=getCookie('url');if(_author!=null){$('commentform').elements['comment[author]'].value=_author}
375
- if(_url!=null){$('commentform').elements['comment[url]'].value=_url}
376
- if($('commentform').elements['comment[url]'].value!=''||$('commentform').elements['comment[email]'].value!=''){Element.show('guest_url');Element.show('guest_email');}}})
377
- register_onload(function(){if($('q')){$('q').setAttribute('autocomplete','off');}})