rdcms 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1676) hide show
  1. checksums.yaml +7 -0
  2. data/CC-LICENSE +85 -0
  3. data/README.markdown +2 -0
  4. data/Rakefile +40 -0
  5. data/app/assets/images/ansehen.png +0 -0
  6. data/app/assets/images/arrow.png +0 -0
  7. data/app/assets/images/bearbeiten.png +0 -0
  8. data/app/assets/images/close.png +0 -0
  9. data/app/assets/images/create.png +0 -0
  10. data/app/assets/images/edit.png +0 -0
  11. data/app/assets/images/empty.png +0 -0
  12. data/app/assets/images/favicon.ico +0 -0
  13. data/app/assets/images/favicons/apple-touch-icon-144x144-precomposed.png +0 -0
  14. data/app/assets/images/favicons/apple-touch-icon-72x72-precomposed.png +0 -0
  15. data/app/assets/images/favicons/apple-touch-icon-precomposed.png +0 -0
  16. data/app/assets/images/favicons/favicon.png +0 -0
  17. data/app/assets/images/fonts/glyphs.eot +0 -0
  18. data/app/assets/images/fonts/glyphs.svg +1901 -0
  19. data/app/assets/images/fonts/glyphs.ttf +0 -0
  20. data/app/assets/images/fonts/glyphs.woff +0 -0
  21. data/app/assets/images/import.jpg +0 -0
  22. data/app/assets/images/loading.gif +0 -0
  23. data/app/assets/images/loeschen.png +0 -0
  24. data/app/assets/images/logo.png +0 -0
  25. data/app/assets/images/logo_fullscreen.png +0 -0
  26. data/app/assets/images/marker.png +0 -0
  27. data/app/assets/images/mask.png +0 -0
  28. data/app/assets/images/missing.png +0 -0
  29. data/app/assets/images/missing/thumb.png +0 -0
  30. data/app/assets/images/open-graph.png +0 -0
  31. data/app/assets/images/rdcms.png +0 -0
  32. data/app/assets/images/rdcms/chosen-sprite.png +0 -0
  33. data/app/assets/images/rdcms/flags.png +0 -0
  34. data/app/assets/images/rdcms/progressbar.gif +0 -0
  35. data/app/assets/images/rdcms/select2/select2-spinner.gif +0 -0
  36. data/app/assets/images/rdcms/select2/select2.png +0 -0
  37. data/app/assets/images/rdcms/select2/select2x2.png +0 -0
  38. data/app/assets/images/rdcms/sliders/blank.gif +0 -0
  39. data/app/assets/images/rdcms/sliders/controlsSprite.png +0 -0
  40. data/app/assets/images/rdcms/sliders/empty.png +0 -0
  41. data/app/assets/images/rdcms/sliders/grab.png +0 -0
  42. data/app/assets/images/rdcms/sliders/grabbing.png +0 -0
  43. data/app/assets/images/rdcms/sliders/loading.gif +0 -0
  44. data/app/assets/images/rdcms/sliders/pattern_bg.png +0 -0
  45. data/app/assets/images/rdcms/sliders/pattern_dl.png +0 -0
  46. data/app/assets/images/rdcms/sliders/rs-minimal-white.png +0 -0
  47. data/app/assets/images/rdcms/sliders/rs-universal.png +0 -0
  48. data/app/assets/images/rdcms/sliders/sliderBG.png +0 -0
  49. data/app/assets/images/rdcms/sliders/sprite.png +0 -0
  50. data/app/assets/images/tree.png +0 -0
  51. data/app/assets/images/undo.png +0 -0
  52. data/app/assets/images/unterartikel.png +0 -0
  53. data/app/assets/images/wheel.png +0 -0
  54. data/app/assets/javascripts/ckeditor/config.js +117 -0
  55. data/app/assets/javascripts/ckeditor/plugins/bidi/icons/bidiltr.png +0 -0
  56. data/app/assets/javascripts/ckeditor/plugins/bidi/icons/bidirtl.png +0 -0
  57. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/af.js +8 -0
  58. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ar.js +8 -0
  59. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/bg.js +8 -0
  60. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/bn.js +8 -0
  61. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/bs.js +8 -0
  62. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ca.js +8 -0
  63. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/cs.js +8 -0
  64. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/cy.js +8 -0
  65. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/da.js +8 -0
  66. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/de.js +8 -0
  67. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/el.js +8 -0
  68. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/en-au.js +8 -0
  69. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/en-ca.js +8 -0
  70. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/en-gb.js +8 -0
  71. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/en.js +8 -0
  72. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/eo.js +8 -0
  73. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/es.js +8 -0
  74. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/et.js +8 -0
  75. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/eu.js +8 -0
  76. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/fa.js +8 -0
  77. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/fi.js +8 -0
  78. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/fo.js +8 -0
  79. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/fr-ca.js +8 -0
  80. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/fr.js +8 -0
  81. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/gl.js +8 -0
  82. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/gu.js +8 -0
  83. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/he.js +8 -0
  84. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/hi.js +8 -0
  85. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/hr.js +8 -0
  86. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/hu.js +8 -0
  87. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/is.js +8 -0
  88. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/it.js +8 -0
  89. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ja.js +8 -0
  90. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ka.js +8 -0
  91. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/km.js +8 -0
  92. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ko.js +8 -0
  93. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ku.js +8 -0
  94. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/lt.js +8 -0
  95. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/lv.js +8 -0
  96. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/mk.js +8 -0
  97. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/mn.js +8 -0
  98. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ms.js +8 -0
  99. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/nb.js +8 -0
  100. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/nl.js +8 -0
  101. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/no.js +8 -0
  102. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/pl.js +8 -0
  103. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/pt-br.js +8 -0
  104. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/pt.js +8 -0
  105. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ro.js +8 -0
  106. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ru.js +8 -0
  107. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/sk.js +8 -0
  108. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/sl.js +8 -0
  109. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/sr-latn.js +8 -0
  110. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/sr.js +8 -0
  111. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/sv.js +8 -0
  112. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/th.js +8 -0
  113. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/tr.js +8 -0
  114. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/ug.js +8 -0
  115. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/uk.js +8 -0
  116. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/vi.js +8 -0
  117. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/zh-cn.js +8 -0
  118. data/app/assets/javascripts/ckeditor/plugins/bidi/lang/zh.js +8 -0
  119. data/app/assets/javascripts/ckeditor/plugins/bidi/plugin.js +300 -0
  120. data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/bgcolor.png +0 -0
  121. data/app/assets/javascripts/ckeditor/plugins/colorbutton/icons/textcolor.png +0 -0
  122. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/af.js +53 -0
  123. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ar.js +53 -0
  124. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/bg.js +53 -0
  125. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/bn.js +53 -0
  126. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/bs.js +53 -0
  127. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ca.js +53 -0
  128. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/cs.js +53 -0
  129. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/cy.js +53 -0
  130. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/da.js +53 -0
  131. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/de.js +53 -0
  132. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/el.js +53 -0
  133. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en-au.js +53 -0
  134. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en-ca.js +53 -0
  135. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en-gb.js +53 -0
  136. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/en.js +53 -0
  137. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/eo.js +53 -0
  138. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/es.js +53 -0
  139. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/et.js +53 -0
  140. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/eu.js +53 -0
  141. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/fa.js +53 -0
  142. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/fi.js +53 -0
  143. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/fo.js +53 -0
  144. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/fr-ca.js +53 -0
  145. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/fr.js +53 -0
  146. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/gl.js +53 -0
  147. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/gu.js +53 -0
  148. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/he.js +53 -0
  149. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/hi.js +53 -0
  150. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/hr.js +53 -0
  151. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/hu.js +53 -0
  152. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/is.js +53 -0
  153. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/it.js +53 -0
  154. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ja.js +53 -0
  155. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ka.js +53 -0
  156. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/km.js +53 -0
  157. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ko.js +53 -0
  158. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ku.js +53 -0
  159. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/lt.js +53 -0
  160. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/lv.js +53 -0
  161. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/mk.js +53 -0
  162. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/mn.js +53 -0
  163. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ms.js +53 -0
  164. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/nb.js +53 -0
  165. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/nl.js +53 -0
  166. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/no.js +53 -0
  167. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/pl.js +53 -0
  168. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/pt-br.js +53 -0
  169. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/pt.js +53 -0
  170. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ro.js +53 -0
  171. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ru.js +53 -0
  172. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/sk.js +53 -0
  173. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/sl.js +53 -0
  174. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/sr-latn.js +53 -0
  175. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/sr.js +53 -0
  176. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/sv.js +53 -0
  177. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/th.js +53 -0
  178. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/tr.js +53 -0
  179. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/ug.js +53 -0
  180. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/uk.js +53 -0
  181. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/vi.js +53 -0
  182. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/zh-cn.js +53 -0
  183. data/app/assets/javascripts/ckeditor/plugins/colorbutton/lang/zh.js +53 -0
  184. data/app/assets/javascripts/ckeditor/plugins/colorbutton/plugin.js +273 -0
  185. data/app/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +340 -0
  186. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/af.js +11 -0
  187. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ar.js +11 -0
  188. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/bg.js +11 -0
  189. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/bn.js +11 -0
  190. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/bs.js +11 -0
  191. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ca.js +11 -0
  192. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/cs.js +11 -0
  193. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/cy.js +11 -0
  194. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/da.js +11 -0
  195. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/de.js +11 -0
  196. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/el.js +11 -0
  197. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en-au.js +11 -0
  198. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en-ca.js +11 -0
  199. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en-gb.js +11 -0
  200. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/en.js +11 -0
  201. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/eo.js +11 -0
  202. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/es.js +11 -0
  203. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/et.js +11 -0
  204. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/eu.js +11 -0
  205. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/fa.js +11 -0
  206. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/fi.js +11 -0
  207. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/fo.js +11 -0
  208. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/fr-ca.js +11 -0
  209. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/fr.js +11 -0
  210. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/gl.js +11 -0
  211. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/gu.js +11 -0
  212. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/he.js +11 -0
  213. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/hi.js +11 -0
  214. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/hr.js +11 -0
  215. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/hu.js +11 -0
  216. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/is.js +11 -0
  217. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/it.js +11 -0
  218. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ja.js +11 -0
  219. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ka.js +11 -0
  220. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/km.js +11 -0
  221. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ko.js +11 -0
  222. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ku.js +11 -0
  223. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/lt.js +11 -0
  224. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/lv.js +11 -0
  225. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/mk.js +11 -0
  226. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/mn.js +11 -0
  227. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ms.js +11 -0
  228. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/nb.js +11 -0
  229. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/nl.js +11 -0
  230. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/no.js +11 -0
  231. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/pl.js +11 -0
  232. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/pt-br.js +11 -0
  233. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/pt.js +11 -0
  234. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ro.js +11 -0
  235. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ru.js +11 -0
  236. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/sk.js +11 -0
  237. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/sl.js +11 -0
  238. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/sr-latn.js +11 -0
  239. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/sr.js +11 -0
  240. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/sv.js +11 -0
  241. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/th.js +11 -0
  242. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/tr.js +11 -0
  243. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/ug.js +11 -0
  244. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/uk.js +11 -0
  245. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/vi.js +11 -0
  246. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/zh-cn.js +11 -0
  247. data/app/assets/javascripts/ckeditor/plugins/colordialog/lang/zh.js +11 -0
  248. data/app/assets/javascripts/ckeditor/plugins/colordialog/plugin.js +65 -0
  249. data/app/assets/javascripts/ckeditor/plugins/entities/plugin.js +236 -0
  250. data/app/assets/javascripts/ckeditor/plugins/font/lang/af.js +14 -0
  251. data/app/assets/javascripts/ckeditor/plugins/font/lang/ar.js +14 -0
  252. data/app/assets/javascripts/ckeditor/plugins/font/lang/bg.js +14 -0
  253. data/app/assets/javascripts/ckeditor/plugins/font/lang/bn.js +14 -0
  254. data/app/assets/javascripts/ckeditor/plugins/font/lang/bs.js +14 -0
  255. data/app/assets/javascripts/ckeditor/plugins/font/lang/ca.js +14 -0
  256. data/app/assets/javascripts/ckeditor/plugins/font/lang/cs.js +14 -0
  257. data/app/assets/javascripts/ckeditor/plugins/font/lang/cy.js +14 -0
  258. data/app/assets/javascripts/ckeditor/plugins/font/lang/da.js +14 -0
  259. data/app/assets/javascripts/ckeditor/plugins/font/lang/de.js +14 -0
  260. data/app/assets/javascripts/ckeditor/plugins/font/lang/el.js +14 -0
  261. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-au.js +14 -0
  262. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-ca.js +14 -0
  263. data/app/assets/javascripts/ckeditor/plugins/font/lang/en-gb.js +14 -0
  264. data/app/assets/javascripts/ckeditor/plugins/font/lang/en.js +14 -0
  265. data/app/assets/javascripts/ckeditor/plugins/font/lang/eo.js +14 -0
  266. data/app/assets/javascripts/ckeditor/plugins/font/lang/es.js +14 -0
  267. data/app/assets/javascripts/ckeditor/plugins/font/lang/et.js +14 -0
  268. data/app/assets/javascripts/ckeditor/plugins/font/lang/eu.js +14 -0
  269. data/app/assets/javascripts/ckeditor/plugins/font/lang/fa.js +14 -0
  270. data/app/assets/javascripts/ckeditor/plugins/font/lang/fi.js +14 -0
  271. data/app/assets/javascripts/ckeditor/plugins/font/lang/fo.js +14 -0
  272. data/app/assets/javascripts/ckeditor/plugins/font/lang/fr-ca.js +14 -0
  273. data/app/assets/javascripts/ckeditor/plugins/font/lang/fr.js +14 -0
  274. data/app/assets/javascripts/ckeditor/plugins/font/lang/gl.js +14 -0
  275. data/app/assets/javascripts/ckeditor/plugins/font/lang/gu.js +14 -0
  276. data/app/assets/javascripts/ckeditor/plugins/font/lang/he.js +14 -0
  277. data/app/assets/javascripts/ckeditor/plugins/font/lang/hi.js +14 -0
  278. data/app/assets/javascripts/ckeditor/plugins/font/lang/hr.js +14 -0
  279. data/app/assets/javascripts/ckeditor/plugins/font/lang/hu.js +14 -0
  280. data/app/assets/javascripts/ckeditor/plugins/font/lang/is.js +14 -0
  281. data/app/assets/javascripts/ckeditor/plugins/font/lang/it.js +14 -0
  282. data/app/assets/javascripts/ckeditor/plugins/font/lang/ja.js +14 -0
  283. data/app/assets/javascripts/ckeditor/plugins/font/lang/ka.js +14 -0
  284. data/app/assets/javascripts/ckeditor/plugins/font/lang/km.js +14 -0
  285. data/app/assets/javascripts/ckeditor/plugins/font/lang/ko.js +14 -0
  286. data/app/assets/javascripts/ckeditor/plugins/font/lang/ku.js +14 -0
  287. data/app/assets/javascripts/ckeditor/plugins/font/lang/lt.js +14 -0
  288. data/app/assets/javascripts/ckeditor/plugins/font/lang/lv.js +14 -0
  289. data/app/assets/javascripts/ckeditor/plugins/font/lang/mk.js +14 -0
  290. data/app/assets/javascripts/ckeditor/plugins/font/lang/mn.js +14 -0
  291. data/app/assets/javascripts/ckeditor/plugins/font/lang/ms.js +14 -0
  292. data/app/assets/javascripts/ckeditor/plugins/font/lang/nb.js +14 -0
  293. data/app/assets/javascripts/ckeditor/plugins/font/lang/nl.js +14 -0
  294. data/app/assets/javascripts/ckeditor/plugins/font/lang/no.js +14 -0
  295. data/app/assets/javascripts/ckeditor/plugins/font/lang/pl.js +14 -0
  296. data/app/assets/javascripts/ckeditor/plugins/font/lang/pt-br.js +14 -0
  297. data/app/assets/javascripts/ckeditor/plugins/font/lang/pt.js +14 -0
  298. data/app/assets/javascripts/ckeditor/plugins/font/lang/ro.js +14 -0
  299. data/app/assets/javascripts/ckeditor/plugins/font/lang/ru.js +14 -0
  300. data/app/assets/javascripts/ckeditor/plugins/font/lang/sk.js +14 -0
  301. data/app/assets/javascripts/ckeditor/plugins/font/lang/sl.js +14 -0
  302. data/app/assets/javascripts/ckeditor/plugins/font/lang/sr-latn.js +14 -0
  303. data/app/assets/javascripts/ckeditor/plugins/font/lang/sr.js +14 -0
  304. data/app/assets/javascripts/ckeditor/plugins/font/lang/sv.js +14 -0
  305. data/app/assets/javascripts/ckeditor/plugins/font/lang/th.js +14 -0
  306. data/app/assets/javascripts/ckeditor/plugins/font/lang/tr.js +14 -0
  307. data/app/assets/javascripts/ckeditor/plugins/font/lang/ug.js +14 -0
  308. data/app/assets/javascripts/ckeditor/plugins/font/lang/uk.js +14 -0
  309. data/app/assets/javascripts/ckeditor/plugins/font/lang/vi.js +14 -0
  310. data/app/assets/javascripts/ckeditor/plugins/font/lang/zh-cn.js +14 -0
  311. data/app/assets/javascripts/ckeditor/plugins/font/lang/zh.js +14 -0
  312. data/app/assets/javascripts/ckeditor/plugins/font/plugin.js +222 -0
  313. data/app/assets/javascripts/ckeditor/plugins/format/lang/af.js +18 -0
  314. data/app/assets/javascripts/ckeditor/plugins/format/lang/ar.js +18 -0
  315. data/app/assets/javascripts/ckeditor/plugins/format/lang/bg.js +18 -0
  316. data/app/assets/javascripts/ckeditor/plugins/format/lang/bn.js +18 -0
  317. data/app/assets/javascripts/ckeditor/plugins/format/lang/bs.js +18 -0
  318. data/app/assets/javascripts/ckeditor/plugins/format/lang/ca.js +18 -0
  319. data/app/assets/javascripts/ckeditor/plugins/format/lang/cs.js +18 -0
  320. data/app/assets/javascripts/ckeditor/plugins/format/lang/cy.js +18 -0
  321. data/app/assets/javascripts/ckeditor/plugins/format/lang/da.js +18 -0
  322. data/app/assets/javascripts/ckeditor/plugins/format/lang/de.js +18 -0
  323. data/app/assets/javascripts/ckeditor/plugins/format/lang/el.js +18 -0
  324. data/app/assets/javascripts/ckeditor/plugins/format/lang/en-au.js +18 -0
  325. data/app/assets/javascripts/ckeditor/plugins/format/lang/en-ca.js +18 -0
  326. data/app/assets/javascripts/ckeditor/plugins/format/lang/en-gb.js +18 -0
  327. data/app/assets/javascripts/ckeditor/plugins/format/lang/en.js +18 -0
  328. data/app/assets/javascripts/ckeditor/plugins/format/lang/eo.js +18 -0
  329. data/app/assets/javascripts/ckeditor/plugins/format/lang/es.js +18 -0
  330. data/app/assets/javascripts/ckeditor/plugins/format/lang/et.js +18 -0
  331. data/app/assets/javascripts/ckeditor/plugins/format/lang/eu.js +18 -0
  332. data/app/assets/javascripts/ckeditor/plugins/format/lang/fa.js +18 -0
  333. data/app/assets/javascripts/ckeditor/plugins/format/lang/fi.js +18 -0
  334. data/app/assets/javascripts/ckeditor/plugins/format/lang/fo.js +18 -0
  335. data/app/assets/javascripts/ckeditor/plugins/format/lang/fr-ca.js +18 -0
  336. data/app/assets/javascripts/ckeditor/plugins/format/lang/fr.js +18 -0
  337. data/app/assets/javascripts/ckeditor/plugins/format/lang/gl.js +18 -0
  338. data/app/assets/javascripts/ckeditor/plugins/format/lang/gu.js +18 -0
  339. data/app/assets/javascripts/ckeditor/plugins/format/lang/he.js +18 -0
  340. data/app/assets/javascripts/ckeditor/plugins/format/lang/hi.js +18 -0
  341. data/app/assets/javascripts/ckeditor/plugins/format/lang/hr.js +18 -0
  342. data/app/assets/javascripts/ckeditor/plugins/format/lang/hu.js +18 -0
  343. data/app/assets/javascripts/ckeditor/plugins/format/lang/is.js +18 -0
  344. data/app/assets/javascripts/ckeditor/plugins/format/lang/it.js +18 -0
  345. data/app/assets/javascripts/ckeditor/plugins/format/lang/ja.js +18 -0
  346. data/app/assets/javascripts/ckeditor/plugins/format/lang/ka.js +18 -0
  347. data/app/assets/javascripts/ckeditor/plugins/format/lang/km.js +18 -0
  348. data/app/assets/javascripts/ckeditor/plugins/format/lang/ko.js +18 -0
  349. data/app/assets/javascripts/ckeditor/plugins/format/lang/ku.js +18 -0
  350. data/app/assets/javascripts/ckeditor/plugins/format/lang/lt.js +18 -0
  351. data/app/assets/javascripts/ckeditor/plugins/format/lang/lv.js +18 -0
  352. data/app/assets/javascripts/ckeditor/plugins/format/lang/mk.js +18 -0
  353. data/app/assets/javascripts/ckeditor/plugins/format/lang/mn.js +18 -0
  354. data/app/assets/javascripts/ckeditor/plugins/format/lang/ms.js +18 -0
  355. data/app/assets/javascripts/ckeditor/plugins/format/lang/nb.js +18 -0
  356. data/app/assets/javascripts/ckeditor/plugins/format/lang/nl.js +18 -0
  357. data/app/assets/javascripts/ckeditor/plugins/format/lang/no.js +18 -0
  358. data/app/assets/javascripts/ckeditor/plugins/format/lang/pl.js +18 -0
  359. data/app/assets/javascripts/ckeditor/plugins/format/lang/pt-br.js +18 -0
  360. data/app/assets/javascripts/ckeditor/plugins/format/lang/pt.js +18 -0
  361. data/app/assets/javascripts/ckeditor/plugins/format/lang/ro.js +18 -0
  362. data/app/assets/javascripts/ckeditor/plugins/format/lang/ru.js +18 -0
  363. data/app/assets/javascripts/ckeditor/plugins/format/lang/sk.js +18 -0
  364. data/app/assets/javascripts/ckeditor/plugins/format/lang/sl.js +18 -0
  365. data/app/assets/javascripts/ckeditor/plugins/format/lang/sr-latn.js +18 -0
  366. data/app/assets/javascripts/ckeditor/plugins/format/lang/sr.js +18 -0
  367. data/app/assets/javascripts/ckeditor/plugins/format/lang/sv.js +18 -0
  368. data/app/assets/javascripts/ckeditor/plugins/format/lang/th.js +18 -0
  369. data/app/assets/javascripts/ckeditor/plugins/format/lang/tr.js +18 -0
  370. data/app/assets/javascripts/ckeditor/plugins/format/lang/ug.js +18 -0
  371. data/app/assets/javascripts/ckeditor/plugins/format/lang/uk.js +18 -0
  372. data/app/assets/javascripts/ckeditor/plugins/format/lang/vi.js +18 -0
  373. data/app/assets/javascripts/ckeditor/plugins/format/lang/zh-cn.js +18 -0
  374. data/app/assets/javascripts/ckeditor/plugins/format/lang/zh.js +18 -0
  375. data/app/assets/javascripts/ckeditor/plugins/format/plugin.js +205 -0
  376. data/app/assets/javascripts/ckeditor/plugins/indent/icons/indent-rtl.png +0 -0
  377. data/app/assets/javascripts/ckeditor/plugins/indent/icons/indent.png +0 -0
  378. data/app/assets/javascripts/ckeditor/plugins/indent/icons/outdent-rtl.png +0 -0
  379. data/app/assets/javascripts/ckeditor/plugins/indent/icons/outdent.png +0 -0
  380. data/app/assets/javascripts/ckeditor/plugins/indent/lang/af.js +8 -0
  381. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ar.js +8 -0
  382. data/app/assets/javascripts/ckeditor/plugins/indent/lang/bg.js +8 -0
  383. data/app/assets/javascripts/ckeditor/plugins/indent/lang/bn.js +8 -0
  384. data/app/assets/javascripts/ckeditor/plugins/indent/lang/bs.js +8 -0
  385. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ca.js +8 -0
  386. data/app/assets/javascripts/ckeditor/plugins/indent/lang/cs.js +8 -0
  387. data/app/assets/javascripts/ckeditor/plugins/indent/lang/cy.js +8 -0
  388. data/app/assets/javascripts/ckeditor/plugins/indent/lang/da.js +8 -0
  389. data/app/assets/javascripts/ckeditor/plugins/indent/lang/de.js +8 -0
  390. data/app/assets/javascripts/ckeditor/plugins/indent/lang/el.js +8 -0
  391. data/app/assets/javascripts/ckeditor/plugins/indent/lang/en-au.js +8 -0
  392. data/app/assets/javascripts/ckeditor/plugins/indent/lang/en-ca.js +8 -0
  393. data/app/assets/javascripts/ckeditor/plugins/indent/lang/en-gb.js +8 -0
  394. data/app/assets/javascripts/ckeditor/plugins/indent/lang/en.js +8 -0
  395. data/app/assets/javascripts/ckeditor/plugins/indent/lang/eo.js +8 -0
  396. data/app/assets/javascripts/ckeditor/plugins/indent/lang/es.js +8 -0
  397. data/app/assets/javascripts/ckeditor/plugins/indent/lang/et.js +8 -0
  398. data/app/assets/javascripts/ckeditor/plugins/indent/lang/eu.js +8 -0
  399. data/app/assets/javascripts/ckeditor/plugins/indent/lang/fa.js +8 -0
  400. data/app/assets/javascripts/ckeditor/plugins/indent/lang/fi.js +8 -0
  401. data/app/assets/javascripts/ckeditor/plugins/indent/lang/fo.js +8 -0
  402. data/app/assets/javascripts/ckeditor/plugins/indent/lang/fr-ca.js +8 -0
  403. data/app/assets/javascripts/ckeditor/plugins/indent/lang/fr.js +8 -0
  404. data/app/assets/javascripts/ckeditor/plugins/indent/lang/gl.js +8 -0
  405. data/app/assets/javascripts/ckeditor/plugins/indent/lang/gu.js +8 -0
  406. data/app/assets/javascripts/ckeditor/plugins/indent/lang/he.js +8 -0
  407. data/app/assets/javascripts/ckeditor/plugins/indent/lang/hi.js +8 -0
  408. data/app/assets/javascripts/ckeditor/plugins/indent/lang/hr.js +8 -0
  409. data/app/assets/javascripts/ckeditor/plugins/indent/lang/hu.js +8 -0
  410. data/app/assets/javascripts/ckeditor/plugins/indent/lang/is.js +8 -0
  411. data/app/assets/javascripts/ckeditor/plugins/indent/lang/it.js +8 -0
  412. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ja.js +8 -0
  413. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ka.js +8 -0
  414. data/app/assets/javascripts/ckeditor/plugins/indent/lang/km.js +8 -0
  415. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ko.js +8 -0
  416. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ku.js +8 -0
  417. data/app/assets/javascripts/ckeditor/plugins/indent/lang/lt.js +8 -0
  418. data/app/assets/javascripts/ckeditor/plugins/indent/lang/lv.js +8 -0
  419. data/app/assets/javascripts/ckeditor/plugins/indent/lang/mk.js +8 -0
  420. data/app/assets/javascripts/ckeditor/plugins/indent/lang/mn.js +8 -0
  421. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ms.js +8 -0
  422. data/app/assets/javascripts/ckeditor/plugins/indent/lang/nb.js +8 -0
  423. data/app/assets/javascripts/ckeditor/plugins/indent/lang/nl.js +8 -0
  424. data/app/assets/javascripts/ckeditor/plugins/indent/lang/no.js +8 -0
  425. data/app/assets/javascripts/ckeditor/plugins/indent/lang/pl.js +8 -0
  426. data/app/assets/javascripts/ckeditor/plugins/indent/lang/pt-br.js +8 -0
  427. data/app/assets/javascripts/ckeditor/plugins/indent/lang/pt.js +8 -0
  428. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ro.js +8 -0
  429. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ru.js +8 -0
  430. data/app/assets/javascripts/ckeditor/plugins/indent/lang/sk.js +8 -0
  431. data/app/assets/javascripts/ckeditor/plugins/indent/lang/sl.js +8 -0
  432. data/app/assets/javascripts/ckeditor/plugins/indent/lang/sr-latn.js +8 -0
  433. data/app/assets/javascripts/ckeditor/plugins/indent/lang/sr.js +8 -0
  434. data/app/assets/javascripts/ckeditor/plugins/indent/lang/sv.js +8 -0
  435. data/app/assets/javascripts/ckeditor/plugins/indent/lang/th.js +8 -0
  436. data/app/assets/javascripts/ckeditor/plugins/indent/lang/tr.js +8 -0
  437. data/app/assets/javascripts/ckeditor/plugins/indent/lang/ug.js +8 -0
  438. data/app/assets/javascripts/ckeditor/plugins/indent/lang/uk.js +8 -0
  439. data/app/assets/javascripts/ckeditor/plugins/indent/lang/vi.js +8 -0
  440. data/app/assets/javascripts/ckeditor/plugins/indent/lang/zh-cn.js +8 -0
  441. data/app/assets/javascripts/ckeditor/plugins/indent/lang/zh.js +8 -0
  442. data/app/assets/javascripts/ckeditor/plugins/indent/plugin.js +417 -0
  443. data/app/assets/javascripts/ckeditor/plugins/justify/icons/justifyblock.png +0 -0
  444. data/app/assets/javascripts/ckeditor/plugins/justify/icons/justifycenter.png +0 -0
  445. data/app/assets/javascripts/ckeditor/plugins/justify/icons/justifyleft.png +0 -0
  446. data/app/assets/javascripts/ckeditor/plugins/justify/icons/justifyright.png +0 -0
  447. data/app/assets/javascripts/ckeditor/plugins/justify/lang/af.js +10 -0
  448. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ar.js +10 -0
  449. data/app/assets/javascripts/ckeditor/plugins/justify/lang/bg.js +10 -0
  450. data/app/assets/javascripts/ckeditor/plugins/justify/lang/bn.js +10 -0
  451. data/app/assets/javascripts/ckeditor/plugins/justify/lang/bs.js +10 -0
  452. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ca.js +10 -0
  453. data/app/assets/javascripts/ckeditor/plugins/justify/lang/cs.js +10 -0
  454. data/app/assets/javascripts/ckeditor/plugins/justify/lang/cy.js +10 -0
  455. data/app/assets/javascripts/ckeditor/plugins/justify/lang/da.js +10 -0
  456. data/app/assets/javascripts/ckeditor/plugins/justify/lang/de.js +10 -0
  457. data/app/assets/javascripts/ckeditor/plugins/justify/lang/el.js +10 -0
  458. data/app/assets/javascripts/ckeditor/plugins/justify/lang/en-au.js +10 -0
  459. data/app/assets/javascripts/ckeditor/plugins/justify/lang/en-ca.js +10 -0
  460. data/app/assets/javascripts/ckeditor/plugins/justify/lang/en-gb.js +10 -0
  461. data/app/assets/javascripts/ckeditor/plugins/justify/lang/en.js +10 -0
  462. data/app/assets/javascripts/ckeditor/plugins/justify/lang/eo.js +10 -0
  463. data/app/assets/javascripts/ckeditor/plugins/justify/lang/es.js +10 -0
  464. data/app/assets/javascripts/ckeditor/plugins/justify/lang/et.js +10 -0
  465. data/app/assets/javascripts/ckeditor/plugins/justify/lang/eu.js +10 -0
  466. data/app/assets/javascripts/ckeditor/plugins/justify/lang/fa.js +10 -0
  467. data/app/assets/javascripts/ckeditor/plugins/justify/lang/fi.js +10 -0
  468. data/app/assets/javascripts/ckeditor/plugins/justify/lang/fo.js +10 -0
  469. data/app/assets/javascripts/ckeditor/plugins/justify/lang/fr-ca.js +10 -0
  470. data/app/assets/javascripts/ckeditor/plugins/justify/lang/fr.js +10 -0
  471. data/app/assets/javascripts/ckeditor/plugins/justify/lang/gl.js +10 -0
  472. data/app/assets/javascripts/ckeditor/plugins/justify/lang/gu.js +10 -0
  473. data/app/assets/javascripts/ckeditor/plugins/justify/lang/he.js +10 -0
  474. data/app/assets/javascripts/ckeditor/plugins/justify/lang/hi.js +10 -0
  475. data/app/assets/javascripts/ckeditor/plugins/justify/lang/hr.js +10 -0
  476. data/app/assets/javascripts/ckeditor/plugins/justify/lang/hu.js +10 -0
  477. data/app/assets/javascripts/ckeditor/plugins/justify/lang/is.js +10 -0
  478. data/app/assets/javascripts/ckeditor/plugins/justify/lang/it.js +10 -0
  479. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ja.js +10 -0
  480. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ka.js +10 -0
  481. data/app/assets/javascripts/ckeditor/plugins/justify/lang/km.js +10 -0
  482. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ko.js +10 -0
  483. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ku.js +10 -0
  484. data/app/assets/javascripts/ckeditor/plugins/justify/lang/lt.js +10 -0
  485. data/app/assets/javascripts/ckeditor/plugins/justify/lang/lv.js +10 -0
  486. data/app/assets/javascripts/ckeditor/plugins/justify/lang/mk.js +10 -0
  487. data/app/assets/javascripts/ckeditor/plugins/justify/lang/mn.js +10 -0
  488. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ms.js +10 -0
  489. data/app/assets/javascripts/ckeditor/plugins/justify/lang/nb.js +10 -0
  490. data/app/assets/javascripts/ckeditor/plugins/justify/lang/nl.js +10 -0
  491. data/app/assets/javascripts/ckeditor/plugins/justify/lang/no.js +10 -0
  492. data/app/assets/javascripts/ckeditor/plugins/justify/lang/pl.js +10 -0
  493. data/app/assets/javascripts/ckeditor/plugins/justify/lang/pt-br.js +10 -0
  494. data/app/assets/javascripts/ckeditor/plugins/justify/lang/pt.js +10 -0
  495. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ro.js +10 -0
  496. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ru.js +10 -0
  497. data/app/assets/javascripts/ckeditor/plugins/justify/lang/sk.js +10 -0
  498. data/app/assets/javascripts/ckeditor/plugins/justify/lang/sl.js +10 -0
  499. data/app/assets/javascripts/ckeditor/plugins/justify/lang/sr-latn.js +10 -0
  500. data/app/assets/javascripts/ckeditor/plugins/justify/lang/sr.js +10 -0
  501. data/app/assets/javascripts/ckeditor/plugins/justify/lang/sv.js +10 -0
  502. data/app/assets/javascripts/ckeditor/plugins/justify/lang/th.js +10 -0
  503. data/app/assets/javascripts/ckeditor/plugins/justify/lang/tr.js +10 -0
  504. data/app/assets/javascripts/ckeditor/plugins/justify/lang/ug.js +10 -0
  505. data/app/assets/javascripts/ckeditor/plugins/justify/lang/uk.js +10 -0
  506. data/app/assets/javascripts/ckeditor/plugins/justify/lang/vi.js +10 -0
  507. data/app/assets/javascripts/ckeditor/plugins/justify/lang/zh-cn.js +10 -0
  508. data/app/assets/javascripts/ckeditor/plugins/justify/lang/zh.js +10 -0
  509. data/app/assets/javascripts/ckeditor/plugins/justify/plugin.js +218 -0
  510. data/app/assets/javascripts/ckeditor/plugins/list/icons/bulletedlist-rtl.png +0 -0
  511. data/app/assets/javascripts/ckeditor/plugins/list/icons/bulletedlist.png +0 -0
  512. data/app/assets/javascripts/ckeditor/plugins/list/icons/numberedlist-rtl.png +0 -0
  513. data/app/assets/javascripts/ckeditor/plugins/list/icons/numberedlist.png +0 -0
  514. data/app/assets/javascripts/ckeditor/plugins/list/lang/af.js +8 -0
  515. data/app/assets/javascripts/ckeditor/plugins/list/lang/ar.js +8 -0
  516. data/app/assets/javascripts/ckeditor/plugins/list/lang/bg.js +8 -0
  517. data/app/assets/javascripts/ckeditor/plugins/list/lang/bn.js +8 -0
  518. data/app/assets/javascripts/ckeditor/plugins/list/lang/bs.js +8 -0
  519. data/app/assets/javascripts/ckeditor/plugins/list/lang/ca.js +8 -0
  520. data/app/assets/javascripts/ckeditor/plugins/list/lang/cs.js +8 -0
  521. data/app/assets/javascripts/ckeditor/plugins/list/lang/cy.js +8 -0
  522. data/app/assets/javascripts/ckeditor/plugins/list/lang/da.js +8 -0
  523. data/app/assets/javascripts/ckeditor/plugins/list/lang/de.js +8 -0
  524. data/app/assets/javascripts/ckeditor/plugins/list/lang/el.js +8 -0
  525. data/app/assets/javascripts/ckeditor/plugins/list/lang/en-au.js +8 -0
  526. data/app/assets/javascripts/ckeditor/plugins/list/lang/en-ca.js +8 -0
  527. data/app/assets/javascripts/ckeditor/plugins/list/lang/en-gb.js +8 -0
  528. data/app/assets/javascripts/ckeditor/plugins/list/lang/en.js +8 -0
  529. data/app/assets/javascripts/ckeditor/plugins/list/lang/eo.js +8 -0
  530. data/app/assets/javascripts/ckeditor/plugins/list/lang/es.js +8 -0
  531. data/app/assets/javascripts/ckeditor/plugins/list/lang/et.js +8 -0
  532. data/app/assets/javascripts/ckeditor/plugins/list/lang/eu.js +8 -0
  533. data/app/assets/javascripts/ckeditor/plugins/list/lang/fa.js +8 -0
  534. data/app/assets/javascripts/ckeditor/plugins/list/lang/fi.js +8 -0
  535. data/app/assets/javascripts/ckeditor/plugins/list/lang/fo.js +8 -0
  536. data/app/assets/javascripts/ckeditor/plugins/list/lang/fr-ca.js +8 -0
  537. data/app/assets/javascripts/ckeditor/plugins/list/lang/fr.js +8 -0
  538. data/app/assets/javascripts/ckeditor/plugins/list/lang/gl.js +8 -0
  539. data/app/assets/javascripts/ckeditor/plugins/list/lang/gu.js +8 -0
  540. data/app/assets/javascripts/ckeditor/plugins/list/lang/he.js +8 -0
  541. data/app/assets/javascripts/ckeditor/plugins/list/lang/hi.js +8 -0
  542. data/app/assets/javascripts/ckeditor/plugins/list/lang/hr.js +8 -0
  543. data/app/assets/javascripts/ckeditor/plugins/list/lang/hu.js +8 -0
  544. data/app/assets/javascripts/ckeditor/plugins/list/lang/is.js +8 -0
  545. data/app/assets/javascripts/ckeditor/plugins/list/lang/it.js +8 -0
  546. data/app/assets/javascripts/ckeditor/plugins/list/lang/ja.js +8 -0
  547. data/app/assets/javascripts/ckeditor/plugins/list/lang/ka.js +8 -0
  548. data/app/assets/javascripts/ckeditor/plugins/list/lang/km.js +8 -0
  549. data/app/assets/javascripts/ckeditor/plugins/list/lang/ko.js +8 -0
  550. data/app/assets/javascripts/ckeditor/plugins/list/lang/ku.js +8 -0
  551. data/app/assets/javascripts/ckeditor/plugins/list/lang/lt.js +8 -0
  552. data/app/assets/javascripts/ckeditor/plugins/list/lang/lv.js +8 -0
  553. data/app/assets/javascripts/ckeditor/plugins/list/lang/mk.js +8 -0
  554. data/app/assets/javascripts/ckeditor/plugins/list/lang/mn.js +8 -0
  555. data/app/assets/javascripts/ckeditor/plugins/list/lang/ms.js +8 -0
  556. data/app/assets/javascripts/ckeditor/plugins/list/lang/nb.js +8 -0
  557. data/app/assets/javascripts/ckeditor/plugins/list/lang/nl.js +8 -0
  558. data/app/assets/javascripts/ckeditor/plugins/list/lang/no.js +8 -0
  559. data/app/assets/javascripts/ckeditor/plugins/list/lang/pl.js +8 -0
  560. data/app/assets/javascripts/ckeditor/plugins/list/lang/pt-br.js +8 -0
  561. data/app/assets/javascripts/ckeditor/plugins/list/lang/pt.js +8 -0
  562. data/app/assets/javascripts/ckeditor/plugins/list/lang/ro.js +8 -0
  563. data/app/assets/javascripts/ckeditor/plugins/list/lang/ru.js +8 -0
  564. data/app/assets/javascripts/ckeditor/plugins/list/lang/sk.js +8 -0
  565. data/app/assets/javascripts/ckeditor/plugins/list/lang/sl.js +8 -0
  566. data/app/assets/javascripts/ckeditor/plugins/list/lang/sr-latn.js +8 -0
  567. data/app/assets/javascripts/ckeditor/plugins/list/lang/sr.js +8 -0
  568. data/app/assets/javascripts/ckeditor/plugins/list/lang/sv.js +8 -0
  569. data/app/assets/javascripts/ckeditor/plugins/list/lang/th.js +8 -0
  570. data/app/assets/javascripts/ckeditor/plugins/list/lang/tr.js +8 -0
  571. data/app/assets/javascripts/ckeditor/plugins/list/lang/ug.js +8 -0
  572. data/app/assets/javascripts/ckeditor/plugins/list/lang/uk.js +8 -0
  573. data/app/assets/javascripts/ckeditor/plugins/list/lang/vi.js +8 -0
  574. data/app/assets/javascripts/ckeditor/plugins/list/lang/zh-cn.js +8 -0
  575. data/app/assets/javascripts/ckeditor/plugins/list/lang/zh.js +8 -0
  576. data/app/assets/javascripts/ckeditor/plugins/list/plugin.js +961 -0
  577. data/app/assets/javascripts/ckeditor/plugins/listblock/plugin.js +230 -0
  578. data/app/assets/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +199 -0
  579. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/af.js +25 -0
  580. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ar.js +25 -0
  581. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/bg.js +25 -0
  582. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/bn.js +25 -0
  583. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/bs.js +25 -0
  584. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ca.js +25 -0
  585. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/cs.js +25 -0
  586. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/cy.js +25 -0
  587. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/da.js +25 -0
  588. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/de.js +25 -0
  589. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/el.js +25 -0
  590. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/en-au.js +25 -0
  591. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/en-ca.js +25 -0
  592. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/en-gb.js +25 -0
  593. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/en.js +25 -0
  594. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/eo.js +25 -0
  595. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/es.js +25 -0
  596. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/et.js +25 -0
  597. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/eu.js +25 -0
  598. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/fa.js +25 -0
  599. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/fi.js +25 -0
  600. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/fo.js +25 -0
  601. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/fr-ca.js +25 -0
  602. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/fr.js +25 -0
  603. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/gl.js +25 -0
  604. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/gu.js +25 -0
  605. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/he.js +25 -0
  606. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/hi.js +25 -0
  607. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/hr.js +25 -0
  608. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/hu.js +25 -0
  609. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/is.js +25 -0
  610. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/it.js +25 -0
  611. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ja.js +25 -0
  612. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ka.js +25 -0
  613. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/km.js +25 -0
  614. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ko.js +25 -0
  615. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ku.js +25 -0
  616. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/lt.js +25 -0
  617. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/lv.js +25 -0
  618. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/mk.js +25 -0
  619. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/mn.js +25 -0
  620. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ms.js +25 -0
  621. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/nb.js +25 -0
  622. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/nl.js +25 -0
  623. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/no.js +25 -0
  624. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/pl.js +25 -0
  625. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/pt-br.js +25 -0
  626. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/pt.js +25 -0
  627. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ro.js +25 -0
  628. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ru.js +25 -0
  629. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/sk.js +25 -0
  630. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/sl.js +25 -0
  631. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/sr-latn.js +25 -0
  632. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/sr.js +25 -0
  633. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/sv.js +25 -0
  634. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/th.js +25 -0
  635. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/tr.js +25 -0
  636. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/ug.js +25 -0
  637. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/uk.js +25 -0
  638. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/vi.js +25 -0
  639. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/zh-cn.js +25 -0
  640. data/app/assets/javascripts/ckeditor/plugins/liststyle/lang/zh.js +25 -0
  641. data/app/assets/javascripts/ckeditor/plugins/liststyle/plugin.js +51 -0
  642. data/app/assets/javascripts/ckeditor/plugins/maximize/icons/maximize.png +0 -0
  643. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/af.js +8 -0
  644. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ar.js +8 -0
  645. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/bg.js +8 -0
  646. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/bn.js +8 -0
  647. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/bs.js +8 -0
  648. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ca.js +8 -0
  649. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/cs.js +8 -0
  650. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/cy.js +8 -0
  651. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/da.js +8 -0
  652. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/de.js +8 -0
  653. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/el.js +8 -0
  654. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/en-au.js +8 -0
  655. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/en-ca.js +8 -0
  656. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/en-gb.js +8 -0
  657. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/en.js +8 -0
  658. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/eo.js +8 -0
  659. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/es.js +8 -0
  660. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/et.js +8 -0
  661. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/eu.js +8 -0
  662. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/fa.js +8 -0
  663. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/fi.js +8 -0
  664. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/fo.js +8 -0
  665. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/fr-ca.js +8 -0
  666. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/fr.js +8 -0
  667. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/gl.js +8 -0
  668. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/gu.js +8 -0
  669. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/he.js +8 -0
  670. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/hi.js +8 -0
  671. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/hr.js +8 -0
  672. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/hu.js +8 -0
  673. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/is.js +8 -0
  674. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/it.js +8 -0
  675. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ja.js +8 -0
  676. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ka.js +8 -0
  677. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/km.js +8 -0
  678. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ko.js +8 -0
  679. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ku.js +8 -0
  680. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/lt.js +8 -0
  681. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/lv.js +8 -0
  682. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/mk.js +8 -0
  683. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/mn.js +8 -0
  684. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ms.js +8 -0
  685. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/nb.js +8 -0
  686. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/nl.js +8 -0
  687. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/no.js +8 -0
  688. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/pl.js +8 -0
  689. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/pt-br.js +8 -0
  690. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/pt.js +8 -0
  691. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ro.js +8 -0
  692. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ru.js +8 -0
  693. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/sk.js +8 -0
  694. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/sl.js +8 -0
  695. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/sr-latn.js +8 -0
  696. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/sr.js +8 -0
  697. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/sv.js +8 -0
  698. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/th.js +8 -0
  699. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/tr.js +8 -0
  700. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/ug.js +8 -0
  701. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/uk.js +8 -0
  702. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/vi.js +8 -0
  703. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/zh-cn.js +8 -0
  704. data/app/assets/javascripts/ckeditor/plugins/maximize/lang/zh.js +8 -0
  705. data/app/assets/javascripts/ckeditor/plugins/maximize/plugin.js +301 -0
  706. data/app/assets/javascripts/ckeditor/plugins/pagebreak/icons/pagebreak-rtl.png +0 -0
  707. data/app/assets/javascripts/ckeditor/plugins/pagebreak/icons/pagebreak.png +0 -0
  708. data/app/assets/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  709. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/af.js +8 -0
  710. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ar.js +8 -0
  711. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/bg.js +8 -0
  712. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/bn.js +8 -0
  713. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/bs.js +8 -0
  714. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ca.js +8 -0
  715. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/cs.js +8 -0
  716. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/cy.js +8 -0
  717. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/da.js +8 -0
  718. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/de.js +8 -0
  719. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/el.js +8 -0
  720. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/en-au.js +8 -0
  721. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/en-ca.js +8 -0
  722. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/en-gb.js +8 -0
  723. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/en.js +8 -0
  724. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/eo.js +8 -0
  725. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/es.js +8 -0
  726. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/et.js +8 -0
  727. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/eu.js +8 -0
  728. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/fa.js +8 -0
  729. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/fi.js +8 -0
  730. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/fo.js +8 -0
  731. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/fr-ca.js +8 -0
  732. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/fr.js +8 -0
  733. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/gl.js +8 -0
  734. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/gu.js +8 -0
  735. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/he.js +8 -0
  736. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/hi.js +8 -0
  737. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/hr.js +8 -0
  738. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/hu.js +8 -0
  739. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/is.js +8 -0
  740. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/it.js +8 -0
  741. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ja.js +8 -0
  742. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ka.js +8 -0
  743. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/km.js +8 -0
  744. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ko.js +8 -0
  745. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ku.js +8 -0
  746. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/lt.js +8 -0
  747. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/lv.js +8 -0
  748. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/mk.js +8 -0
  749. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/mn.js +8 -0
  750. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ms.js +8 -0
  751. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/nb.js +8 -0
  752. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/nl.js +8 -0
  753. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/no.js +8 -0
  754. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/pl.js +8 -0
  755. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/pt-br.js +8 -0
  756. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/pt.js +8 -0
  757. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ro.js +8 -0
  758. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ru.js +8 -0
  759. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/sk.js +8 -0
  760. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/sl.js +8 -0
  761. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/sr-latn.js +8 -0
  762. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/sr.js +8 -0
  763. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/sv.js +8 -0
  764. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/th.js +8 -0
  765. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/tr.js +8 -0
  766. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/ug.js +8 -0
  767. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/uk.js +8 -0
  768. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/vi.js +8 -0
  769. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/zh-cn.js +8 -0
  770. data/app/assets/javascripts/ckeditor/plugins/pagebreak/lang/zh.js +8 -0
  771. data/app/assets/javascripts/ckeditor/plugins/pagebreak/plugin.js +129 -0
  772. data/app/assets/javascripts/ckeditor/plugins/panelbutton/plugin.js +138 -0
  773. data/app/assets/javascripts/ckeditor/plugins/preview/icons/preview-rtl.png +0 -0
  774. data/app/assets/javascripts/ckeditor/plugins/preview/icons/preview.png +0 -0
  775. data/app/assets/javascripts/ckeditor/plugins/preview/lang/af.js +7 -0
  776. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ar.js +7 -0
  777. data/app/assets/javascripts/ckeditor/plugins/preview/lang/bg.js +7 -0
  778. data/app/assets/javascripts/ckeditor/plugins/preview/lang/bn.js +7 -0
  779. data/app/assets/javascripts/ckeditor/plugins/preview/lang/bs.js +7 -0
  780. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ca.js +7 -0
  781. data/app/assets/javascripts/ckeditor/plugins/preview/lang/cs.js +7 -0
  782. data/app/assets/javascripts/ckeditor/plugins/preview/lang/cy.js +7 -0
  783. data/app/assets/javascripts/ckeditor/plugins/preview/lang/da.js +7 -0
  784. data/app/assets/javascripts/ckeditor/plugins/preview/lang/de.js +7 -0
  785. data/app/assets/javascripts/ckeditor/plugins/preview/lang/el.js +7 -0
  786. data/app/assets/javascripts/ckeditor/plugins/preview/lang/en-au.js +7 -0
  787. data/app/assets/javascripts/ckeditor/plugins/preview/lang/en-ca.js +7 -0
  788. data/app/assets/javascripts/ckeditor/plugins/preview/lang/en-gb.js +7 -0
  789. data/app/assets/javascripts/ckeditor/plugins/preview/lang/en.js +7 -0
  790. data/app/assets/javascripts/ckeditor/plugins/preview/lang/eo.js +7 -0
  791. data/app/assets/javascripts/ckeditor/plugins/preview/lang/es.js +7 -0
  792. data/app/assets/javascripts/ckeditor/plugins/preview/lang/et.js +7 -0
  793. data/app/assets/javascripts/ckeditor/plugins/preview/lang/eu.js +7 -0
  794. data/app/assets/javascripts/ckeditor/plugins/preview/lang/fa.js +7 -0
  795. data/app/assets/javascripts/ckeditor/plugins/preview/lang/fi.js +7 -0
  796. data/app/assets/javascripts/ckeditor/plugins/preview/lang/fo.js +7 -0
  797. data/app/assets/javascripts/ckeditor/plugins/preview/lang/fr-ca.js +7 -0
  798. data/app/assets/javascripts/ckeditor/plugins/preview/lang/fr.js +7 -0
  799. data/app/assets/javascripts/ckeditor/plugins/preview/lang/gl.js +7 -0
  800. data/app/assets/javascripts/ckeditor/plugins/preview/lang/gu.js +7 -0
  801. data/app/assets/javascripts/ckeditor/plugins/preview/lang/he.js +7 -0
  802. data/app/assets/javascripts/ckeditor/plugins/preview/lang/hi.js +7 -0
  803. data/app/assets/javascripts/ckeditor/plugins/preview/lang/hr.js +7 -0
  804. data/app/assets/javascripts/ckeditor/plugins/preview/lang/hu.js +7 -0
  805. data/app/assets/javascripts/ckeditor/plugins/preview/lang/is.js +7 -0
  806. data/app/assets/javascripts/ckeditor/plugins/preview/lang/it.js +7 -0
  807. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ja.js +7 -0
  808. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ka.js +7 -0
  809. data/app/assets/javascripts/ckeditor/plugins/preview/lang/km.js +7 -0
  810. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ko.js +7 -0
  811. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ku.js +7 -0
  812. data/app/assets/javascripts/ckeditor/plugins/preview/lang/lt.js +7 -0
  813. data/app/assets/javascripts/ckeditor/plugins/preview/lang/lv.js +7 -0
  814. data/app/assets/javascripts/ckeditor/plugins/preview/lang/mk.js +7 -0
  815. data/app/assets/javascripts/ckeditor/plugins/preview/lang/mn.js +7 -0
  816. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ms.js +7 -0
  817. data/app/assets/javascripts/ckeditor/plugins/preview/lang/nb.js +7 -0
  818. data/app/assets/javascripts/ckeditor/plugins/preview/lang/nl.js +7 -0
  819. data/app/assets/javascripts/ckeditor/plugins/preview/lang/no.js +7 -0
  820. data/app/assets/javascripts/ckeditor/plugins/preview/lang/pl.js +7 -0
  821. data/app/assets/javascripts/ckeditor/plugins/preview/lang/pt-br.js +7 -0
  822. data/app/assets/javascripts/ckeditor/plugins/preview/lang/pt.js +7 -0
  823. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ro.js +7 -0
  824. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ru.js +7 -0
  825. data/app/assets/javascripts/ckeditor/plugins/preview/lang/sk.js +7 -0
  826. data/app/assets/javascripts/ckeditor/plugins/preview/lang/sl.js +7 -0
  827. data/app/assets/javascripts/ckeditor/plugins/preview/lang/sr-latn.js +7 -0
  828. data/app/assets/javascripts/ckeditor/plugins/preview/lang/sr.js +7 -0
  829. data/app/assets/javascripts/ckeditor/plugins/preview/lang/sv.js +7 -0
  830. data/app/assets/javascripts/ckeditor/plugins/preview/lang/th.js +7 -0
  831. data/app/assets/javascripts/ckeditor/plugins/preview/lang/tr.js +7 -0
  832. data/app/assets/javascripts/ckeditor/plugins/preview/lang/ug.js +7 -0
  833. data/app/assets/javascripts/ckeditor/plugins/preview/lang/uk.js +7 -0
  834. data/app/assets/javascripts/ckeditor/plugins/preview/lang/vi.js +7 -0
  835. data/app/assets/javascripts/ckeditor/plugins/preview/lang/zh-cn.js +7 -0
  836. data/app/assets/javascripts/ckeditor/plugins/preview/lang/zh.js +7 -0
  837. data/app/assets/javascripts/ckeditor/plugins/preview/plugin.js +117 -0
  838. data/app/assets/javascripts/ckeditor/plugins/preview/preview.html +10 -0
  839. data/app/assets/javascripts/ckeditor/plugins/print/icons/print.png +0 -0
  840. data/app/assets/javascripts/ckeditor/plugins/print/lang/af.js +7 -0
  841. data/app/assets/javascripts/ckeditor/plugins/print/lang/ar.js +7 -0
  842. data/app/assets/javascripts/ckeditor/plugins/print/lang/bg.js +7 -0
  843. data/app/assets/javascripts/ckeditor/plugins/print/lang/bn.js +7 -0
  844. data/app/assets/javascripts/ckeditor/plugins/print/lang/bs.js +7 -0
  845. data/app/assets/javascripts/ckeditor/plugins/print/lang/ca.js +7 -0
  846. data/app/assets/javascripts/ckeditor/plugins/print/lang/cs.js +7 -0
  847. data/app/assets/javascripts/ckeditor/plugins/print/lang/cy.js +7 -0
  848. data/app/assets/javascripts/ckeditor/plugins/print/lang/da.js +7 -0
  849. data/app/assets/javascripts/ckeditor/plugins/print/lang/de.js +7 -0
  850. data/app/assets/javascripts/ckeditor/plugins/print/lang/el.js +7 -0
  851. data/app/assets/javascripts/ckeditor/plugins/print/lang/en-au.js +7 -0
  852. data/app/assets/javascripts/ckeditor/plugins/print/lang/en-ca.js +7 -0
  853. data/app/assets/javascripts/ckeditor/plugins/print/lang/en-gb.js +7 -0
  854. data/app/assets/javascripts/ckeditor/plugins/print/lang/en.js +7 -0
  855. data/app/assets/javascripts/ckeditor/plugins/print/lang/eo.js +7 -0
  856. data/app/assets/javascripts/ckeditor/plugins/print/lang/es.js +7 -0
  857. data/app/assets/javascripts/ckeditor/plugins/print/lang/et.js +7 -0
  858. data/app/assets/javascripts/ckeditor/plugins/print/lang/eu.js +7 -0
  859. data/app/assets/javascripts/ckeditor/plugins/print/lang/fa.js +7 -0
  860. data/app/assets/javascripts/ckeditor/plugins/print/lang/fi.js +7 -0
  861. data/app/assets/javascripts/ckeditor/plugins/print/lang/fo.js +7 -0
  862. data/app/assets/javascripts/ckeditor/plugins/print/lang/fr-ca.js +7 -0
  863. data/app/assets/javascripts/ckeditor/plugins/print/lang/fr.js +7 -0
  864. data/app/assets/javascripts/ckeditor/plugins/print/lang/gl.js +7 -0
  865. data/app/assets/javascripts/ckeditor/plugins/print/lang/gu.js +7 -0
  866. data/app/assets/javascripts/ckeditor/plugins/print/lang/he.js +7 -0
  867. data/app/assets/javascripts/ckeditor/plugins/print/lang/hi.js +7 -0
  868. data/app/assets/javascripts/ckeditor/plugins/print/lang/hr.js +7 -0
  869. data/app/assets/javascripts/ckeditor/plugins/print/lang/hu.js +7 -0
  870. data/app/assets/javascripts/ckeditor/plugins/print/lang/is.js +7 -0
  871. data/app/assets/javascripts/ckeditor/plugins/print/lang/it.js +7 -0
  872. data/app/assets/javascripts/ckeditor/plugins/print/lang/ja.js +7 -0
  873. data/app/assets/javascripts/ckeditor/plugins/print/lang/ka.js +7 -0
  874. data/app/assets/javascripts/ckeditor/plugins/print/lang/km.js +7 -0
  875. data/app/assets/javascripts/ckeditor/plugins/print/lang/ko.js +7 -0
  876. data/app/assets/javascripts/ckeditor/plugins/print/lang/ku.js +7 -0
  877. data/app/assets/javascripts/ckeditor/plugins/print/lang/lt.js +7 -0
  878. data/app/assets/javascripts/ckeditor/plugins/print/lang/lv.js +7 -0
  879. data/app/assets/javascripts/ckeditor/plugins/print/lang/mk.js +7 -0
  880. data/app/assets/javascripts/ckeditor/plugins/print/lang/mn.js +7 -0
  881. data/app/assets/javascripts/ckeditor/plugins/print/lang/ms.js +7 -0
  882. data/app/assets/javascripts/ckeditor/plugins/print/lang/nb.js +7 -0
  883. data/app/assets/javascripts/ckeditor/plugins/print/lang/nl.js +7 -0
  884. data/app/assets/javascripts/ckeditor/plugins/print/lang/no.js +7 -0
  885. data/app/assets/javascripts/ckeditor/plugins/print/lang/pl.js +7 -0
  886. data/app/assets/javascripts/ckeditor/plugins/print/lang/pt-br.js +7 -0
  887. data/app/assets/javascripts/ckeditor/plugins/print/lang/pt.js +7 -0
  888. data/app/assets/javascripts/ckeditor/plugins/print/lang/ro.js +7 -0
  889. data/app/assets/javascripts/ckeditor/plugins/print/lang/ru.js +7 -0
  890. data/app/assets/javascripts/ckeditor/plugins/print/lang/sk.js +7 -0
  891. data/app/assets/javascripts/ckeditor/plugins/print/lang/sl.js +7 -0
  892. data/app/assets/javascripts/ckeditor/plugins/print/lang/sr-latn.js +7 -0
  893. data/app/assets/javascripts/ckeditor/plugins/print/lang/sr.js +7 -0
  894. data/app/assets/javascripts/ckeditor/plugins/print/lang/sv.js +7 -0
  895. data/app/assets/javascripts/ckeditor/plugins/print/lang/th.js +7 -0
  896. data/app/assets/javascripts/ckeditor/plugins/print/lang/tr.js +7 -0
  897. data/app/assets/javascripts/ckeditor/plugins/print/lang/ug.js +7 -0
  898. data/app/assets/javascripts/ckeditor/plugins/print/lang/uk.js +7 -0
  899. data/app/assets/javascripts/ckeditor/plugins/print/lang/vi.js +7 -0
  900. data/app/assets/javascripts/ckeditor/plugins/print/lang/zh-cn.js +7 -0
  901. data/app/assets/javascripts/ckeditor/plugins/print/lang/zh.js +7 -0
  902. data/app/assets/javascripts/ckeditor/plugins/print/plugin.js +44 -0
  903. data/app/assets/javascripts/ckeditor/plugins/save/icons/save.png +0 -0
  904. data/app/assets/javascripts/ckeditor/plugins/save/lang/af.js +7 -0
  905. data/app/assets/javascripts/ckeditor/plugins/save/lang/ar.js +7 -0
  906. data/app/assets/javascripts/ckeditor/plugins/save/lang/bg.js +7 -0
  907. data/app/assets/javascripts/ckeditor/plugins/save/lang/bn.js +7 -0
  908. data/app/assets/javascripts/ckeditor/plugins/save/lang/bs.js +7 -0
  909. data/app/assets/javascripts/ckeditor/plugins/save/lang/ca.js +7 -0
  910. data/app/assets/javascripts/ckeditor/plugins/save/lang/cs.js +7 -0
  911. data/app/assets/javascripts/ckeditor/plugins/save/lang/cy.js +7 -0
  912. data/app/assets/javascripts/ckeditor/plugins/save/lang/da.js +7 -0
  913. data/app/assets/javascripts/ckeditor/plugins/save/lang/de.js +7 -0
  914. data/app/assets/javascripts/ckeditor/plugins/save/lang/el.js +7 -0
  915. data/app/assets/javascripts/ckeditor/plugins/save/lang/en-au.js +7 -0
  916. data/app/assets/javascripts/ckeditor/plugins/save/lang/en-ca.js +7 -0
  917. data/app/assets/javascripts/ckeditor/plugins/save/lang/en-gb.js +7 -0
  918. data/app/assets/javascripts/ckeditor/plugins/save/lang/en.js +7 -0
  919. data/app/assets/javascripts/ckeditor/plugins/save/lang/eo.js +7 -0
  920. data/app/assets/javascripts/ckeditor/plugins/save/lang/es.js +7 -0
  921. data/app/assets/javascripts/ckeditor/plugins/save/lang/et.js +7 -0
  922. data/app/assets/javascripts/ckeditor/plugins/save/lang/eu.js +7 -0
  923. data/app/assets/javascripts/ckeditor/plugins/save/lang/fa.js +7 -0
  924. data/app/assets/javascripts/ckeditor/plugins/save/lang/fi.js +7 -0
  925. data/app/assets/javascripts/ckeditor/plugins/save/lang/fo.js +7 -0
  926. data/app/assets/javascripts/ckeditor/plugins/save/lang/fr-ca.js +7 -0
  927. data/app/assets/javascripts/ckeditor/plugins/save/lang/fr.js +7 -0
  928. data/app/assets/javascripts/ckeditor/plugins/save/lang/gl.js +7 -0
  929. data/app/assets/javascripts/ckeditor/plugins/save/lang/gu.js +7 -0
  930. data/app/assets/javascripts/ckeditor/plugins/save/lang/he.js +7 -0
  931. data/app/assets/javascripts/ckeditor/plugins/save/lang/hi.js +7 -0
  932. data/app/assets/javascripts/ckeditor/plugins/save/lang/hr.js +7 -0
  933. data/app/assets/javascripts/ckeditor/plugins/save/lang/hu.js +7 -0
  934. data/app/assets/javascripts/ckeditor/plugins/save/lang/is.js +7 -0
  935. data/app/assets/javascripts/ckeditor/plugins/save/lang/it.js +7 -0
  936. data/app/assets/javascripts/ckeditor/plugins/save/lang/ja.js +7 -0
  937. data/app/assets/javascripts/ckeditor/plugins/save/lang/ka.js +7 -0
  938. data/app/assets/javascripts/ckeditor/plugins/save/lang/km.js +7 -0
  939. data/app/assets/javascripts/ckeditor/plugins/save/lang/ko.js +7 -0
  940. data/app/assets/javascripts/ckeditor/plugins/save/lang/ku.js +7 -0
  941. data/app/assets/javascripts/ckeditor/plugins/save/lang/lt.js +7 -0
  942. data/app/assets/javascripts/ckeditor/plugins/save/lang/lv.js +7 -0
  943. data/app/assets/javascripts/ckeditor/plugins/save/lang/mk.js +7 -0
  944. data/app/assets/javascripts/ckeditor/plugins/save/lang/mn.js +7 -0
  945. data/app/assets/javascripts/ckeditor/plugins/save/lang/ms.js +7 -0
  946. data/app/assets/javascripts/ckeditor/plugins/save/lang/nb.js +7 -0
  947. data/app/assets/javascripts/ckeditor/plugins/save/lang/nl.js +7 -0
  948. data/app/assets/javascripts/ckeditor/plugins/save/lang/no.js +7 -0
  949. data/app/assets/javascripts/ckeditor/plugins/save/lang/pl.js +7 -0
  950. data/app/assets/javascripts/ckeditor/plugins/save/lang/pt-br.js +7 -0
  951. data/app/assets/javascripts/ckeditor/plugins/save/lang/pt.js +7 -0
  952. data/app/assets/javascripts/ckeditor/plugins/save/lang/ro.js +7 -0
  953. data/app/assets/javascripts/ckeditor/plugins/save/lang/ru.js +7 -0
  954. data/app/assets/javascripts/ckeditor/plugins/save/lang/sk.js +7 -0
  955. data/app/assets/javascripts/ckeditor/plugins/save/lang/sl.js +7 -0
  956. data/app/assets/javascripts/ckeditor/plugins/save/lang/sr-latn.js +7 -0
  957. data/app/assets/javascripts/ckeditor/plugins/save/lang/sr.js +7 -0
  958. data/app/assets/javascripts/ckeditor/plugins/save/lang/sv.js +7 -0
  959. data/app/assets/javascripts/ckeditor/plugins/save/lang/th.js +7 -0
  960. data/app/assets/javascripts/ckeditor/plugins/save/lang/tr.js +7 -0
  961. data/app/assets/javascripts/ckeditor/plugins/save/lang/ug.js +7 -0
  962. data/app/assets/javascripts/ckeditor/plugins/save/lang/uk.js +7 -0
  963. data/app/assets/javascripts/ckeditor/plugins/save/lang/vi.js +7 -0
  964. data/app/assets/javascripts/ckeditor/plugins/save/lang/zh-cn.js +7 -0
  965. data/app/assets/javascripts/ckeditor/plugins/save/lang/zh.js +7 -0
  966. data/app/assets/javascripts/ckeditor/plugins/save/plugin.js +53 -0
  967. data/app/assets/javascripts/ckeditor/plugins/selectall/icons/selectall.png +0 -0
  968. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/af.js +7 -0
  969. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ar.js +7 -0
  970. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/bg.js +7 -0
  971. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/bn.js +7 -0
  972. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/bs.js +7 -0
  973. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ca.js +7 -0
  974. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/cs.js +7 -0
  975. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/cy.js +7 -0
  976. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/da.js +7 -0
  977. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/de.js +7 -0
  978. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/el.js +7 -0
  979. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/en-au.js +7 -0
  980. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/en-ca.js +7 -0
  981. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/en-gb.js +7 -0
  982. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/en.js +7 -0
  983. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/eo.js +7 -0
  984. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/es.js +7 -0
  985. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/et.js +7 -0
  986. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/eu.js +7 -0
  987. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/fa.js +7 -0
  988. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/fi.js +7 -0
  989. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/fo.js +7 -0
  990. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/fr-ca.js +7 -0
  991. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/fr.js +7 -0
  992. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/gl.js +7 -0
  993. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/gu.js +7 -0
  994. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/he.js +7 -0
  995. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/hi.js +7 -0
  996. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/hr.js +7 -0
  997. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/hu.js +7 -0
  998. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/is.js +7 -0
  999. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/it.js +7 -0
  1000. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ja.js +7 -0
  1001. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ka.js +7 -0
  1002. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/km.js +7 -0
  1003. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ko.js +7 -0
  1004. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ku.js +7 -0
  1005. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/lt.js +7 -0
  1006. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/lv.js +7 -0
  1007. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/mk.js +7 -0
  1008. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/mn.js +7 -0
  1009. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ms.js +7 -0
  1010. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/nb.js +7 -0
  1011. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/nl.js +7 -0
  1012. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/no.js +7 -0
  1013. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/pl.js +7 -0
  1014. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/pt-br.js +7 -0
  1015. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/pt.js +7 -0
  1016. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ro.js +7 -0
  1017. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ru.js +7 -0
  1018. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/sk.js +7 -0
  1019. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/sl.js +7 -0
  1020. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/sr-latn.js +7 -0
  1021. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/sr.js +7 -0
  1022. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/sv.js +7 -0
  1023. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/th.js +7 -0
  1024. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/tr.js +7 -0
  1025. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/ug.js +7 -0
  1026. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/uk.js +7 -0
  1027. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/vi.js +7 -0
  1028. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/zh-cn.js +7 -0
  1029. data/app/assets/javascripts/ckeditor/plugins/selectall/lang/zh.js +7 -0
  1030. data/app/assets/javascripts/ckeditor/plugins/selectall/plugin.js +57 -0
  1031. data/app/assets/javascripts/ckeditor/plugins/showblocks/icons/showblocks-rtl.png +0 -0
  1032. data/app/assets/javascripts/ckeditor/plugins/showblocks/icons/showblocks.png +0 -0
  1033. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  1034. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  1035. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  1036. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  1037. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  1038. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  1039. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  1040. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  1041. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  1042. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  1043. data/app/assets/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  1044. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/af.js +7 -0
  1045. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ar.js +7 -0
  1046. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/bg.js +7 -0
  1047. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/bn.js +7 -0
  1048. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/bs.js +7 -0
  1049. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ca.js +7 -0
  1050. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/cs.js +7 -0
  1051. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/cy.js +7 -0
  1052. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/da.js +7 -0
  1053. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/de.js +7 -0
  1054. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/el.js +7 -0
  1055. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/en-au.js +7 -0
  1056. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/en-ca.js +7 -0
  1057. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/en-gb.js +7 -0
  1058. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/en.js +7 -0
  1059. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/eo.js +7 -0
  1060. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/es.js +7 -0
  1061. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/et.js +7 -0
  1062. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/eu.js +7 -0
  1063. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/fa.js +7 -0
  1064. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/fi.js +7 -0
  1065. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/fo.js +7 -0
  1066. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/fr-ca.js +7 -0
  1067. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/fr.js +7 -0
  1068. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/gl.js +7 -0
  1069. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/gu.js +7 -0
  1070. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/he.js +7 -0
  1071. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/hi.js +7 -0
  1072. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/hr.js +7 -0
  1073. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/hu.js +7 -0
  1074. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/is.js +7 -0
  1075. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/it.js +7 -0
  1076. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ja.js +7 -0
  1077. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ka.js +7 -0
  1078. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/km.js +7 -0
  1079. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ko.js +7 -0
  1080. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ku.js +7 -0
  1081. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/lt.js +7 -0
  1082. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/lv.js +7 -0
  1083. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/mk.js +7 -0
  1084. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/mn.js +7 -0
  1085. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ms.js +7 -0
  1086. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/nb.js +7 -0
  1087. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/nl.js +7 -0
  1088. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/no.js +7 -0
  1089. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/pl.js +7 -0
  1090. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/pt-br.js +7 -0
  1091. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/pt.js +7 -0
  1092. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ro.js +7 -0
  1093. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ru.js +7 -0
  1094. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/sk.js +7 -0
  1095. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/sl.js +7 -0
  1096. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/sr-latn.js +7 -0
  1097. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/sr.js +7 -0
  1098. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/sv.js +7 -0
  1099. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/th.js +7 -0
  1100. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/tr.js +7 -0
  1101. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/ug.js +7 -0
  1102. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/uk.js +7 -0
  1103. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/vi.js +7 -0
  1104. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/zh-cn.js +7 -0
  1105. data/app/assets/javascripts/ckeditor/plugins/showblocks/lang/zh.js +7 -0
  1106. data/app/assets/javascripts/ckeditor/plugins/showblocks/plugin.js +182 -0
  1107. data/app/assets/javascripts/ckeditor/plugins/showborders/plugin.js +174 -0
  1108. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  1109. data/app/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.js +203 -0
  1110. data/app/assets/javascripts/ckeditor/plugins/templates/icons/templates-rtl.png +0 -0
  1111. data/app/assets/javascripts/ckeditor/plugins/templates/icons/templates.png +0 -0
  1112. data/app/assets/javascripts/ckeditor/plugins/templates/lang/af.js +12 -0
  1113. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ar.js +12 -0
  1114. data/app/assets/javascripts/ckeditor/plugins/templates/lang/bg.js +12 -0
  1115. data/app/assets/javascripts/ckeditor/plugins/templates/lang/bn.js +12 -0
  1116. data/app/assets/javascripts/ckeditor/plugins/templates/lang/bs.js +12 -0
  1117. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ca.js +12 -0
  1118. data/app/assets/javascripts/ckeditor/plugins/templates/lang/cs.js +12 -0
  1119. data/app/assets/javascripts/ckeditor/plugins/templates/lang/cy.js +12 -0
  1120. data/app/assets/javascripts/ckeditor/plugins/templates/lang/da.js +12 -0
  1121. data/app/assets/javascripts/ckeditor/plugins/templates/lang/de.js +12 -0
  1122. data/app/assets/javascripts/ckeditor/plugins/templates/lang/el.js +12 -0
  1123. data/app/assets/javascripts/ckeditor/plugins/templates/lang/en-au.js +12 -0
  1124. data/app/assets/javascripts/ckeditor/plugins/templates/lang/en-ca.js +12 -0
  1125. data/app/assets/javascripts/ckeditor/plugins/templates/lang/en-gb.js +12 -0
  1126. data/app/assets/javascripts/ckeditor/plugins/templates/lang/en.js +12 -0
  1127. data/app/assets/javascripts/ckeditor/plugins/templates/lang/eo.js +12 -0
  1128. data/app/assets/javascripts/ckeditor/plugins/templates/lang/es.js +12 -0
  1129. data/app/assets/javascripts/ckeditor/plugins/templates/lang/et.js +12 -0
  1130. data/app/assets/javascripts/ckeditor/plugins/templates/lang/eu.js +12 -0
  1131. data/app/assets/javascripts/ckeditor/plugins/templates/lang/fa.js +12 -0
  1132. data/app/assets/javascripts/ckeditor/plugins/templates/lang/fi.js +12 -0
  1133. data/app/assets/javascripts/ckeditor/plugins/templates/lang/fo.js +12 -0
  1134. data/app/assets/javascripts/ckeditor/plugins/templates/lang/fr-ca.js +12 -0
  1135. data/app/assets/javascripts/ckeditor/plugins/templates/lang/fr.js +12 -0
  1136. data/app/assets/javascripts/ckeditor/plugins/templates/lang/gl.js +12 -0
  1137. data/app/assets/javascripts/ckeditor/plugins/templates/lang/gu.js +12 -0
  1138. data/app/assets/javascripts/ckeditor/plugins/templates/lang/he.js +12 -0
  1139. data/app/assets/javascripts/ckeditor/plugins/templates/lang/hi.js +12 -0
  1140. data/app/assets/javascripts/ckeditor/plugins/templates/lang/hr.js +12 -0
  1141. data/app/assets/javascripts/ckeditor/plugins/templates/lang/hu.js +12 -0
  1142. data/app/assets/javascripts/ckeditor/plugins/templates/lang/is.js +12 -0
  1143. data/app/assets/javascripts/ckeditor/plugins/templates/lang/it.js +12 -0
  1144. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ja.js +12 -0
  1145. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ka.js +12 -0
  1146. data/app/assets/javascripts/ckeditor/plugins/templates/lang/km.js +12 -0
  1147. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ko.js +12 -0
  1148. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ku.js +12 -0
  1149. data/app/assets/javascripts/ckeditor/plugins/templates/lang/lt.js +12 -0
  1150. data/app/assets/javascripts/ckeditor/plugins/templates/lang/lv.js +12 -0
  1151. data/app/assets/javascripts/ckeditor/plugins/templates/lang/mk.js +12 -0
  1152. data/app/assets/javascripts/ckeditor/plugins/templates/lang/mn.js +12 -0
  1153. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ms.js +12 -0
  1154. data/app/assets/javascripts/ckeditor/plugins/templates/lang/nb.js +12 -0
  1155. data/app/assets/javascripts/ckeditor/plugins/templates/lang/nl.js +12 -0
  1156. data/app/assets/javascripts/ckeditor/plugins/templates/lang/no.js +12 -0
  1157. data/app/assets/javascripts/ckeditor/plugins/templates/lang/pl.js +12 -0
  1158. data/app/assets/javascripts/ckeditor/plugins/templates/lang/pt-br.js +12 -0
  1159. data/app/assets/javascripts/ckeditor/plugins/templates/lang/pt.js +12 -0
  1160. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ro.js +12 -0
  1161. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ru.js +12 -0
  1162. data/app/assets/javascripts/ckeditor/plugins/templates/lang/sk.js +12 -0
  1163. data/app/assets/javascripts/ckeditor/plugins/templates/lang/sl.js +12 -0
  1164. data/app/assets/javascripts/ckeditor/plugins/templates/lang/sr-latn.js +12 -0
  1165. data/app/assets/javascripts/ckeditor/plugins/templates/lang/sr.js +12 -0
  1166. data/app/assets/javascripts/ckeditor/plugins/templates/lang/sv.js +12 -0
  1167. data/app/assets/javascripts/ckeditor/plugins/templates/lang/th.js +12 -0
  1168. data/app/assets/javascripts/ckeditor/plugins/templates/lang/tr.js +12 -0
  1169. data/app/assets/javascripts/ckeditor/plugins/templates/lang/ug.js +12 -0
  1170. data/app/assets/javascripts/ckeditor/plugins/templates/lang/uk.js +12 -0
  1171. data/app/assets/javascripts/ckeditor/plugins/templates/lang/vi.js +12 -0
  1172. data/app/assets/javascripts/ckeditor/plugins/templates/lang/zh-cn.js +12 -0
  1173. data/app/assets/javascripts/ckeditor/plugins/templates/lang/zh.js +12 -0
  1174. data/app/assets/javascripts/ckeditor/plugins/templates/plugin.js +90 -0
  1175. data/app/assets/javascripts/ckeditor/plugins/templates/templates/default.js +89 -0
  1176. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  1177. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  1178. data/app/assets/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  1179. data/app/assets/javascripts/ckeditor/plugins/undo/icons/redo-rtl.png +0 -0
  1180. data/app/assets/javascripts/ckeditor/plugins/undo/icons/redo.png +0 -0
  1181. data/app/assets/javascripts/ckeditor/plugins/undo/icons/undo-rtl.png +0 -0
  1182. data/app/assets/javascripts/ckeditor/plugins/undo/icons/undo.png +0 -0
  1183. data/app/assets/javascripts/ckeditor/plugins/undo/lang/af.js +8 -0
  1184. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ar.js +8 -0
  1185. data/app/assets/javascripts/ckeditor/plugins/undo/lang/bg.js +8 -0
  1186. data/app/assets/javascripts/ckeditor/plugins/undo/lang/bn.js +8 -0
  1187. data/app/assets/javascripts/ckeditor/plugins/undo/lang/bs.js +8 -0
  1188. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ca.js +8 -0
  1189. data/app/assets/javascripts/ckeditor/plugins/undo/lang/cs.js +8 -0
  1190. data/app/assets/javascripts/ckeditor/plugins/undo/lang/cy.js +8 -0
  1191. data/app/assets/javascripts/ckeditor/plugins/undo/lang/da.js +8 -0
  1192. data/app/assets/javascripts/ckeditor/plugins/undo/lang/de.js +8 -0
  1193. data/app/assets/javascripts/ckeditor/plugins/undo/lang/el.js +8 -0
  1194. data/app/assets/javascripts/ckeditor/plugins/undo/lang/en-au.js +8 -0
  1195. data/app/assets/javascripts/ckeditor/plugins/undo/lang/en-ca.js +8 -0
  1196. data/app/assets/javascripts/ckeditor/plugins/undo/lang/en-gb.js +8 -0
  1197. data/app/assets/javascripts/ckeditor/plugins/undo/lang/en.js +8 -0
  1198. data/app/assets/javascripts/ckeditor/plugins/undo/lang/eo.js +8 -0
  1199. data/app/assets/javascripts/ckeditor/plugins/undo/lang/es.js +8 -0
  1200. data/app/assets/javascripts/ckeditor/plugins/undo/lang/et.js +8 -0
  1201. data/app/assets/javascripts/ckeditor/plugins/undo/lang/eu.js +8 -0
  1202. data/app/assets/javascripts/ckeditor/plugins/undo/lang/fa.js +8 -0
  1203. data/app/assets/javascripts/ckeditor/plugins/undo/lang/fi.js +8 -0
  1204. data/app/assets/javascripts/ckeditor/plugins/undo/lang/fo.js +8 -0
  1205. data/app/assets/javascripts/ckeditor/plugins/undo/lang/fr-ca.js +8 -0
  1206. data/app/assets/javascripts/ckeditor/plugins/undo/lang/fr.js +8 -0
  1207. data/app/assets/javascripts/ckeditor/plugins/undo/lang/gl.js +8 -0
  1208. data/app/assets/javascripts/ckeditor/plugins/undo/lang/gu.js +8 -0
  1209. data/app/assets/javascripts/ckeditor/plugins/undo/lang/he.js +8 -0
  1210. data/app/assets/javascripts/ckeditor/plugins/undo/lang/hi.js +8 -0
  1211. data/app/assets/javascripts/ckeditor/plugins/undo/lang/hr.js +8 -0
  1212. data/app/assets/javascripts/ckeditor/plugins/undo/lang/hu.js +8 -0
  1213. data/app/assets/javascripts/ckeditor/plugins/undo/lang/is.js +8 -0
  1214. data/app/assets/javascripts/ckeditor/plugins/undo/lang/it.js +8 -0
  1215. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ja.js +8 -0
  1216. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ka.js +8 -0
  1217. data/app/assets/javascripts/ckeditor/plugins/undo/lang/km.js +8 -0
  1218. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ko.js +8 -0
  1219. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ku.js +8 -0
  1220. data/app/assets/javascripts/ckeditor/plugins/undo/lang/lt.js +8 -0
  1221. data/app/assets/javascripts/ckeditor/plugins/undo/lang/lv.js +8 -0
  1222. data/app/assets/javascripts/ckeditor/plugins/undo/lang/mk.js +8 -0
  1223. data/app/assets/javascripts/ckeditor/plugins/undo/lang/mn.js +8 -0
  1224. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ms.js +8 -0
  1225. data/app/assets/javascripts/ckeditor/plugins/undo/lang/nb.js +8 -0
  1226. data/app/assets/javascripts/ckeditor/plugins/undo/lang/nl.js +8 -0
  1227. data/app/assets/javascripts/ckeditor/plugins/undo/lang/no.js +8 -0
  1228. data/app/assets/javascripts/ckeditor/plugins/undo/lang/pl.js +8 -0
  1229. data/app/assets/javascripts/ckeditor/plugins/undo/lang/pt-br.js +8 -0
  1230. data/app/assets/javascripts/ckeditor/plugins/undo/lang/pt.js +8 -0
  1231. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ro.js +8 -0
  1232. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ru.js +8 -0
  1233. data/app/assets/javascripts/ckeditor/plugins/undo/lang/sk.js +8 -0
  1234. data/app/assets/javascripts/ckeditor/plugins/undo/lang/sl.js +8 -0
  1235. data/app/assets/javascripts/ckeditor/plugins/undo/lang/sr-latn.js +8 -0
  1236. data/app/assets/javascripts/ckeditor/plugins/undo/lang/sr.js +8 -0
  1237. data/app/assets/javascripts/ckeditor/plugins/undo/lang/sv.js +8 -0
  1238. data/app/assets/javascripts/ckeditor/plugins/undo/lang/th.js +8 -0
  1239. data/app/assets/javascripts/ckeditor/plugins/undo/lang/tr.js +8 -0
  1240. data/app/assets/javascripts/ckeditor/plugins/undo/lang/ug.js +8 -0
  1241. data/app/assets/javascripts/ckeditor/plugins/undo/lang/uk.js +8 -0
  1242. data/app/assets/javascripts/ckeditor/plugins/undo/lang/vi.js +8 -0
  1243. data/app/assets/javascripts/ckeditor/plugins/undo/lang/zh-cn.js +8 -0
  1244. data/app/assets/javascripts/ckeditor/plugins/undo/lang/zh.js +8 -0
  1245. data/app/assets/javascripts/ckeditor/plugins/undo/plugin.js +639 -0
  1246. data/app/assets/javascripts/ckeditor/skins/moono/dialog.css.scss +8 -0
  1247. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie.css.scss +8 -0
  1248. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css.scss +8 -0
  1249. data/app/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css.scss +8 -0
  1250. data/app/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css.scss +8 -0
  1251. data/app/assets/javascripts/ckeditor/skins/moono/dialog_opera.css.scss +8 -0
  1252. data/app/assets/javascripts/ckeditor/skins/moono/editor.css.scss +8 -0
  1253. data/app/assets/javascripts/ckeditor/skins/moono/editor_gecko.css.scss +8 -0
  1254. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie.css.scss +8 -0
  1255. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie7.css.scss +8 -0
  1256. data/app/assets/javascripts/ckeditor/skins/moono/editor_ie8.css.scss +8 -0
  1257. data/app/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css.scss +8 -0
  1258. data/app/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
  1259. data/app/assets/javascripts/ckeditor/skins/moono/images/arrow.png +0 -0
  1260. data/app/assets/javascripts/ckeditor/skins/moono/images/close.png +0 -0
  1261. data/app/assets/javascripts/ckeditor/skins/moono/images/mini.png +0 -0
  1262. data/app/assets/javascripts/ckeditor/skins/moono/readme.md +51 -0
  1263. data/app/assets/javascripts/index_slider.js.coffee +142 -0
  1264. data/app/assets/javascripts/partners.js.coffee +113 -0
  1265. data/app/assets/javascripts/rdcms/active_admin.js +188 -0
  1266. data/app/assets/javascripts/rdcms/admin/farbtastic.js +345 -0
  1267. data/app/assets/javascripts/rdcms/admin/formstyle.js.coffee +70 -0
  1268. data/app/assets/javascripts/rdcms/admin/keymaster.js +185 -0
  1269. data/app/assets/javascripts/rdcms/admin/moment.js +6 -0
  1270. data/app/assets/javascripts/rdcms/application.js +81 -0
  1271. data/app/assets/javascripts/rdcms/full_screen.js +12 -0
  1272. data/app/assets/javascripts/rdcms/gmaps.js +1683 -0
  1273. data/app/assets/javascripts/rdcms/init/bootstrap.js.coffee +13 -0
  1274. data/app/assets/javascripts/rdcms/init/hash.js +164 -0
  1275. data/app/assets/javascripts/rdcms/init/select2.js +15 -0
  1276. data/app/assets/javascripts/rdcms/init/social.js.coffee +84 -0
  1277. data/app/assets/javascripts/rdcms/plugins/interface.js +7 -0
  1278. data/app/assets/javascripts/rdcms/plugins/interface/accordion.js +165 -0
  1279. data/app/assets/javascripts/rdcms/plugins/interface/carousel.js +257 -0
  1280. data/app/assets/javascripts/rdcms/plugins/interface/easing.js +124 -0
  1281. data/app/assets/javascripts/rdcms/plugins/interface/fisheye.js +146 -0
  1282. data/app/assets/javascripts/rdcms/plugins/interface/iautocompleter.js +536 -0
  1283. data/app/assets/javascripts/rdcms/plugins/interface/iautoscroller.js +112 -0
  1284. data/app/assets/javascripts/rdcms/plugins/interface/idrag.js +588 -0
  1285. data/app/assets/javascripts/rdcms/plugins/interface/idrop.js +323 -0
  1286. data/app/assets/javascripts/rdcms/plugins/interface/iexpander.js +114 -0
  1287. data/app/assets/javascripts/rdcms/plugins/interface/ifx.js +490 -0
  1288. data/app/assets/javascripts/rdcms/plugins/interface/ifxblind.js +212 -0
  1289. data/app/assets/javascripts/rdcms/plugins/interface/ifxbounce.js +89 -0
  1290. data/app/assets/javascripts/rdcms/plugins/interface/ifxdrop.js +300 -0
  1291. data/app/assets/javascripts/rdcms/plugins/interface/ifxfold.js +157 -0
  1292. data/app/assets/javascripts/rdcms/plugins/interface/ifxhighlight.js +64 -0
  1293. data/app/assets/javascripts/rdcms/plugins/interface/ifxopenclose.js +227 -0
  1294. data/app/assets/javascripts/rdcms/plugins/interface/ifxpulsate.js +77 -0
  1295. data/app/assets/javascripts/rdcms/plugins/interface/ifxscale.js +290 -0
  1296. data/app/assets/javascripts/rdcms/plugins/interface/ifxscrollto.js +111 -0
  1297. data/app/assets/javascripts/rdcms/plugins/interface/ifxshake.js +97 -0
  1298. data/app/assets/javascripts/rdcms/plugins/interface/ifxslide.js +349 -0
  1299. data/app/assets/javascripts/rdcms/plugins/interface/ifxtransfer.js +123 -0
  1300. data/app/assets/javascripts/rdcms/plugins/interface/imagebox.js +595 -0
  1301. data/app/assets/javascripts/rdcms/plugins/interface/iresizable.js +453 -0
  1302. data/app/assets/javascripts/rdcms/plugins/interface/iselect.js +275 -0
  1303. data/app/assets/javascripts/rdcms/plugins/interface/islider.js +301 -0
  1304. data/app/assets/javascripts/rdcms/plugins/interface/islideshow.js +422 -0
  1305. data/app/assets/javascripts/rdcms/plugins/interface/isortables.js +392 -0
  1306. data/app/assets/javascripts/rdcms/plugins/interface/itooltip.js +184 -0
  1307. data/app/assets/javascripts/rdcms/plugins/interface/ittabs.js +92 -0
  1308. data/app/assets/javascripts/rdcms/plugins/interface/iutil.js +245 -0
  1309. data/app/assets/javascripts/rdcms/plugins/jquery.chosen.init.js +6 -0
  1310. data/app/assets/javascripts/rdcms/plugins/jquery.chosen.min.js +10 -0
  1311. data/app/assets/javascripts/rdcms/plugins/jquery.easing.1.3.js +205 -0
  1312. data/app/assets/javascripts/rdcms/plugins/jquery.iframe-transport.js +165 -0
  1313. data/app/assets/javascripts/rdcms/plugins/jquery.mb.browser.js +104 -0
  1314. data/app/assets/javascripts/rdcms/plugins/jquery.meio.mask.js +717 -0
  1315. data/app/assets/javascripts/rdcms/plugins/jquery.metadata.js +120 -0
  1316. data/app/assets/javascripts/rdcms/plugins/jquery.mousewheel.min.js +12 -0
  1317. data/app/assets/javascripts/rdcms/plugins/jquery.parallax-1.1.3.js +69 -0
  1318. data/app/assets/javascripts/rdcms/plugins/jquery.tools.min.js +51 -0
  1319. data/app/assets/javascripts/rdcms/plugins/jquery.ui.widget.js +282 -0
  1320. data/app/assets/javascripts/rdcms/plugins/modernizr.2.5.3.min.js +4 -0
  1321. data/app/assets/javascripts/rdcms/plugins/rails.validations.action_view.js.coffee +45 -0
  1322. data/app/assets/javascripts/rdcms/plugins/rails.validations.js +602 -0
  1323. data/app/assets/javascripts/rdcms/plugins/royalslider.js +1776 -0
  1324. data/app/assets/javascripts/rdcms/plugins/select2/select2.js +3065 -0
  1325. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_ca.js +17 -0
  1326. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_cs.js +49 -0
  1327. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_da.js +17 -0
  1328. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_de.js +15 -0
  1329. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_es.js +15 -0
  1330. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_et.js +17 -0
  1331. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_eu.js +43 -0
  1332. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_fr.js +15 -0
  1333. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_gl.js +43 -0
  1334. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_he.js +17 -0
  1335. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_hr.js +42 -0
  1336. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_hu.js +15 -0
  1337. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_is.js +16 -0
  1338. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_it.js +15 -0
  1339. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_ja.js +15 -0
  1340. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_lt.js +29 -0
  1341. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_lv.js +16 -0
  1342. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_mk.js +17 -0
  1343. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_nl.js +15 -0
  1344. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_no.js +18 -0
  1345. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_pl.js +37 -0
  1346. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_pt-BR.js +15 -0
  1347. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_pt-PT.js +15 -0
  1348. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_ro.js +15 -0
  1349. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_ru.js +15 -0
  1350. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_sk.js +48 -0
  1351. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_sv.js +17 -0
  1352. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_tr.js +17 -0
  1353. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_ua.js +17 -0
  1354. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_vi.js +18 -0
  1355. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_zh-CN.js +14 -0
  1356. data/app/assets/javascripts/rdcms/plugins/select2/select2_locale_zh-TW.js +14 -0
  1357. data/app/assets/javascripts/rdcms/raphael.js +5815 -0
  1358. data/app/assets/javascripts/rdcms/single_upload.js.coffee +4 -0
  1359. data/app/assets/javascripts/rdcms/sliders.js +4 -0
  1360. data/app/assets/javascripts/rdcms/upload_selector.js.coffee +100 -0
  1361. data/app/assets/stylesheets/active_admin/_forms.css.scss +282 -0
  1362. data/app/assets/stylesheets/application_print.css.scss +10 -0
  1363. data/app/assets/stylesheets/rdcms/active_admin.css.scss +713 -0
  1364. data/app/assets/stylesheets/rdcms/application.css.scss +106 -0
  1365. data/app/assets/stylesheets/rdcms/bootstrap_and_overrides.css.less +35 -0
  1366. data/app/assets/stylesheets/rdcms/chosen.css +392 -0
  1367. data/app/assets/stylesheets/rdcms/dock.css.scss +86 -0
  1368. data/app/assets/stylesheets/rdcms/farbtastic.css +51 -0
  1369. data/app/assets/stylesheets/rdcms/flags.css +248 -0
  1370. data/app/assets/stylesheets/rdcms/formstyle.css.scss +20 -0
  1371. data/app/assets/stylesheets/rdcms/full_screen.css.scss +276 -0
  1372. data/app/assets/stylesheets/rdcms/glyphs.css +1202 -0
  1373. data/app/assets/stylesheets/rdcms/jquery.fileupload-ui.css.scss +112 -0
  1374. data/app/assets/stylesheets/rdcms/navbars.css.scss +238 -0
  1375. data/app/assets/stylesheets/rdcms/overlays.css.scss +42 -0
  1376. data/app/assets/stylesheets/rdcms/select2/select2.css +652 -0
  1377. data/app/assets/stylesheets/rdcms/single_upload.css.scss +11 -0
  1378. data/app/assets/stylesheets/rdcms/sliders.css.scss +1635 -0
  1379. data/app/assets/stylesheets/rdcms/sponsor.css.scss +105 -0
  1380. data/app/assets/stylesheets/rdcms/uploads.css.scss +67 -0
  1381. data/app/controllers/api/v1/base_controller.rb +14 -0
  1382. data/app/controllers/api/v1/tokens_controller.rb +30 -0
  1383. data/app/controllers/application_controller.rb +39 -0
  1384. data/app/controllers/articles_controller.rb +329 -0
  1385. data/app/controllers/contact_us_controller.rb +4 -0
  1386. data/app/controllers/galleries_controller.rb +24 -0
  1387. data/app/controllers/movies_controller.rb +32 -0
  1388. data/app/controllers/pages_controller.rb +17 -0
  1389. data/app/controllers/partners_controller.rb +9 -0
  1390. data/app/controllers/posts_controller.rb +337 -0
  1391. data/app/controllers/visitors/omniauth_callbacks_controller.rb +41 -0
  1392. data/app/helpers/application_helper.rb +4 -0
  1393. data/app/helpers/articles_helper.rb +171 -0
  1394. data/app/helpers/posts_helper.rb +171 -0
  1395. data/app/helpers/rdcms_helper.rb +374 -0
  1396. data/app/helpers/uploads_helper.rb +24 -0
  1397. data/app/mailers/confirmation_mailer.rb +42 -0
  1398. data/app/models/ability.rb +80 -0
  1399. data/app/models/analytic.rb +136 -0
  1400. data/app/models/article.rb +512 -0
  1401. data/app/models/article_image.rb +16 -0
  1402. data/app/models/article_widget.rb +15 -0
  1403. data/app/models/ckeditor/asset.rb +4 -0
  1404. data/app/models/ckeditor/attachment_file.rb +12 -0
  1405. data/app/models/ckeditor/picture.rb +14 -0
  1406. data/app/models/comment.rb +39 -0
  1407. data/app/models/gallery.rb +56 -0
  1408. data/app/models/help.rb +15 -0
  1409. data/app/models/import.rb +68 -0
  1410. data/app/models/location.rb +34 -0
  1411. data/app/models/menu.rb +57 -0
  1412. data/app/models/metatag.rb +17 -0
  1413. data/app/models/movie.rb +3 -0
  1414. data/app/models/page.rb +30 -0
  1415. data/app/models/partner.rb +79 -0
  1416. data/app/models/permission.rb +23 -0
  1417. data/app/models/post.rb +329 -0
  1418. data/app/models/role.rb +15 -0
  1419. data/app/models/role_user.rb +16 -0
  1420. data/app/models/setting.rb +182 -0
  1421. data/app/models/slider.rb +87 -0
  1422. data/app/models/standardize_numbers.rb +23 -0
  1423. data/app/models/upload.rb +156 -0
  1424. data/app/models/user.rb +98 -0
  1425. data/app/models/visitor.rb +106 -0
  1426. data/app/models/vita.rb +19 -0
  1427. data/app/models/widget.rb +165 -0
  1428. data/app/views/admin/_single_upload.html.erb +134 -0
  1429. data/app/views/admin/_slider.html.erb +52 -0
  1430. data/app/views/admin/_upload.html.erb +214 -0
  1431. data/app/views/admin/_upload_selector.html.erb +47 -0
  1432. data/app/views/admin/analytics/_google.html.erb +323 -0
  1433. data/app/views/admin/articles/_article_type.html.erb +9 -0
  1434. data/app/views/admin/articles/_image_module_sidebar.html.erb +36 -0
  1435. data/app/views/admin/articles/_index_of_articles_sidebar.html.erb +11 -0
  1436. data/app/views/admin/articles/_layout_sidebar.html.erb +8 -0
  1437. data/app/views/admin/articles/_select_article_type.html.erb +20 -0
  1438. data/app/views/admin/articles/_toggle_expert_mode.html.erb +5 -0
  1439. data/app/views/admin/articles/_widgets_sidebar.html.erb +14 -0
  1440. data/app/views/admin/articles/toggle_expert_mode.js.erb +7 -0
  1441. data/app/views/admin/galleries/_form.html.erb +45 -0
  1442. data/app/views/admin/galleries/_show.html.erb +44 -0
  1443. data/app/views/admin/helps/_index.html.erb +1 -0
  1444. data/app/views/admin/pages/_form.html.erb +41 -0
  1445. data/app/views/admin/pages/_show.html.erb +21 -0
  1446. data/app/views/admin/partners/_form.html.erb +49 -0
  1447. data/app/views/admin/partners/_index.html.erb +147 -0
  1448. data/app/views/admin/partners/edit.html.erb +3 -0
  1449. data/app/views/admin/posts/_form.html.erb +49 -0
  1450. data/app/views/admin/posts/_index.html.erb +22 -0
  1451. data/app/views/admin/posts/_show.html.erb +30 -0
  1452. data/app/views/admin/settings/_company.html.erb +65 -0
  1453. data/app/views/admin/settings/_visualization.html.erb +341 -0
  1454. data/app/views/admin/shared/_item.html.erb +22 -0
  1455. data/app/views/admin/shared/_overview.html.erb +8 -0
  1456. data/app/views/admin/sliders/_form.html.erb +51 -0
  1457. data/app/views/admin/sliders/_index.html.erb +185 -0
  1458. data/app/views/admin/sliders/_show.html.erb +22 -0
  1459. data/app/views/admin/sliders/form.html.erb +1 -0
  1460. data/app/views/admin/uploads/_show.html.erb +57 -0
  1461. data/app/views/admin/users/_vita_steps.html.erb +3 -0
  1462. data/app/views/articles/_bugherd.html.erb +8 -0
  1463. data/app/views/articles/_show.html.erb +74 -0
  1464. data/app/views/articles/show.html.erb +1 -0
  1465. data/app/views/articles/show.rss.builder +28 -0
  1466. data/app/views/articles/sitemap.xml.builder +10 -0
  1467. data/app/views/galleries/_search.html.erb +6 -0
  1468. data/app/views/galleries/index.html.erb +49 -0
  1469. data/app/views/galleries/show.html.erb +101 -0
  1470. data/app/views/imports/attributes.html.erb +25 -0
  1471. data/app/views/layouts/ajax.html.erb +1 -0
  1472. data/app/views/layouts/rdcms/active_admin_resque.html.erb +35 -0
  1473. data/app/views/layouts/rdcms/application.html.erb +1 -0
  1474. data/app/views/layouts/rdcms/bare_layout.html.erb +8 -0
  1475. data/app/views/layouts/rdcms/pdf.html.erb +1 -0
  1476. data/app/views/movies/index.html.erb +77 -0
  1477. data/app/views/pages/index.html.erb +0 -0
  1478. data/app/views/pages/show.html.erb +17 -0
  1479. data/app/views/partners/index.html.erb +33 -0
  1480. data/app/views/posts/_bugherd.html.erb +8 -0
  1481. data/app/views/posts/_edit_post_link.html.erb +7 -0
  1482. data/app/views/posts/_headers.html.erb +41 -0
  1483. data/app/views/posts/_search.html.erb +6 -0
  1484. data/app/views/posts/index.html.erb +93 -0
  1485. data/app/views/posts/show.html.erb +55 -0
  1486. data/app/views/uploads/index.html.erb +142 -0
  1487. data/app/worker/articles_cache_worker.rb +20 -0
  1488. data/app/worker/posts_cache_worker.rb +20 -0
  1489. data/config/initializers/active_admin_devise.rb +22 -0
  1490. data/config/initializers/acts_as_taggable.rb +5 -0
  1491. data/config/initializers/check_for_migrations.rb +21 -0
  1492. data/config/initializers/compass.rb +24 -0
  1493. data/config/initializers/devise.rb +216 -0
  1494. data/config/initializers/extend.rb +28 -0
  1495. data/config/initializers/fix_ssl.rb +16 -0
  1496. data/config/initializers/formtastic.rb +77 -0
  1497. data/config/initializers/geocoder.rb +9 -0
  1498. data/config/initializers/helper.rb +3 -0
  1499. data/config/initializers/http_validator.rb +22 -0
  1500. data/config/initializers/liquid_tags.rb +14 -0
  1501. data/config/initializers/net.rb +13 -0
  1502. data/config/initializers/notification.rb +3 -0
  1503. data/config/initializers/posts_controller_hooks.rb +6 -0
  1504. data/config/initializers/settings.rb +9 -0
  1505. data/config/locales/active_admin.br.yml +162 -0
  1506. data/config/locales/active_admin.de.yml +149 -0
  1507. data/config/locales/active_admin.en.yml +121 -0
  1508. data/config/locales/active_admin.es.yml +99 -0
  1509. data/config/locales/activerecord.br.yml +332 -0
  1510. data/config/locales/activerecord.de.yml +167 -0
  1511. data/config/locales/activerecord.en.yml +237 -0
  1512. data/config/locales/activerecord.es.yml +253 -0
  1513. data/config/locales/article_types.br.yml +34 -0
  1514. data/config/locales/article_types.de.yml +36 -0
  1515. data/config/locales/ckeditor.br.yml +8 -0
  1516. data/config/locales/contact_us.br.yml +34 -0
  1517. data/config/locales/contact_us.de.yml +25 -0
  1518. data/config/locales/contact_us.en.yml +34 -0
  1519. data/config/locales/contact_us.es.yml +34 -0
  1520. data/config/locales/de.yml +210 -0
  1521. data/config/locales/devise.br.yml +71 -0
  1522. data/config/locales/devise.de.yml +55 -0
  1523. data/config/locales/devise.en.yml +55 -0
  1524. data/config/locales/devise.es.yml +68 -0
  1525. data/config/locales/en.yml +215 -0
  1526. data/config/locales/formtastic.br.yml +10 -0
  1527. data/config/locales/formtastic.de.yml +10 -0
  1528. data/config/locales/formtastic.en.yml +10 -0
  1529. data/config/locales/rails.br.yml +229 -0
  1530. data/config/locales/rails.en.yml +225 -0
  1531. data/config/locales/rails.es.yml +219 -0
  1532. data/config/locales/rdcms.br.yml +3 -0
  1533. data/config/locales/rdcms.de.yml +3 -0
  1534. data/config/locales/rdcms.en.yml +3 -0
  1535. data/config/routes.rb +80 -0
  1536. data/config/schedule.rb +20 -0
  1537. data/config/settings.yml +141 -0
  1538. data/config/sidekiq.yml +6 -0
  1539. data/config/sunspot.yml.tmpl +24 -0
  1540. data/db/migrate/20120109093658_create_articles.rb +9 -0
  1541. data/db/migrate/20120109111205_add_devise_to_admin_users.rb +56 -0
  1542. data/db/migrate/20120109121212_create_admin_notes.rb +16 -0
  1543. data/db/migrate/20120109121213_move_admin_notes_to_comments.rb +25 -0
  1544. data/db/migrate/20120109140423_create_roles.rb +10 -0
  1545. data/db/migrate/20120109141338_create_role_users.rb +9 -0
  1546. data/db/migrate/20120110112157_add_urlname_to_article.rb +7 -0
  1547. data/db/migrate/20120110114803_create_friendly_id_slugs.rb +18 -0
  1548. data/db/migrate/20120112163045_add_body_to_articles.rb +6 -0
  1549. data/db/migrate/20120112171037_add_ancestry_to_articles.rb +5 -0
  1550. data/db/migrate/20120112172723_add_index_to_articles.rb +9 -0
  1551. data/db/migrate/20120113100243_create_menus.rb +12 -0
  1552. data/db/migrate/20120113101714_add_ancestry_to_menus.rb +6 -0
  1553. data/db/migrate/20120113170904_add_startpage_to_article.rb +5 -0
  1554. data/db/migrate/20120120095700_create_metatags.rb +11 -0
  1555. data/db/migrate/20120125145920_add_fields_to_articles.rb +9 -0
  1556. data/db/migrate/20120125161800_add_noindex_to_articles.rb +5 -0
  1557. data/db/migrate/20120126132846_create_uploads.rb +14 -0
  1558. data/db/migrate/20120206110452_create_locations.rb +15 -0
  1559. data/db/migrate/20120209100956_create_settings.rb +11 -0
  1560. data/db/migrate/20120217085735_add_options_to_users.rb +15 -0
  1561. data/db/migrate/20120217085835_add_default_users_and_roles.rb +13 -0
  1562. data/db/migrate/20120221100021_create_helps.rb +11 -0
  1563. data/db/migrate/20120307151355_add_breadcrumb_to_articles.rb +5 -0
  1564. data/db/migrate/20120312111338_create_widgets.rb +12 -0
  1565. data/db/migrate/20120312150558_create_article_widgets.rb +10 -0
  1566. data/db/migrate/20120313125443_create_permissions.rb +16 -0
  1567. data/db/migrate/20120313142221_add_name_to_widgets.rb +6 -0
  1568. data/db/migrate/20120313142421_add_sorter_to_widgets.rb +6 -0
  1569. data/db/migrate/20120314102039_add_template_to_articles.rb +6 -0
  1570. data/db/migrate/20120315161536_add_sorter_to_menu.rb +5 -0
  1571. data/db/migrate/20120321102414_acts_as_taggable_on_migration.rb +30 -0
  1572. data/db/migrate/20120321114923_add_articleindex_to_articles.rb +7 -0
  1573. data/db/migrate/20120321120727_add_social_sharing_to_articles.rb +5 -0
  1574. data/db/migrate/20120321130204_add_articleindeximages_to_articles.rb +5 -0
  1575. data/db/migrate/20120321131058_create_article_images.rb +10 -0
  1576. data/db/migrate/20120416154848_create_vita.rb +13 -0
  1577. data/db/migrate/20120420094029_add_cachable_to_articles.rb +5 -0
  1578. data/db/migrate/20120423141814_add_imagegallery_to_articles.rb +5 -0
  1579. data/db/migrate/20120509125734_add_title_to_locations.rb +5 -0
  1580. data/db/migrate/20120604141401_add_article_type_to_articles.rb +5 -0
  1581. data/db/migrate/20120605082035_add_description_to_menus.rb +6 -0
  1582. data/db/migrate/20120608095444_add_teaser_title_to_menu.rb +5 -0
  1583. data/db/migrate/20120608121356_create_versions.rb +18 -0
  1584. data/db/migrate/20120611082814_create_imports.rb +13 -0
  1585. data/db/migrate/20120615085225_add_externalurl_to_article.rb +5 -0
  1586. data/db/migrate/20120615150128_add_attachable_to_uploads.rb +6 -0
  1587. data/db/migrate/20120618122627_add_indextag_to_articles.rb +5 -0
  1588. data/db/migrate/20120618132330_add_sliderfields_to_widgets.rb +5 -0
  1589. data/db/migrate/20120618141449_add_teaser_to_widgets.rb +5 -0
  1590. data/db/migrate/20120619123238_add_sorter_to_articles.rb +5 -0
  1591. data/db/migrate/20120619132259_add_reverse_sort_to_articles.rb +5 -0
  1592. data/db/migrate/20120625131154_add_author_to_articles.rb +5 -0
  1593. data/db/migrate/20120627122742_add_sorter_limit_to_articles.rb +5 -0
  1594. data/db/migrate/20120718153348_add_nottags_to_articles.rb +5 -0
  1595. data/db/migrate/20120730103912_add_use_frontend_tags_to_articles.rb +5 -0
  1596. data/db/migrate/20120807124808_add_image_to_menus.rb +5 -0
  1597. data/db/migrate/20120814111900_add_default_and_description.rb +6 -0
  1598. data/db/migrate/20120814114800_change_default_type_to_widgets.rb +6 -0
  1599. data/db/migrate/20120821105002_add_alttext_to_uploads.rb +5 -0
  1600. data/db/migrate/20120904190034_create_galleries.rb +22 -0
  1601. data/db/migrate/20120910042532_create_posts.rb +29 -0
  1602. data/db/migrate/20120914225926_create_ckeditor_assets.rb +26 -0
  1603. data/db/migrate/20120926133635_add_position_to_article_images.rb +5 -0
  1604. data/db/migrate/20120927035810_create_sliders.rb +27 -0
  1605. data/db/migrate/20120928092721_create_comments.rb +16 -0
  1606. data/db/migrate/20120928105956_devise_create_visitors.rb +46 -0
  1607. data/db/migrate/20121001092249_add_names_to_visitors.rb +6 -0
  1608. data/db/migrate/20121002143111_add_columns_to_visitors.rb +8 -0
  1609. data/db/migrate/20121003102003_add_dynamicredirect_to_articles.rb +6 -0
  1610. data/db/migrate/20121003140056_add_token_to_visitors.rb +12 -0
  1611. data/db/migrate/20121006095912_add_commentable_to_article.rb +5 -0
  1612. data/db/migrate/20121007125002_add_activesince_to_articles.rb +5 -0
  1613. data/db/migrate/20121011062432_add_username_to_visitors.rb +5 -0
  1614. data/db/migrate/20121015071150_add_link_title_to_articles.rb +5 -0
  1615. data/db/migrate/20121025010009_create_newsletters.rb +13 -0
  1616. data/db/migrate/20121029131138_add_offline_setter_to_widgets.rb +7 -0
  1617. data/db/migrate/20121030112343_add_offline_active_to_widgets.rb +5 -0
  1618. data/db/migrate/20121030120838_add_alternative_content_to_widgets.rb +5 -0
  1619. data/db/migrate/20121105220423_create_galleries_uploads.rb +8 -0
  1620. data/db/migrate/20121121144623_add_datum_to_widgets.rb +6 -0
  1621. data/db/migrate/20121122091033_add_sorter_number_to_uploads.rb +5 -0
  1622. data/db/migrate/20121122181647_create_settings_uploads.rb +7 -0
  1623. data/db/migrate/20121123202532_create_pages.rb +22 -0
  1624. data/db/migrate/20121206104701_add_type_to_settings.rb +5 -0
  1625. data/db/migrate/20130104145454_add_weektimes_to_widgets.rb +7 -0
  1626. data/db/migrate/20130107160705_create_partners.rb +31 -0
  1627. data/db/migrate/20130107202954_create_partners_uploads.rb +7 -0
  1628. data/db/migrate/20130114154115_add_sorter_to_permissions.rb +5 -0
  1629. data/db/migrate/20130115104440_add_expert_mode_to_users.rb +5 -0
  1630. data/db/migrate/20130128170204_add_default_article_type_for_nil.rb +11 -0
  1631. data/db/migrate/20130129092029_add_poly_to_locations.rb +6 -0
  1632. data/db/migrate/20130204102953_add_locationoption_to_locations.rb +5 -0
  1633. data/db/migrate/20130205084748_add_loginable_to_visitors.rb +6 -0
  1634. data/db/migrate/20130211223344_add_columns_to_post.rb +15 -0
  1635. data/db/migrate/20130211230935_rename_columns_in_metatags.rb +6 -0
  1636. data/db/migrate/20130211235312_rename_columns_in_posts.rb +5 -0
  1637. data/db/seeds.rb +16 -0
  1638. data/lib/ca-bundle.crt +3895 -0
  1639. data/lib/generators/rdcms/articletype/USAGE +14 -0
  1640. data/lib/generators/rdcms/articletype/articletype_generator.rb +27 -0
  1641. data/lib/generators/rdcms/articletype/templates/edit_index.html.erb +8 -0
  1642. data/lib/generators/rdcms/articletype/templates/edit_show.html.erb +11 -0
  1643. data/lib/generators/rdcms/articletype/templates/index.html.erb +27 -0
  1644. data/lib/generators/rdcms/articletype/templates/initializer.rb +14 -0
  1645. data/lib/generators/rdcms/articletype/templates/show.html.erb +11 -0
  1646. data/lib/generators/rdcms/install_generator.rb +207 -0
  1647. data/lib/generators/rdcms/templates/active_admin.css.scss +2 -0
  1648. data/lib/generators/rdcms/templates/active_admin.js +1 -0
  1649. data/lib/generators/rdcms/templates/active_admin.rb.erb +157 -0
  1650. data/lib/generators/rdcms/templates/assets/images/icons/icon-bookmark-40x40-light.png +0 -0
  1651. data/lib/generators/rdcms/templates/assets/images/icons/icon-pdf-40x40-light.png +0 -0
  1652. data/lib/generators/rdcms/templates/assets/images/icons/icon-print-40x40-light.png +0 -0
  1653. data/lib/generators/rdcms/templates/assets/javascripts/active_admin.js +1 -0
  1654. data/lib/generators/rdcms/templates/assets/javascripts/application.js +20 -0
  1655. data/lib/generators/rdcms/templates/assets/stylesheets/active_admin.css.scss +2 -0
  1656. data/lib/generators/rdcms/templates/assets/stylesheets/application.css.scss +17 -0
  1657. data/lib/generators/rdcms/templates/database.yml.erb +30 -0
  1658. data/lib/generators/rdcms/templates/deploy.rb.erb +120 -0
  1659. data/lib/generators/rdcms/templates/errbit.rb.erb +6 -0
  1660. data/lib/generators/rdcms/templates/extend_posts_controller.rb +21 -0
  1661. data/lib/generators/rdcms/templates/newrelic.yml.erb +223 -0
  1662. data/lib/generators/rdcms/templates/rvmrc.erb +1 -0
  1663. data/lib/generators/rdcms/templates/seeds.rb.erb +174 -0
  1664. data/lib/generators/rdcms/templates/views/layouts/_footer.html.erb +1 -0
  1665. data/lib/generators/rdcms/templates/views/layouts/_header.html.erb +1 -0
  1666. data/lib/generators/rdcms/templates/views/layouts/_header_meta.html.erb +21 -0
  1667. data/lib/generators/rdcms/templates/views/layouts/_header_slider.html.erb +14 -0
  1668. data/lib/generators/rdcms/templates/views/layouts/application.html.erb +32 -0
  1669. data/lib/generators/rdcms/templates/views/layouts/pdf.html.erb +15 -0
  1670. data/lib/rdcms.rb +3 -0
  1671. data/lib/rdcms/acts_as_setting.rb +13 -0
  1672. data/lib/rdcms/engine.rb +48 -0
  1673. data/lib/rdcms/version.rb +3 -0
  1674. data/lib/tasks/rdcms_tasks.rake +12 -0
  1675. data/lib/tasks/travis.rake +7 -0
  1676. metadata +2638 -0
