locomotive_cms 1.0.0.beta.2 → 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1800) hide show
  1. data/Gemfile +32 -45
  2. data/README.textile +48 -11
  3. data/{public/images/admin → app/assets/images/locomotive}/background/body.png +0 -0
  4. data/{public/images/admin → app/assets/images/locomotive}/background/light.png +0 -0
  5. data/app/assets/images/locomotive/datepicker/ui-widget-content-top.png +0 -0
  6. data/app/assets/images/locomotive/datepicker/ui-widget-left-icon.png +0 -0
  7. data/app/assets/images/locomotive/datepicker/ui-widget-right-icon.png +0 -0
  8. data/app/assets/images/locomotive/form/error-arrow.png +0 -0
  9. data/{public/images/admin → app/assets/images/locomotive}/form/folded-arrow-off.png +0 -0
  10. data/{public/images/admin → app/assets/images/locomotive}/form/folded-arrow-on.png +0 -0
  11. data/{public/images/admin → app/assets/images/locomotive}/form/icons/drag.png +0 -0
  12. data/{public/images/admin → app/assets/images/locomotive}/form/icons/edit.png +0 -0
  13. data/app/assets/images/locomotive/form/icons/error.png +0 -0
  14. data/{public/images/admin → app/assets/images/locomotive}/form/icons/spinner.gif +0 -0
  15. data/{public/images/admin → app/assets/images/locomotive}/form/icons/trash.png +0 -0
  16. data/app/assets/images/locomotive/form/input-sep.png +0 -0
  17. data/app/assets/images/locomotive/form/pen.png +0 -0
  18. data/{public/images/admin → app/assets/images/locomotive}/form/spinner.gif +0 -0
  19. data/{public/images/admin → app/assets/images/locomotive}/icons/actions.png +0 -0
  20. data/app/assets/images/locomotive/icons/asset_add.png +0 -0
  21. data/app/assets/images/locomotive/icons/asset_switch.png +0 -0
  22. data/app/assets/images/locomotive/icons/flags/de.png +0 -0
  23. data/{public/images/admin → app/assets/images/locomotive}/icons/flags/en.png +0 -0
  24. data/app/assets/images/locomotive/icons/flags/es.png +0 -0
  25. data/{public/images/admin → app/assets/images/locomotive}/icons/flags/fr.png +0 -0
  26. data/app/assets/images/locomotive/icons/flags/it.png +0 -0
  27. data/app/assets/images/locomotive/icons/flags/nl.png +0 -0
  28. data/app/assets/images/locomotive/icons/flags/no.png +0 -0
  29. data/app/assets/images/locomotive/icons/flags/pt-BR.png +0 -0
  30. data/app/assets/images/locomotive/icons/flags/ru.png +0 -0
  31. data/app/assets/images/locomotive/icons/membership_edit.png +0 -0
  32. data/app/assets/images/locomotive/icons/membership_lock.png +0 -0
  33. data/app/assets/images/locomotive/inline_editor/back.png +0 -0
  34. data/{public/images/admin → app/assets/images/locomotive}/list/empty.png +0 -0
  35. data/{public/images/admin → app/assets/images/locomotive}/list/icons/cross.png +0 -0
  36. data/{public/images/admin → app/assets/images/locomotive}/list/icons/drag.png +0 -0
  37. data/app/assets/images/locomotive/list/icons/move.png +0 -0
  38. data/app/assets/images/locomotive/list/icons/move_off.png +0 -0
  39. data/{public/images/admin → app/assets/images/locomotive}/list/icons/node_closed.png +0 -0
  40. data/{public/images/admin → app/assets/images/locomotive}/list/icons/node_open.png +0 -0
  41. data/app/assets/images/locomotive/list/icons/pencil.png +0 -0
  42. data/app/assets/images/locomotive/list/icons/pencil_off.png +0 -0
  43. data/app/assets/images/locomotive/list/icons/popup.png +0 -0
  44. data/app/assets/images/locomotive/list/icons/popup_off.png +0 -0
  45. data/app/assets/images/locomotive/list/icons/redirect.png +0 -0
  46. data/{public/images/admin → app/assets/images/locomotive}/list/icons/states.png +0 -0
  47. data/app/assets/images/locomotive/list/icons/template.png +0 -0
  48. data/app/assets/images/locomotive/list/icons/toggle.png +0 -0
  49. data/app/assets/images/locomotive/list/icons/toggle_off.png +0 -0
  50. data/{public/images/admin → app/assets/images/locomotive}/list/icons/trash.png +0 -0
  51. data/app/assets/images/locomotive/list/icons/trash_off.png +0 -0
  52. data/app/assets/images/locomotive/list/item-left.png +0 -0
  53. data/app/assets/images/locomotive/menu/icons.png +0 -0
  54. data/{public/images/admin/menu/icons → app/assets/images/locomotive/menu/popup}/add.png +0 -0
  55. data/app/assets/images/locomotive/menu/popup/bottom-right-corner.png +0 -0
  56. data/{public/images/admin/menu/icons → app/assets/images/locomotive/menu/popup}/bullet.png +0 -0
  57. data/{public/images/admin → app/assets/images/locomotive}/nocoffee.png +0 -0
  58. data/{public/images/admin → app/assets/images/locomotive}/plugins/selectmenu/arrow.png +0 -0
  59. data/{public/images/admin → app/assets/images/locomotive}/plugins/selectmenu/background.png +0 -0
  60. data/app/assets/images/locomotive/plugins/sites_picker_entry_bg.png +0 -0
  61. data/app/assets/images/locomotive/plugins/sites_picker_top_arrow.png +0 -0
  62. data/{public/images/admin → app/assets/images/locomotive}/rails.png +0 -0
  63. data/{public/images/admin/box → app/assets/images/locomotive/simple}/light_bg.png +0 -0
  64. data/{public/images/admin/box → app/assets/images/locomotive/simple}/wrapper_bg.png +0 -0
  65. data/app/assets/javascripts/locomotive.js +25 -0
  66. data/app/assets/javascripts/locomotive/aloha.js.coffee +2 -0
  67. data/app/assets/javascripts/locomotive/application.js.coffee +12 -0
  68. data/app/assets/javascripts/locomotive/inline_editor.js.coffee +21 -0
  69. data/app/assets/javascripts/locomotive/models/account.js.coffee +11 -0
  70. data/app/assets/javascripts/locomotive/models/content_asset.js.coffee +20 -0
  71. data/app/assets/javascripts/locomotive/models/content_entry.js.coffee +61 -0
  72. data/app/assets/javascripts/locomotive/models/content_type.js.coffee +23 -0
  73. data/app/assets/javascripts/locomotive/models/custom_field.js.coffee +38 -0
  74. data/app/assets/javascripts/locomotive/models/custom_field_select_option.js.coffee +13 -0
  75. data/app/assets/javascripts/locomotive/models/domain.js.coffee +3 -0
  76. data/app/assets/javascripts/locomotive/models/editable_element.js.coffee +22 -0
  77. data/app/assets/javascripts/locomotive/models/membership.js.coffee +13 -0
  78. data/app/assets/javascripts/locomotive/models/page.js.coffee +27 -0
  79. data/app/assets/javascripts/locomotive/models/site.js.coffee +33 -0
  80. data/app/assets/javascripts/locomotive/models/snippet.js.coffee +11 -0
  81. data/app/assets/javascripts/locomotive/models/theme_asset.js.coffee +11 -0
  82. data/app/assets/javascripts/locomotive/not_logged_in.js.coffee +1 -0
  83. data/app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee +32 -0
  84. data/app/assets/javascripts/locomotive/utils/core_ext.js +73 -0
  85. data/app/assets/javascripts/locomotive/utils/growl.js +14 -0
  86. data/app/assets/javascripts/locomotive/utils/handlebar_helpers.js.coffee +9 -0
  87. data/app/assets/javascripts/locomotive/utils/tinymce_settings.js.coffee +48 -0
  88. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +85 -0
  89. data/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee +30 -0
  90. data/app/assets/javascripts/locomotive/views/content_assets/picker_view.js.coffee +55 -0
  91. data/app/assets/javascripts/locomotive/views/content_entries/_form_view.js.coffee +108 -0
  92. data/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee +79 -0
  93. data/app/assets/javascripts/locomotive/views/content_entries/edit_view.js.coffee +9 -0
  94. data/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee +36 -0
  95. data/app/assets/javascripts/locomotive/views/content_entries/new_view.js.coffee +8 -0
  96. data/app/assets/javascripts/locomotive/views/content_types/_form_view.js.coffee +85 -0
  97. data/app/assets/javascripts/locomotive/views/content_types/custom_field_entry_view.js.coffee +95 -0
  98. data/app/assets/javascripts/locomotive/views/content_types/custom_fields_view.coffee +94 -0
  99. data/app/assets/javascripts/locomotive/views/content_types/edit_view.coffee +15 -0
  100. data/app/assets/javascripts/locomotive/views/content_types/new_view.js.coffee +11 -0
  101. data/app/assets/javascripts/locomotive/views/content_types/select_options_view.js.coffee +85 -0
  102. data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +84 -0
  103. data/app/assets/javascripts/locomotive/views/editable_elements/edit_all_view.js.coffee +79 -0
  104. data/app/assets/javascripts/locomotive/views/editable_elements/file_view.js.coffee +73 -0
  105. data/app/assets/javascripts/locomotive/views/editable_elements/long_text_view.js.coffee +8 -0
  106. data/app/assets/javascripts/locomotive/views/editable_elements/short_text_view.js.coffee +29 -0
  107. data/app/assets/javascripts/locomotive/views/inline_editor/application_view.js.coffee +96 -0
  108. data/app/assets/javascripts/locomotive/views/inline_editor/toolbar_view.js.coffee +137 -0
  109. data/app/assets/javascripts/locomotive/views/my_account/edit_view.js.coffee +24 -0
  110. data/app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee +130 -0
  111. data/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee +25 -0
  112. data/app/assets/javascripts/locomotive/views/pages/index_view.js.coffee +11 -0
  113. data/app/assets/javascripts/locomotive/views/pages/list_view.js.coffee +40 -0
  114. data/app/assets/javascripts/locomotive/views/pages/new_view.js.coffee +8 -0
  115. data/app/assets/javascripts/locomotive/views/shared/asset_picker_view.js.coffee +99 -0
  116. data/app/assets/javascripts/locomotive/views/shared/fields/file_view.js.coffee +88 -0
  117. data/app/assets/javascripts/locomotive/views/shared/fields/has_many_view.js.coffee +122 -0
  118. data/app/assets/javascripts/locomotive/views/shared/fields/many_to_many_view.js.coffee +132 -0
  119. data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +112 -0
  120. data/app/assets/javascripts/locomotive/views/shared/list_item_view.js.coffee +22 -0
  121. data/app/assets/javascripts/locomotive/views/shared/list_view.js.coffee +53 -0
  122. data/app/assets/javascripts/locomotive/views/sites/domain_entry_view.js.coffee +26 -0
  123. data/app/assets/javascripts/locomotive/views/sites/domains_view.js.coffee +84 -0
  124. data/app/assets/javascripts/locomotive/views/sites/membership_entry_view.js.coffee +31 -0
  125. data/app/assets/javascripts/locomotive/views/sites/memberships_view.js.coffee +41 -0
  126. data/app/assets/javascripts/locomotive/views/sites/new_view.js.coffee +43 -0
  127. data/app/assets/javascripts/locomotive/views/snippets/_form_view.js.coffee +60 -0
  128. data/app/assets/javascripts/locomotive/views/snippets/edit_view.js.coffee +6 -0
  129. data/app/assets/javascripts/locomotive/views/snippets/list_item_view.js.coffee +8 -0
  130. data/app/assets/javascripts/locomotive/views/snippets/list_view.js.coffee +17 -0
  131. data/app/assets/javascripts/locomotive/views/snippets/new_view.js.coffee +8 -0
  132. data/app/assets/javascripts/locomotive/views/theme_assets/_form_view.js.coffee +104 -0
  133. data/app/assets/javascripts/locomotive/views/theme_assets/edit_view.js.coffee +16 -0
  134. data/app/assets/javascripts/locomotive/views/theme_assets/image_picker_view.js.coffee +40 -0
  135. data/app/assets/javascripts/locomotive/views/theme_assets/index_view.js.coffee +83 -0
  136. data/app/assets/javascripts/locomotive/views/theme_assets/list_item_view.js.coffee +8 -0
  137. data/app/assets/javascripts/locomotive/views/theme_assets/list_view.js.coffee +17 -0
  138. data/app/assets/javascripts/locomotive/views/theme_assets/new_view.js.coffee +8 -0
  139. data/app/assets/javascripts/tinymce/plugins/jqueryinlinepopups/editor_plugin.js +240 -0
  140. data/app/assets/javascripts/tinymce/plugins/locomotive_media/editor_plugin.js +75 -0
  141. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/content.css +0 -0
  142. data/app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/dialog.css.scss +78 -0
  143. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/butt2.png +0 -0
  144. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/button-bg.png +0 -0
  145. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/buttons.png +0 -0
  146. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/down_arrow.gif +0 -0
  147. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/fade-butt.png +0 -0
  148. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/icons.png +0 -0
  149. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/items.gif +0 -0
  150. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/menu-arrow.png +0 -0
  151. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/menu-check.png +0 -0
  152. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/progress.gif +0 -0
  153. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/tabs.gif +0 -0
  154. data/{public/javascripts/admin/plugins/tiny_mce → app/assets/javascripts/tinymce}/themes/advanced/skins/locomotive/img/toolbarbg.png +0 -0
  155. data/app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/ui.css +1018 -0
  156. data/app/assets/stylesheets/locomotive.css +15 -0
  157. data/app/assets/stylesheets/locomotive/backoffice/_box.css.scss +167 -0
  158. data/app/assets/stylesheets/locomotive/backoffice/_buttons.css.scss +155 -0
  159. data/app/assets/stylesheets/locomotive/backoffice/application.css.scss +321 -0
  160. data/app/assets/stylesheets/locomotive/backoffice/codemirror_changes.css.scss +16 -0
  161. data/app/assets/stylesheets/locomotive/backoffice/content_assets.css.scss +129 -0
  162. data/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss +169 -0
  163. data/app/assets/stylesheets/locomotive/backoffice/dialog_changes.css.scss +135 -0
  164. data/app/assets/stylesheets/locomotive/backoffice/editable_elements.css.scss +71 -0
  165. data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.css +0 -0
  166. data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.scss +787 -0
  167. data/app/assets/stylesheets/locomotive/backoffice/layout.css.scss +204 -0
  168. data/app/assets/stylesheets/locomotive/backoffice/menu.css +8 -0
  169. data/app/assets/stylesheets/locomotive/backoffice/menu/_colors.css.scss +124 -0
  170. data/app/assets/stylesheets/locomotive/backoffice/menu/_helpers.css.scss +6 -0
  171. data/app/assets/stylesheets/locomotive/backoffice/menu/_icons.css.scss +30 -0
  172. data/app/assets/stylesheets/locomotive/backoffice/menu/default.css.scss +67 -0
  173. data/app/assets/stylesheets/locomotive/backoffice/menu/main.css.scss +127 -0
  174. data/app/assets/stylesheets/locomotive/backoffice/menu/sub.css.scss +284 -0
  175. data/app/assets/stylesheets/locomotive/backoffice/sites_picker.css.scss +12 -0
  176. data/app/assets/stylesheets/locomotive/inline_editor.css +9 -0
  177. data/app/assets/stylesheets/locomotive/inline_editor/_buttons.css.scss +70 -0
  178. data/app/assets/stylesheets/locomotive/inline_editor/layout.css.scss +21 -0
  179. data/app/assets/stylesheets/locomotive/inline_editor/toolbar.css.scss +115 -0
  180. data/app/assets/stylesheets/locomotive/not_logged_in.css +7 -0
  181. data/app/assets/stylesheets/locomotive/not_logged_in/installation.css.scss +62 -0
  182. data/app/assets/stylesheets/locomotive/not_logged_in/layout.css.scss +176 -0
  183. data/app/assets/stylesheets/locomotive/shared/_helpers.css.scss +57 -0
  184. data/app/assets/stylesheets/locomotive/shared/_picker.css.scss +73 -0
  185. data/app/assets/stylesheets/locomotive/shared/content_locale_picker.css.scss +82 -0
  186. data/app/assets/stylesheets/locomotive/shared/growl.css.scss +29 -0
  187. data/app/cells/locomotive/content_locale_picker/show.html.haml +7 -0
  188. data/app/cells/locomotive/content_locale_picker_cell.rb +17 -0
  189. data/app/cells/locomotive/global_actions/show.html.haml +12 -0
  190. data/app/cells/locomotive/global_actions_cell.rb +36 -0
  191. data/app/cells/locomotive/main_menu/show.html.haml +13 -0
  192. data/app/cells/locomotive/main_menu_cell.rb +12 -0
  193. data/app/cells/locomotive/menu/show.html.haml +1 -0
  194. data/app/cells/locomotive/menu_cell.rb +102 -0
  195. data/app/cells/locomotive/settings_menu_cell.rb +13 -0
  196. data/app/cells/locomotive/sub_menu/show.html.haml +4 -0
  197. data/app/cells/locomotive/sub_menu_cell.rb +13 -0
  198. data/app/controllers/locomotive/accounts_controller.rb +18 -0
  199. data/app/controllers/locomotive/api/base_controller.rb +43 -0
  200. data/app/controllers/locomotive/api/content_assets_controller.rb +23 -0
  201. data/app/controllers/locomotive/api/content_entries_controller.rb +37 -0
  202. data/app/controllers/locomotive/api/content_types_controller.rb +23 -0
  203. data/app/controllers/locomotive/api/current_site_controller.rb +11 -0
  204. data/app/controllers/locomotive/api/pages_controller.rb +25 -0
  205. data/app/controllers/locomotive/api/snippets_controller.rb +24 -0
  206. data/app/controllers/locomotive/api/theme_assets_controller.rb +23 -0
  207. data/app/controllers/locomotive/api/tokens_controller.rb +27 -0
  208. data/app/controllers/locomotive/base_controller.rb +61 -0
  209. data/app/controllers/locomotive/content_assets_controller.rb +23 -0
  210. data/app/controllers/locomotive/content_entries_controller.rb +71 -0
  211. data/app/controllers/locomotive/content_types_controller.rb +40 -0
  212. data/app/controllers/locomotive/current_site_controller.rb +44 -0
  213. data/app/controllers/locomotive/installation_controller.rb +72 -0
  214. data/app/controllers/locomotive/memberships_controller.rb +29 -0
  215. data/app/controllers/locomotive/my_account_controller.rb +24 -0
  216. data/app/controllers/locomotive/pages_controller.rb +62 -0
  217. data/app/controllers/locomotive/passwords_controller.rb +13 -0
  218. data/app/controllers/locomotive/public/base_controller.rb +20 -0
  219. data/app/controllers/locomotive/public/content_entries_controller.rb +50 -0
  220. data/app/controllers/locomotive/public/pages_controller.rb +48 -0
  221. data/app/controllers/locomotive/public/robots_controller.rb +16 -0
  222. data/app/controllers/locomotive/public/sitemaps_controller.rb +14 -0
  223. data/app/controllers/locomotive/sessions_controller.rb +29 -0
  224. data/app/controllers/locomotive/sites_controller.rb +33 -0
  225. data/app/controllers/locomotive/snippets_controller.rb +40 -0
  226. data/app/controllers/locomotive/theme_assets_controller.rb +52 -0
  227. data/app/helpers/locomotive/accounts_helper.rb +13 -0
  228. data/app/helpers/locomotive/base_helper.rb +124 -0
  229. data/app/helpers/locomotive/content_entries_helper.rb +15 -0
  230. data/app/helpers/locomotive/content_types_helper.rb +68 -0
  231. data/app/helpers/locomotive/custom_fields_helper.rb +70 -0
  232. data/app/helpers/locomotive/installation_helper.rb +9 -0
  233. data/app/helpers/locomotive/pages_helper.rb +54 -0
  234. data/app/helpers/locomotive/sites_helper.rb +15 -0
  235. data/app/helpers/locomotive/theme_assets_helper.rb +30 -0
  236. data/app/inputs/locomotive/code_input.rb +29 -0
  237. data/app/inputs/locomotive/empty_input.rb +35 -0
  238. data/app/inputs/locomotive/file_input.rb +45 -0
  239. data/app/inputs/locomotive/locale_input.rb +39 -0
  240. data/app/inputs/locomotive/locales_input.rb +59 -0
  241. data/app/inputs/locomotive/rte_input.rb +13 -0
  242. data/app/inputs/locomotive/small_code_input.rb +22 -0
  243. data/app/inputs/locomotive/subdomain_input.rb +22 -0
  244. data/app/inputs/locomotive/toggle_input.rb +13 -0
  245. data/app/mailers/locomotive/devise_mailer.rb +10 -0
  246. data/app/mailers/locomotive/notifications.rb +15 -0
  247. data/app/middlewares/locomotive/inline_editor_middleware.rb +24 -0
  248. data/app/models/locomotive/ability.rb +81 -0
  249. data/app/models/locomotive/account.rb +97 -0
  250. data/app/models/locomotive/content_asset.rb +45 -0
  251. data/app/models/locomotive/content_entry.rb +146 -0
  252. data/app/models/locomotive/content_type.rb +241 -0
  253. data/app/models/locomotive/editable_element.rb +29 -0
  254. data/app/models/locomotive/editable_file.rb +17 -0
  255. data/app/models/locomotive/editable_long_text.rb +9 -0
  256. data/app/models/locomotive/editable_short_text.rb +21 -0
  257. data/app/models/locomotive/extensions/asset/types.rb +31 -0
  258. data/app/models/locomotive/extensions/asset/vignette.rb +19 -0
  259. data/app/models/locomotive/extensions/content_type/item_template.rb +49 -0
  260. data/app/models/locomotive/extensions/page/editable_elements.rb +119 -0
  261. data/app/models/locomotive/extensions/page/listed.rb +17 -0
  262. data/app/models/locomotive/extensions/page/parse.rb +112 -0
  263. data/app/models/locomotive/extensions/page/redirect.rb +23 -0
  264. data/app/models/locomotive/extensions/page/render.rb +13 -0
  265. data/app/models/locomotive/extensions/page/templatized.rb +95 -0
  266. data/app/models/locomotive/extensions/page/tree.rb +112 -0
  267. data/app/models/locomotive/extensions/shared/seo.rb +16 -0
  268. data/app/models/locomotive/extensions/site/first_installation.rb +20 -0
  269. data/app/models/locomotive/extensions/site/locales.rb +66 -0
  270. data/app/models/locomotive/extensions/site/subdomain_domains.rb +86 -0
  271. data/app/models/locomotive/membership.rb +79 -0
  272. data/app/models/locomotive/page.rb +124 -0
  273. data/app/models/locomotive/site.rb +82 -0
  274. data/app/models/locomotive/snippet.rb +76 -0
  275. data/app/models/locomotive/theme_asset.rb +178 -0
  276. data/app/presenters/locomotive/account_presenter.rb +11 -0
  277. data/app/presenters/locomotive/base_presenter.rb +46 -0
  278. data/app/presenters/locomotive/content_asset_presenter.rb +36 -0
  279. data/app/presenters/locomotive/content_entry_presenter.rb +53 -0
  280. data/app/presenters/locomotive/content_type_presenter.rb +19 -0
  281. data/app/presenters/locomotive/editable_element_presenter.rb +28 -0
  282. data/app/presenters/locomotive/editable_file_presenter.rb +15 -0
  283. data/app/presenters/locomotive/editable_long_text_presenter.rb +5 -0
  284. data/app/presenters/locomotive/editable_short_text_presenter.rb +11 -0
  285. data/app/presenters/locomotive/membership_presenter.rb +33 -0
  286. data/app/presenters/locomotive/page_presenter.rb +34 -0
  287. data/app/presenters/locomotive/site_presenter.rb +19 -0
  288. data/app/presenters/locomotive/snippet_presenter.rb +20 -0
  289. data/app/presenters/locomotive/theme_asset_presenter.rb +44 -0
  290. data/app/uploaders/locomotive/content_asset_uploader.rb +13 -0
  291. data/app/uploaders/locomotive/editable_file_uploader.rb +11 -0
  292. data/app/uploaders/locomotive/theme_asset_uploader.rb +28 -0
  293. data/app/uploaders/locomotive/theme_uploader.rb +19 -0
  294. data/app/views/locomotive/accounts/new.html.haml +21 -0
  295. data/app/views/locomotive/content_assets/_asset.html.haml +5 -0
  296. data/app/views/locomotive/content_assets/_picker.html.haml +33 -0
  297. data/app/views/locomotive/content_entries/_form.html.haml +21 -0
  298. data/app/views/locomotive/content_entries/_list.html.haml +15 -0
  299. data/app/views/locomotive/content_entries/edit.html.haml +21 -0
  300. data/app/views/locomotive/content_entries/index.html.haml +32 -0
  301. data/app/views/locomotive/content_entries/new.html.haml +19 -0
  302. data/app/views/locomotive/content_types/_form.html.haml +39 -0
  303. data/app/views/locomotive/content_types/edit.html.haml +19 -0
  304. data/app/views/locomotive/content_types/new.html.haml +15 -0
  305. data/app/views/locomotive/current_site/_form.html.haml +36 -0
  306. data/app/views/locomotive/current_site/edit.html.haml +16 -0
  307. data/app/views/locomotive/custom_fields/_form.html.haml +75 -0
  308. data/app/views/locomotive/custom_fields/types/_belongs_to.html.haml +5 -0
  309. data/app/views/locomotive/custom_fields/types/_boolean.html.haml +4 -0
  310. data/app/views/locomotive/custom_fields/types/_date.html.haml +5 -0
  311. data/app/views/locomotive/custom_fields/types/_file.html.haml +4 -0
  312. data/app/views/locomotive/custom_fields/types/_has_many.html.haml +70 -0
  313. data/app/views/locomotive/custom_fields/types/_many_to_many.html.haml +41 -0
  314. data/app/views/locomotive/custom_fields/types/_select.html.haml +5 -0
  315. data/app/views/locomotive/custom_fields/types/_string.html.haml +4 -0
  316. data/app/views/locomotive/custom_fields/types/_text.html.haml +5 -0
  317. data/app/views/locomotive/devise_mailer/reset_password_instructions.html.haml +12 -0
  318. data/app/views/locomotive/errors/404.html.haml +7 -0
  319. data/app/views/locomotive/errors/500.html.haml +7 -0
  320. data/app/views/{admin → locomotive}/errors/no_page.html.haml +0 -0
  321. data/app/views/{admin → locomotive}/errors/no_site.html.haml +0 -0
  322. data/app/views/locomotive/installation/step_1.html.haml +23 -0
  323. data/app/views/locomotive/installation/step_2.html.haml +24 -0
  324. data/app/views/locomotive/layouts/application.html.haml +34 -0
  325. data/app/views/{admin → locomotive}/layouts/error.html.haml +0 -0
  326. data/app/views/locomotive/layouts/not_logged_in.html.haml +18 -0
  327. data/app/views/locomotive/mailer/confirmation_instructions.html.haml +8 -0
  328. data/app/views/locomotive/mailer/reset_password_instructions.html.haml +12 -0
  329. data/app/views/locomotive/mailer/unlock_instructions.html.haml +10 -0
  330. data/app/views/locomotive/memberships/new.html.haml +14 -0
  331. data/app/views/locomotive/my_account/edit.html.haml +40 -0
  332. data/app/views/locomotive/notifications/new_content_entry.html.haml +22 -0
  333. data/app/views/locomotive/pages/_editable_elements.html.haml +52 -0
  334. data/app/views/locomotive/pages/_form.html.haml +51 -0
  335. data/app/views/locomotive/pages/_page.html.haml +30 -0
  336. data/app/views/locomotive/pages/edit.html.haml +18 -0
  337. data/app/views/locomotive/pages/index.html.haml +19 -0
  338. data/app/views/locomotive/pages/new.html.haml +15 -0
  339. data/app/views/locomotive/passwords/edit.html.haml +18 -0
  340. data/app/views/locomotive/passwords/new.html.haml +17 -0
  341. data/app/views/locomotive/public/pages/show_toolbar.html.haml +60 -0
  342. data/app/views/locomotive/public/sitemaps/show.xml.builder +29 -0
  343. data/app/views/locomotive/sessions/new.html.haml +17 -0
  344. data/app/views/locomotive/shared/_footer.html.haml +2 -0
  345. data/app/views/locomotive/shared/_form_actions.html.haml +14 -0
  346. data/app/views/locomotive/shared/_head.html.haml +35 -0
  347. data/app/views/locomotive/shared/_header.html.haml +10 -0
  348. data/app/views/locomotive/shared/_locale_picker_link.html.haml +7 -0
  349. data/app/views/locomotive/shared/_main_app_head.html.haml +1 -0
  350. data/app/views/locomotive/shared/_site_picker.html.haml +10 -0
  351. data/app/views/locomotive/shared/actions/_contents.html.haml +5 -0
  352. data/app/views/locomotive/shared/menu/_contents.html.haml +40 -0
  353. data/app/views/locomotive/sites/_domains.html.haml +22 -0
  354. data/app/views/locomotive/sites/_form.html.haml +12 -0
  355. data/app/views/locomotive/sites/_memberships.html.haml +25 -0
  356. data/app/views/locomotive/sites/new.html.haml +12 -0
  357. data/app/views/locomotive/snippets/_form.html.haml +13 -0
  358. data/app/views/locomotive/snippets/_snippet.html.haml +8 -0
  359. data/app/views/locomotive/snippets/edit.html.haml +18 -0
  360. data/app/views/locomotive/snippets/new.html.haml +15 -0
  361. data/app/views/locomotive/theme_assets/_asset.html.haml +11 -0
  362. data/app/views/locomotive/theme_assets/_form.html.haml +31 -0
  363. data/app/views/locomotive/theme_assets/_list.html.haml +7 -0
  364. data/app/views/locomotive/theme_assets/_picker.html.haml +25 -0
  365. data/app/views/locomotive/theme_assets/edit.html.haml +21 -0
  366. data/app/views/locomotive/theme_assets/index.html.haml +50 -0
  367. data/app/views/locomotive/theme_assets/new.html.haml +12 -0
  368. data/config/cucumber.yml +8 -2
  369. data/config/initializers/devise.rb +10 -135
  370. data/config/initializers/formtastic.rb +2 -3
  371. data/config/initializers/haml.rb +1 -1
  372. data/config/initializers/locomotive_loaded_first.rb +19 -0
  373. data/config/locales/admin_ui.de.yml +310 -0
  374. data/config/locales/admin_ui.en.yml +308 -0
  375. data/config/locales/admin_ui.es.yml +292 -0
  376. data/config/locales/admin_ui.fr.yml +278 -0
  377. data/config/locales/admin_ui.it.yml +291 -0
  378. data/config/locales/admin_ui.nl.yml +276 -0
  379. data/config/locales/admin_ui.no.yml +295 -0
  380. data/config/locales/admin_ui.pt-BR.yml +270 -0
  381. data/config/locales/admin_ui.ru.yml +292 -0
  382. data/config/locales/carrierwave.de.yml +4 -0
  383. data/config/locales/{carrierwave_en.yml → carrierwave.en.yml} +0 -0
  384. data/config/locales/carrierwave.es.yml +4 -0
  385. data/config/locales/{carrierwave_fr.yml → carrierwave.fr.yml} +0 -0
  386. data/config/locales/carrierwave.it.yml +4 -0
  387. data/config/locales/carrierwave.nl.yml +4 -0
  388. data/config/locales/carrierwave.no.yml +4 -0
  389. data/config/locales/carrierwave.pt-BR.yml +4 -0
  390. data/config/locales/carrierwave.ru.yml +4 -0
  391. data/config/locales/default.de.yml +233 -0
  392. data/config/locales/default.en.yml +36 -0
  393. data/config/locales/default.es.yml +216 -0
  394. data/config/locales/default.fr.yml +206 -0
  395. data/config/locales/default.it.yml +243 -0
  396. data/config/locales/default.nl.yml +170 -0
  397. data/config/locales/default.no.yml +271 -0
  398. data/config/locales/default.pt-BR.yml +211 -0
  399. data/config/locales/default.ru.yml +281 -0
  400. data/config/locales/devise.de.yml +62 -0
  401. data/config/locales/devise.en.yml +11 -10
  402. data/config/locales/devise.es.yml +63 -0
  403. data/config/locales/devise.fr.yml +8 -8
  404. data/config/locales/devise.it.yml +63 -0
  405. data/config/locales/devise.nl.yml +63 -0
  406. data/config/locales/devise.no.yml +63 -0
  407. data/config/locales/devise.pt-BR.yml +61 -0
  408. data/config/locales/devise.ru.yml +63 -0
  409. data/config/locales/flash.de.yml +106 -0
  410. data/config/locales/flash.en.yml +11 -21
  411. data/config/locales/flash.es.yml +106 -0
  412. data/config/locales/flash.fr.yml +5 -15
  413. data/config/locales/flash.it.yml +106 -0
  414. data/config/locales/flash.nl.yml +106 -0
  415. data/config/locales/flash.no.yml +106 -0
  416. data/config/locales/flash.pt-BR.yml +106 -0
  417. data/config/locales/flash.ru.yml +106 -0
  418. data/config/locales/formtastic.de.yml +97 -0
  419. data/config/locales/formtastic.en.yml +109 -0
  420. data/config/locales/formtastic.es.yml +84 -0
  421. data/config/locales/formtastic.fr.yml +99 -0
  422. data/config/locales/formtastic.it.yml +99 -0
  423. data/config/locales/formtastic.nl.yml +85 -0
  424. data/config/locales/formtastic.no.yml +99 -0
  425. data/config/locales/formtastic.pt-BR.yml +70 -0
  426. data/config/locales/formtastic.ru.yml +99 -0
  427. data/config/routes.rb +71 -40
  428. data/lib/generators/locomotive/install/install_generator.rb +12 -11
  429. data/lib/generators/locomotive/install/templates/README +4 -5
  430. data/lib/generators/locomotive/install/templates/carrierwave.rb +25 -0
  431. data/lib/generators/locomotive/install/templates/dragonfly.rb +22 -0
  432. data/lib/generators/locomotive/install/templates/locomotive.rb +48 -26
  433. data/lib/generators/locomotive/install/templates/mongoid.yml +34 -0
  434. data/lib/locomotive.rb +87 -16
  435. data/lib/locomotive/action_controller.rb +5 -0
  436. data/lib/locomotive/action_controller/locale_helpers.rb +61 -0
  437. data/lib/locomotive/action_controller/public_responder.rb +17 -0
  438. data/lib/locomotive/action_controller/responder.rb +65 -0
  439. data/lib/locomotive/action_controller/section_helpers.rb +29 -0
  440. data/lib/locomotive/action_controller/url_helpers.rb +37 -0
  441. data/lib/locomotive/carrierwave.rb +1 -1
  442. data/lib/locomotive/carrierwave/asset.rb +66 -0
  443. data/lib/locomotive/carrierwave/patches.rb +15 -43
  444. data/lib/locomotive/configuration.rb +62 -12
  445. data/lib/locomotive/core_ext.rb +28 -30
  446. data/lib/locomotive/custom_fields.rb +24 -1
  447. data/lib/locomotive/dependencies.rb +30 -0
  448. data/lib/locomotive/devise.rb +1 -0
  449. data/lib/locomotive/dragonfly.rb +36 -0
  450. data/lib/locomotive/engine.rb +27 -25
  451. data/lib/locomotive/formtastic.rb +13 -0
  452. data/lib/locomotive/httparty/patches.rb +18 -18
  453. data/lib/locomotive/httparty/webservice.rb +7 -1
  454. data/lib/locomotive/kaminari.rb +35 -0
  455. data/lib/locomotive/liquid.rb +1 -0
  456. data/lib/locomotive/liquid/drops/base.rb +4 -14
  457. data/lib/locomotive/liquid/drops/content_entry.rb +62 -0
  458. data/lib/locomotive/liquid/drops/content_types.rb +48 -0
  459. data/lib/locomotive/liquid/drops/page.rb +23 -5
  460. data/lib/locomotive/liquid/drops/proxy_collection.rb +56 -0
  461. data/lib/locomotive/liquid/drops/site.rb +6 -2
  462. data/lib/locomotive/liquid/filters/date.rb +16 -11
  463. data/lib/locomotive/liquid/filters/html.rb +49 -15
  464. data/lib/locomotive/liquid/filters/misc.rb +12 -0
  465. data/lib/locomotive/liquid/filters/resize.rb +16 -0
  466. data/lib/locomotive/liquid/tags/editable.rb +2 -1
  467. data/lib/locomotive/liquid/tags/editable/base.rb +33 -11
  468. data/lib/locomotive/liquid/tags/editable/content.rb +49 -0
  469. data/lib/locomotive/liquid/tags/inherited_block.rb +1 -1
  470. data/lib/locomotive/liquid/tags/inline_editor.rb +20 -37
  471. data/lib/locomotive/liquid/tags/locale_switcher.rb +75 -0
  472. data/lib/locomotive/liquid/tags/nav.rb +50 -23
  473. data/lib/locomotive/liquid/tags/paginate.rb +9 -5
  474. data/lib/locomotive/liquid/tags/seo.rb +72 -0
  475. data/lib/locomotive/liquid/tags/snippet.rb +9 -4
  476. data/lib/locomotive/liquid/tags/with_scope.rb +6 -6
  477. data/lib/locomotive/logger.rb +2 -2
  478. data/lib/locomotive/middlewares.rb +3 -1
  479. data/lib/locomotive/middlewares/cache.rb +27 -0
  480. data/lib/locomotive/middlewares/fonts.rb +13 -7
  481. data/lib/locomotive/middlewares/seo_trailing_slash.rb +24 -0
  482. data/lib/locomotive/mongoid.rb +1 -1
  483. data/lib/locomotive/mongoid/document.rb +0 -1
  484. data/lib/locomotive/mongoid/patches.rb +43 -78
  485. data/lib/locomotive/render.rb +95 -78
  486. data/lib/locomotive/routing/default_constraint.rb +8 -4
  487. data/lib/locomotive/routing/site_dispatcher.rb +24 -19
  488. data/lib/locomotive/session_store.rb +8 -1
  489. data/lib/locomotive/version.rb +1 -1
  490. data/lib/tasks/cucumber.rake +16 -3
  491. data/lib/tasks/locomotive.rake +242 -0
  492. data/public/favicon.ico +0 -0
  493. data/vendor/assets/javascripts/locomotive/ICanHandlebarz.js +88 -0
  494. data/vendor/assets/javascripts/locomotive/backbone.modelbinding.js +556 -0
  495. data/vendor/assets/javascripts/locomotive/backbone.sync.js +113 -0
  496. data/{public/javascripts/admin/plugins/cookie.js → vendor/assets/javascripts/locomotive/cookies.js} +0 -0
  497. data/vendor/assets/javascripts/locomotive/datepicker_fr.js +16 -0
  498. data/vendor/assets/javascripts/locomotive/editable_field.js +50 -0
  499. data/{public/javascripts/admin/plugins → vendor/assets/javascripts/locomotive}/growl.js +0 -0
  500. data/vendor/assets/javascripts/locomotive/handlebars.js +1493 -0
  501. data/vendor/assets/javascripts/locomotive/liquid_mode.js +42 -0
  502. data/vendor/assets/javascripts/locomotive/menu_toggler.js +33 -0
  503. data/vendor/assets/javascripts/locomotive/resize.js +9 -0
  504. data/vendor/assets/javascripts/locomotive/slugify.js +31 -0
  505. data/vendor/assets/javascripts/locomotive/smartupdater.js +296 -0
  506. data/vendor/assets/javascripts/locomotive/subscribe.js +367 -0
  507. data/vendor/assets/javascripts/locomotive/toggle.js +142 -0
  508. data/vendor/assets/javascripts/locomotive/vendor.js +1 -0
  509. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/blueprint/ie.css +0 -0
  510. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/blueprint/print.css +0 -0
  511. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/blueprint/screen.css +0 -0
  512. data/vendor/assets/stylesheets/locomotive/jquery.css +3 -0
  513. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  514. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  515. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  516. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  517. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  518. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  519. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  520. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  521. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_222222_256x240.png +0 -0
  522. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  523. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_454545_256x240.png +0 -0
  524. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_888888_256x240.png +0 -0
  525. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  526. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/images/ui-icons_ffffff_256x240.png +0 -0
  527. data/{public/stylesheets/admin → vendor/assets/stylesheets/locomotive}/jquery/ui.css +0 -0
  528. data/vendor/assets/stylesheets/locomotive/liquid_mode.css +9 -0
  529. data/vendor/assets/stylesheets/locomotive/toggle.css.scss +52 -0
  530. metadata +782 -1678
  531. data/app/controllers/admin/accounts_controller.rb +0 -18
  532. data/app/controllers/admin/api_contents_controller.rb +0 -39
  533. data/app/controllers/admin/asset_collections_controller.rb +0 -25
  534. data/app/controllers/admin/assets_controller.rb +0 -30
  535. data/app/controllers/admin/base_controller.rb +0 -56
  536. data/app/controllers/admin/content_types_controller.rb +0 -11
  537. data/app/controllers/admin/contents_controller.rb +0 -45
  538. data/app/controllers/admin/cross_domain_sessions_controller.rb +0 -37
  539. data/app/controllers/admin/current_sites_controller.rb +0 -33
  540. data/app/controllers/admin/custom_fields_controller.rb +0 -39
  541. data/app/controllers/admin/images_controller.rb +0 -51
  542. data/app/controllers/admin/imports_controller.rb +0 -45
  543. data/app/controllers/admin/installation_controller.rb +0 -79
  544. data/app/controllers/admin/memberships_controller.rb +0 -26
  545. data/app/controllers/admin/my_accounts_controller.rb +0 -23
  546. data/app/controllers/admin/pages_controller.rb +0 -42
  547. data/app/controllers/admin/passwords_controller.rb +0 -13
  548. data/app/controllers/admin/rendering_controller.rb +0 -15
  549. data/app/controllers/admin/sessions_controller.rb +0 -19
  550. data/app/controllers/admin/sitemaps_controller.rb +0 -16
  551. data/app/controllers/admin/sites_controller.rb +0 -32
  552. data/app/controllers/admin/snippets_controller.rb +0 -15
  553. data/app/controllers/admin/theme_assets_controller.rb +0 -50
  554. data/app/controllers/application_controller.rb +0 -11
  555. data/app/helpers/admin/accounts_helper.rb +0 -8
  556. data/app/helpers/admin/assets_helper.rb +0 -15
  557. data/app/helpers/admin/base_helper.rb +0 -54
  558. data/app/helpers/admin/box_helper.rb +0 -21
  559. data/app/helpers/admin/custom_fields_helper.rb +0 -36
  560. data/app/helpers/admin/pages_helper.rb +0 -51
  561. data/app/helpers/admin/sites_helper.rb +0 -24
  562. data/app/models/account.rb +0 -63
  563. data/app/models/asset.rb +0 -43
  564. data/app/models/asset_collection.rb +0 -81
  565. data/app/models/content_instance.rb +0 -95
  566. data/app/models/content_type.rb +0 -114
  567. data/app/models/editable_element.rb +0 -21
  568. data/app/models/editable_file.rb +0 -9
  569. data/app/models/editable_long_text.rb +0 -3
  570. data/app/models/editable_short_text.rb +0 -12
  571. data/app/models/extensions/asset/vignette.rb +0 -42
  572. data/app/models/extensions/page/editable_elements.rb +0 -111
  573. data/app/models/extensions/page/parse.rb +0 -107
  574. data/app/models/extensions/page/redirect.rb +0 -25
  575. data/app/models/extensions/page/render.rb +0 -13
  576. data/app/models/extensions/page/templatized.rb +0 -32
  577. data/app/models/extensions/page/tree.rb +0 -156
  578. data/app/models/membership.rb +0 -39
  579. data/app/models/page.rb +0 -104
  580. data/app/models/site.rb +0 -112
  581. data/app/models/snippet.rb +0 -64
  582. data/app/models/theme_asset.rb +0 -138
  583. data/app/uploaders/asset_uploader.rb +0 -73
  584. data/app/uploaders/editable_file_uploader.rb +0 -11
  585. data/app/uploaders/theme_asset_uploader.rb +0 -32
  586. data/app/uploaders/theme_uploader.rb +0 -19
  587. data/app/views/admin/accounts/new.html.haml +0 -22
  588. data/app/views/admin/asset_collections/_asset.html.haml +0 -7
  589. data/app/views/admin/asset_collections/edit.html.haml +0 -33
  590. data/app/views/admin/asset_collections/index.html.haml +0 -8
  591. data/app/views/admin/asset_collections/new.html.haml +0 -17
  592. data/app/views/admin/assets/_form.html.haml +0 -17
  593. data/app/views/admin/assets/edit.html.haml +0 -15
  594. data/app/views/admin/assets/new.html.haml +0 -12
  595. data/app/views/admin/content_types/_form.html.haml +0 -22
  596. data/app/views/admin/content_types/edit.html.haml +0 -18
  597. data/app/views/admin/content_types/new.html.haml +0 -17
  598. data/app/views/admin/contents/_form.html.haml +0 -5
  599. data/app/views/admin/contents/_list.html.haml +0 -15
  600. data/app/views/admin/contents/edit.html.haml +0 -16
  601. data/app/views/admin/contents/index.html.haml +0 -27
  602. data/app/views/admin/contents/new.html.haml +0 -15
  603. data/app/views/admin/cross_domain_sessions/new.html.haml +0 -14
  604. data/app/views/admin/current_sites/_form.html.haml +0 -50
  605. data/app/views/admin/current_sites/edit.html.haml +0 -16
  606. data/app/views/admin/custom_fields/_custom_form.html.haml +0 -31
  607. data/app/views/admin/custom_fields/_edit_field.html.haml +0 -10
  608. data/app/views/admin/custom_fields/_index.html.haml +0 -61
  609. data/app/views/admin/custom_fields/edit_category.html.haml +0 -43
  610. data/app/views/admin/errors/404.html.haml +0 -7
  611. data/app/views/admin/errors/500.html.haml +0 -7
  612. data/app/views/admin/imports/new.html.haml +0 -32
  613. data/app/views/admin/imports/show.html.haml +0 -19
  614. data/app/views/admin/installation/step_1.html.haml +0 -24
  615. data/app/views/admin/installation/step_2.html.haml +0 -26
  616. data/app/views/admin/installation/step_3.html.haml +0 -23
  617. data/app/views/admin/layouts/application.html.haml +0 -27
  618. data/app/views/admin/layouts/box.html.haml +0 -21
  619. data/app/views/admin/mailer/confirmation_instructions.html.haml +0 -8
  620. data/app/views/admin/mailer/reset_password_instructions.html.haml +0 -12
  621. data/app/views/admin/mailer/unlock_instructions.html.haml +0 -10
  622. data/app/views/admin/memberships/new.html.haml +0 -15
  623. data/app/views/admin/my_accounts/edit.html.haml +0 -46
  624. data/app/views/admin/pages/_editable_elements.html.haml +0 -35
  625. data/app/views/admin/pages/_form.html.haml +0 -38
  626. data/app/views/admin/pages/_page.html.haml +0 -18
  627. data/app/views/admin/pages/edit.html.haml +0 -15
  628. data/app/views/admin/pages/index.html.haml +0 -18
  629. data/app/views/admin/pages/new.html.haml +0 -12
  630. data/app/views/admin/passwords/edit.html.haml +0 -18
  631. data/app/views/admin/passwords/new.html.haml +0 -17
  632. data/app/views/admin/sessions/new.html.haml +0 -17
  633. data/app/views/admin/shared/_footer.html.haml +0 -2
  634. data/app/views/admin/shared/_form_actions.html.haml +0 -15
  635. data/app/views/admin/shared/_head.html.haml +0 -17
  636. data/app/views/admin/shared/_header.html.haml +0 -15
  637. data/app/views/admin/shared/_menu.html.haml +0 -5
  638. data/app/views/admin/shared/menu/_assets.html.haml +0 -7
  639. data/app/views/admin/shared/menu/_contents.html.haml +0 -27
  640. data/app/views/admin/shared/menu/_settings.html.haml +0 -5
  641. data/app/views/admin/sitemaps/show.xml.builder +0 -28
  642. data/app/views/admin/sites/_form.html.haml +0 -35
  643. data/app/views/admin/sites/new.html.haml +0 -12
  644. data/app/views/admin/snippets/_form.html.haml +0 -14
  645. data/app/views/admin/snippets/_snippet.html.haml +0 -8
  646. data/app/views/admin/snippets/edit.html.haml +0 -15
  647. data/app/views/admin/snippets/new.html.haml +0 -12
  648. data/app/views/admin/theme_assets/_asset.html.haml +0 -13
  649. data/app/views/admin/theme_assets/_form.html.haml +0 -37
  650. data/app/views/admin/theme_assets/edit.html.haml +0 -15
  651. data/app/views/admin/theme_assets/images.html.haml +0 -15
  652. data/app/views/admin/theme_assets/index.html.haml +0 -51
  653. data/app/views/admin/theme_assets/new.html.haml +0 -12
  654. data/config/application.rb +0 -50
  655. data/config/assets.yml +0 -97
  656. data/config/boot.rb +0 -6
  657. data/config/environment.rb +0 -5
  658. data/config/environments/development.rb +0 -30
  659. data/config/environments/production.rb +0 -48
  660. data/config/environments/test.rb +0 -35
  661. data/config/initializers/backtrace_silencers.rb +0 -7
  662. data/config/initializers/carrierwave.rb +0 -17
  663. data/config/initializers/inflections.rb +0 -15
  664. data/config/initializers/locomotive.rb +0 -42
  665. data/config/initializers/mime_types.rb +0 -5
  666. data/config/initializers/rspec_generator.rb +0 -8
  667. data/config/initializers/secret_token.rb +0 -7
  668. data/config/locales/admin_ui_en.yml +0 -355
  669. data/config/locales/admin_ui_fr.yml +0 -354
  670. data/config/locales/default_en.yml +0 -32
  671. data/config/locales/default_fr.yml +0 -197
  672. data/config/mongoid.yml +0 -32
  673. data/lib/locomotive/admin_responder.rb +0 -28
  674. data/lib/locomotive/delayed_job.rb +0 -47
  675. data/lib/locomotive/heroku.rb +0 -61
  676. data/lib/locomotive/heroku/custom_domain.rb +0 -52
  677. data/lib/locomotive/import.rb +0 -9
  678. data/lib/locomotive/import/asset_collections.rb +0 -85
  679. data/lib/locomotive/import/assets.rb +0 -82
  680. data/lib/locomotive/import/base.rb +0 -46
  681. data/lib/locomotive/import/content_types.rb +0 -120
  682. data/lib/locomotive/import/job.rb +0 -168
  683. data/lib/locomotive/import/logger.rb +0 -13
  684. data/lib/locomotive/import/pages.rb +0 -188
  685. data/lib/locomotive/import/site.rb +0 -15
  686. data/lib/locomotive/import/snippets.rb +0 -21
  687. data/lib/locomotive/inherited_resources.rb +0 -47
  688. data/lib/locomotive/liquid/drops/asset.rb +0 -21
  689. data/lib/locomotive/liquid/drops/asset_collections.rb +0 -54
  690. data/lib/locomotive/liquid/drops/content.rb +0 -21
  691. data/lib/locomotive/liquid/drops/contents.rb +0 -66
  692. data/lib/locomotive/misc_form_builder.rb +0 -42
  693. data/lib/locomotive/railties/tasks.rake +0 -16
  694. data/lib/tasks/rspec.rake +0 -69
  695. data/public/images/admin/background/footer.png +0 -0
  696. data/public/images/admin/box/bottom_panel_bg.png +0 -0
  697. data/public/images/admin/box/buttons/left_bg.png +0 -0
  698. data/public/images/admin/box/buttons/right_bg.png +0 -0
  699. data/public/images/admin/box/content_panel_bg.png +0 -0
  700. data/public/images/admin/box/input_bg.png +0 -0
  701. data/public/images/admin/box/top_panel_bg.png +0 -0
  702. data/public/images/admin/buttons/action-left.png +0 -0
  703. data/public/images/admin/buttons/action-right.png +0 -0
  704. data/public/images/admin/buttons/add-left.png +0 -0
  705. data/public/images/admin/buttons/add-right.png +0 -0
  706. data/public/images/admin/buttons/dark-gray-bg.png +0 -0
  707. data/public/images/admin/buttons/dark-gray-left.png +0 -0
  708. data/public/images/admin/buttons/dark-gray-right.png +0 -0
  709. data/public/images/admin/buttons/emboss-left.png +0 -0
  710. data/public/images/admin/buttons/emboss-right.png +0 -0
  711. data/public/images/admin/buttons/gray-left.png +0 -0
  712. data/public/images/admin/buttons/gray-right.png +0 -0
  713. data/public/images/admin/buttons/light-gray-left.png +0 -0
  714. data/public/images/admin/buttons/light-gray-right.png +0 -0
  715. data/public/images/admin/buttons/search.png +0 -0
  716. data/public/images/admin/buttons/transparent-left.png +0 -0
  717. data/public/images/admin/buttons/transparent-right.png +0 -0
  718. data/public/images/admin/form/big_item-popup.png +0 -0
  719. data/public/images/admin/form/big_item.png +0 -0
  720. data/public/images/admin/form/error-arrow.png +0 -0
  721. data/public/images/admin/form/field.png +0 -0
  722. data/public/images/admin/form/folded.png +0 -0
  723. data/public/images/admin/form/footer-popup.png +0 -0
  724. data/public/images/admin/form/footer.png +0 -0
  725. data/public/images/admin/form/growl-error.png +0 -0
  726. data/public/images/admin/form/growl-notice.png +0 -0
  727. data/public/images/admin/form/header-first-on.png +0 -0
  728. data/public/images/admin/form/header-left-on.png +0 -0
  729. data/public/images/admin/form/header-on.png +0 -0
  730. data/public/images/admin/form/header-popup.png +0 -0
  731. data/public/images/admin/form/header-right-on.png +0 -0
  732. data/public/images/admin/form/header.png +0 -0
  733. data/public/images/admin/form/item-popup.png +0 -0
  734. data/public/images/admin/form/item.png +0 -0
  735. data/public/images/admin/form/pen.png +0 -0
  736. data/public/images/admin/icons/filetype/medium/AC3.png +0 -0
  737. data/public/images/admin/icons/filetype/medium/ACE.png +0 -0
  738. data/public/images/admin/icons/filetype/medium/ADE.png +0 -0
  739. data/public/images/admin/icons/filetype/medium/ADP.png +0 -0
  740. data/public/images/admin/icons/filetype/medium/AI.png +0 -0
  741. data/public/images/admin/icons/filetype/medium/AIFF.png +0 -0
  742. data/public/images/admin/icons/filetype/medium/AU.png +0 -0
  743. data/public/images/admin/icons/filetype/medium/AVI.png +0 -0
  744. data/public/images/admin/icons/filetype/medium/BAT.png +0 -0
  745. data/public/images/admin/icons/filetype/medium/BIN.png +0 -0
  746. data/public/images/admin/icons/filetype/medium/BMP.png +0 -0
  747. data/public/images/admin/icons/filetype/medium/BUP.png +0 -0
  748. data/public/images/admin/icons/filetype/medium/CAB.png +0 -0
  749. data/public/images/admin/icons/filetype/medium/CAT.png +0 -0
  750. data/public/images/admin/icons/filetype/medium/CHM.png +0 -0
  751. data/public/images/admin/icons/filetype/medium/CSS.png +0 -0
  752. data/public/images/admin/icons/filetype/medium/CUE.png +0 -0
  753. data/public/images/admin/icons/filetype/medium/DAT.png +0 -0
  754. data/public/images/admin/icons/filetype/medium/DCR.png +0 -0
  755. data/public/images/admin/icons/filetype/medium/DER.png +0 -0
  756. data/public/images/admin/icons/filetype/medium/DIC.png +0 -0
  757. data/public/images/admin/icons/filetype/medium/DIVX.png +0 -0
  758. data/public/images/admin/icons/filetype/medium/DIZ.png +0 -0
  759. data/public/images/admin/icons/filetype/medium/DLL.png +0 -0
  760. data/public/images/admin/icons/filetype/medium/DOC.png +0 -0
  761. data/public/images/admin/icons/filetype/medium/DOCX.png +0 -0
  762. data/public/images/admin/icons/filetype/medium/DOS.png +0 -0
  763. data/public/images/admin/icons/filetype/medium/DVD.png +0 -0
  764. data/public/images/admin/icons/filetype/medium/DWG.png +0 -0
  765. data/public/images/admin/icons/filetype/medium/DWT.png +0 -0
  766. data/public/images/admin/icons/filetype/medium/EMF.png +0 -0
  767. data/public/images/admin/icons/filetype/medium/EXC.png +0 -0
  768. data/public/images/admin/icons/filetype/medium/FON.png +0 -0
  769. data/public/images/admin/icons/filetype/medium/GIF.png +0 -0
  770. data/public/images/admin/icons/filetype/medium/HLP.png +0 -0
  771. data/public/images/admin/icons/filetype/medium/HTML.png +0 -0
  772. data/public/images/admin/icons/filetype/medium/IFO.png +0 -0
  773. data/public/images/admin/icons/filetype/medium/INF.png +0 -0
  774. data/public/images/admin/icons/filetype/medium/INI.png +0 -0
  775. data/public/images/admin/icons/filetype/medium/INS.png +0 -0
  776. data/public/images/admin/icons/filetype/medium/IP.png +0 -0
  777. data/public/images/admin/icons/filetype/medium/ISO.png +0 -0
  778. data/public/images/admin/icons/filetype/medium/ISP.png +0 -0
  779. data/public/images/admin/icons/filetype/medium/JAVA.png +0 -0
  780. data/public/images/admin/icons/filetype/medium/JFIF.png +0 -0
  781. data/public/images/admin/icons/filetype/medium/JPEG.png +0 -0
  782. data/public/images/admin/icons/filetype/medium/JPG.png +0 -0
  783. data/public/images/admin/icons/filetype/medium/LOG.png +0 -0
  784. data/public/images/admin/icons/filetype/medium/M4A.png +0 -0
  785. data/public/images/admin/icons/filetype/medium/MID.png +0 -0
  786. data/public/images/admin/icons/filetype/medium/MMF.png +0 -0
  787. data/public/images/admin/icons/filetype/medium/MMM.png +0 -0
  788. data/public/images/admin/icons/filetype/medium/MOV.png +0 -0
  789. data/public/images/admin/icons/filetype/medium/MOVIE.png +0 -0
  790. data/public/images/admin/icons/filetype/medium/MP2.png +0 -0
  791. data/public/images/admin/icons/filetype/medium/MP2V.png +0 -0
  792. data/public/images/admin/icons/filetype/medium/MP3.png +0 -0
  793. data/public/images/admin/icons/filetype/medium/MP4.png +0 -0
  794. data/public/images/admin/icons/filetype/medium/MPE.png +0 -0
  795. data/public/images/admin/icons/filetype/medium/MPEG.png +0 -0
  796. data/public/images/admin/icons/filetype/medium/MPG.png +0 -0
  797. data/public/images/admin/icons/filetype/medium/MPV2.png +0 -0
  798. data/public/images/admin/icons/filetype/medium/NFO.png +0 -0
  799. data/public/images/admin/icons/filetype/medium/PDD.png +0 -0
  800. data/public/images/admin/icons/filetype/medium/PDF.png +0 -0
  801. data/public/images/admin/icons/filetype/medium/PHP.png +0 -0
  802. data/public/images/admin/icons/filetype/medium/PNG.png +0 -0
  803. data/public/images/admin/icons/filetype/medium/PPT.png +0 -0
  804. data/public/images/admin/icons/filetype/medium/PPTX.png +0 -0
  805. data/public/images/admin/icons/filetype/medium/PSD.png +0 -0
  806. data/public/images/admin/icons/filetype/medium/RAR.png +0 -0
  807. data/public/images/admin/icons/filetype/medium/REG.png +0 -0
  808. data/public/images/admin/icons/filetype/medium/RTF.png +0 -0
  809. data/public/images/admin/icons/filetype/medium/SCP.png +0 -0
  810. data/public/images/admin/icons/filetype/medium/THEME.png +0 -0
  811. data/public/images/admin/icons/filetype/medium/TIF.png +0 -0
  812. data/public/images/admin/icons/filetype/medium/TIFF.png +0 -0
  813. data/public/images/admin/icons/filetype/medium/TLB.png +0 -0
  814. data/public/images/admin/icons/filetype/medium/TTF.png +0 -0
  815. data/public/images/admin/icons/filetype/medium/TXT.png +0 -0
  816. data/public/images/admin/icons/filetype/medium/Thumbs.db +0 -0
  817. data/public/images/admin/icons/filetype/medium/UIS.png +0 -0
  818. data/public/images/admin/icons/filetype/medium/URL.png +0 -0
  819. data/public/images/admin/icons/filetype/medium/VBS.png +0 -0
  820. data/public/images/admin/icons/filetype/medium/VCR.png +0 -0
  821. data/public/images/admin/icons/filetype/medium/VOB.png +0 -0
  822. data/public/images/admin/icons/filetype/medium/WAV.png +0 -0
  823. data/public/images/admin/icons/filetype/medium/WBA.png +0 -0
  824. data/public/images/admin/icons/filetype/medium/WMA.png +0 -0
  825. data/public/images/admin/icons/filetype/medium/WMV.png +0 -0
  826. data/public/images/admin/icons/filetype/medium/WPL.png +0 -0
  827. data/public/images/admin/icons/filetype/medium/WRI.png +0 -0
  828. data/public/images/admin/icons/filetype/medium/WTX.png +0 -0
  829. data/public/images/admin/icons/filetype/medium/XLS.png +0 -0
  830. data/public/images/admin/icons/filetype/medium/XLSX.png +0 -0
  831. data/public/images/admin/icons/filetype/medium/XML.png +0 -0
  832. data/public/images/admin/icons/filetype/medium/XSL.png +0 -0
  833. data/public/images/admin/icons/filetype/medium/ZAP.png +0 -0
  834. data/public/images/admin/icons/filetype/medium/ZIP.png +0 -0
  835. data/public/images/admin/icons/filetype/medium/unknown.png +0 -0
  836. data/public/images/admin/icons/filetype/thumb/AC3.png +0 -0
  837. data/public/images/admin/icons/filetype/thumb/ACE.png +0 -0
  838. data/public/images/admin/icons/filetype/thumb/ADE.png +0 -0
  839. data/public/images/admin/icons/filetype/thumb/ADP.png +0 -0
  840. data/public/images/admin/icons/filetype/thumb/AI.png +0 -0
  841. data/public/images/admin/icons/filetype/thumb/AIFF.png +0 -0
  842. data/public/images/admin/icons/filetype/thumb/AU.png +0 -0
  843. data/public/images/admin/icons/filetype/thumb/AVI.png +0 -0
  844. data/public/images/admin/icons/filetype/thumb/BAT.png +0 -0
  845. data/public/images/admin/icons/filetype/thumb/BIN.png +0 -0
  846. data/public/images/admin/icons/filetype/thumb/BMP.png +0 -0
  847. data/public/images/admin/icons/filetype/thumb/BUP.png +0 -0
  848. data/public/images/admin/icons/filetype/thumb/CAB.png +0 -0
  849. data/public/images/admin/icons/filetype/thumb/CAT.png +0 -0
  850. data/public/images/admin/icons/filetype/thumb/CHM.png +0 -0
  851. data/public/images/admin/icons/filetype/thumb/CSS.png +0 -0
  852. data/public/images/admin/icons/filetype/thumb/CUE.png +0 -0
  853. data/public/images/admin/icons/filetype/thumb/DAT.png +0 -0
  854. data/public/images/admin/icons/filetype/thumb/DCR.png +0 -0
  855. data/public/images/admin/icons/filetype/thumb/DER.png +0 -0
  856. data/public/images/admin/icons/filetype/thumb/DIC.png +0 -0
  857. data/public/images/admin/icons/filetype/thumb/DIVX.png +0 -0
  858. data/public/images/admin/icons/filetype/thumb/DIZ.png +0 -0
  859. data/public/images/admin/icons/filetype/thumb/DLL.png +0 -0
  860. data/public/images/admin/icons/filetype/thumb/DOC.png +0 -0
  861. data/public/images/admin/icons/filetype/thumb/DOCX.png +0 -0
  862. data/public/images/admin/icons/filetype/thumb/DOS.png +0 -0
  863. data/public/images/admin/icons/filetype/thumb/DVD.png +0 -0
  864. data/public/images/admin/icons/filetype/thumb/DWG.png +0 -0
  865. data/public/images/admin/icons/filetype/thumb/DWT.png +0 -0
  866. data/public/images/admin/icons/filetype/thumb/EMF.png +0 -0
  867. data/public/images/admin/icons/filetype/thumb/EXC.png +0 -0
  868. data/public/images/admin/icons/filetype/thumb/FON.png +0 -0
  869. data/public/images/admin/icons/filetype/thumb/GIF.png +0 -0
  870. data/public/images/admin/icons/filetype/thumb/HLP.png +0 -0
  871. data/public/images/admin/icons/filetype/thumb/HTML.png +0 -0
  872. data/public/images/admin/icons/filetype/thumb/IFO.png +0 -0
  873. data/public/images/admin/icons/filetype/thumb/INF.png +0 -0
  874. data/public/images/admin/icons/filetype/thumb/INI.png +0 -0
  875. data/public/images/admin/icons/filetype/thumb/INS.png +0 -0
  876. data/public/images/admin/icons/filetype/thumb/IP.png +0 -0
  877. data/public/images/admin/icons/filetype/thumb/ISO.png +0 -0
  878. data/public/images/admin/icons/filetype/thumb/ISP.png +0 -0
  879. data/public/images/admin/icons/filetype/thumb/JAVA.png +0 -0
  880. data/public/images/admin/icons/filetype/thumb/JFIF.png +0 -0
  881. data/public/images/admin/icons/filetype/thumb/JPEG.png +0 -0
  882. data/public/images/admin/icons/filetype/thumb/JPG.png +0 -0
  883. data/public/images/admin/icons/filetype/thumb/LOG.png +0 -0
  884. data/public/images/admin/icons/filetype/thumb/M4A.png +0 -0
  885. data/public/images/admin/icons/filetype/thumb/MID.png +0 -0
  886. data/public/images/admin/icons/filetype/thumb/MMF.png +0 -0
  887. data/public/images/admin/icons/filetype/thumb/MMM.png +0 -0
  888. data/public/images/admin/icons/filetype/thumb/MOV.png +0 -0
  889. data/public/images/admin/icons/filetype/thumb/MOVIE.png +0 -0
  890. data/public/images/admin/icons/filetype/thumb/MP2.png +0 -0
  891. data/public/images/admin/icons/filetype/thumb/MP2V.png +0 -0
  892. data/public/images/admin/icons/filetype/thumb/MP3.png +0 -0
  893. data/public/images/admin/icons/filetype/thumb/MP4.png +0 -0
  894. data/public/images/admin/icons/filetype/thumb/MPE.png +0 -0
  895. data/public/images/admin/icons/filetype/thumb/MPEG.png +0 -0
  896. data/public/images/admin/icons/filetype/thumb/MPG.png +0 -0
  897. data/public/images/admin/icons/filetype/thumb/MPV2.png +0 -0
  898. data/public/images/admin/icons/filetype/thumb/NFO.png +0 -0
  899. data/public/images/admin/icons/filetype/thumb/PDD.png +0 -0
  900. data/public/images/admin/icons/filetype/thumb/PDF.png +0 -0
  901. data/public/images/admin/icons/filetype/thumb/PHP.png +0 -0
  902. data/public/images/admin/icons/filetype/thumb/PNG.png +0 -0
  903. data/public/images/admin/icons/filetype/thumb/PPT.png +0 -0
  904. data/public/images/admin/icons/filetype/thumb/PPTX.png +0 -0
  905. data/public/images/admin/icons/filetype/thumb/PSD.png +0 -0
  906. data/public/images/admin/icons/filetype/thumb/RAR.png +0 -0
  907. data/public/images/admin/icons/filetype/thumb/REG.png +0 -0
  908. data/public/images/admin/icons/filetype/thumb/RTF.png +0 -0
  909. data/public/images/admin/icons/filetype/thumb/SCP.png +0 -0
  910. data/public/images/admin/icons/filetype/thumb/THEME.png +0 -0
  911. data/public/images/admin/icons/filetype/thumb/TIF.png +0 -0
  912. data/public/images/admin/icons/filetype/thumb/TIFF.png +0 -0
  913. data/public/images/admin/icons/filetype/thumb/TLB.png +0 -0
  914. data/public/images/admin/icons/filetype/thumb/TTF.png +0 -0
  915. data/public/images/admin/icons/filetype/thumb/TXT.png +0 -0
  916. data/public/images/admin/icons/filetype/thumb/UIS.png +0 -0
  917. data/public/images/admin/icons/filetype/thumb/URL.png +0 -0
  918. data/public/images/admin/icons/filetype/thumb/VBS.png +0 -0
  919. data/public/images/admin/icons/filetype/thumb/VCR.png +0 -0
  920. data/public/images/admin/icons/filetype/thumb/VOB.png +0 -0
  921. data/public/images/admin/icons/filetype/thumb/WAV.png +0 -0
  922. data/public/images/admin/icons/filetype/thumb/WBA.png +0 -0
  923. data/public/images/admin/icons/filetype/thumb/WMA.png +0 -0
  924. data/public/images/admin/icons/filetype/thumb/WMV.png +0 -0
  925. data/public/images/admin/icons/filetype/thumb/WPL.png +0 -0
  926. data/public/images/admin/icons/filetype/thumb/WRI.png +0 -0
  927. data/public/images/admin/icons/filetype/thumb/WTX.png +0 -0
  928. data/public/images/admin/icons/filetype/thumb/XLS.png +0 -0
  929. data/public/images/admin/icons/filetype/thumb/XLSX.png +0 -0
  930. data/public/images/admin/icons/filetype/thumb/XML.png +0 -0
  931. data/public/images/admin/icons/filetype/thumb/XSL.png +0 -0
  932. data/public/images/admin/icons/filetype/thumb/ZAP.png +0 -0
  933. data/public/images/admin/icons/filetype/thumb/ZIP.png +0 -0
  934. data/public/images/admin/icons/filetype/thumb/unknown.png +0 -0
  935. data/public/images/admin/inline_editor/action-left.png +0 -0
  936. data/public/images/admin/inline_editor/action-right.png +0 -0
  937. data/public/images/admin/inline_editor/bg.png +0 -0
  938. data/public/images/admin/inline_editor/drawer.png +0 -0
  939. data/public/images/admin/list/item-left.png +0 -0
  940. data/public/images/admin/list/item-right.png +0 -0
  941. data/public/images/admin/list/item.png +0 -0
  942. data/public/images/admin/list/none-small.png +0 -0
  943. data/public/images/admin/list/none.png +0 -0
  944. data/public/images/admin/list/thumb.png +0 -0
  945. data/public/images/admin/menu/arrow.png +0 -0
  946. data/public/images/admin/menu/blue-bg.png +0 -0
  947. data/public/images/admin/menu/blue-border.png +0 -0
  948. data/public/images/admin/menu/gray-bg.png +0 -0
  949. data/public/images/admin/menu/gray-border.png +0 -0
  950. data/public/images/admin/menu/green-bg.png +0 -0
  951. data/public/images/admin/menu/green-border.png +0 -0
  952. data/public/images/admin/menu/icons/assets.png +0 -0
  953. data/public/images/admin/menu/icons/folder.png +0 -0
  954. data/public/images/admin/menu/icons/settings.png +0 -0
  955. data/public/images/admin/menu/left.png +0 -0
  956. data/public/images/admin/menu/popup-body.png +0 -0
  957. data/public/images/admin/menu/popup-footer.png +0 -0
  958. data/public/images/admin/menu/popup-header.png +0 -0
  959. data/public/images/admin/menu/right.png +0 -0
  960. data/public/images/admin/menu/shadow.png +0 -0
  961. data/public/images/admin/menu/top-left.png +0 -0
  962. data/public/images/admin/menu/top.png +0 -0
  963. data/public/images/admin/plugins/fancybox/blank.gif +0 -0
  964. data/public/images/admin/plugins/fancybox/fancy_close.png +0 -0
  965. data/public/images/admin/plugins/fancybox/fancy_loading.png +0 -0
  966. data/public/images/admin/plugins/fancybox/fancy_nav_left.png +0 -0
  967. data/public/images/admin/plugins/fancybox/fancy_nav_right.png +0 -0
  968. data/public/images/admin/plugins/fancybox/fancy_shadow_e.png +0 -0
  969. data/public/images/admin/plugins/fancybox/fancy_shadow_n.png +0 -0
  970. data/public/images/admin/plugins/fancybox/fancy_shadow_ne.png +0 -0
  971. data/public/images/admin/plugins/fancybox/fancy_shadow_nw.png +0 -0
  972. data/public/images/admin/plugins/fancybox/fancy_shadow_s.png +0 -0
  973. data/public/images/admin/plugins/fancybox/fancy_shadow_se.png +0 -0
  974. data/public/images/admin/plugins/fancybox/fancy_shadow_sw.png +0 -0
  975. data/public/images/admin/plugins/fancybox/fancy_shadow_w.png +0 -0
  976. data/public/images/admin/plugins/fancybox/fancy_title_left.png +0 -0
  977. data/public/images/admin/plugins/fancybox/fancy_title_main.png +0 -0
  978. data/public/images/admin/plugins/fancybox/fancy_title_over.png +0 -0
  979. data/public/images/admin/plugins/fancybox/fancy_title_right.png +0 -0
  980. data/public/images/admin/plugins/fancybox/fancybox-x.png +0 -0
  981. data/public/images/admin/plugins/fancybox/fancybox-y.png +0 -0
  982. data/public/images/admin/plugins/fancybox/fancybox.png +0 -0
  983. data/public/images/admin/plugins/toggle_handle-bg.png +0 -0
  984. data/public/images/admin/plugins/toggle_handle_left-bg.png +0 -0
  985. data/public/images/admin/plugins/toggle_handle_right-bg.png +0 -0
  986. data/public/images/admin/plugins/toggle_shadow-bg.png +0 -0
  987. data/public/javascripts/admin/account.js +0 -5
  988. data/public/javascripts/admin/aloha/VERSION.txt +0 -2
  989. data/public/javascripts/admin/aloha/aloha-nodeps.js +0 -192
  990. data/public/javascripts/admin/aloha/aloha.js +0 -334
  991. data/public/javascripts/admin/aloha/css/aloha.css +0 -469
  992. data/public/javascripts/admin/aloha/deps/MIT-LICENSE.txt +0 -20
  993. data/public/javascripts/admin/aloha/deps/extjs/resources/charts.swf +0 -0
  994. data/public/javascripts/admin/aloha/deps/extjs/resources/css/ext-all.css +0 -6795
  995. data/public/javascripts/admin/aloha/deps/extjs/resources/css/xtheme-gray.css +0 -1654
  996. data/public/javascripts/admin/aloha/deps/extjs/resources/expressinstall.swf +0 -0
  997. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners-blue.gif +0 -0
  998. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/corners.gif +0 -0
  999. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l-blue.gif +0 -0
  1000. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/l.gif +0 -0
  1001. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r-blue.gif +0 -0
  1002. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/r.gif +0 -0
  1003. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb-blue.gif +0 -0
  1004. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/box/tb.gif +0 -0
  1005. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/arrow.gif +0 -0
  1006. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/btn.gif +0 -0
  1007. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-cs.gif +0 -0
  1008. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-lr.gif +0 -0
  1009. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/group-tb.gif +0 -0
  1010. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b-noline.gif +0 -0
  1011. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-b.gif +0 -0
  1012. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-bo.gif +0 -0
  1013. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-noline.gif +0 -0
  1014. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow-o.gif +0 -0
  1015. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/button/s-arrow.gif +0 -0
  1016. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-add.gif +0 -0
  1017. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-no.gif +0 -0
  1018. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/dd/drop-yes.gif +0 -0
  1019. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/editor/tb-sprite.gif +0 -0
  1020. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/checkbox.gif +0 -0
  1021. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.gif +0 -0
  1022. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/clear-trigger.psd +0 -0
  1023. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.gif +0 -0
  1024. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/date-trigger.psd +0 -0
  1025. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/error-tip-corners.gif +0 -0
  1026. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/exclamation.gif +0 -0
  1027. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/radio.gif +0 -0
  1028. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.gif +0 -0
  1029. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/search-trigger.psd +0 -0
  1030. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/text-bg.gif +0 -0
  1031. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.gif +0 -0
  1032. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-square.psd +0 -0
  1033. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger-tpl.gif +0 -0
  1034. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.gif +0 -0
  1035. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/form/trigger.psd +0 -0
  1036. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/gradient-bg.gif +0 -0
  1037. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-left-white.gif +0 -0
  1038. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/arrow-right-white.gif +0 -0
  1039. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-bottom.gif +0 -0
  1040. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/col-move-top.gif +0 -0
  1041. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/columns.gif +0 -0
  1042. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/dirty.gif +0 -0
  1043. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/done.gif +0 -0
  1044. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-no.gif +0 -0
  1045. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/drop-yes.gif +0 -0
  1046. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/footer-bg.gif +0 -0
  1047. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-hd.gif +0 -0
  1048. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-blue-split.gif +0 -0
  1049. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-hrow.gif +0 -0
  1050. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-loading.gif +0 -0
  1051. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-split.gif +0 -0
  1052. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid-vista-hd.gif +0 -0
  1053. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hd-btn.gif +0 -0
  1054. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow-over.gif +0 -0
  1055. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-hrow.gif +0 -0
  1056. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
  1057. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
  1058. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-by.gif +0 -0
  1059. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-collapse.gif +0 -0
  1060. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand-sprite.gif +0 -0
  1061. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/group-expand.gif +0 -0
  1062. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hd-pop.gif +0 -0
  1063. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-asc.gif +0 -0
  1064. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-desc.gif +0 -0
  1065. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.gif +0 -0
  1066. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.png +0 -0
  1067. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.gif +0 -0
  1068. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.png +0 -0
  1069. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/invalid_line.gif +0 -0
  1070. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/loading.gif +0 -0
  1071. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/mso-hd.gif +0 -0
  1072. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/nowait.gif +0 -0
  1073. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first-disabled.gif +0 -0
  1074. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-first.gif +0 -0
  1075. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last-disabled.gif +0 -0
  1076. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-last.gif +0 -0
  1077. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next-disabled.gif +0 -0
  1078. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-next.gif +0 -0
  1079. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev-disabled.gif +0 -0
  1080. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/page-prev.gif +0 -0
  1081. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/pick-button.gif +0 -0
  1082. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/refresh.gif +0 -0
  1083. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-check-sprite.gif +0 -0
  1084. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-expand-sprite.gif +0 -0
  1085. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-over.gif +0 -0
  1086. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/row-sel.gif +0 -0
  1087. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort-hd.gif +0 -0
  1088. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_asc.gif +0 -0
  1089. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/sort_desc.gif +0 -0
  1090. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/grid/wait.gif +0 -0
  1091. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/collapse.gif +0 -0
  1092. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/expand.gif +0 -0
  1093. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/gradient-bg.gif +0 -0
  1094. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-bottom.gif +0 -0
  1095. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-left.gif +0 -0
  1096. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-right.gif +0 -0
  1097. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/mini-top.gif +0 -0
  1098. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-collapse.gif +0 -0
  1099. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/ns-expand.gif +0 -0
  1100. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-close.gif +0 -0
  1101. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-bg.gif +0 -0
  1102. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/panel-title-light-bg.gif +0 -0
  1103. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stick.gif +0 -0
  1104. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/stuck.gif +0 -0
  1105. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close-on.gif +0 -0
  1106. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/layout/tab-close.gif +0 -0
  1107. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/checked.gif +0 -0
  1108. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/group-checked.gif +0 -0
  1109. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/item-over.gif +0 -0
  1110. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu-parent.gif +0 -0
  1111. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/menu.gif +0 -0
  1112. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/menu/unchecked.gif +0 -0
  1113. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/corners-sprite.gif +0 -0
  1114. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/left-right.gif +0 -0
  1115. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/light-hd.gif +0 -0
  1116. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
  1117. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tool-sprites.gif +0 -0
  1118. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/tools-sprites-trans.gif +0 -0
  1119. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.gif +0 -0
  1120. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/top-bottom.png +0 -0
  1121. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-corners-sprite.gif +0 -0
  1122. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-left-right.gif +0 -0
  1123. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/panel/white-top-bottom.gif +0 -0
  1124. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/progress/progress-bg.gif +0 -0
  1125. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/bg.gif +0 -0
  1126. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/close.gif +0 -0
  1127. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
  1128. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/qtip/tip-sprite.gif +0 -0
  1129. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/s.gif +0 -0
  1130. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-c.png +0 -0
  1131. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow-lr.png +0 -0
  1132. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shadow.png +0 -0
  1133. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/blue-loading.gif +0 -0
  1134. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/calendar.gif +0 -0
  1135. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/glass-bg.gif +0 -0
  1136. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/hd-sprite.gif +0 -0
  1137. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/large-loading.gif +0 -0
  1138. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/left-btn.gif +0 -0
  1139. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/loading-balls.gif +0 -0
  1140. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/right-btn.gif +0 -0
  1141. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/shared/warning.gif +0 -0
  1142. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle-dark.gif +0 -0
  1143. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/e-handle.gif +0 -0
  1144. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle-dark.gif +0 -0
  1145. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/ne-handle.gif +0 -0
  1146. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle-dark.gif +0 -0
  1147. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/nw-handle.gif +0 -0
  1148. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle-dark.gif +0 -0
  1149. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/s-handle.gif +0 -0
  1150. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle-dark.gif +0 -0
  1151. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/se-handle.gif +0 -0
  1152. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/square.gif +0 -0
  1153. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle-dark.gif +0 -0
  1154. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/sizer/sw-handle.gif +0 -0
  1155. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-bg.png +0 -0
  1156. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-thumb.png +0 -0
  1157. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-bg.png +0 -0
  1158. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/slider/slider-v-thumb.png +0 -0
  1159. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-left.gif +0 -0
  1160. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroll-right.gif +0 -0
  1161. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/scroller-bg.gif +0 -0
  1162. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
  1163. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
  1164. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
  1165. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
  1166. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
  1167. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
  1168. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-close.gif +0 -0
  1169. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.gif +0 -0
  1170. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.png +0 -0
  1171. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
  1172. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tabs/tabs-sprite.gif +0 -0
  1173. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/bg.gif +0 -0
  1174. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
  1175. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow.gif +0 -0
  1176. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/btn-over-bg.gif +0 -0
  1177. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/gray-bg.gif +0 -0
  1178. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/more.gif +0 -0
  1179. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-bg.gif +0 -0
  1180. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
  1181. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
  1182. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
  1183. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/arrows.gif +0 -0
  1184. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-add.gif +0 -0
  1185. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-between.gif +0 -0
  1186. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-no.gif +0 -0
  1187. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-over.gif +0 -0
  1188. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-under.gif +0 -0
  1189. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/drop-yes.gif +0 -0
  1190. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
  1191. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus.gif +0 -0
  1192. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
  1193. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus.gif +0 -0
  1194. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-end.gif +0 -0
  1195. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-line.gif +0 -0
  1196. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus-nl.gif +0 -0
  1197. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-minus.gif +0 -0
  1198. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus-nl.gif +0 -0
  1199. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow-plus.gif +0 -0
  1200. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/elbow.gif +0 -0
  1201. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder-open.gif +0 -0
  1202. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/folder.gif +0 -0
  1203. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/leaf.gif +0 -0
  1204. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/loading.gif +0 -0
  1205. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/tree/s.gif +0 -0
  1206. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-error.gif +0 -0
  1207. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-info.gif +0 -0
  1208. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-question.gif +0 -0
  1209. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/icon-warning.gif +0 -0
  1210. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.png +0 -0
  1211. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-corners.psd +0 -0
  1212. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.png +0 -0
  1213. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/left-right.psd +0 -0
  1214. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.png +0 -0
  1215. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/right-corners.psd +0 -0
  1216. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.png +0 -0
  1217. data/public/javascripts/admin/aloha/deps/extjs/resources/images/default/window/top-bottom.psd +0 -0
  1218. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-arrow.gif +0 -0
  1219. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn-sprite.gif +0 -0
  1220. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/btn.gif +0 -0
  1221. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-cs.gif +0 -0
  1222. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-lr.gif +0 -0
  1223. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/group-tb.gif +0 -0
  1224. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-bo.gif +0 -0
  1225. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/button/s-arrow-o.gif +0 -0
  1226. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/clear-trigger.gif +0 -0
  1227. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/date-trigger.gif +0 -0
  1228. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/search-trigger.gif +0 -0
  1229. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger-square.gif +0 -0
  1230. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/form/trigger.gif +0 -0
  1231. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/gradient-bg.gif +0 -0
  1232. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-bottom.gif +0 -0
  1233. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/col-move-top.gif +0 -0
  1234. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
  1235. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
  1236. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
  1237. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow.gif +0 -0
  1238. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow2.gif +0 -0
  1239. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
  1240. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
  1241. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
  1242. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-collapse.gif +0 -0
  1243. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand-sprite.gif +0 -0
  1244. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/group-expand.gif +0 -0
  1245. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-first.gif +0 -0
  1246. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-last.gif +0 -0
  1247. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-next.gif +0 -0
  1248. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/page-prev.gif +0 -0
  1249. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/refresh.gif +0 -0
  1250. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/row-expand-sprite.gif +0 -0
  1251. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_asc.gif +0 -0
  1252. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/grid/sort_desc.gif +0 -0
  1253. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/group-checked.gif +0 -0
  1254. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over-disabled.gif +0 -0
  1255. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/item-over.gif +0 -0
  1256. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/menu/menu-parent.gif +0 -0
  1257. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/corners-sprite.gif +0 -0
  1258. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/left-right.gif +0 -0
  1259. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/light-hd.gif +0 -0
  1260. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
  1261. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tool-sprites.gif +0 -0
  1262. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
  1263. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.gif +0 -0
  1264. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/top-bottom.png +0 -0
  1265. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-corners-sprite.gif +0 -0
  1266. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-left-right.gif +0 -0
  1267. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/panel/white-top-bottom.gif +0 -0
  1268. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/progress/progress-bg.gif +0 -0
  1269. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/bg.gif +0 -0
  1270. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/close.gif +0 -0
  1271. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
  1272. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/qtip/tip-sprite.gif +0 -0
  1273. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/s.gif +0 -0
  1274. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/hd-sprite.gif +0 -0
  1275. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/left-btn.gif +0 -0
  1276. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/shared/right-btn.gif +0 -0
  1277. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/e-handle.gif +0 -0
  1278. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/ne-handle.gif +0 -0
  1279. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/nw-handle.gif +0 -0
  1280. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/s-handle.gif +0 -0
  1281. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/se-handle.gif +0 -0
  1282. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/square.gif +0 -0
  1283. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/sizer/sw-handle.gif +0 -0
  1284. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-thumb.png +0 -0
  1285. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/slider/slider-v-thumb.png +0 -0
  1286. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-left.gif +0 -0
  1287. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroll-right.gif +0 -0
  1288. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/scroller-bg.gif +0 -0
  1289. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
  1290. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
  1291. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
  1292. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
  1293. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
  1294. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
  1295. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-close.gif +0 -0
  1296. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
  1297. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.png +0 -0
  1298. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
  1299. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tabs/tabs-sprite.gif +0 -0
  1300. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/bg.gif +0 -0
  1301. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
  1302. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow.gif +0 -0
  1303. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
  1304. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/gray-bg.gif +0 -0
  1305. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/more.gif +0 -0
  1306. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-bg.gif +0 -0
  1307. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
  1308. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/arrows.gif +0 -0
  1309. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
  1310. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus.gif +0 -0
  1311. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
  1312. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus.gif +0 -0
  1313. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-error.gif +0 -0
  1314. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-info.gif +0 -0
  1315. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-question.gif +0 -0
  1316. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/icon-warning.gif +0 -0
  1317. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.png +0 -0
  1318. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-corners.pspimage +0 -0
  1319. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/left-right.png +0 -0
  1320. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/right-corners.png +0 -0
  1321. data/public/javascripts/admin/aloha/deps/extjs/resources/images/gray/window/top-bottom.png +0 -0
  1322. data/public/javascripts/admin/aloha/deps/extjs/resources/resources.jsb +0 -507
  1323. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/css/prettyPhoto.css +0 -386
  1324. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnNext.png +0 -0
  1325. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnPrevious.png +0 -0
  1326. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/contentPattern.png +0 -0
  1327. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/loader.gif +0 -0
  1328. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_rounded/sprite.png +0 -0
  1329. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnNext.png +0 -0
  1330. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/btnPrevious.png +0 -0
  1331. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/contentPattern.png +0 -0
  1332. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/loader.gif +0 -0
  1333. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/dark_square/sprite.png +0 -0
  1334. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnNext.png +0 -0
  1335. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/btnPrevious.png +0 -0
  1336. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternBottom.png +0 -0
  1337. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternLeft.png +0 -0
  1338. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternRight.png +0 -0
  1339. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternTop.png +0 -0
  1340. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/loader.gif +0 -0
  1341. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/facebook/sprite.png +0 -0
  1342. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnNext.png +0 -0
  1343. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/btnPrevious.png +0 -0
  1344. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/loader.gif +0 -0
  1345. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_rounded/sprite.png +0 -0
  1346. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnNext.png +0 -0
  1347. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/btnPrevious.png +0 -0
  1348. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/loader.gif +0 -0
  1349. data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/images/light_square/sprite.png +0 -0
  1350. data/public/javascripts/admin/aloha/i18n/de.dict +0 -7
  1351. data/public/javascripts/admin/aloha/i18n/en.dict +0 -7
  1352. data/public/javascripts/admin/aloha/i18n/eo.dict +0 -5
  1353. data/public/javascripts/admin/aloha/i18n/fi.dict +0 -5
  1354. data/public/javascripts/admin/aloha/i18n/fr.dict +0 -5
  1355. data/public/javascripts/admin/aloha/i18n/it.dict +0 -5
  1356. data/public/javascripts/admin/aloha/i18n/pl.dict +0 -5
  1357. data/public/javascripts/admin/aloha/i18n/ru.dict +0 -5
  1358. data/public/javascripts/admin/aloha/images/base.gif +0 -0
  1359. data/public/javascripts/admin/aloha/images/base.png +0 -0
  1360. data/public/javascripts/admin/aloha/images/base_big.png +0 -0
  1361. data/public/javascripts/admin/aloha/images/base_multi.png +0 -0
  1362. data/public/javascripts/admin/aloha/images/fade_in.png +0 -0
  1363. data/public/javascripts/admin/aloha/images/fade_out.png +0 -0
  1364. data/public/javascripts/admin/aloha/images/gentics_logo.png +0 -0
  1365. data/public/javascripts/admin/aloha/images/grabhandle.png +0 -0
  1366. data/public/javascripts/admin/aloha/images/maximize.png +0 -0
  1367. data/public/javascripts/admin/aloha/images/multisplit-close.gif +0 -0
  1368. data/public/javascripts/admin/aloha/images/multisplit-open.gif +0 -0
  1369. data/public/javascripts/admin/aloha/images/multisplit_base.jpg +0 -0
  1370. data/public/javascripts/admin/aloha/images/pin.png +0 -0
  1371. data/public/javascripts/admin/aloha/images/removeformat.png +0 -0
  1372. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/examples/triSports.css +0 -86
  1373. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/examples/triSports.html +0 -44
  1374. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/de.dict +0 -4
  1375. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/en.dict +0 -4
  1376. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/fr.dict +0 -4
  1377. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/plugin.js +0 -1
  1378. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/product.js +0 -1
  1379. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/2xu-wetsuit.jpg +0 -0
  1380. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/asics-noosa.jpg +0 -0
  1381. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/fivefingers-kso.jpg +0 -0
  1382. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/kuota-kueen-k.jpg +0 -0
  1383. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/mizuno-wave-musha2.jpg +0 -0
  1384. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/product.css +0 -69
  1385. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/product_button.gif +0 -0
  1386. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/simplon-mrt.jpg +0 -0
  1387. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/trek-fuel-ex.jpg +0 -0
  1388. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/trisports.jpg +0 -0
  1389. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/zoggs-predator.jpg +0 -0
  1390. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/de.dict +0 -2
  1391. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/en.dict +0 -3
  1392. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/fi.dict +0 -3
  1393. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/fr.dict +0 -3
  1394. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/i18n/it.dict +0 -3
  1395. data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Save/plugin.js +0 -7
  1396. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.css +0 -48
  1397. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.html +0 -69
  1398. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/de.dict +0 -4
  1399. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/en.dict +0 -4
  1400. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/plugin.js +0 -7
  1401. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/de.dict +0 -30
  1402. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/en.dict +0 -30
  1403. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/eo.dict +0 -29
  1404. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fi.dict +0 -30
  1405. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fr.dict +0 -30
  1406. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/it.dict +0 -30
  1407. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/pl.dict +0 -30
  1408. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/ru.dict +0 -30
  1409. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/plugin.js +0 -7
  1410. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/css/HighlightEditables.css +0 -14
  1411. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js +0 -7
  1412. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/LinkList.js +0 -7
  1413. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/Link.css +0 -15
  1414. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/delicious.js +0 -7
  1415. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/de.dict +0 -4
  1416. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/en.dict +0 -4
  1417. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/fr.dict +0 -4
  1418. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/pl.dict +0 -4
  1419. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/ru.dict +0 -4
  1420. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/plugin.js +0 -7
  1421. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/css/LinkChecker.css +0 -14
  1422. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.css +0 -49
  1423. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.html +0 -82
  1424. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/i18n/en.dict +0 -27
  1425. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/plugin.js +0 -7
  1426. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/proxy.php +0 -235
  1427. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/de.dict +0 -2
  1428. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/en.dict +0 -2
  1429. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/eo.dict +0 -2
  1430. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fi.dict +0 -2
  1431. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fr.dict +0 -2
  1432. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/it.dict +0 -2
  1433. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/i18n/ru.dict +0 -2
  1434. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/plugin.js +0 -7
  1435. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/plugin.js +0 -7
  1436. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/wordpastehandler.js +0 -7
  1437. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/de.dict +0 -1
  1438. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/en.dict +0 -1
  1439. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/plugin.js +0 -1
  1440. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/de.dict +0 -14
  1441. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/en.dict +0 -14
  1442. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/eo.dict +0 -12
  1443. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fi.dict +0 -12
  1444. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fr.dict +0 -12
  1445. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/it.dict +0 -12
  1446. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/pl.dict +0 -12
  1447. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/ru.dict +0 -12
  1448. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/plugin.js +0 -7
  1449. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/down.cur +0 -0
  1450. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/left.cur +0 -0
  1451. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css +0 -112
  1452. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_green.png +0 -0
  1453. data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_red.png +0 -0
  1454. data/public/javascripts/admin/application.js +0 -134
  1455. data/public/javascripts/admin/asset_collections.js +0 -55
  1456. data/public/javascripts/admin/assets.js +0 -5
  1457. data/public/javascripts/admin/content_types.js +0 -16
  1458. data/public/javascripts/admin/contents.js +0 -24
  1459. data/public/javascripts/admin/custom_fields.js +0 -155
  1460. data/public/javascripts/admin/custom_fields/category.js +0 -101
  1461. data/public/javascripts/admin/editable_elements.js +0 -30
  1462. data/public/javascripts/admin/import.js +0 -32
  1463. data/public/javascripts/admin/inline_editor.js +0 -64
  1464. data/public/javascripts/admin/inline_editor_toolbar.js +0 -170
  1465. data/public/javascripts/admin/jquery.js +0 -154
  1466. data/public/javascripts/admin/jquery.ui.js +0 -404
  1467. data/public/javascripts/admin/locales/datepicker_fr.js +0 -18
  1468. data/public/javascripts/admin/pages.js +0 -104
  1469. data/public/javascripts/admin/plugins/codemirror/codemirror.js +0 -469
  1470. data/public/javascripts/admin/plugins/codemirror/editor.js +0 -1465
  1471. data/public/javascripts/admin/plugins/codemirror/highlight.js +0 -68
  1472. data/public/javascripts/admin/plugins/codemirror/mirrorframe.js +0 -81
  1473. data/public/javascripts/admin/plugins/codemirror/parsecss.js +0 -155
  1474. data/public/javascripts/admin/plugins/codemirror/parsedummy.js +0 -32
  1475. data/public/javascripts/admin/plugins/codemirror/parsehtmlmixed.js +0 -74
  1476. data/public/javascripts/admin/plugins/codemirror/parsejavascript.js +0 -352
  1477. data/public/javascripts/admin/plugins/codemirror/parseliquid.js +0 -409
  1478. data/public/javascripts/admin/plugins/codemirror/parsesparql.js +0 -162
  1479. data/public/javascripts/admin/plugins/codemirror/parsexml.js +0 -286
  1480. data/public/javascripts/admin/plugins/codemirror/select.js +0 -619
  1481. data/public/javascripts/admin/plugins/codemirror/stringstream.js +0 -140
  1482. data/public/javascripts/admin/plugins/codemirror/tokenize.js +0 -57
  1483. data/public/javascripts/admin/plugins/codemirror/tokenizejavascript.js +0 -174
  1484. data/public/javascripts/admin/plugins/codemirror/undo.js +0 -410
  1485. data/public/javascripts/admin/plugins/codemirror/util.js +0 -130
  1486. data/public/javascripts/admin/plugins/fancybox.js +0 -1077
  1487. data/public/javascripts/admin/plugins/imagepicker.js +0 -81
  1488. data/public/javascripts/admin/plugins/json2.js +0 -478
  1489. data/public/javascripts/admin/plugins/plupload/gears_init.js +0 -86
  1490. data/public/javascripts/admin/plugins/plupload/jquery.plupload.queue.min.js +0 -1
  1491. data/public/javascripts/admin/plugins/plupload/plupload.browserplus.min.js +0 -1
  1492. data/public/javascripts/admin/plugins/plupload/plupload.flash.min.js +0 -1
  1493. data/public/javascripts/admin/plugins/plupload/plupload.flash.swf +0 -0
  1494. data/public/javascripts/admin/plugins/plupload/plupload.full.js +0 -1
  1495. data/public/javascripts/admin/plugins/plupload/plupload.gears.min.js +0 -1
  1496. data/public/javascripts/admin/plugins/plupload/plupload.html4.min.js +0 -1
  1497. data/public/javascripts/admin/plugins/plupload/plupload.html5.min.js +0 -1
  1498. data/public/javascripts/admin/plugins/plupload/plupload.js +0 -1
  1499. data/public/javascripts/admin/plugins/plupload/plupload.silverlight.min.js +0 -1
  1500. data/public/javascripts/admin/plugins/plupload/plupload.silverlight.xap +0 -0
  1501. data/public/javascripts/admin/plugins/plupload/src/flash.js +0 -298
  1502. data/public/javascripts/admin/plugins/plupload/src/plupload.js +0 -1333
  1503. data/public/javascripts/admin/plugins/scrollTo.js +0 -11
  1504. data/public/javascripts/admin/plugins/selectmenu.js +0 -527
  1505. data/public/javascripts/admin/plugins/shortcut.js +0 -56
  1506. data/public/javascripts/admin/plugins/smartupdater.js +0 -155
  1507. data/public/javascripts/admin/plugins/subscribe.js +0 -367
  1508. data/public/javascripts/admin/plugins/tiny_mce/langs/en.js +0 -170
  1509. data/public/javascripts/admin/plugins/tiny_mce/langs/fr.js +0 -154
  1510. data/public/javascripts/admin/plugins/tiny_mce/license.txt +0 -504
  1511. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/css/advhr.css +0 -5
  1512. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin.js +0 -1
  1513. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -57
  1514. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/js/rule.js +0 -43
  1515. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -5
  1516. data/public/javascripts/admin/plugins/tiny_mce/plugins/advhr/rule.htm +0 -57
  1517. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/css/advlink.css +0 -8
  1518. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin.js +0 -1
  1519. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -61
  1520. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/js/advlink.js +0 -528
  1521. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -52
  1522. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlink/link.htm +0 -333
  1523. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin.js +0 -1
  1524. data/public/javascripts/admin/plugins/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -154
  1525. data/public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin.js +0 -1
  1526. data/public/javascripts/admin/plugins/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -119
  1527. data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin.js +0 -1
  1528. data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -422
  1529. data/public/javascripts/admin/plugins/tiny_mce/plugins/autosave/langs/en.js +0 -4
  1530. data/public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin.js +0 -1
  1531. data/public/javascripts/admin/plugins/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -120
  1532. data/public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -1
  1533. data/public/javascripts/admin/plugins/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -147
  1534. data/public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin.js +0 -1
  1535. data/public/javascripts/admin/plugins/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -82
  1536. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin.js +0 -1
  1537. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -43
  1538. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/emotions.htm +0 -40
  1539. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  1540. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  1541. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  1542. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  1543. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  1544. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  1545. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  1546. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  1547. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  1548. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  1549. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  1550. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  1551. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  1552. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  1553. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  1554. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  1555. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/js/emotions.js +0 -22
  1556. data/public/javascripts/admin/plugins/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -20
  1557. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/dialog.htm +0 -22
  1558. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin.js +0 -1
  1559. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/editor_plugin_src.js +0 -84
  1560. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/img/example.gif +0 -0
  1561. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/js/dialog.js +0 -19
  1562. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en.js +0 -3
  1563. data/public/javascripts/admin/plugins/tiny_mce/plugins/example/langs/en_dlg.js +0 -3
  1564. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/css/fullpage.css +0 -182
  1565. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin.js +0 -1
  1566. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -153
  1567. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/fullpage.htm +0 -571
  1568. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/js/fullpage.js +0 -471
  1569. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -85
  1570. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -1
  1571. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -151
  1572. data/public/javascripts/admin/plugins/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -109
  1573. data/public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin.js +0 -1
  1574. data/public/javascripts/admin/plugins/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -54
  1575. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -1
  1576. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -635
  1577. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
  1578. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  1579. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  1580. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
  1581. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  1582. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  1583. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  1584. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -90
  1585. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/skins/locomotive/window.css +0 -72
  1586. data/public/javascripts/admin/plugins/tiny_mce/plugins/inlinepopups/template.htm +0 -387
  1587. data/public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -1
  1588. data/public/javascripts/admin/plugins/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -83
  1589. data/public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin.js +0 -1
  1590. data/public/javascripts/admin/plugins/tiny_mce/plugins/layer/editor_plugin_src.js +0 -212
  1591. data/public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -1
  1592. data/public/javascripts/admin/plugins/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -136
  1593. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/css/locoimage.css +0 -110
  1594. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin.js +0 -1
  1595. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/editor_plugin_src.js +0 -46
  1596. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/image.htm +0 -62
  1597. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/img/sample.gif +0 -0
  1598. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/js/image.js +0 -172
  1599. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/en_dlg.js +0 -9
  1600. data/public/javascripts/admin/plugins/tiny_mce/plugins/locoimage/langs/fr_dlg.js +0 -9
  1601. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/css/content.css +0 -6
  1602. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/css/media.css +0 -16
  1603. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin.js +0 -1
  1604. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/editor_plugin_src.js +0 -414
  1605. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flash.gif +0 -0
  1606. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/flv_player.swf +0 -0
  1607. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/quicktime.gif +0 -0
  1608. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/realmedia.gif +0 -0
  1609. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/shockwave.gif +0 -0
  1610. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/trans.gif +0 -0
  1611. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
  1612. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/js/embed.js +0 -73
  1613. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/js/media.js +0 -630
  1614. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/langs/en_dlg.js +0 -103
  1615. data/public/javascripts/admin/plugins/tiny_mce/plugins/media/media.htm +0 -817
  1616. data/public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -1
  1617. data/public/javascripts/admin/plugins/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -53
  1618. data/public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin.js +0 -1
  1619. data/public/javascripts/admin/plugins/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -90
  1620. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/css/content.css +0 -1
  1621. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -1
  1622. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -77
  1623. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
  1624. data/public/javascripts/admin/plugins/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
  1625. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin.js +0 -1
  1626. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/editor_plugin_src.js +0 -940
  1627. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pastetext.js +0 -36
  1628. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/js/pasteword.js +0 -51
  1629. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/langs/en_dlg.js +0 -5
  1630. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/pastetext.htm +0 -27
  1631. data/public/javascripts/admin/plugins/tiny_mce/plugins/paste/pasteword.htm +0 -21
  1632. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin.js +0 -1
  1633. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/editor_plugin_src.js +0 -53
  1634. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/example.html +0 -28
  1635. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/jscripts/embed.js +0 -73
  1636. data/public/javascripts/admin/plugins/tiny_mce/plugins/preview/preview.html +0 -17
  1637. data/public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin.js +0 -1
  1638. data/public/javascripts/admin/plugins/tiny_mce/plugins/print/editor_plugin_src.js +0 -34
  1639. data/public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin.js +0 -1
  1640. data/public/javascripts/admin/plugins/tiny_mce/plugins/save/editor_plugin_src.js +0 -101
  1641. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -6
  1642. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -1
  1643. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -57
  1644. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -130
  1645. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -16
  1646. data/public/javascripts/admin/plugins/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -99
  1647. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/css/content.css +0 -1
  1648. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -1
  1649. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -417
  1650. data/public/javascripts/admin/plugins/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
  1651. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/css/props.css +0 -13
  1652. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin.js +0 -1
  1653. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/editor_plugin_src.js +0 -55
  1654. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/js/props.js +0 -641
  1655. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/langs/en_dlg.js +0 -63
  1656. data/public/javascripts/admin/plugins/tiny_mce/plugins/style/props.htm +0 -723
  1657. data/public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -1
  1658. data/public/javascripts/admin/plugins/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -112
  1659. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/cell.htm +0 -178
  1660. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/cell.css +0 -17
  1661. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/row.css +0 -25
  1662. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/css/table.css +0 -13
  1663. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin.js +0 -1
  1664. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/editor_plugin_src.js +0 -1125
  1665. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/cell.js +0 -286
  1666. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/merge_cells.js +0 -27
  1667. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/row.js +0 -237
  1668. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/js/table.js +0 -449
  1669. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/langs/en_dlg.js +0 -74
  1670. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/merge_cells.htm +0 -32
  1671. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/row.htm +0 -155
  1672. data/public/javascripts/admin/plugins/tiny_mce/plugins/table/table.htm +0 -187
  1673. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/blank.htm +0 -12
  1674. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/css/template.css +0 -23
  1675. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin.js +0 -1
  1676. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/editor_plugin_src.js +0 -159
  1677. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/js/template.js +0 -106
  1678. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/langs/en_dlg.js +0 -15
  1679. data/public/javascripts/admin/plugins/tiny_mce/plugins/template/template.htm +0 -31
  1680. data/public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin.js +0 -1
  1681. data/public/javascripts/admin/plugins/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -76
  1682. data/public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin.js +0 -1
  1683. data/public/javascripts/admin/plugins/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -98
  1684. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -141
  1685. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -141
  1686. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -148
  1687. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -141
  1688. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -11
  1689. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -9
  1690. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/del.htm +0 -161
  1691. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -1
  1692. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -144
  1693. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -161
  1694. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -28
  1695. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -28
  1696. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -126
  1697. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -28
  1698. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -63
  1699. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -231
  1700. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -62
  1701. data/public/javascripts/admin/plugins/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -32
  1702. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/about.htm +0 -54
  1703. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/anchor.htm +0 -26
  1704. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/charmap.htm +0 -52
  1705. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/color_picker.htm +0 -73
  1706. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template.js +0 -1
  1707. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/editor_template_src.js +0 -1194
  1708. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/image.htm +0 -80
  1709. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  1710. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/img/icons.gif +0 -0
  1711. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/about.js +0 -72
  1712. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/anchor.js +0 -37
  1713. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/charmap.js +0 -335
  1714. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/color_picker.js +0 -253
  1715. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/image.js +0 -245
  1716. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/link.js +0 -156
  1717. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/js/source_editor.js +0 -62
  1718. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en.js +0 -62
  1719. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/en_dlg.js +0 -51
  1720. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr.js +0 -62
  1721. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/langs/fr_dlg.js +0 -51
  1722. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/link.htm +0 -58
  1723. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/dialog.css +0 -61
  1724. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/skins/locomotive/ui.css +0 -997
  1725. data/public/javascripts/admin/plugins/tiny_mce/themes/advanced/source_editor.htm +0 -25
  1726. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template.js +0 -1
  1727. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/editor_template_src.js +0 -85
  1728. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/img/icons.gif +0 -0
  1729. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/langs/en.js +0 -11
  1730. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/content.css +0 -25
  1731. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/default/ui.css +0 -32
  1732. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/content.css +0 -17
  1733. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  1734. data/public/javascripts/admin/plugins/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -35
  1735. data/public/javascripts/admin/plugins/tiny_mce/tiny_mce.js +0 -1
  1736. data/public/javascripts/admin/plugins/tiny_mce/tiny_mce_popup.js +0 -5
  1737. data/public/javascripts/admin/plugins/tiny_mce/tiny_mce_src.js +0 -13374
  1738. data/public/javascripts/admin/plugins/tiny_mce/tinymce.js +0 -1
  1739. data/public/javascripts/admin/plugins/tiny_mce/utils/editable_selects.js +0 -70
  1740. data/public/javascripts/admin/plugins/tiny_mce/utils/form_utils.js +0 -200
  1741. data/public/javascripts/admin/plugins/tiny_mce/utils/mctabs.js +0 -77
  1742. data/public/javascripts/admin/plugins/tiny_mce/utils/validate.js +0 -220
  1743. data/public/javascripts/admin/plugins/toggle.js +0 -112
  1744. data/public/javascripts/admin/plugins/wslide.js +0 -125
  1745. data/public/javascripts/admin/rails.js +0 -132
  1746. data/public/javascripts/admin/site.js +0 -49
  1747. data/public/javascripts/admin/snippets.js +0 -22
  1748. data/public/javascripts/admin/theme_assets.js +0 -43
  1749. data/public/javascripts/admin/utils.js +0 -16
  1750. data/public/stylesheets/admin/application.css +0 -248
  1751. data/public/stylesheets/admin/assets.css +0 -54
  1752. data/public/stylesheets/admin/blueprint/plugins/buttons/icons/cross.png +0 -0
  1753. data/public/stylesheets/admin/blueprint/plugins/buttons/icons/key.png +0 -0
  1754. data/public/stylesheets/admin/blueprint/plugins/buttons/icons/tick.png +0 -0
  1755. data/public/stylesheets/admin/blueprint/plugins/buttons/readme.txt +0 -32
  1756. data/public/stylesheets/admin/blueprint/plugins/buttons/screen.css +0 -97
  1757. data/public/stylesheets/admin/blueprint/plugins/fancy-type/readme.txt +0 -14
  1758. data/public/stylesheets/admin/blueprint/plugins/fancy-type/screen.css +0 -71
  1759. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/doc.png +0 -0
  1760. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/email.png +0 -0
  1761. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/external.png +0 -0
  1762. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/feed.png +0 -0
  1763. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/im.png +0 -0
  1764. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  1765. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/visited.png +0 -0
  1766. data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/xls.png +0 -0
  1767. data/public/stylesheets/admin/blueprint/plugins/link-icons/readme.txt +0 -18
  1768. data/public/stylesheets/admin/blueprint/plugins/link-icons/screen.css +0 -40
  1769. data/public/stylesheets/admin/blueprint/plugins/rtl/readme.txt +0 -10
  1770. data/public/stylesheets/admin/blueprint/plugins/rtl/screen.css +0 -109
  1771. data/public/stylesheets/admin/blueprint/src/forms.css +0 -49
  1772. data/public/stylesheets/admin/blueprint/src/grid.css +0 -213
  1773. data/public/stylesheets/admin/blueprint/src/grid.png +0 -0
  1774. data/public/stylesheets/admin/blueprint/src/ie.css +0 -59
  1775. data/public/stylesheets/admin/blueprint/src/print.css +0 -85
  1776. data/public/stylesheets/admin/blueprint/src/reset.css +0 -38
  1777. data/public/stylesheets/admin/blueprint/src/typography.css +0 -105
  1778. data/public/stylesheets/admin/box.css +0 -153
  1779. data/public/stylesheets/admin/buttons.css +0 -55
  1780. data/public/stylesheets/admin/editable_elements.css +0 -64
  1781. data/public/stylesheets/admin/fancybox_changes.css +0 -101
  1782. data/public/stylesheets/admin/formtastic.css +0 -137
  1783. data/public/stylesheets/admin/formtastic_changes.css +0 -493
  1784. data/public/stylesheets/admin/inline_editor.css +0 -107
  1785. data/public/stylesheets/admin/installation.css +0 -50
  1786. data/public/stylesheets/admin/layout.css +0 -198
  1787. data/public/stylesheets/admin/menu.css +0 -241
  1788. data/public/stylesheets/admin/plugins/codemirror/csscolors.css +0 -51
  1789. data/public/stylesheets/admin/plugins/codemirror/docs.css +0 -50
  1790. data/public/stylesheets/admin/plugins/codemirror/javascriptcolors.css +0 -56
  1791. data/public/stylesheets/admin/plugins/codemirror/jscolors.css +0 -59
  1792. data/public/stylesheets/admin/plugins/codemirror/liquidcolors.css +0 -35
  1793. data/public/stylesheets/admin/plugins/codemirror/people.jpg +0 -0
  1794. data/public/stylesheets/admin/plugins/codemirror/sparqlcolors.css +0 -43
  1795. data/public/stylesheets/admin/plugins/codemirror/xmlcolors.css +0 -55
  1796. data/public/stylesheets/admin/plugins/fancybox.css +0 -363
  1797. data/public/stylesheets/admin/plugins/selectmenu.css +0 -64
  1798. data/public/stylesheets/admin/plugins/tiny_mce.css +0 -105
  1799. data/public/stylesheets/admin/plugins/toggle.css +0 -42
  1800. data/public/stylesheets/admin/safari.css +0 -15