@@ -0,0 +1,6 @@
1
+ $(document).ready(function() {
2
+ if ($.fn.chosen) {
3
+ $(".chzn-select").chosen();
4
+ $(".chzn-select-deselect").chosen({allow_single_deselect:true});
5
+ }
6
+ });
@@ -0,0 +1,10 @@
1
+ // Chosen, a Select Box Enhancer for jQuery and Protoype
2
+ // by Patrick Filler for Harvest, http://getharvest.com
3
+ //
4
+ // Version 0.9.8
5
+ // Full source at https://github.com/harvesthq/chosen
6
+ // Copyright (c) 2011 Harvest http://getharvest.com
7
+
8
+ // MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
9
+ // This file is generated by `cake build`, do not edit it by hand.
10
+ ((function(){var a;a=function(){function a(){this.options_index=0,this.parsed=[]}return a.prototype.add_node=function(a){return a.nodeName==="OPTGROUP"?this.add_group(a):this.add_option(a)},a.prototype.add_group=function(a){var b,c,d,e,f,g;b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:a.label,children:0,disabled:a.disabled}),f=a.childNodes,g=[];for(d=0,e=f.length;d<e;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},a.prototype.add_option=function(a,b,c){if(a.nodeName==="OPTION")return a.text!==""?(b!=null&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},a}(),a.select_to_array=function(b){var c,d,e,f,g;d=new a,g=b.childNodes;for(e=0,f=g.length;e<f;e++)c=g[e],d.add_node(c);return d.parsed},this.SelectParser=a})).call(this),function(){var a,b;b=this,a=function(){function a(a,b){this.form_field=a,this.options=b!=null?b:{},this.set_default_values(),this.is_multiple=this.form_field.multiple,this.set_default_text(),this.setup(),this.set_up_html(),this.register_observers(),this.finish_setup()}return a.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=this.options.allow_single_deselect!=null&&this.form_field.options[0]!=null&&this.form_field.options[0].text===""?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.search_contains=this.options.search_contains||!1,this.choices=0,this.single_backstroke_delete=this.options.single_backstroke_delete||!1,this.max_selected_options=this.options.max_selected_options||Infinity},a.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||"Select Some Options":this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||"Select an Option",this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||"No results match"},a.prototype.mouse_enter=function(){return this.mouse_on_container=!0},a.prototype.mouse_leave=function(){return this.mouse_on_container=!1},a.prototype.input_focus=function(a){var b=this;if(!this.active_field)return setTimeout(function(){return b.container_mousedown()},50)},a.prototype.input_blur=function(a){var b=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(){return b.blur_test()},100)},a.prototype.result_add_option=function(a){var b,c;return a.disabled?"":(a.dom_id=this.container_id+"_o_"+a.array_index,b=a.selected&&this.is_multiple?[]:["active-result"],a.selected&&b.push("result-selected"),a.group_array_index!=null&&b.push("group-option"),a.classes!==""&&b.push(a.classes),c=a.style.cssText!==""?' style="'+a.style+'"':"",'<li id="'+a.dom_id+'" class="'+b.join(" ")+'"'+c+">"+a.html+"</li>")},a.prototype.results_update_field=function(){return this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build()},a.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},a.prototype.results_search=function(a){return this.results_showing?this.winnow_results():this.results_show()},a.prototype.keyup_checker=function(a){var b,c;b=(c=a.which)!=null?c:a.keyCode,this.search_field_scale();switch(b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:a.preventDefault();if(this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},a.prototype.generate_field_id=function(){var a;return a=this.generate_random_id(),this.form_field.id=a,a},a.prototype.generate_random_char=function(){var a,b,c;return a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",c=Math.floor(Math.random()*a.length),b=a.substring(c,c+1)},a}(),b.AbstractChosen=a}.call(this),function(){var a,b,c,d,e=Object.prototype.hasOwnProperty,f=function(a,b){function d(){this.constructor=a}for(var c in b)e.call(b,c)&&(a[c]=b[c]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};d=this,a=jQuery,a.fn.extend({chosen:function(c){return!a.browser.msie||a.browser.version!=="6.0"&&a.browser.version!=="7.0"?this.each(function(d){var e;e=a(this);if(!e.hasClass("chzn-done"))return e.data("chosen",new b(this,c))}):this}}),b=function(b){function e(){e.__super__.constructor.apply(this,arguments)}return f(e,b),e.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_value=this.form_field_jq.val(),this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},e.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},e.prototype.set_up_html=function(){var b,d,e,f;return this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",this.f_width=this.form_field_jq.outerWidth(),b=a("<div />",{id:this.container_id,"class":"chzn-container"+(this.is_rtl?" chzn-rtl":""),style:"width: "+this.f_width+"px;"}),this.is_multiple?b.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop" style="left:-9000px;"><ul class="chzn-results"></ul></div>'):b.html('<a href="javascript:void(0)" class="chzn-single chzn-default"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop" style="left:-9000px;"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(b),this.container=a("#"+this.container_id),this.container.addClass("chzn-container-"+(this.is_multiple?"multi":"single")),this.dropdown=this.container.find("div.chzn-drop").first(),d=this.container.height(),e=this.f_width-c(this.dropdown),this.dropdown.css({width:e+"px",top:d+"px"}),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first(),f=e-c(this.search_container)-c(this.search_field),this.search_field.css({width:f+"px"})),this.results_build(),this.set_tab_index(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},e.prototype.register_observers=function(){var a=this;return this.container.mousedown(function(b){return a.container_mousedown(b)}),this.container.mouseup(function(b){return a.container_mouseup(b)}),this.container.mouseenter(function(b){return a.mouse_enter(b)}),this.container.mouseleave(function(b){return a.mouse_leave(b)}),this.search_results.mouseup(function(b){return a.search_results_mouseup(b)}),this.search_results.mouseover(function(b){return a.search_results_mouseover(b)}),this.search_results.mouseout(function(b){return a.search_results_mouseout(b)}),this.form_field_jq.bind("liszt:updated",function(b){return a.results_update_field(b)}),this.search_field.blur(function(b){return a.input_blur(b)}),this.search_field.keyup(function(b){return a.keyup_checker(b)}),this.search_field.keydown(function(b){return a.keydown_checker(b)}),this.is_multiple?(this.search_choices.click(function(b){return a.choices_click(b)}),this.search_field.focus(function(b){return a.input_focus(b)})):this.container.click(function(a){return a.preventDefault()})},e.prototype.search_field_disabled=function(){this.is_disabled=this.form_field_jq[0].disabled;if(this.is_disabled)return this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field();this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1;if(!this.is_multiple)return this.selected_item.bind("focus",this.activate_action)},e.prototype.container_mousedown=function(b){var c;if(!this.is_disabled)return c=b!=null?a(b.target).hasClass("search-choice-close"):!1,b&&b.type==="mousedown"&&!this.results_showing&&b.stopPropagation(),!this.pending_destroy_click&&!c?(this.active_field?!this.is_multiple&&b&&(a(b.target)[0]===this.selected_item[0]||a(b.target).parents("a.chzn-single").length)&&(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(document).click(this.click_test_action),this.results_show()),this.activate_field()):this.pending_destroy_click=!1},e.prototype.container_mouseup=function(a){if(a.target.nodeName==="ABBR"&&!this.is_disabled)return this.results_reset(a)},e.prototype.blur_test=function(a){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},e.prototype.close_field=function(){return a(document).unbind("click",this.click_test_action),this.is_multiple||(this.selected_item.attr("tabindex",this.search_field.attr("tabindex")),this.search_field.attr("tabindex",-1)),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.winnow_results_clear(),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},e.prototype.activate_field=function(){return!this.is_multiple&&!this.active_field&&(this.search_field.attr("tabindex",this.selected_item.attr("tabindex")),this.selected_item.attr("tabindex",-1)),this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},e.prototype.test_active_click=function(b){return a(b.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},e.prototype.results_build=function(){var a,b,c,e,f;this.parsing=!0,this.results_data=d.SelectParser.select_to_array(this.form_field),this.is_multiple&&this.choices>0?(this.search_choices.find("li.search-choice").remove(),this.choices=0):this.is_multiple||(this.selected_item.addClass("chzn-default").find("span").text(this.default_text),this.form_field.options.length<=this.disable_search_threshold?this.container.addClass("chzn-container-single-nosearch"):this.container.removeClass("chzn-container-single-nosearch")),a="",f=this.results_data;for(c=0,e=f.length;c<e;c++)b=f[c],b.group?a+=this.result_add_group(b):b.empty||(a+=this.result_add_option(b),b.selected&&this.is_multiple?this.choice_build(b):b.selected&&!this.is_multiple&&(this.selected_item.removeClass("chzn-default").find("span").text(b.text),this.allow_single_deselect&&this.single_deselect_control_build()));return this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.search_results.html(a),this.parsing=!1},e.prototype.result_add_group=function(b){return b.disabled?"":(b.dom_id=this.container_id+"_g_"+b.array_index,'<li id="'+b.dom_id+'" class="group-result">'+a("<div />").text(b.label).html()+"</li>")},e.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight();if(b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(c<f)return this.search_results.scrollTop(c)}},e.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},e.prototype.results_show=function(){var a;if(!this.is_multiple)this.selected_item.addClass("chzn-single-with-drop"),this.result_single_selected&&this.result_do_highlight(this.result_single_selected);else if(this.max_selected_options<=this.choices)return this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1;return a=this.is_multiple?this.container.height():this.container.height()-1,this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}),this.dropdown.css({top:a+"px",left:0}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results()},e.prototype.results_hide=function(){return this.is_multiple||this.selected_item.removeClass("chzn-single-with-drop"),this.result_clear_highlight(),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this}),this.dropdown.css({left:"-9000px"}),this.results_showing=!1},e.prototype.set_tab_index=function(a){var b;if(this.form_field_jq.attr("tabindex"))return b=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1),this.is_multiple?this.search_field.attr("tabindex",b):(this.selected_item.attr("tabindex",b),this.search_field.attr("tabindex",-1))},e.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},e.prototype.search_results_mouseup=function(b){var c;c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first();if(c.length)return this.result_highlight=c,this.result_select(b)},e.prototype.search_results_mouseover=function(b){var c;c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first();if(c)return this.result_do_highlight(c)},e.prototype.search_results_mouseout=function(b){if(a(b.target).hasClass("active-result"))return this.result_clear_highlight()},e.prototype.choices_click=function(b){b.preventDefault();if(this.active_field&&!a(b.target).hasClass("search-choice")&&!this.results_showing)return this.results_show()},e.prototype.choice_build=function(b){var c,d,e=this;return this.is_multiple&&this.max_selected_options<=this.choices?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(c=this.container_id+"_c_"+b.array_index,this.choices+=1,this.search_container.before('<li class="search-choice" id="'+c+'"><span>'+b.html+'</span><a href="javascript:void(0)" class="search-choice-close" rel="'+b.array_index+'"></a></li>'),d=a("#"+c).find("a").first(),d.click(function(a){return e.choice_destroy_link_click(a)}))},e.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),this.is_disabled?b.stopPropagation:(this.pending_destroy_click=!0,this.choice_destroy(a(b.target)))},e.prototype.choice_destroy=function(a){return this.choices-=1,this.show_search_field_default(),this.is_multiple&&this.choices>0&&this.search_field.val().length<1&&this.results_hide(),this.result_deselect(a.attr("rel")),a.parents("li").first().remove()},e.prototype.results_reset=function(){this.form_field.options[0].selected=!0,this.selected_item.find("span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change");if(this.active_field)return this.results_hide()},e.prototype.results_reset_cleanup=function(){return this.selected_item.find("abbr").remove()},e.prototype.result_select=function(a){var b,c,d,e;if(this.result_highlight)return b=this.result_highlight,c=b.attr("id"),this.result_clear_highlight(),this.is_multiple?this.result_deactivate(b):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=b,this.selected_item.removeClass("chzn-default")),b.addClass("result-selected"),e=c.substr(c.lastIndexOf("_")+1),d=this.results_data[e],d.selected=!0,this.form_field.options[d.options_index].selected=!0,this.is_multiple?this.choice_build(d):(this.selected_item.find("span").first().text(d.text),this.allow_single_deselect&&this.single_deselect_control_build()),(!a.metaKey||!this.is_multiple)&&this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field_jq.val()!==this.current_value)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[d.options_index].value}),this.current_value=this.form_field_jq.val(),this.search_field_scale()},e.prototype.result_activate=function(a){return a.addClass("active-result")},e.prototype.result_deactivate=function(a){return a.removeClass("active-result")},e.prototype.result_deselect=function(b){var c,d;return d=this.results_data[b],d.selected=!1,this.form_field.options[d.options_index].selected=!1,c=a("#"+this.container_id+"_o_"+b),c.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[d.options_index].value}),this.search_field_scale()},e.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect&&this.selected_item.find("abbr").length<1)return this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>')},e.prototype.winnow_results=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;this.no_results_clear(),j=0,k=this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html(),g=this.search_contains?"":"^",f=new RegExp(g+k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),n=new RegExp(k.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),s=this.results_data;for(o=0,q=s.length;o<q;o++){c=s[o];if(!c.disabled&&!c.empty)if(c.group)a("#"+c.dom_id).css("display","none");else if(!this.is_multiple||!c.selected){b=!1,i=c.dom_id,h=a("#"+i);if(f.test(c.html))b=!0,j+=1;else if(c.html.indexOf(" ")>=0||c.html.indexOf("[")===0){e=c.html.replace(/\[|\]/g,"").split(" ");if(e.length)for(p=0,r=e.length;p<r;p++)d=e[p],f.test(d)&&(b=!0,j+=1)}b?(k.length?(l=c.html.search(n),m=c.html.substr(0,l+k.length)+"</em>"+c.html.substr(l+k.length),m=m.substr(0,l)+"<em>"+m.substr(l)):m=c.html,h.html(m),this.result_activate(h),c.group_array_index!=null&&a("#"+this.results_data[c.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&i===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(h))}}return j<1&&k.length?this.no_results(k):this.winnow_results_set_highlight()},e.prototype.winnow_results_clear=function(){var b,c,d,e,f;this.search_field.val(""),c=this.search_results.find("li"),f=[];for(d=0,e=c.length;d<e;d++)b=c[d],b=a(b),b.hasClass("group-result")?f.push(b.css("display","auto")):!this.is_multiple||!b.hasClass("result-selected")?f.push(this.result_activate(b)):f.push(void 0);return f},e.prototype.winnow_results_set_highlight=function(){var a,b;if(!this.result_highlight){b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first();if(a!=null)return this.result_do_highlight(a)}},e.prototype.no_results=function(b){var c;return c=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),c.find("span").first().html(b),this.search_results.append(c)},e.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},e.prototype.keydown_arrow=function(){var b,c;this.result_highlight?this.results_showing&&(c=this.result_highlight.nextAll("li.active-result").first(),c&&this.result_do_highlight(c)):(b=this.search_results.find("li.active-result").first(),b&&this.result_do_highlight(a(b)));if(!this.results_showing)return this.results_show()},e.prototype.keyup_arrow=function(){var a;if(!this.results_showing&&!this.is_multiple)return this.results_show();if(this.result_highlight)return a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices>0&&this.results_hide(),this.result_clear_highlight())},e.prototype.keydown_backstroke=function(){return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(this.pending_backstroke=this.search_container.siblings("li.search-choice").last(),this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus"))},e.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},e.prototype.keydown_checker=function(a){var b,c;b=(c=a.which)!=null?c:a.keyCode,this.search_field_scale(),b!==8&&this.pending_backstroke&&this.clear_backstroke();switch(b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:this.keydown_arrow()}},e.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"];for(i=0,j=g.length;i<j;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return c=a("<div />",{style:f}),c.text(this.search_field.val()),a("body").append(c),h=c.width()+25,c.remove(),h>this.f_width-10&&(h=this.f_width-10),this.search_field.css({width:h+"px"}),b=this.container.height(),this.dropdown.css({top:b+"px"})}},e.prototype.generate_random_id=function(){var b;b="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();while(a("#"+b).length>0)b+=this.generate_random_char();return b},e}(AbstractChosen),c=function(a){var b;return b=a.outerWidth()-a.width()},d.get_side_border_padding=c}.call(this);
@@ -0,0 +1,205 @@
1
+ /*
2
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3
+ *
4
+ * Uses the built in easing capabilities added In jQuery 1.1
5
+ * to offer multiple easing options
6
+ *
7
+ * TERMS OF USE - jQuery Easing
8
+ *
9
+ * Open source under the BSD License.
10
+ *
11
+ * Copyright © 2008 George McGinley Smith
12
+ * All rights reserved.
13
+ *
14
+ * Redistribution and use in source and binary forms, with or without modification,
15
+ * are permitted provided that the following conditions are met:
16
+ *
17
+ * Redistributions of source code must retain the above copyright notice, this list of
18
+ * conditions and the following disclaimer.
19
+ * Redistributions in binary form must reproduce the above copyright notice, this list
20
+ * of conditions and the following disclaimer in the documentation and/or other materials
21
+ * provided with the distribution.
22
+ *
23
+ * Neither the name of the author nor the names of contributors may be used to endorse
24
+ * or promote products derived from this software without specific prior written permission.
25
+ *
26
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
35
+ *
36
+ */
37
+
38
+ // t: current time, b: begInnIng value, c: change In value, d: duration
39
+ jQuery.easing['jswing'] = jQuery.easing['swing'];
40
+
41
+ jQuery.extend( jQuery.easing,
42
+ {
43
+ def: 'easeOutQuad',
44
+ swing: function (x, t, b, c, d) {
45
+ //alert(jQuery.easing.default);
46
+ return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
47
+ },
48
+ easeInQuad: function (x, t, b, c, d) {
49
+ return c*(t/=d)*t + b;
50
+ },
51
+ easeOutQuad: function (x, t, b, c, d) {
52
+ return -c *(t/=d)*(t-2) + b;
53
+ },
54
+ easeInOutQuad: function (x, t, b, c, d) {
55
+ if ((t/=d/2) < 1) return c/2*t*t + b;
56
+ return -c/2 * ((--t)*(t-2) - 1) + b;
57
+ },
58
+ easeInCubic: function (x, t, b, c, d) {
59
+ return c*(t/=d)*t*t + b;
60
+ },
61
+ easeOutCubic: function (x, t, b, c, d) {
62
+ return c*((t=t/d-1)*t*t + 1) + b;
63
+ },
64
+ easeInOutCubic: function (x, t, b, c, d) {
65
+ if ((t/=d/2) < 1) return c/2*t*t*t + b;
66
+ return c/2*((t-=2)*t*t + 2) + b;
67
+ },
68
+ easeInQuart: function (x, t, b, c, d) {
69
+ return c*(t/=d)*t*t*t + b;
70
+ },
71
+ easeOutQuart: function (x, t, b, c, d) {
72
+ return -c * ((t=t/d-1)*t*t*t - 1) + b;
73
+ },
74
+ easeInOutQuart: function (x, t, b, c, d) {
75
+ if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
76
+ return -c/2 * ((t-=2)*t*t*t - 2) + b;
77
+ },
78
+ easeInQuint: function (x, t, b, c, d) {
79
+ return c*(t/=d)*t*t*t*t + b;
80
+ },
81
+ easeOutQuint: function (x, t, b, c, d) {
82
+ return c*((t=t/d-1)*t*t*t*t + 1) + b;
83
+ },
84
+ easeInOutQuint: function (x, t, b, c, d) {
85
+ if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
86
+ return c/2*((t-=2)*t*t*t*t + 2) + b;
87
+ },
88
+ easeInSine: function (x, t, b, c, d) {
89
+ return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
90
+ },
91
+ easeOutSine: function (x, t, b, c, d) {
92
+ return c * Math.sin(t/d * (Math.PI/2)) + b;
93
+ },
94
+ easeInOutSine: function (x, t, b, c, d) {
95
+ return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
96
+ },
97
+ easeInExpo: function (x, t, b, c, d) {
98
+ return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
99
+ },
100
+ easeOutExpo: function (x, t, b, c, d) {
101
+ return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
102
+ },
103
+ easeInOutExpo: function (x, t, b, c, d) {
104
+ if (t==0) return b;
105
+ if (t==d) return b+c;
106
+ if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
107
+ return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
108
+ },
109
+ easeInCirc: function (x, t, b, c, d) {
110
+ return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
111
+ },
112
+ easeOutCirc: function (x, t, b, c, d) {
113
+ return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
114
+ },
115
+ easeInOutCirc: function (x, t, b, c, d) {
116
+ if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
117
+ return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
118
+ },
119
+ easeInElastic: function (x, t, b, c, d) {
120
+ var s=1.70158;var p=0;var a=c;
121
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
122
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
123
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
124
+ return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
125
+ },
126
+ easeOutElastic: function (x, t, b, c, d) {
127
+ var s=1.70158;var p=0;var a=c;
128
+ if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
129
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
130
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
131
+ return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
132
+ },
133
+ easeInOutElastic: function (x, t, b, c, d) {
134
+ var s=1.70158;var p=0;var a=c;
135
+ if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
136
+ if (a < Math.abs(c)) { a=c; var s=p/4; }
137
+ else var s = p/(2*Math.PI) * Math.asin (c/a);
138
+ if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
139
+ return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
140
+ },
141
+ easeInBack: function (x, t, b, c, d, s) {
142
+ if (s == undefined) s = 1.70158;
143
+ return c*(t/=d)*t*((s+1)*t - s) + b;
144
+ },
145
+ easeOutBack: function (x, t, b, c, d, s) {
146
+ if (s == undefined) s = 1.70158;
147
+ return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
148
+ },
149
+ easeInOutBack: function (x, t, b, c, d, s) {
150
+ if (s == undefined) s = 1.70158;
151
+ if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
152
+ return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
153
+ },
154
+ easeInBounce: function (x, t, b, c, d) {
155
+ return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
156
+ },
157
+ easeOutBounce: function (x, t, b, c, d) {
158
+ if ((t/=d) < (1/2.75)) {
159
+ return c*(7.5625*t*t) + b;
160
+ } else if (t < (2/2.75)) {
161
+ return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
162
+ } else if (t < (2.5/2.75)) {
163
+ return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
164
+ } else {
165
+ return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
166
+ }
167
+ },
168
+ easeInOutBounce: function (x, t, b, c, d) {
169
+ if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
170
+ return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
171
+ }
172
+ });
173
+
174
+ /*
175
+ *
176
+ * TERMS OF USE - EASING EQUATIONS
177
+ *
178
+ * Open source under the BSD License.
179
+ *
180
+ * Copyright © 2001 Robert Penner
181
+ * All rights reserved.
182
+ *
183
+ * Redistribution and use in source and binary forms, with or without modification,
184
+ * are permitted provided that the following conditions are met:
185
+ *
186
+ * Redistributions of source code must retain the above copyright notice, this list of
187
+ * conditions and the following disclaimer.
188
+ * Redistributions in binary form must reproduce the above copyright notice, this list
189
+ * of conditions and the following disclaimer in the documentation and/or other materials
190
+ * provided with the distribution.
191
+ *
192
+ * Neither the name of the author nor the names of contributors may be used to endorse
193
+ * or promote products derived from this software without specific prior written permission.
194
+ *
195
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
196
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
197
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
198
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
199
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
200
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
201
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
202
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
203
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
204
+ *
205
+ */
@@ -0,0 +1,165 @@
1
+ /*
2
+ * jQuery Iframe Transport Plugin 1.3
3
+ * https://github.com/blueimp/jQuery-File-Upload
4
+ *
5
+ * Copyright 2011, Sebastian Tschan
6
+ * https://blueimp.net
7
+ *
8
+ * Licensed under the MIT license:
9
+ * http://www.opensource.org/licenses/MIT
10
+ */
11
+
12
+ /*jslint unparam: true, nomen: true */
13
+ /*global define, window, document */
14
+
15
+ (function (factory) {
16
+ 'use strict';
17
+ if (typeof define === 'function' && define.amd) {
18
+ // Register as an anonymous AMD module:
19
+ define(['jquery'], factory);
20
+ } else {
21
+ // Browser globals:
22
+ factory(window.jQuery);
23
+ }
24
+ }(function ($) {
25
+ 'use strict';
26
+
27
+ // Helper variable to create unique names for the transport iframes:
28
+ var counter = 0;
29
+
30
+ // The iframe transport accepts three additional options:
31
+ // options.fileInput: a jQuery collection of file input fields
32
+ // options.paramName: the parameter name for the file form data,
33
+ // overrides the name property of the file input field(s)
34
+ // options.formData: an array of objects with name and value properties,
35
+ // equivalent to the return data of .serializeArray(), e.g.:
36
+ // [{name: 'a', value: 1}, {name: 'b', value: 2}]
37
+ $.ajaxTransport('iframe', function (options) {
38
+ if (options.async && (options.type === 'POST' || options.type === 'GET')) {
39
+ var form,
40
+ iframe;
41
+ return {
42
+ send: function (_, completeCallback) {
43
+ form = $('<form style="display:none;"></form>');
44
+ // javascript:false as initial iframe src
45
+ // prevents warning popups on HTTPS in IE6.
46
+ // IE versions below IE8 cannot set the name property of
47
+ // elements that have already been added to the DOM,
48
+ // so we set the name along with the iframe HTML markup:
49
+ iframe = $(
50
+ '<iframe src="javascript:false;" name="iframe-transport-' +
51
+ (counter += 1) + '"></iframe>'
52
+ ).bind('load', function () {
53
+ var fileInputClones;
54
+ iframe
55
+ .unbind('load')
56
+ .bind('load', function () {
57
+ var response;
58
+ // Wrap in a try/catch block to catch exceptions thrown
59
+ // when trying to access cross-domain iframe contents:
60
+ try {
61
+ response = iframe.contents();
62
+ // Google Chrome and Firefox do not throw an
63
+ // exception when calling iframe.contents() on
64
+ // cross-domain requests, so we unify the response:
65
+ if (!response.length || !response[0].firstChild) {
66
+ throw new Error();
67
+ }
68
+ } catch (e) {
69
+ response = undefined;
70
+ }
71
+ // The complete callback returns the
72
+ // iframe content document as response object:
73
+ completeCallback(
74
+ 200,
75
+ 'success',
76
+ {'iframe': response}
77
+ );
78
+ // Fix for IE endless progress bar activity bug
79
+ // (happens on form submits to iframe targets):
80
+ $('<iframe src="javascript:false;"></iframe>')
81
+ .appendTo(form);
82
+ form.remove();
83
+ });
84
+ form
85
+ .prop('target', iframe.prop('name'))
86
+ .prop('action', options.url)
87
+ .prop('method', options.type);
88
+ if (options.formData) {
89
+ $.each(options.formData, function (index, field) {
90
+ $('<input type="hidden"/>')
91
+ .prop('name', field.name)
92
+ .val(field.value)
93
+ .appendTo(form);
94
+ });
95
+ }
96
+ if (options.fileInput && options.fileInput.length &&
97
+ options.type === 'POST') {
98
+ fileInputClones = options.fileInput.clone();
99
+ // Insert a clone for each file input field:
100
+ options.fileInput.after(function (index) {
101
+ return fileInputClones[index];
102
+ });
103
+ if (options.paramName) {
104
+ options.fileInput.each(function () {
105
+ $(this).prop('name', options.paramName);
106
+ });
107
+ }
108
+ // Appending the file input fields to the hidden form
109
+ // removes them from their original location:
110
+ form
111
+ .append(options.fileInput)
112
+ .prop('enctype', 'multipart/form-data')
113
+ // enctype must be set as encoding for IE:
114
+ .prop('encoding', 'multipart/form-data');
115
+ }
116
+ form.submit();
117
+ // Insert the file input fields at their original location
118
+ // by replacing the clones with the originals:
119
+ if (fileInputClones && fileInputClones.length) {
120
+ options.fileInput.each(function (index, input) {
121
+ var clone = $(fileInputClones[index]);
122
+ $(input).prop('name', clone.prop('name'));
123
+ clone.replaceWith(input);
124
+ });
125
+ }
126
+ });
127
+ form.append(iframe).appendTo(document.body);
128
+ },
129
+ abort: function () {
130
+ if (iframe) {
131
+ // javascript:false as iframe src aborts the request
132
+ // and prevents warning popups on HTTPS in IE6.
133
+ // concat is used to avoid the "Script URL" JSLint error:
134
+ iframe
135
+ .unbind('load')
136
+ .prop('src', 'javascript'.concat(':false;'));
137
+ }
138
+ if (form) {
139
+ form.remove();
140
+ }
141
+ }
142
+ };
143
+ }
144
+ });
145
+
146
+ // The iframe transport returns the iframe content document as response.
147
+ // The following adds converters from iframe to text, json, html, and script:
148
+ $.ajaxSetup({
149
+ converters: {
150
+ 'iframe text': function (iframe) {
151
+ return $(iframe[0].body).text();
152
+ },
153
+ 'iframe json': function (iframe) {
154
+ return $.parseJSON($(iframe[0].body).text());
155
+ },
156
+ 'iframe html': function (iframe) {
157
+ return $(iframe[0].body).html();
158
+ },
159
+ 'iframe script': function (iframe) {
160
+ return $.globalEval($(iframe[0].body).text());
161
+ }
162
+ }
163
+ });
164
+
165
+ }));
@@ -0,0 +1,104 @@
1
+ /*
2
+ * ******************************************************************************
3
+ * jquery.mb.components
4
+ * file: jquery.mb.browser.js
5
+ *
6
+ * Copyright (c) 2001-2013. Matteo Bicocchi (Pupunzi);
7
+ * Open lab srl, Firenze - Italy
8
+ * email: matteo@open-lab.com
9
+ * site: http://pupunzi.com
10
+ * blog: http://pupunzi.open-lab.com
11
+ * http://open-lab.com
12
+ *
13
+ * Licences: MIT, GPL
14
+ * http://www.opensource.org/licenses/mit-license.php
15
+ * http://www.gnu.org/licenses/gpl.html
16
+ *
17
+ * last modified: 17/01/13 0.12
18
+ * *****************************************************************************
19
+ */
20
+
21
+ /*******************************************************************************
22
+ *
23
+ * jquery.mb.browser
24
+ * Author: pupunzi
25
+ * Creation date: 16/01/13
26
+ *
27
+ ******************************************************************************/
28
+ /*Browser detection patch*/
29
+
30
+ (function($){
31
+
32
+ var jQversion = jQuery.fn.jquery.split(".");
33
+ if(jQversion[1]<8)
34
+ return;
35
+
36
+ jQuery.browser = {};
37
+ jQuery.browser.mozilla = false;
38
+ jQuery.browser.webkit = false;
39
+ jQuery.browser.opera = false;
40
+ jQuery.browser.msie = false;
41
+
42
+ var nAgt = navigator.userAgent;
43
+ jQuery.browser.name = navigator.appName;
44
+ jQuery.browser.fullVersion = ''+parseFloat(navigator.appVersion);
45
+ jQuery.browser.majorVersion = parseInt(navigator.appVersion,10);
46
+ var nameOffset,verOffset,ix;
47
+
48
+ // In Opera, the true version is after "Opera" or after "Version"
49
+ if ((verOffset=nAgt.indexOf("Opera"))!=-1) {
50
+ jQuery.browser.opera = true;
51
+ jQuery.browser.name = "Opera";
52
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+6);
53
+ if ((verOffset=nAgt.indexOf("Version"))!=-1)
54
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+8);
55
+ }
56
+ // In MSIE, the true version is after "MSIE" in userAgent
57
+ else if ((verOffset=nAgt.indexOf("MSIE"))!=-1) {
58
+ jQuery.browser.msie = true;
59
+ jQuery.browser.name = "Microsoft Internet Explorer";
60
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+5);
61
+ }
62
+ // In Chrome, the true version is after "Chrome"
63
+ else if ((verOffset=nAgt.indexOf("Chrome"))!=-1) {
64
+ jQuery.browser.webkit = true;
65
+ jQuery.browser.name = "Chrome";
66
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+7);
67
+ }
68
+ // In Safari, the true version is after "Safari" or after "Version"
69
+ else if ((verOffset=nAgt.indexOf("Safari"))!=-1) {
70
+ jQuery.browser.webkit = true;
71
+ jQuery.browser.name = "Safari";
72
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+7);
73
+ if ((verOffset=nAgt.indexOf("Version"))!=-1)
74
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+8);
75
+ }
76
+ // In Firefox, the true version is after "Firefox"
77
+ else if ((verOffset=nAgt.indexOf("Firefox"))!=-1) {
78
+ jQuery.browser.mozilla = true;
79
+ jQuery.browser.name = "Firefox";
80
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+8);
81
+ }
82
+ // In most other browsers, "name/version" is at the end of userAgent
83
+ else if ( (nameOffset=nAgt.lastIndexOf(' ')+1) <
84
+ (verOffset=nAgt.lastIndexOf('/')) )
85
+ {
86
+ jQuery.browser.name = nAgt.substring(nameOffset,verOffset);
87
+ jQuery.browser.fullVersion = nAgt.substring(verOffset+1);
88
+ if (jQuery.browser.name.toLowerCase()==jQuery.browser.name.toUpperCase()) {
89
+ jQuery.browser.name = navigator.appName;
90
+ }
91
+ }
92
+ // trim the fullVersion string at semicolon/space if present
93
+ if ((ix=jQuery.browser.fullVersion.indexOf(";"))!=-1)
94
+ jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix);
95
+ if ((ix=jQuery.browser.fullVersion.indexOf(" "))!=-1)
96
+ jQuery.browser.fullVersion=jQuery.browser.fullVersion.substring(0,ix);
97
+
98
+ jQuery.browser.majorVersion = parseInt(''+jQuery.browser.fullVersion,10);
99
+ if (isNaN(jQuery.browser.majorVersion)) {
100
+ jQuery.browser.fullVersion = ''+parseFloat(navigator.appVersion);
101
+ jQuery.browser.majorVersion = parseInt(navigator.appVersion,10);
102
+ }
103
+ jQuery.browser.version = jQuery.browser.majorVersion;
104
+ })(jQuery)