@@ -1,62 +0,0 @@
1
- /**
2
- * ins.js
3
- *
4
- * Copyright 2009, Moxiecode Systems AB
5
- * Released under LGPL License.
6
- *
7
- * License: http://tinymce.moxiecode.com/license
8
- * Contributing: http://tinymce.moxiecode.com/contributing
9
- */
10
-
11
- function init() {
12
- SXE.initElementDialog('ins');
13
- if (SXE.currentAction == "update") {
14
- setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime'));
15
- setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite'));
16
- SXE.showRemoveButton();
17
- }
18
- }
19
-
20
- function setElementAttribs(elm) {
21
- setAllCommonAttribs(elm);
22
- setAttrib(elm, 'datetime');
23
- setAttrib(elm, 'cite');
24
- }
25
-
26
- function insertIns() {
27
- var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'INS');
28
- tinyMCEPopup.execCommand('mceBeginUndoLevel');
29
- if (elm == null) {
30
- var s = SXE.inst.selection.getContent();
31
- if(s.length > 0) {
32
- insertInlineElement('INS');
33
- var elementArray = tinymce.grep(SXE.inst.dom.select('ins'), function(n) {return n.id == '#sxe_temp_ins#';});
34
- for (var i=0; i<elementArray.length; i++) {
35
- var elm = elementArray[i];
36
- setElementAttribs(elm);
37
- }
38
- }
39
- } else {
40
- setElementAttribs(elm);
41
- }
42
- tinyMCEPopup.editor.nodeChanged();
43
- tinyMCEPopup.execCommand('mceEndUndoLevel');
44
- tinyMCEPopup.close();
45
- }
46
-
47
- function removeIns() {
48
- SXE.removeElement('ins');
49
- tinyMCEPopup.close();
50
- }
51
-
52
- function insertInlineElement(en) {
53
- var ed = tinyMCEPopup.editor, dom = ed.dom;
54
-
55
- ed.getDoc().execCommand('FontName', false, 'mceinline');
56
- tinymce.each(dom.select(tinymce.isWebKit ? 'span' : 'font'), function(n) {
57
- if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline')
58
- dom.replace(dom.create(en), n, 1);
59
- });
60
- }
61
-
62
- tinyMCEPopup.onInit.add(init);
@@ -1,32 +0,0 @@
1
- tinyMCE.addI18n('en.xhtmlxtras_dlg',{
2
- attribute_label_title:"Title",
3
- attribute_label_id:"ID",
4
- attribute_label_class:"Class",
5
- attribute_label_style:"Style",
6
- attribute_label_cite:"Cite",
7
- attribute_label_datetime:"Date/Time",
8
- attribute_label_langdir:"Text Direction",
9
- attribute_option_ltr:"Left to right",
10
- attribute_option_rtl:"Right to left",
11
- attribute_label_langcode:"Language",
12
- attribute_label_tabindex:"TabIndex",
13
- attribute_label_accesskey:"AccessKey",
14
- attribute_events_tab:"Events",
15
- attribute_attrib_tab:"Attributes",
16
- general_tab:"General",
17
- attrib_tab:"Attributes",
18
- events_tab:"Events",
19
- fieldset_general_tab:"General Settings",
20
- fieldset_attrib_tab:"Element Attributes",
21
- fieldset_events_tab:"Element Events",
22
- title_ins_element:"Insertion Element",
23
- title_del_element:"Deletion Element",
24
- title_acronym_element:"Acronym Element",
25
- title_abbr_element:"Abbreviation Element",
26
- title_cite_element:"Citation Element",
27
- remove:"Remove",
28
- insert_date:"Insert current date/time",
29
- option_ltr:"Left to right",
30
- option_rtl:"Right to left",
31
- attribs_title:"Insert/Edit Attributes"
32
- });
@@ -1,54 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advanced_dlg.about_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
- <script type="text/javascript" src="js/about.js"></script>
8
- </head>
9
- <body id="about" style="display: none">
10
- <div class="tabs">
11
- <ul>
12
- <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.about_general}</a></span></li>
13
- <li id="help_tab" style="display:none"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{#advanced_dlg.about_help}</a></span></li>
14
- <li id="plugins_tab"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{#advanced_dlg.about_plugins}</a></span></li>
15
- </ul>
16
- </div>
17
-
18
- <div class="panel_wrapper">
19
- <div id="general_panel" class="panel current">
20
- <h3>{#advanced_dlg.about_title}</h3>
21
- <p>Version: <span id="version"></span> (<span id="date"></span>)</p>
22
- <p>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under <a href="../../license.txt" target="_blank">LGPL</a>
23
- by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.</p>
24
- <p>Copyright &copy; 2003-2008, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.</p>
25
- <p>For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.</p>
26
-
27
- <div id="buttoncontainer">
28
- <a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a>
29
- <a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="http://sourceforge.net/sflogo.php?group_id=103281" alt="Hosted By Sourceforge" border="0" /></a>
30
- <a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="http://tinymce.moxiecode.com/images/fm.gif" alt="Also on freshmeat" border="0" /></a>
31
- </div>
32
- </div>
33
-
34
- <div id="plugins_panel" class="panel">
35
- <div id="pluginscontainer">
36
- <h3>{#advanced_dlg.about_loaded}</h3>
37
-
38
- <div id="plugintablecontainer">
39
- </div>
40
-
41
- <p>&nbsp;</p>
42
- </div>
43
- </div>
44
-
45
- <div id="help_panel" class="panel noscroll" style="overflow: visible;">
46
- <div id="iframecontainer"></div>
47
- </div>
48
- </div>
49
-
50
- <div class="mceActionPanel">
51
- <input type="button" id="cancel" name="cancel" value="{#close}" onclick="tinyMCEPopup.close();" />
52
- </div>
53
- </body>
54
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advanced_dlg.anchor_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="js/anchor.js"></script>
7
- </head>
8
- <body style="display: none">
9
- <form onsubmit="AnchorDialog.update();return false;" action="#">
10
- <table border="0" cellpadding="4" cellspacing="0">
11
- <tr>
12
- <td colspan="2" class="title">{#advanced_dlg.anchor_title}</td>
13
- </tr>
14
- <tr>
15
- <td class="nowrap">{#advanced_dlg.anchor_name}:</td>
16
- <td><input name="anchorName" type="text" class="mceFocus" id="anchorName" value="" style="width: 200px" /></td>
17
- </tr>
18
- </table>
19
-
20
- <div class="mceActionPanel">
21
- <input type="submit" id="insert" name="insert" value="{#update}" />
22
- <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
23
- </div>
24
- </form>
25
- </body>
26
- </html>
@@ -1,52 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advanced_dlg.charmap_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="js/charmap.js"></script>
7
- </head>
8
- <body id="charmap" style="display:none">
9
- <table align="center" border="0" cellspacing="0" cellpadding="2">
10
- <tr>
11
- <td colspan="2" class="title">{#advanced_dlg.charmap_title}</td>
12
- </tr>
13
- <tr>
14
- <td id="charmapView" rowspan="2" align="left" valign="top">
15
- <!-- Chars will be rendered here -->
16
- </td>
17
- <td width="100" align="center" valign="top">
18
- <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px">
19
- <tr>
20
- <td id="codeV">&nbsp;</td>
21
- </tr>
22
- <tr>
23
- <td id="codeN">&nbsp;</td>
24
- </tr>
25
- </table>
26
- </td>
27
- </tr>
28
- <tr>
29
- <td valign="bottom" style="padding-bottom: 3px;">
30
- <table width="100" align="center" border="0" cellpadding="2" cellspacing="0">
31
- <tr>
32
- <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td>
33
- </tr>
34
- <tr>
35
- <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
36
- </tr>
37
- <tr>
38
- <td style="font-size: 1px;">&nbsp;</td>
39
- </tr>
40
- <tr>
41
- <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td>
42
- </tr>
43
- <tr>
44
- <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
45
- </tr>
46
- </table>
47
- </td>
48
- </tr>
49
- </table>
50
-
51
- </body>
52
- </html>
@@ -1,73 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <title>{#advanced_dlg.colorpicker_title}</title>
5
- <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
- <script type="text/javascript" src="../../utils/mctabs.js"></script>
7
- <script type="text/javascript" src="js/color_picker.js"></script>
8
- </head>
9
- <body id="colorpicker" style="display: none">
10
- <form onsubmit="insertAction();return false" action="#">
11
- <div class="tabs">
12
- <ul>
13
- <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
14
- <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
15
- <li id="named_tab"><span><a href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
16
- </ul>
17
- </div>
18
-
19
- <div class="panel_wrapper">
20
- <div id="picker_panel" class="panel current">
21
- <fieldset>
22
- <legend>{#advanced_dlg.colorpicker_picker_title}</legend>
23
- <div id="picker">
24
- <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" alt="" />
25
-
26
- <div id="light">
27
- <!-- Will be filled with divs -->
28
- </div>
29
-
30
- <br style="clear: both" />
31
- </div>
32
- </fieldset>
33
- </div>
34
-
35
- <div id="rgb_panel" class="panel">
36
- <fieldset>
37
- <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
38
- <div id="webcolors">
39
- <!-- Gets filled with web safe colors-->
40
- </div>
41
-
42
- <br style="clear: both" />
43
- </fieldset>
44
- </div>
45
-
46
- <div id="named_panel" class="panel">
47
- <fieldset>
48
- <legend>{#advanced_dlg.colorpicker_named_title}</legend>
49
- <div id="namedcolors">
50
- <!-- Gets filled with named colors-->
51
- </div>
52
-
53
- <br style="clear: both" />
54
-
55
- <div id="colornamecontainer">
56
- {#advanced_dlg.colorpicker_name} <span id="colorname"></span>
57
- </div>
58
- </fieldset>
59
- </div>
60
- </div>
61
-
62
- <div class="mceActionPanel">
63
- <input type="submit" id="insert" name="insert" value="{#apply}" />
64
-
65
- <div id="preview"></div>
66
-
67
- <div id="previewblock">
68
- <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
69
- </div>
70
- </div>
71
- </form>
72
- </body>
73
- </html>
@@ -1 +0,0 @@
1
- (function(e){var d=e.DOM,b=e.dom.Event,h=e.extend,f=e.each,a=e.util.Cookie,g,c=e.explode;e.ThemeManager.requireLangPack("advanced");e.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(j,k){var l=this,m,i,n;l.editor=j;l.url=k;l.onResolveName=new e.util.Dispatcher(this);l.settings=m=h({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",readonly:j.settings.readonly},j.settings);if(!m.font_size_style_values){m.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(e.is(m.theme_advanced_font_sizes,"string")){m.font_size_style_values=e.explode(m.font_size_style_values);m.font_size_classes=e.explode(m.font_size_classes||"");n={};j.settings.theme_advanced_font_sizes=m.theme_advanced_font_sizes;f(j.getParam("theme_advanced_font_sizes","","hash"),function(q,p){var o;if(p==q&&q>=1&&q<=7){p=q+" ("+l.sizes[q-1]+"pt)";o=m.font_size_classes[q-1];q=m.font_size_style_values[q-1]||(l.sizes[q-1]+"pt")}if(/^\s*\./.test(q)){o=q.replace(/\./g,"")}n[p]=o?{"class":o}:{fontSize:q}});m.theme_advanced_font_sizes=n}if((i=m.theme_advanced_path_location)&&i!="none"){m.theme_advanced_statusbar_location=m.theme_advanced_path_location}if(m.theme_advanced_statusbar_location=="none"){m.theme_advanced_statusbar_location=0}j.onInit.add(function(){if(!j.settings.readonly){j.onNodeChange.add(l._nodeChanged,l)}if(j.settings.content_css!==false){j.dom.loadCSS(j.baseURI.toAbsolute("themes/advanced/skins/"+j.settings.skin+"/content.css"))}});j.onSetProgressState.add(function(q,o,r){var s,t=q.id,p;if(o){l.progressTimer=setTimeout(function(){s=q.getContainer();s=s.insertBefore(d.create("DIV",{style:"position:relative"}),s.firstChild);p=d.get(q.id+"_tbl");d.add(s,"div",{id:t+"_blocker","class":"mceBlocker",style:{width:p.clientWidth+2,height:p.clientHeight+2}});d.add(s,"div",{id:t+"_progress","class":"mceProgress",style:{left:p.clientWidth/2,top:p.clientHeight/2}})},r||0)}else{d.remove(t+"_blocker");d.remove(t+"_progress");clearTimeout(l.progressTimer)}});d.loadCSS(m.editor_css?j.documentBaseURI.toAbsolute(m.editor_css):k+"/skins/"+j.settings.skin+"/ui.css");if(m.skin_variant){d.loadCSS(k+"/skins/"+j.settings.skin+"/ui_"+m.skin_variant+".css")}},createControl:function(l,i){var j,k;if(k=i.createControl(l)){return k}switch(l){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((j=this.controls[l])){return i.createButton(l,{title:"advanced."+j[0],cmd:j[1],ui:j[2],value:j[3]})}},execCommand:function(k,j,l){var i=this["_"+k];if(i){i.call(this,j,l);return true}return false},_importClasses:function(k){var i=this.editor,j=i.controlManager.get("styleselect");if(j.getLength()==0){f(i.dom.getClasses(),function(n,l){var m="style_"+l;i.formatter.register(m,{inline:"span",attributes:{"class":n["class"]},selector:"*"});j.add(n["class"],m)})}},_createStyleSelect:function(m){var k=this,i=k.editor,j=i.controlManager,l;l=j.createListBox("styleselect",{title:"advanced.style_select",onselect:function(o){var p,n=[];f(l.items,function(q){n.push(q.value)});i.focus();i.undoManager.add();p=i.formatter.matchAll(n);if(p[0]==o){i.formatter.remove(o)}else{i.formatter.apply(o)}i.undoManager.add();i.nodeChanged();return false}});i.onInit.add(function(){var o=0,n=i.getParam("style_formats");if(n){f(n,function(p){var q,r=0;f(p,function(){r++});if(r>1){q=p.name=p.name||"style_"+(o++);i.formatter.register(q,p);l.add(p.title,q)}else{l.add(p.title)}})}else{f(i.getParam("theme_advanced_styles","","hash"),function(r,q){var p;if(r){p="style_"+(o++);i.formatter.register(p,{inline:"span",classes:r,selector:"*"});l.add(k.editor.translate(q),p)}})}});if(l.getLength()==0){l.onPostRender.add(function(o,p){if(!l.NativeListBox){b.add(p.id+"_text","focus",k._importClasses,k);b.add(p.id+"_text","mousedown",k._importClasses,k);b.add(p.id+"_open","focus",k._importClasses,k);b.add(p.id+"_open","mousedown",k._importClasses,k)}else{b.add(p.id,"focus",k._importClasses,k)}})}return l},_createFontSelect:function(){var k,j=this,i=j.editor;k=i.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",onselect:function(l){i.execCommand("FontName",false,l);k.select(function(m){return l==m});return false}});if(k){f(i.getParam("theme_advanced_fonts",j.settings.theme_advanced_fonts,"hash"),function(m,l){k.add(i.translate(l),m,{style:m.indexOf("dings")==-1?"font-family:"+m:""})})}return k},_createFontSizeSelect:function(){var m=this,k=m.editor,n,l=0,j=[];n=k.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(i){if(i["class"]){k.focus();k.undoManager.add();k.formatter.toggle("fontsize_class",{value:i["class"]});k.undoManager.add();k.nodeChanged()}else{k.execCommand("FontSize",false,i.fontSize)}n.select(function(o){return i==o});return false}});if(n){f(m.settings.theme_advanced_font_sizes,function(o,i){var p=o.fontSize;if(p>=1&&p<=7){p=m.sizes[parseInt(p)-1]+"pt"}n.add(i,o,{style:"font-size:"+p,"class":"mceFontSize"+(l++)+(" "+(o["class"]||""))})})}return n},_createBlockFormats:function(){var k,i={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},j=this;k=j.editor.controlManager.createListBox("formatselect",{title:"advanced.block",cmd:"FormatBlock"});if(k){f(j.editor.getParam("theme_advanced_blockformats",j.settings.theme_advanced_blockformats,"hash"),function(m,l){k.add(j.editor.translate(l!=m?l:i[m]),m,{"class":"mce_formatPreview mce_"+m})})}return k},_createForeColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_text_colors){l.colors=i}if(k.theme_advanced_default_foreground_color){l.default_color=k.theme_advanced_default_foreground_color}l.title="advanced.forecolor_desc";l.cmd="ForeColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("forecolor",l);return m},_createBackColorMenu:function(){var m,j=this,k=j.settings,l={},i;if(k.theme_advanced_more_colors){l.more_colors_func=function(){j._mceColorPicker(0,{color:m.value,func:function(n){m.setColor(n)}})}}if(i=k.theme_advanced_background_colors){l.colors=i}if(k.theme_advanced_default_background_color){l.default_color=k.theme_advanced_default_background_color}l.title="advanced.backcolor_desc";l.cmd="HiliteColor";l.scope=this;m=j.editor.controlManager.createColorSplitButton("backcolor",l);return m},renderUI:function(k){var m,l,q,v=this,r=v.editor,w=v.settings,u,j,i;m=j=d.create("span",{id:r.id+"_parent","class":"mceEditor "+r.settings.skin+"Skin"+(w.skin_variant?" "+r.settings.skin+"Skin"+v._ufirst(w.skin_variant):"")});if(!d.boxModel){m=d.add(m,"div",{"class":"mceOldBoxModel"})}m=u=d.add(m,"table",{id:r.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});m=q=d.add(m,"tbody");switch((w.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":l=v._rowLayout(w,q,k);break;case"customlayout":l=r.execCallback("theme_advanced_custom_layout",w,q,k,j);break;default:l=v._simpleLayout(w,q,k,j)}m=k.targetNode;i=d.stdMode?u.getElementsByTagName("tr"):u.rows;d.addClass(i[0],"mceFirst");d.addClass(i[i.length-1],"mceLast");f(d.select("tr",q),function(o){d.addClass(o.firstChild,"mceFirst");d.addClass(o.childNodes[o.childNodes.length-1],"mceLast")});if(d.get(w.theme_advanced_toolbar_container)){d.get(w.theme_advanced_toolbar_container).appendChild(j)}else{d.insertAfter(j,m)}b.add(r.id+"_path_row","click",function(n){n=n.target;if(n.nodeName=="A"){v._sel(n.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return b.cancel(n)}});if(!r.getParam("accessibility_focus")){b.add(d.add(j,"a",{href:"#"},"<!-- IE -->"),"focus",function(){tinyMCE.get(r.id).focus()})}if(w.theme_advanced_toolbar_location=="external"){k.deltaHeight=0}v.deltaHeight=k.deltaHeight;k.targetNode=null;return{iframeContainer:l,editorContainer:r.id+"_parent",sizeContainer:u,deltaHeight:k.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:e.majorVersion+"."+e.minorVersion}},resizeBy:function(i,j){var k=d.get(this.editor.id+"_tbl");this.resizeTo(k.clientWidth+i,k.clientHeight+j)},resizeTo:function(i,l){var j=this.editor,k=this.settings,m=d.get(j.id+"_tbl"),n=d.get(j.id+"_ifr");i=Math.max(k.theme_advanced_resizing_min_width||100,i);l=Math.max(k.theme_advanced_resizing_min_height||100,l);i=Math.min(k.theme_advanced_resizing_max_width||65535,i);l=Math.min(k.theme_advanced_resizing_max_height||65535,l);d.setStyle(m,"height","");d.setStyle(n,"height",l);if(k.theme_advanced_resize_horizontal){d.setStyle(m,"width","");d.setStyle(n,"width",i);if(i<m.clientWidth){d.setStyle(n,"width",m.clientWidth)}}},destroy:function(){var i=this.editor.id;b.clear(i+"_resize");b.clear(i+"_path_row");b.clear(i+"_external_close")},_simpleLayout:function(y,r,k,i){var x=this,u=x.editor,v=y.theme_advanced_toolbar_location,m=y.theme_advanced_statusbar_location,l,j,q,w;if(y.readonly){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});return j}if(v=="top"){x._addToolbars(r,k)}if(v=="external"){l=w=d.create("div",{style:"position:relative"});l=d.add(l,"div",{id:u.id+"_external","class":"mceExternalToolbar"});d.add(l,"a",{id:u.id+"_external_close",href:"javascript:;","class":"mceExternalClose"});l=d.add(l,"table",{id:u.id+"_tblext",cellSpacing:0,cellPadding:0});q=d.add(l,"tbody");if(i.firstChild.className=="mceOldBoxModel"){i.firstChild.appendChild(w)}else{i.insertBefore(w,i.firstChild)}x._addToolbars(q,k);u.onMouseUp.add(function(){var o=d.get(u.id+"_external");d.show(o);d.hide(g);var n=b.add(u.id+"_external_close","click",function(){d.hide(u.id+"_external");b.remove(u.id+"_external_close","click",n)});d.show(o);d.setStyle(o,"top",0-d.getRect(u.id+"_tblext").h-1);d.hide(o);d.show(o);o.style.filter="";g=u.id+"_external";o=null})}if(m=="top"){x._addStatusBar(r,k)}if(!y.theme_advanced_toolbar_container){l=d.add(r,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"})}if(v=="bottom"){x._addToolbars(r,k)}if(m=="bottom"){x._addStatusBar(r,k)}return j},_rowLayout:function(w,m,k){var v=this,p=v.editor,u,x,i=p.controlManager,l,j,r,q;u=w.theme_advanced_containers_default_class||"";x=w.theme_advanced_containers_default_align||"center";f(c(w.theme_advanced_containers||""),function(s,o){var n=w["theme_advanced_container_"+s]||"";switch(n.toLowerCase()){case"mceeditor":l=d.add(m,"tr");l=j=d.add(l,"td",{"class":"mceIframeContainer"});break;case"mceelementpath":v._addStatusBar(m,k);break;default:q=(w["theme_advanced_container_"+s+"_align"]||x).toLowerCase();q="mce"+v._ufirst(q);l=d.add(d.add(m,"tr"),"td",{"class":"mceToolbar "+(w["theme_advanced_container_"+s+"_class"]||u)+" "+q||x});r=i.createToolbar("toolbar"+o);v._addControls(n,r);d.setHTML(l,r.renderHTML());k.deltaHeight-=w.theme_advanced_row_height}});return j},_addControls:function(j,i){var k=this,l=k.settings,m,n=k.editor.controlManager;if(l.theme_advanced_disable&&!k._disabled){m={};f(c(l.theme_advanced_disable),function(o){m[o]=1});k._disabled=m}else{m=k._disabled}f(c(j),function(p){var o;if(m&&m[p]){return}if(p=="tablecontrols"){f(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"],function(q){q=k.createControl(q,n);if(q){i.add(q)}});return}o=k.createControl(p,n);if(o){i.add(o)}})},_addToolbars:function(w,k){var z=this,p,m,r=z.editor,A=z.settings,y,j=r.controlManager,u,l,q=[],x;x=A.theme_advanced_toolbar_align.toLowerCase();x="mce"+z._ufirst(x);l=d.add(d.add(w,"tr"),"td",{"class":"mceToolbar "+x});if(!r.getParam("accessibility_focus")){q.push(d.createHTML("a",{href:"#",onfocus:"tinyMCE.get('"+r.id+"').focus();"},"<!-- IE -->"))}q.push(d.createHTML("a",{href:"#",accesskey:"q",title:r.getLang("advanced.toolbar_focus")},"<!-- IE -->"));for(p=1;(y=A["theme_advanced_buttons"+p]);p++){m=j.createToolbar("toolbar"+p,{"class":"mceToolbarRow"+p});if(A["theme_advanced_buttons"+p+"_add"]){y+=","+A["theme_advanced_buttons"+p+"_add"]}if(A["theme_advanced_buttons"+p+"_add_before"]){y=A["theme_advanced_buttons"+p+"_add_before"]+","+y}z._addControls(y,m);q.push(m.renderHTML());k.deltaHeight-=A.theme_advanced_row_height}q.push(d.createHTML("a",{href:"#",accesskey:"z",title:r.getLang("advanced.toolbar_focus"),onfocus:"tinyMCE.getInstanceById('"+r.id+"').focus();"},"<!-- IE -->"));d.setHTML(l,q.join(""))},_addStatusBar:function(m,j){var k,v=this,p=v.editor,w=v.settings,i,q,u,l;k=d.add(m,"tr");k=l=d.add(k,"td",{"class":"mceStatusbar"});k=d.add(k,"div",{id:p.id+"_path_row"},w.theme_advanced_path?p.translate("advanced.path")+": ":"&#160;");d.add(k,"a",{href:"#",accesskey:"x"});if(w.theme_advanced_resizing){d.add(l,"a",{id:p.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize"});if(w.theme_advanced_resizing_use_cookie){p.onPostRender.add(function(){var n=a.getHash("TinyMCE_"+p.id+"_size"),r=d.get(p.id+"_tbl");if(!n){return}v.resizeTo(n.cw,n.ch)})}p.onPostRender.add(function(){b.add(p.id+"_resize","mousedown",function(D){var t,r,s,o,C,z,A,F,n,E,x;function y(G){n=A+(G.screenX-C);E=F+(G.screenY-z);v.resizeTo(n,E)}function B(G){b.remove(d.doc,"mousemove",t);b.remove(p.getDoc(),"mousemove",r);b.remove(d.doc,"mouseup",s);b.remove(p.getDoc(),"mouseup",o);if(w.theme_advanced_resizing_use_cookie){a.setHash("TinyMCE_"+p.id+"_size",{cw:n,ch:E})}}D.preventDefault();C=D.screenX;z=D.screenY;x=d.get(v.editor.id+"_ifr");A=n=x.clientWidth;F=E=x.clientHeight;t=b.add(d.doc,"mousemove",y);r=b.add(p.getDoc(),"mousemove",y);s=b.add(d.doc,"mouseup",B);o=b.add(p.getDoc(),"mouseup",B)})})}j.deltaHeight-=21;k=m=null},_nodeChanged:function(r,z,l,x,j){var C=this,i,y=0,B,u,D=C.settings,A,k,w,m,q;e.each(C.stateControls,function(n){z.setActive(n,r.queryCommandState(C.controls[n][1]))});function o(p){var s,n=j.parents,t=p;if(typeof(p)=="string"){t=function(v){return v.nodeName==p}}for(s=0;s<n.length;s++){if(t(n[s])){return n[s]}}}z.setActive("visualaid",r.hasVisual);z.setDisabled("undo",!r.undoManager.hasUndo()&&!r.typing);z.setDisabled("redo",!r.undoManager.hasRedo());z.setDisabled("outdent",!r.queryCommandState("Outdent"));i=o("A");if(u=z.get("link")){if(!i||!i.name){u.setDisabled(!i&&x);u.setActive(!!i)}}if(u=z.get("unlink")){u.setDisabled(!i&&x);u.setActive(!!i&&!i.name)}if(u=z.get("anchor")){u.setActive(!!i&&i.name)}i=o("IMG");if(u=z.get("image")){u.setActive(!!i&&l.className.indexOf("mceItem")==-1)}if(u=z.get("styleselect")){C._importClasses();m=[];f(u.items,function(n){m.push(n.value)});q=r.formatter.matchAll(m);u.select(q[0])}if(u=z.get("formatselect")){i=o(d.isBlock);if(i){u.select(i.nodeName.toLowerCase())}}o(function(p){if(p.nodeName==="SPAN"){if(!A&&p.className){A=p.className}if(!k&&p.style.fontSize){k=p.style.fontSize}if(!w&&p.style.fontFamily){w=p.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}}return false});if(u=z.get("fontselect")){u.select(function(n){return n.replace(/^([^,]+).*/,"$1").toLowerCase()==w})}if(u=z.get("fontsizeselect")){if(D.theme_advanced_runtime_fontsize&&!k&&!A){k=r.dom.getStyle(l,"fontSize",true)}u.select(function(n){if(n.fontSize&&n.fontSize===k){return true}if(n["class"]&&n["class"]===A){return true}})}if(D.theme_advanced_path&&D.theme_advanced_statusbar_location){i=d.get(r.id+"_path")||d.add(r.id+"_path_row","span",{id:r.id+"_path"});d.setHTML(i,"");o(function(E){var p=E.nodeName.toLowerCase(),s,v,t="";if(E.nodeType!=1||E.nodeName==="BR"||(d.hasClass(E,"mceItemHidden")||d.hasClass(E,"mceItemRemoved"))){return}if(B=d.getAttrib(E,"mce_name")){p=B}if(e.isIE&&E.scopeName!=="HTML"){p=E.scopeName+":"+p}p=p.replace(/mce\:/g,"");switch(p){case"b":p="strong";break;case"i":p="em";break;case"img":if(B=d.getAttrib(E,"src")){t+="src: "+B+" "}break;case"a":if(B=d.getAttrib(E,"name")){t+="name: "+B+" ";p+="#"+B}if(B=d.getAttrib(E,"href")){t+="href: "+B+" "}break;case"font":if(B=d.getAttrib(E,"face")){t+="font: "+B+" "}if(B=d.getAttrib(E,"size")){t+="size: "+B+" "}if(B=d.getAttrib(E,"color")){t+="color: "+B+" "}break;case"span":if(B=d.getAttrib(E,"style")){t+="style: "+B+" "}break}if(B=d.getAttrib(E,"id")){t+="id: "+B+" "}if(B=E.className){B=B.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g,"");if(B){t+="class: "+B+" ";if(d.isBlock(E)||p=="img"||p=="span"){p+="."+B}}}p=p.replace(/(html:)/g,"");p={name:p,node:E,title:t};C.onResolveName.dispatch(C,p);t=p.title;p=p.name;v=d.create("a",{href:"javascript:;",onmousedown:"return false;",title:t,"class":"mcePath_"+(y++)},p);if(i.hasChildNodes()){i.insertBefore(d.doc.createTextNode(" \u00bb "),i.firstChild);i.insertBefore(v,i.firstChild)}else{i.appendChild(v)}},r.getBody())}},_sel:function(i){this.editor.execCommand("mceSelectNodeDepth",false,i)},_mceInsertAnchor:function(k,j){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/anchor.htm",width:320+parseInt(i.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(i.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/charmap.htm",width:550+parseInt(i.getLang("advanced.charmap_delta_width",0)),height:250+parseInt(i.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(k,j){var i=this.editor;j=j||{};i.windowManager.open({url:e.baseURL+"/themes/advanced/color_picker.htm",width:375+parseInt(i.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(i.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:j.color,func:j.func,theme_url:this.url})},_mceCodeEditor:function(j,k){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/source_editor.htm",width:parseInt(i.getParam("theme_advanced_source_editor_width",720)),height:parseInt(i.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(j,k){var i=this.editor;if(i.dom.getAttrib(i.selection.getNode(),"class").indexOf("mceItem")!=-1){return}i.windowManager.open({url:e.baseURL+"/themes/advanced/image.htm",width:355+parseInt(i.getLang("advanced.image_delta_width",0)),height:275+parseInt(i.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(j,k){var i=this.editor;i.windowManager.open({url:e.baseURL+"/themes/advanced/link.htm",width:310+parseInt(i.getLang("advanced.link_delta_width",0)),height:200+parseInt(i.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var i=this.editor;i.windowManager.confirm("advanced.newdocument",function(j){if(j){i.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var i=this;this._mceColorPicker(0,{color:i.fgColor,func:function(j){i.fgColor=j;i.editor.execCommand("ForeColor",false,j)}})},_mceBackColor:function(){var i=this;this._mceColorPicker(0,{color:i.bgColor,func:function(j){i.bgColor=j;i.editor.execCommand("HiliteColor",false,j)}})},_ufirst:function(i){return i.substring(0,1).toUpperCase()+i.substring(1)}});e.ThemeManager.add("advanced",e.themes.AdvancedTheme)}(tinymce));
@@ -1,1194 +0,0 @@
1
- /**
2
- * editor_template_src.js
3
- *
4
- * Copyright 2009, Moxiecode Systems AB
5
- * Released under LGPL License.
6
- *
7
- * License: http://tinymce.moxiecode.com/license
8
- * Contributing: http://tinymce.moxiecode.com/contributing
9
- */
10
-
11
- (function(tinymce) {
12
- var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce.extend, each = tinymce.each, Cookie = tinymce.util.Cookie, lastExtID, explode = tinymce.explode;
13
-
14
- // Tell it to load theme specific language pack(s)
15
- tinymce.ThemeManager.requireLangPack('advanced');
16
-
17
- tinymce.create('tinymce.themes.AdvancedTheme', {
18
- sizes : [8, 10, 12, 14, 18, 24, 36],
19
-
20
- // Control name lookup, format: title, command
21
- controls : {
22
- bold : ['bold_desc', 'Bold'],
23
- italic : ['italic_desc', 'Italic'],
24
- underline : ['underline_desc', 'Underline'],
25
- strikethrough : ['striketrough_desc', 'Strikethrough'],
26
- justifyleft : ['justifyleft_desc', 'JustifyLeft'],
27
- justifycenter : ['justifycenter_desc', 'JustifyCenter'],
28
- justifyright : ['justifyright_desc', 'JustifyRight'],
29
- justifyfull : ['justifyfull_desc', 'JustifyFull'],
30
- bullist : ['bullist_desc', 'InsertUnorderedList'],
31
- numlist : ['numlist_desc', 'InsertOrderedList'],
32
- outdent : ['outdent_desc', 'Outdent'],
33
- indent : ['indent_desc', 'Indent'],
34
- cut : ['cut_desc', 'Cut'],
35
- copy : ['copy_desc', 'Copy'],
36
- paste : ['paste_desc', 'Paste'],
37
- undo : ['undo_desc', 'Undo'],
38
- redo : ['redo_desc', 'Redo'],
39
- link : ['link_desc', 'mceLink'],
40
- unlink : ['unlink_desc', 'unlink'],
41
- image : ['image_desc', 'mceImage'],
42
- cleanup : ['cleanup_desc', 'mceCleanup'],
43
- help : ['help_desc', 'mceHelp'],
44
- code : ['code_desc', 'mceCodeEditor'],
45
- hr : ['hr_desc', 'InsertHorizontalRule'],
46
- removeformat : ['removeformat_desc', 'RemoveFormat'],
47
- sub : ['sub_desc', 'subscript'],
48
- sup : ['sup_desc', 'superscript'],
49
- forecolor : ['forecolor_desc', 'ForeColor'],
50
- forecolorpicker : ['forecolor_desc', 'mceForeColor'],
51
- backcolor : ['backcolor_desc', 'HiliteColor'],
52
- backcolorpicker : ['backcolor_desc', 'mceBackColor'],
53
- charmap : ['charmap_desc', 'mceCharMap'],
54
- visualaid : ['visualaid_desc', 'mceToggleVisualAid'],
55
- anchor : ['anchor_desc', 'mceInsertAnchor'],
56
- newdocument : ['newdocument_desc', 'mceNewDocument'],
57
- blockquote : ['blockquote_desc', 'mceBlockQuote']
58
- },
59
-
60
- stateControls : ['bold', 'italic', 'underline', 'strikethrough', 'bullist', 'numlist', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'sub', 'sup', 'blockquote'],
61
-
62
- init : function(ed, url) {
63
- var t = this, s, v, o;
64
-
65
- t.editor = ed;
66
- t.url = url;
67
- t.onResolveName = new tinymce.util.Dispatcher(this);
68
-
69
- // Default settings
70
- t.settings = s = extend({
71
- theme_advanced_path : true,
72
- theme_advanced_toolbar_location : 'bottom',
73
- theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",
74
- theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",
75
- theme_advanced_buttons3 : "hr,removeformat,visualaid,|,sub,sup,|,charmap",
76
- theme_advanced_blockformats : "p,address,pre,h1,h2,h3,h4,h5,h6",
77
- theme_advanced_toolbar_align : "center",
78
- theme_advanced_fonts : "Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",
79
- theme_advanced_more_colors : 1,
80
- theme_advanced_row_height : 23,
81
- theme_advanced_resize_horizontal : 1,
82
- theme_advanced_resizing_use_cookie : 1,
83
- theme_advanced_font_sizes : "1,2,3,4,5,6,7",
84
- readonly : ed.settings.readonly
85
- }, ed.settings);
86
-
87
- // Setup default font_size_style_values
88
- if (!s.font_size_style_values)
89
- s.font_size_style_values = "8pt,10pt,12pt,14pt,18pt,24pt,36pt";
90
-
91
- if (tinymce.is(s.theme_advanced_font_sizes, 'string')) {
92
- s.font_size_style_values = tinymce.explode(s.font_size_style_values);
93
- s.font_size_classes = tinymce.explode(s.font_size_classes || '');
94
-
95
- // Parse string value
96
- o = {};
97
- ed.settings.theme_advanced_font_sizes = s.theme_advanced_font_sizes;
98
- each(ed.getParam('theme_advanced_font_sizes', '', 'hash'), function(v, k) {
99
- var cl;
100
-
101
- if (k == v && v >= 1 && v <= 7) {
102
- k = v + ' (' + t.sizes[v - 1] + 'pt)';
103
- cl = s.font_size_classes[v - 1];
104
- v = s.font_size_style_values[v - 1] || (t.sizes[v - 1] + 'pt');
105
- }
106
-
107
- if (/^\s*\./.test(v))
108
- cl = v.replace(/\./g, '');
109
-
110
- o[k] = cl ? {'class' : cl} : {fontSize : v};
111
- });
112
-
113
- s.theme_advanced_font_sizes = o;
114
- }
115
-
116
- if ((v = s.theme_advanced_path_location) && v != 'none')
117
- s.theme_advanced_statusbar_location = s.theme_advanced_path_location;
118
-
119
- if (s.theme_advanced_statusbar_location == 'none')
120
- s.theme_advanced_statusbar_location = 0;
121
-
122
- // Init editor
123
- ed.onInit.add(function() {
124
- if (!ed.settings.readonly)
125
- ed.onNodeChange.add(t._nodeChanged, t);
126
-
127
- if (ed.settings.content_css !== false)
128
- ed.dom.loadCSS(ed.baseURI.toAbsolute("themes/advanced/skins/" + ed.settings.skin + "/content.css"));
129
- });
130
-
131
- ed.onSetProgressState.add(function(ed, b, ti) {
132
- var co, id = ed.id, tb;
133
-
134
- if (b) {
135
- t.progressTimer = setTimeout(function() {
136
- co = ed.getContainer();
137
- co = co.insertBefore(DOM.create('DIV', {style : 'position:relative'}), co.firstChild);
138
- tb = DOM.get(ed.id + '_tbl');
139
-
140
- DOM.add(co, 'div', {id : id + '_blocker', 'class' : 'mceBlocker', style : {width : tb.clientWidth + 2, height : tb.clientHeight + 2}});
141
- DOM.add(co, 'div', {id : id + '_progress', 'class' : 'mceProgress', style : {left : tb.clientWidth / 2, top : tb.clientHeight / 2}});
142
- }, ti || 0);
143
- } else {
144
- DOM.remove(id + '_blocker');
145
- DOM.remove(id + '_progress');
146
- clearTimeout(t.progressTimer);
147
- }
148
- });
149
-
150
- DOM.loadCSS(s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : url + "/skins/" + ed.settings.skin + "/ui.css");
151
-
152
- if (s.skin_variant)
153
- DOM.loadCSS(url + "/skins/" + ed.settings.skin + "/ui_" + s.skin_variant + ".css");
154
- },
155
-
156
- createControl : function(n, cf) {
157
- var cd, c;
158
-
159
- if (c = cf.createControl(n))
160
- return c;
161
-
162
- switch (n) {
163
- case "styleselect":
164
- return this._createStyleSelect();
165
-
166
- case "formatselect":
167
- return this._createBlockFormats();
168
-
169
- case "fontselect":
170
- return this._createFontSelect();
171
-
172
- case "fontsizeselect":
173
- return this._createFontSizeSelect();
174
-
175
- case "forecolor":
176
- return this._createForeColorMenu();
177
-
178
- case "backcolor":
179
- return this._createBackColorMenu();
180
- }
181
-
182
- if ((cd = this.controls[n]))
183
- return cf.createButton(n, {title : "advanced." + cd[0], cmd : cd[1], ui : cd[2], value : cd[3]});
184
- },
185
-
186
- execCommand : function(cmd, ui, val) {
187
- var f = this['_' + cmd];
188
-
189
- if (f) {
190
- f.call(this, ui, val);
191
- return true;
192
- }
193
-
194
- return false;
195
- },
196
-
197
- _importClasses : function(e) {
198
- var ed = this.editor, ctrl = ed.controlManager.get('styleselect');
199
-
200
- if (ctrl.getLength() == 0) {
201
- each(ed.dom.getClasses(), function(o, idx) {
202
- var name = 'style_' + idx;
203
-
204
- ed.formatter.register(name, {
205
- inline : 'span',
206
- attributes : {'class' : o['class']},
207
- selector : '*'
208
- });
209
-
210
- ctrl.add(o['class'], name);
211
- });
212
- }
213
- },
214
-
215
- _createStyleSelect : function(n) {
216
- var t = this, ed = t.editor, ctrlMan = ed.controlManager, ctrl;
217
-
218
- // Setup style select box
219
- ctrl = ctrlMan.createListBox('styleselect', {
220
- title : 'advanced.style_select',
221
- onselect : function(name) {
222
- var matches, formatNames = [];
223
-
224
- each(ctrl.items, function(item) {
225
- formatNames.push(item.value);
226
- });
227
-
228
- ed.focus();
229
- ed.undoManager.add();
230
-
231
- // Toggle off the current format
232
- matches = ed.formatter.matchAll(formatNames);
233
- if (matches[0] == name)
234
- ed.formatter.remove(name);
235
- else
236
- ed.formatter.apply(name);
237
-
238
- ed.undoManager.add();
239
- ed.nodeChanged();
240
-
241
- return false; // No auto select
242
- }
243
- });
244
-
245
- // Handle specified format
246
- ed.onInit.add(function() {
247
- var counter = 0, formats = ed.getParam('style_formats');
248
-
249
- if (formats) {
250
- each(formats, function(fmt) {
251
- var name, keys = 0;
252
-
253
- each(fmt, function() {keys++;});
254
-
255
- if (keys > 1) {
256
- name = fmt.name = fmt.name || 'style_' + (counter++);
257
- ed.formatter.register(name, fmt);
258
- ctrl.add(fmt.title, name);
259
- } else
260
- ctrl.add(fmt.title);
261
- });
262
- } else {
263
- each(ed.getParam('theme_advanced_styles', '', 'hash'), function(val, key) {
264
- var name;
265
-
266
- if (val) {
267
- name = 'style_' + (counter++);
268
-
269
- ed.formatter.register(name, {
270
- inline : 'span',
271
- classes : val,
272
- selector : '*'
273
- });
274
-
275
- ctrl.add(t.editor.translate(key), name);
276
- }
277
- });
278
- }
279
- });
280
-
281
- // Auto import classes if the ctrl box is empty
282
- if (ctrl.getLength() == 0) {
283
- ctrl.onPostRender.add(function(ed, n) {
284
- if (!ctrl.NativeListBox) {
285
- Event.add(n.id + '_text', 'focus', t._importClasses, t);
286
- Event.add(n.id + '_text', 'mousedown', t._importClasses, t);
287
- Event.add(n.id + '_open', 'focus', t._importClasses, t);
288
- Event.add(n.id + '_open', 'mousedown', t._importClasses, t);
289
- } else
290
- Event.add(n.id, 'focus', t._importClasses, t);
291
- });
292
- }
293
-
294
- return ctrl;
295
- },
296
-
297
- _createFontSelect : function() {
298
- var c, t = this, ed = t.editor;
299
-
300
- c = ed.controlManager.createListBox('fontselect', {
301
- title : 'advanced.fontdefault',
302
- onselect : function(v) {
303
- ed.execCommand('FontName', false, v);
304
-
305
- // Fake selection, execCommand will fire a nodeChange and update the selection
306
- c.select(function(sv) {
307
- return v == sv;
308
- });
309
-
310
- return false; // No auto select
311
- }
312
- });
313
-
314
- if (c) {
315
- each(ed.getParam('theme_advanced_fonts', t.settings.theme_advanced_fonts, 'hash'), function(v, k) {
316
- c.add(ed.translate(k), v, {style : v.indexOf('dings') == -1 ? 'font-family:' + v : ''});
317
- });
318
- }
319
-
320
- return c;
321
- },
322
-
323
- _createFontSizeSelect : function() {
324
- var t = this, ed = t.editor, c, i = 0, cl = [];
325
-
326
- c = ed.controlManager.createListBox('fontsizeselect', {title : 'advanced.font_size', onselect : function(v) {
327
- if (v['class']) {
328
- ed.focus();
329
- ed.undoManager.add();
330
- ed.formatter.toggle('fontsize_class', {value : v['class']});
331
- ed.undoManager.add();
332
- ed.nodeChanged();
333
- } else
334
- ed.execCommand('FontSize', false, v.fontSize);
335
-
336
- // Fake selection, execCommand will fire a nodeChange and update the selection
337
- c.select(function(sv) {
338
- return v == sv;
339
- });
340
-
341
- return false; // No auto select
342
- }});
343
-
344
- if (c) {
345
- each(t.settings.theme_advanced_font_sizes, function(v, k) {
346
- var fz = v.fontSize;
347
-
348
- if (fz >= 1 && fz <= 7)
349
- fz = t.sizes[parseInt(fz) - 1] + 'pt';
350
-
351
- c.add(k, v, {'style' : 'font-size:' + fz, 'class' : 'mceFontSize' + (i++) + (' ' + (v['class'] || ''))});
352
- });
353
- }
354
-
355
- return c;
356
- },
357
-
358
- _createBlockFormats : function() {
359
- var c, fmts = {
360
- p : 'advanced.paragraph',
361
- address : 'advanced.address',
362
- pre : 'advanced.pre',
363
- h1 : 'advanced.h1',
364
- h2 : 'advanced.h2',
365
- h3 : 'advanced.h3',
366
- h4 : 'advanced.h4',
367
- h5 : 'advanced.h5',
368
- h6 : 'advanced.h6',
369
- div : 'advanced.div',
370
- blockquote : 'advanced.blockquote',
371
- code : 'advanced.code',
372
- dt : 'advanced.dt',
373
- dd : 'advanced.dd',
374
- samp : 'advanced.samp'
375
- }, t = this;
376
-
377
- c = t.editor.controlManager.createListBox('formatselect', {title : 'advanced.block', cmd : 'FormatBlock'});
378
- if (c) {
379
- each(t.editor.getParam('theme_advanced_blockformats', t.settings.theme_advanced_blockformats, 'hash'), function(v, k) {
380
- c.add(t.editor.translate(k != v ? k : fmts[v]), v, {'class' : 'mce_formatPreview mce_' + v});
381
- });
382
- }
383
-
384
- return c;
385
- },
386
-
387
- _createForeColorMenu : function() {
388
- var c, t = this, s = t.settings, o = {}, v;
389
-
390
- if (s.theme_advanced_more_colors) {
391
- o.more_colors_func = function() {
392
- t._mceColorPicker(0, {
393
- color : c.value,
394
- func : function(co) {
395
- c.setColor(co);
396
- }
397
- });
398
- };
399
- }
400
-
401
- if (v = s.theme_advanced_text_colors)
402
- o.colors = v;
403
-
404
- if (s.theme_advanced_default_foreground_color)
405
- o.default_color = s.theme_advanced_default_foreground_color;
406
-
407
- o.title = 'advanced.forecolor_desc';
408
- o.cmd = 'ForeColor';
409
- o.scope = this;
410
-
411
- c = t.editor.controlManager.createColorSplitButton('forecolor', o);
412
-
413
- return c;
414
- },
415
-
416
- _createBackColorMenu : function() {
417
- var c, t = this, s = t.settings, o = {}, v;
418
-
419
- if (s.theme_advanced_more_colors) {
420
- o.more_colors_func = function() {
421
- t._mceColorPicker(0, {
422
- color : c.value,
423
- func : function(co) {
424
- c.setColor(co);
425
- }
426
- });
427
- };
428
- }
429
-
430
- if (v = s.theme_advanced_background_colors)
431
- o.colors = v;
432
-
433
- if (s.theme_advanced_default_background_color)
434
- o.default_color = s.theme_advanced_default_background_color;
435
-
436
- o.title = 'advanced.backcolor_desc';
437
- o.cmd = 'HiliteColor';
438
- o.scope = this;
439
-
440
- c = t.editor.controlManager.createColorSplitButton('backcolor', o);
441
-
442
- return c;
443
- },
444
-
445
- renderUI : function(o) {
446
- var n, ic, tb, t = this, ed = t.editor, s = t.settings, sc, p, nl;
447
-
448
- n = p = DOM.create('span', {id : ed.id + '_parent', 'class' : 'mceEditor ' + ed.settings.skin + 'Skin' + (s.skin_variant ? ' ' + ed.settings.skin + 'Skin' + t._ufirst(s.skin_variant) : '')});
449
-
450
- if (!DOM.boxModel)
451
- n = DOM.add(n, 'div', {'class' : 'mceOldBoxModel'});
452
-
453
- n = sc = DOM.add(n, 'table', {id : ed.id + '_tbl', 'class' : 'mceLayout', cellSpacing : 0, cellPadding : 0});
454
- n = tb = DOM.add(n, 'tbody');
455
-
456
- switch ((s.theme_advanced_layout_manager || '').toLowerCase()) {
457
- case "rowlayout":
458
- ic = t._rowLayout(s, tb, o);
459
- break;
460
-
461
- case "customlayout":
462
- ic = ed.execCallback("theme_advanced_custom_layout", s, tb, o, p);
463
- break;
464
-
465
- default:
466
- ic = t._simpleLayout(s, tb, o, p);
467
- }
468
-
469
- n = o.targetNode;
470
-
471
- // Add classes to first and last TRs
472
- nl = DOM.stdMode ? sc.getElementsByTagName('tr') : sc.rows; // Quick fix for IE 8
473
- DOM.addClass(nl[0], 'mceFirst');
474
- DOM.addClass(nl[nl.length - 1], 'mceLast');
475
-
476
- // Add classes to first and last TDs
477
- each(DOM.select('tr', tb), function(n) {
478
- DOM.addClass(n.firstChild, 'mceFirst');
479
- DOM.addClass(n.childNodes[n.childNodes.length - 1], 'mceLast');
480
- });
481
-
482
- if (DOM.get(s.theme_advanced_toolbar_container))
483
- DOM.get(s.theme_advanced_toolbar_container).appendChild(p);
484
- else
485
- DOM.insertAfter(p, n);
486
-
487
- Event.add(ed.id + '_path_row', 'click', function(e) {
488
- e = e.target;
489
-
490
- if (e.nodeName == 'A') {
491
- t._sel(e.className.replace(/^.*mcePath_([0-9]+).*$/, '$1'));
492
-
493
- return Event.cancel(e);
494
- }
495
- });
496
- /*
497
- if (DOM.get(ed.id + '_path_row')) {
498
- Event.add(ed.id + '_tbl', 'mouseover', function(e) {
499
- var re;
500
-
501
- e = e.target;
502
-
503
- if (e.nodeName == 'SPAN' && DOM.hasClass(e.parentNode, 'mceButton')) {
504
- re = DOM.get(ed.id + '_path_row');
505
- t.lastPath = re.innerHTML;
506
- DOM.setHTML(re, e.parentNode.title);
507
- }
508
- });
509
-
510
- Event.add(ed.id + '_tbl', 'mouseout', function(e) {
511
- if (t.lastPath) {
512
- DOM.setHTML(ed.id + '_path_row', t.lastPath);
513
- t.lastPath = 0;
514
- }
515
- });
516
- }
517
- */
518
-
519
- if (!ed.getParam('accessibility_focus'))
520
- Event.add(DOM.add(p, 'a', {href : '#'}, '<!-- IE -->'), 'focus', function() {tinyMCE.get(ed.id).focus();});
521
-
522
- if (s.theme_advanced_toolbar_location == 'external')
523
- o.deltaHeight = 0;
524
-
525
- t.deltaHeight = o.deltaHeight;
526
- o.targetNode = null;
527
-
528
- return {
529
- iframeContainer : ic,
530
- editorContainer : ed.id + '_parent',
531
- sizeContainer : sc,
532
- deltaHeight : o.deltaHeight
533
- };
534
- },
535
-
536
- getInfo : function() {
537
- return {
538
- longname : 'Advanced theme',
539
- author : 'Moxiecode Systems AB',
540
- authorurl : 'http://tinymce.moxiecode.com',
541
- version : tinymce.majorVersion + "." + tinymce.minorVersion
542
- }
543
- },
544
-
545
- resizeBy : function(dw, dh) {
546
- var e = DOM.get(this.editor.id + '_tbl');
547
-
548
- this.resizeTo(e.clientWidth + dw, e.clientHeight + dh);
549
- },
550
-
551
- resizeTo : function(w, h) {
552
- var ed = this.editor, s = this.settings, e = DOM.get(ed.id + '_tbl'), ifr = DOM.get(ed.id + '_ifr');
553
-
554
- // Boundery fix box
555
- w = Math.max(s.theme_advanced_resizing_min_width || 100, w);
556
- h = Math.max(s.theme_advanced_resizing_min_height || 100, h);
557
- w = Math.min(s.theme_advanced_resizing_max_width || 0xFFFF, w);
558
- h = Math.min(s.theme_advanced_resizing_max_height || 0xFFFF, h);
559
-
560
- // Resize iframe and container
561
- DOM.setStyle(e, 'height', '');
562
- DOM.setStyle(ifr, 'height', h);
563
-
564
- if (s.theme_advanced_resize_horizontal) {
565
- DOM.setStyle(e, 'width', '');
566
- DOM.setStyle(ifr, 'width', w);
567
-
568
- // Make sure that the size is never smaller than the over all ui
569
- if (w < e.clientWidth)
570
- DOM.setStyle(ifr, 'width', e.clientWidth);
571
- }
572
- },
573
-
574
- destroy : function() {
575
- var id = this.editor.id;
576
-
577
- Event.clear(id + '_resize');
578
- Event.clear(id + '_path_row');
579
- Event.clear(id + '_external_close');
580
- },
581
-
582
- // Internal functions
583
-
584
- _simpleLayout : function(s, tb, o, p) {
585
- var t = this, ed = t.editor, lo = s.theme_advanced_toolbar_location, sl = s.theme_advanced_statusbar_location, n, ic, etb, c;
586
-
587
- if (s.readonly) {
588
- n = DOM.add(tb, 'tr');
589
- n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
590
- return ic;
591
- }
592
-
593
- // Create toolbar container at top
594
- if (lo == 'top')
595
- t._addToolbars(tb, o);
596
-
597
- // Create external toolbar
598
- if (lo == 'external') {
599
- n = c = DOM.create('div', {style : 'position:relative'});
600
- n = DOM.add(n, 'div', {id : ed.id + '_external', 'class' : 'mceExternalToolbar'});
601
- DOM.add(n, 'a', {id : ed.id + '_external_close', href : 'javascript:;', 'class' : 'mceExternalClose'});
602
- n = DOM.add(n, 'table', {id : ed.id + '_tblext', cellSpacing : 0, cellPadding : 0});
603
- etb = DOM.add(n, 'tbody');
604
-
605
- if (p.firstChild.className == 'mceOldBoxModel')
606
- p.firstChild.appendChild(c);
607
- else
608
- p.insertBefore(c, p.firstChild);
609
-
610
- t._addToolbars(etb, o);
611
-
612
- ed.onMouseUp.add(function() {
613
- var e = DOM.get(ed.id + '_external');
614
- DOM.show(e);
615
-
616
- DOM.hide(lastExtID);
617
-
618
- var f = Event.add(ed.id + '_external_close', 'click', function() {
619
- DOM.hide(ed.id + '_external');
620
- Event.remove(ed.id + '_external_close', 'click', f);
621
- });
622
-
623
- DOM.show(e);
624
- DOM.setStyle(e, 'top', 0 - DOM.getRect(ed.id + '_tblext').h - 1);
625
-
626
- // Fixes IE rendering bug
627
- DOM.hide(e);
628
- DOM.show(e);
629
- e.style.filter = '';
630
-
631
- lastExtID = ed.id + '_external';
632
-
633
- e = null;
634
- });
635
- }
636
-
637
- if (sl == 'top')
638
- t._addStatusBar(tb, o);
639
-
640
- // Create iframe container
641
- if (!s.theme_advanced_toolbar_container) {
642
- n = DOM.add(tb, 'tr');
643
- n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
644
- }
645
-
646
- // Create toolbar container at bottom
647
- if (lo == 'bottom')
648
- t._addToolbars(tb, o);
649
-
650
- if (sl == 'bottom')
651
- t._addStatusBar(tb, o);
652
-
653
- return ic;
654
- },
655
-
656
- _rowLayout : function(s, tb, o) {
657
- var t = this, ed = t.editor, dc, da, cf = ed.controlManager, n, ic, to, a;
658
-
659
- dc = s.theme_advanced_containers_default_class || '';
660
- da = s.theme_advanced_containers_default_align || 'center';
661
-
662
- each(explode(s.theme_advanced_containers || ''), function(c, i) {
663
- var v = s['theme_advanced_container_' + c] || '';
664
-
665
- switch (v.toLowerCase()) {
666
- case 'mceeditor':
667
- n = DOM.add(tb, 'tr');
668
- n = ic = DOM.add(n, 'td', {'class' : 'mceIframeContainer'});
669
- break;
670
-
671
- case 'mceelementpath':
672
- t._addStatusBar(tb, o);
673
- break;
674
-
675
- default:
676
- a = (s['theme_advanced_container_' + c + '_align'] || da).toLowerCase();
677
- a = 'mce' + t._ufirst(a);
678
-
679
- n = DOM.add(DOM.add(tb, 'tr'), 'td', {
680
- 'class' : 'mceToolbar ' + (s['theme_advanced_container_' + c + '_class'] || dc) + ' ' + a || da
681
- });
682
-
683
- to = cf.createToolbar("toolbar" + i);
684
- t._addControls(v, to);
685
- DOM.setHTML(n, to.renderHTML());
686
- o.deltaHeight -= s.theme_advanced_row_height;
687
- }
688
- });
689
-
690
- return ic;
691
- },
692
-
693
- _addControls : function(v, tb) {
694
- var t = this, s = t.settings, di, cf = t.editor.controlManager;
695
-
696
- if (s.theme_advanced_disable && !t._disabled) {
697
- di = {};
698
-
699
- each(explode(s.theme_advanced_disable), function(v) {
700
- di[v] = 1;
701
- });
702
-
703
- t._disabled = di;
704
- } else
705
- di = t._disabled;
706
-
707
- each(explode(v), function(n) {
708
- var c;
709
-
710
- if (di && di[n])
711
- return;
712
-
713
- // Compatiblity with 2.x
714
- if (n == 'tablecontrols') {
715
- each(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"], function(n) {
716
- n = t.createControl(n, cf);
717
-
718
- if (n)
719
- tb.add(n);
720
- });
721
-
722
- return;
723
- }
724
-
725
- c = t.createControl(n, cf);
726
-
727
- if (c)
728
- tb.add(c);
729
- });
730
- },
731
-
732
- _addToolbars : function(c, o) {
733
- var t = this, i, tb, ed = t.editor, s = t.settings, v, cf = ed.controlManager, di, n, h = [], a;
734
-
735
- a = s.theme_advanced_toolbar_align.toLowerCase();
736
- a = 'mce' + t._ufirst(a);
737
-
738
- n = DOM.add(DOM.add(c, 'tr'), 'td', {'class' : 'mceToolbar ' + a});
739
-
740
- if (!ed.getParam('accessibility_focus'))
741
- h.push(DOM.createHTML('a', {href : '#', onfocus : 'tinyMCE.get(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
742
-
743
- h.push(DOM.createHTML('a', {href : '#', accesskey : 'q', title : ed.getLang("advanced.toolbar_focus")}, '<!-- IE -->'));
744
-
745
- // Create toolbar and add the controls
746
- for (i=1; (v = s['theme_advanced_buttons' + i]); i++) {
747
- tb = cf.createToolbar("toolbar" + i, {'class' : 'mceToolbarRow' + i});
748
-
749
- if (s['theme_advanced_buttons' + i + '_add'])
750
- v += ',' + s['theme_advanced_buttons' + i + '_add'];
751
-
752
- if (s['theme_advanced_buttons' + i + '_add_before'])
753
- v = s['theme_advanced_buttons' + i + '_add_before'] + ',' + v;
754
-
755
- t._addControls(v, tb);
756
-
757
- //n.appendChild(n = tb.render());
758
- h.push(tb.renderHTML());
759
-
760
- o.deltaHeight -= s.theme_advanced_row_height;
761
- }
762
-
763
- h.push(DOM.createHTML('a', {href : '#', accesskey : 'z', title : ed.getLang("advanced.toolbar_focus"), onfocus : 'tinyMCE.getInstanceById(\'' + ed.id + '\').focus();'}, '<!-- IE -->'));
764
- DOM.setHTML(n, h.join(''));
765
- },
766
-
767
- _addStatusBar : function(tb, o) {
768
- var n, t = this, ed = t.editor, s = t.settings, r, mf, me, td;
769
-
770
- n = DOM.add(tb, 'tr');
771
- n = td = DOM.add(n, 'td', {'class' : 'mceStatusbar'});
772
- n = DOM.add(n, 'div', {id : ed.id + '_path_row'}, s.theme_advanced_path ? ed.translate('advanced.path') + ': ' : '&#160;');
773
- DOM.add(n, 'a', {href : '#', accesskey : 'x'});
774
-
775
- if (s.theme_advanced_resizing) {
776
- DOM.add(td, 'a', {id : ed.id + '_resize', href : 'javascript:;', onclick : "return false;", 'class' : 'mceResize'});
777
-
778
- if (s.theme_advanced_resizing_use_cookie) {
779
- ed.onPostRender.add(function() {
780
- var o = Cookie.getHash("TinyMCE_" + ed.id + "_size"), c = DOM.get(ed.id + '_tbl');
781
-
782
- if (!o)
783
- return;
784
-
785
- t.resizeTo(o.cw, o.ch);
786
- });
787
- }
788
-
789
- ed.onPostRender.add(function() {
790
- Event.add(ed.id + '_resize', 'mousedown', function(e) {
791
- var mouseMoveHandler1, mouseMoveHandler2,
792
- mouseUpHandler1, mouseUpHandler2,
793
- startX, startY, startWidth, startHeight, width, height, ifrElm;
794
-
795
- function resizeOnMove(e) {
796
- width = startWidth + (e.screenX - startX);
797
- height = startHeight + (e.screenY - startY);
798
-
799
- t.resizeTo(width, height);
800
- };
801
-
802
- function endResize(e) {
803
- // Stop listening
804
- Event.remove(DOM.doc, 'mousemove', mouseMoveHandler1);
805
- Event.remove(ed.getDoc(), 'mousemove', mouseMoveHandler2);
806
- Event.remove(DOM.doc, 'mouseup', mouseUpHandler1);
807
- Event.remove(ed.getDoc(), 'mouseup', mouseUpHandler2);
808
-
809
- // Store away the size
810
- if (s.theme_advanced_resizing_use_cookie) {
811
- Cookie.setHash("TinyMCE_" + ed.id + "_size", {
812
- cw : width,
813
- ch : height
814
- });
815
- }
816
- };
817
-
818
- e.preventDefault();
819
-
820
- // Get the current rect size
821
- startX = e.screenX;
822
- startY = e.screenY;
823
- ifrElm = DOM.get(t.editor.id + '_ifr');
824
- startWidth = width = ifrElm.clientWidth;
825
- startHeight = height = ifrElm.clientHeight;
826
-
827
- // Register envent handlers
828
- mouseMoveHandler1 = Event.add(DOM.doc, 'mousemove', resizeOnMove);
829
- mouseMoveHandler2 = Event.add(ed.getDoc(), 'mousemove', resizeOnMove);
830
- mouseUpHandler1 = Event.add(DOM.doc, 'mouseup', endResize);
831
- mouseUpHandler2 = Event.add(ed.getDoc(), 'mouseup', endResize);
832
- });
833
- });
834
- }
835
-
836
- o.deltaHeight -= 21;
837
- n = tb = null;
838
- },
839
-
840
- _nodeChanged : function(ed, cm, n, co, ob) {
841
- var t = this, p, de = 0, v, c, s = t.settings, cl, fz, fn, formatNames, matches;
842
-
843
- tinymce.each(t.stateControls, function(c) {
844
- cm.setActive(c, ed.queryCommandState(t.controls[c][1]));
845
- });
846
-
847
- function getParent(name) {
848
- var i, parents = ob.parents, func = name;
849
-
850
- if (typeof(name) == 'string') {
851
- func = function(node) {
852
- return node.nodeName == name;
853
- };
854
- }
855
-
856
- for (i = 0; i < parents.length; i++) {
857
- if (func(parents[i]))
858
- return parents[i];
859
- }
860
- };
861
-
862
- cm.setActive('visualaid', ed.hasVisual);
863
- cm.setDisabled('undo', !ed.undoManager.hasUndo() && !ed.typing);
864
- cm.setDisabled('redo', !ed.undoManager.hasRedo());
865
- cm.setDisabled('outdent', !ed.queryCommandState('Outdent'));
866
-
867
- p = getParent('A');
868
- if (c = cm.get('link')) {
869
- if (!p || !p.name) {
870
- c.setDisabled(!p && co);
871
- c.setActive(!!p);
872
- }
873
- }
874
-
875
- if (c = cm.get('unlink')) {
876
- c.setDisabled(!p && co);
877
- c.setActive(!!p && !p.name);
878
- }
879
-
880
- if (c = cm.get('anchor')) {
881
- c.setActive(!!p && p.name);
882
- }
883
-
884
- p = getParent('IMG');
885
- if (c = cm.get('image'))
886
- c.setActive(!!p && n.className.indexOf('mceItem') == -1);
887
-
888
- if (c = cm.get('styleselect')) {
889
- t._importClasses();
890
-
891
- formatNames = [];
892
- each(c.items, function(item) {
893
- formatNames.push(item.value);
894
- });
895
-
896
- matches = ed.formatter.matchAll(formatNames);
897
- c.select(matches[0]);
898
- }
899
-
900
- if (c = cm.get('formatselect')) {
901
- p = getParent(DOM.isBlock);
902
-
903
- if (p)
904
- c.select(p.nodeName.toLowerCase());
905
- }
906
-
907
- // Find out current fontSize, fontFamily and fontClass
908
- getParent(function(n) {
909
- if (n.nodeName === 'SPAN') {
910
- if (!cl && n.className)
911
- cl = n.className;
912
-
913
- if (!fz && n.style.fontSize)
914
- fz = n.style.fontSize;
915
-
916
- if (!fn && n.style.fontFamily)
917
- fn = n.style.fontFamily.replace(/[\"\']+/g, '').replace(/^([^,]+).*/, '$1').toLowerCase();
918
- }
919
-
920
- return false;
921
- });
922
-
923
- if (c = cm.get('fontselect')) {
924
- c.select(function(v) {
925
- return v.replace(/^([^,]+).*/, '$1').toLowerCase() == fn;
926
- });
927
- }
928
-
929
- // Select font size
930
- if (c = cm.get('fontsizeselect')) {
931
- // Use computed style
932
- if (s.theme_advanced_runtime_fontsize && !fz && !cl)
933
- fz = ed.dom.getStyle(n, 'fontSize', true);
934
-
935
- c.select(function(v) {
936
- if (v.fontSize && v.fontSize === fz)
937
- return true;
938
-
939
- if (v['class'] && v['class'] === cl)
940
- return true;
941
- });
942
- }
943
-
944
- if (s.theme_advanced_path && s.theme_advanced_statusbar_location) {
945
- p = DOM.get(ed.id + '_path') || DOM.add(ed.id + '_path_row', 'span', {id : ed.id + '_path'});
946
- DOM.setHTML(p, '');
947
-
948
- getParent(function(n) {
949
- var na = n.nodeName.toLowerCase(), u, pi, ti = '';
950
-
951
- /*if (n.getAttribute('_mce_bogus'))
952
- return;
953
- */
954
- // Ignore non element and hidden elements
955
- if (n.nodeType != 1 || n.nodeName === 'BR' || (DOM.hasClass(n, 'mceItemHidden') || DOM.hasClass(n, 'mceItemRemoved')))
956
- return;
957
-
958
- // Fake name
959
- if (v = DOM.getAttrib(n, 'mce_name'))
960
- na = v;
961
-
962
- // Handle prefix
963
- if (tinymce.isIE && n.scopeName !== 'HTML')
964
- na = n.scopeName + ':' + na;
965
-
966
- // Remove internal prefix
967
- na = na.replace(/mce\:/g, '');
968
-
969
- // Handle node name
970
- switch (na) {
971
- case 'b':
972
- na = 'strong';
973
- break;
974
-
975
- case 'i':
976
- na = 'em';
977
- break;
978
-
979
- case 'img':
980
- if (v = DOM.getAttrib(n, 'src'))
981
- ti += 'src: ' + v + ' ';
982
-
983
- break;
984
-
985
- case 'a':
986
- if (v = DOM.getAttrib(n, 'name')) {
987
- ti += 'name: ' + v + ' ';
988
- na += '#' + v;
989
- }
990
-
991
- if (v = DOM.getAttrib(n, 'href'))
992
- ti += 'href: ' + v + ' ';
993
-
994
- break;
995
-
996
- case 'font':
997
- if (v = DOM.getAttrib(n, 'face'))
998
- ti += 'font: ' + v + ' ';
999
-
1000
- if (v = DOM.getAttrib(n, 'size'))
1001
- ti += 'size: ' + v + ' ';
1002
-
1003
- if (v = DOM.getAttrib(n, 'color'))
1004
- ti += 'color: ' + v + ' ';
1005
-
1006
- break;
1007
-
1008
- case 'span':
1009
- if (v = DOM.getAttrib(n, 'style'))
1010
- ti += 'style: ' + v + ' ';
1011
-
1012
- break;
1013
- }
1014
-
1015
- if (v = DOM.getAttrib(n, 'id'))
1016
- ti += 'id: ' + v + ' ';
1017
-
1018
- if (v = n.className) {
1019
- v = v.replace(/\b\s*(webkit|mce|Apple-)\w+\s*\b/g, '')
1020
-
1021
- if (v) {
1022
- ti += 'class: ' + v + ' ';
1023
-
1024
- if (DOM.isBlock(n) || na == 'img' || na == 'span')
1025
- na += '.' + v;
1026
- }
1027
- }
1028
-
1029
- na = na.replace(/(html:)/g, '');
1030
- na = {name : na, node : n, title : ti};
1031
- t.onResolveName.dispatch(t, na);
1032
- ti = na.title;
1033
- na = na.name;
1034
-
1035
- //u = "javascript:tinymce.EditorManager.get('" + ed.id + "').theme._sel('" + (de++) + "');";
1036
- pi = DOM.create('a', {'href' : "javascript:;", onmousedown : "return false;", title : ti, 'class' : 'mcePath_' + (de++)}, na);
1037
-
1038
- if (p.hasChildNodes()) {
1039
- p.insertBefore(DOM.doc.createTextNode(' \u00bb '), p.firstChild);
1040
- p.insertBefore(pi, p.firstChild);
1041
- } else
1042
- p.appendChild(pi);
1043
- }, ed.getBody());
1044
- }
1045
- },
1046
-
1047
- // Commands gets called by execCommand
1048
-
1049
- _sel : function(v) {
1050
- this.editor.execCommand('mceSelectNodeDepth', false, v);
1051
- },
1052
-
1053
- _mceInsertAnchor : function(ui, v) {
1054
- var ed = this.editor;
1055
-
1056
- ed.windowManager.open({
1057
- url : tinymce.baseURL + '/themes/advanced/anchor.htm',
1058
- width : 320 + parseInt(ed.getLang('advanced.anchor_delta_width', 0)),
1059
- height : 90 + parseInt(ed.getLang('advanced.anchor_delta_height', 0)),
1060
- inline : true
1061
- }, {
1062
- theme_url : this.url
1063
- });
1064
- },
1065
-
1066
- _mceCharMap : function() {
1067
- var ed = this.editor;
1068
-
1069
- ed.windowManager.open({
1070
- url : tinymce.baseURL + '/themes/advanced/charmap.htm',
1071
- width : 550 + parseInt(ed.getLang('advanced.charmap_delta_width', 0)),
1072
- height : 250 + parseInt(ed.getLang('advanced.charmap_delta_height', 0)),
1073
- inline : true
1074
- }, {
1075
- theme_url : this.url
1076
- });
1077
- },
1078
-
1079
- _mceHelp : function() {
1080
- var ed = this.editor;
1081
-
1082
- ed.windowManager.open({
1083
- url : tinymce.baseURL + '/themes/advanced/about.htm',
1084
- width : 480,
1085
- height : 380,
1086
- inline : true
1087
- }, {
1088
- theme_url : this.url
1089
- });
1090
- },
1091
-
1092
- _mceColorPicker : function(u, v) {
1093
- var ed = this.editor;
1094
-
1095
- v = v || {};
1096
-
1097
- ed.windowManager.open({
1098
- url : tinymce.baseURL + '/themes/advanced/color_picker.htm',
1099
- width : 375 + parseInt(ed.getLang('advanced.colorpicker_delta_width', 0)),
1100
- height : 250 + parseInt(ed.getLang('advanced.colorpicker_delta_height', 0)),
1101
- close_previous : false,
1102
- inline : true
1103
- }, {
1104
- input_color : v.color,
1105
- func : v.func,
1106
- theme_url : this.url
1107
- });
1108
- },
1109
-
1110
- _mceCodeEditor : function(ui, val) {
1111
- var ed = this.editor;
1112
-
1113
- ed.windowManager.open({
1114
- url : tinymce.baseURL + '/themes/advanced/source_editor.htm',
1115
- width : parseInt(ed.getParam("theme_advanced_source_editor_width", 720)),
1116
- height : parseInt(ed.getParam("theme_advanced_source_editor_height", 580)),
1117
- inline : true,
1118
- resizable : true,
1119
- maximizable : true
1120
- }, {
1121
- theme_url : this.url
1122
- });
1123
- },
1124
-
1125
- _mceImage : function(ui, val) {
1126
- var ed = this.editor;
1127
-
1128
- // Internal image object like a flash placeholder
1129
- if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1)
1130
- return;
1131
-
1132
- ed.windowManager.open({
1133
- url : tinymce.baseURL + '/themes/advanced/image.htm',
1134
- width : 355 + parseInt(ed.getLang('advanced.image_delta_width', 0)),
1135
- height : 275 + parseInt(ed.getLang('advanced.image_delta_height', 0)),
1136
- inline : true
1137
- }, {
1138
- theme_url : this.url
1139
- });
1140
- },
1141
-
1142
- _mceLink : function(ui, val) {
1143
- var ed = this.editor;
1144
-
1145
- ed.windowManager.open({
1146
- url : tinymce.baseURL + '/themes/advanced/link.htm',
1147
- width : 310 + parseInt(ed.getLang('advanced.link_delta_width', 0)),
1148
- height : 200 + parseInt(ed.getLang('advanced.link_delta_height', 0)),
1149
- inline : true
1150
- }, {
1151
- theme_url : this.url
1152
- });
1153
- },
1154
-
1155
- _mceNewDocument : function() {
1156
- var ed = this.editor;
1157
-
1158
- ed.windowManager.confirm('advanced.newdocument', function(s) {
1159
- if (s)
1160
- ed.execCommand('mceSetContent', false, '');
1161
- });
1162
- },
1163
-
1164
- _mceForeColor : function() {
1165
- var t = this;
1166
-
1167
- this._mceColorPicker(0, {
1168
- color: t.fgColor,
1169
- func : function(co) {
1170
- t.fgColor = co;
1171
- t.editor.execCommand('ForeColor', false, co);
1172
- }
1173
- });
1174
- },
1175
-
1176
- _mceBackColor : function() {
1177
- var t = this;
1178
-
1179
- this._mceColorPicker(0, {
1180
- color: t.bgColor,
1181
- func : function(co) {
1182
- t.bgColor = co;
1183
- t.editor.execCommand('HiliteColor', false, co);
1184
- }
1185
- });
1186
- },
1187
-
1188
- _ufirst : function(s) {
1189
- return s.substring(0, 1).toUpperCase() + s.substring(1);
1190
- }
1191
- });
1192
-
1193
- tinymce.ThemeManager.add('advanced', tinymce.themes.AdvancedTheme);
1194
- }(tinymce));