Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'develop' of git://github.com/divio/django-cms into develop

  • Loading branch information...
commit 4451de8a56535319c07dfbc58b32588b3fcf1e18 2 parents 3fb9795 + 0e6cc4b
@kezabelle authored
Showing with 365 additions and 4,977 deletions.
  1. +1 −1  MANIFEST.in
  2. +2 −1  cms/admin/forms.py
  3. +20 −23 cms/admin/pageadmin.py
  4. +12 −11 cms/admin/placeholderadmin.py
  5. +21 −20 cms/cms_toolbar.py
  6. +6 −8 cms/forms/widgets.py
  7. +12 −2 cms/management/commands/cms.py
  8. +2 −2 cms/management/commands/subcommands/list.py
  9. +0 −52 cms/media/cms/js/lib/jquery.backgroundposition.js
  10. +0 −96 cms/media/cms/js/lib/jquery.cookie.js
  11. +0 −4,376 cms/media/cms/js/lib/jquery.js
  12. +0 −11 cms/media/cms/js/lib/jquery.nyroModal-1.6.2.pack.js
  13. +0 −66 cms/media/cms/js/plugins/jquery.ui.core.js
  14. +0 −51 cms/media/cms/js/plugins/jquery.ui.draggable.js
  15. +0 −27 cms/media/cms/js/plugins/jquery.ui.droppable.js
  16. +20 −4 cms/models/placeholdermodel.py
  17. +1 −1  cms/plugins/file/cms_plugins.py
  18. +2 −2 cms/plugins/file/models.py
  19. +4 −4 cms/plugins/flash/templates/cms/plugins/flash.html
  20. +1 −1  cms/plugins/link/cms_plugins.py
  21. +1 −1  cms/plugins/picture/cms_plugins.py
  22. +1 −1  cms/plugins/snippet/cms_plugins.py
  23. +1 −1  cms/plugins/text/settings.py
  24. +3 −3 cms/plugins/text/templates/cms/plugins/text_plugin_change_form.html
  25. +2 −2 cms/plugins/text/templates/cms/plugins/widgets/wymeditor.html
  26. +19 −15 cms/plugins/text/widgets/tinymce_widget.py
  27. +8 −9 cms/plugins/text/widgets/wymeditor_widget.py
  28. +2 −2 cms/plugins/twitter/templates/cms/plugins/twitter_recent_entries.html
  29. +5 −5 cms/plugins/video/templates/cms/plugins/video.html
  30. 0  cms/{media → static}/cms/css/change_form.css
  31. 0  cms/{media → static}/cms/css/jquery.dialog.css
  32. 0  cms/{media → static}/cms/css/jquery.tooltip.css
  33. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png
  34. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png
  35. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png
  36. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_glass_50_3baae3_1x400.png
  37. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png
  38. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png
  39. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png
  40. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png
  41. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
  42. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-icons_2694e8_256x240.png
  43. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-icons_2e83ff_256x240.png
  44. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-icons_3d80b3_256x240.png
  45. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-icons_72a7cf_256x240.png
  46. 0  cms/{media → static}/cms/css/jquery/cupertino/images/ui-icons_ffffff_256x240.png
  47. 0  cms/{media → static}/cms/css/jquery/cupertino/jquery-ui.css
  48. 0  cms/{media → static}/cms/css/pages.css
  49. 0  cms/{media → static}/cms/css/plugin_editor.css
  50. 0  cms/{media → static}/cms/css/plugin_forms.css
  51. 0  cms/{media → static}/cms/css/plugins/cms.placeholders.css
  52. 0  cms/{media → static}/cms/css/plugins/cms.toolbar.css
  53. 0  cms/{media → static}/cms/css/rte.css
  54. 0  cms/{media → static}/cms/css/tinymce_toolbar.css
  55. 0  cms/{media → static}/cms/css/toolbar.css
  56. 0  cms/{media → static}/cms/css/wymeditor.css
  57. 0  cms/{media → static}/cms/images/bold.gif
  58. 0  cms/{media → static}/cms/images/changelist-filter-button-bg.jpg
  59. 0  cms/{media → static}/cms/images/close.gif
  60. 0  cms/{media → static}/cms/images/cms_toolbar.gif
  61. 0  cms/{media → static}/cms/images/cms_toolbar.png
  62. 0  cms/{media → static}/cms/images/copy.gif
  63. 0  cms/{media → static}/cms/images/cut.gif
  64. 0  cms/{media → static}/cms/images/file_icons/flv.gif
  65. 0  cms/{media → static}/cms/images/file_icons/gif.gif
  66. 0  cms/{media → static}/cms/images/file_icons/html.gif
  67. 0  cms/{media → static}/cms/images/file_icons/java.gif
  68. 0  cms/{media → static}/cms/images/file_icons/jpg.gif
  69. 0  cms/{media → static}/cms/images/file_icons/mp3.png
  70. 0  cms/{media → static}/cms/images/file_icons/ods.png
  71. 0  cms/{media → static}/cms/images/file_icons/odt.png
  72. 0  cms/{media → static}/cms/images/file_icons/pdf.gif
  73. 0  cms/{media → static}/cms/images/file_icons/php.gif
  74. 0  cms/{media → static}/cms/images/file_icons/png.gif
  75. 0  cms/{media → static}/cms/images/file_icons/swf.gif
  76. 0  cms/{media → static}/cms/images/file_icons/tgz.png
  77. 0  cms/{media → static}/cms/images/file_icons/ttf.gif
  78. 0  cms/{media → static}/cms/images/file_icons/txt.gif
  79. 0  cms/{media → static}/cms/images/file_icons/txt.png
  80. 0  cms/{media → static}/cms/images/file_icons/wav.gif
  81. 0  cms/{media → static}/cms/images/file_icons/zip.png
  82. 0  cms/{media → static}/cms/images/icon_addlink.gif
  83. 0  cms/{media → static}/cms/images/icon_deletelink.gif
  84. 0  cms/{media → static}/cms/images/icon_extension.gif
  85. 0  cms/{media → static}/cms/images/icon_pluginedit.gif
  86. 0  cms/{media → static}/cms/images/icons.png
  87. 0  cms/{media/cms/images/plugins → static/cms/images}/image.png
  88. 0  cms/{media → static}/cms/images/indicator.gif
  89. 0  cms/{media → static}/cms/images/italic.gif
  90. 0  cms/{media → static}/cms/images/jquery/accordion-left-act.png
  91. 0  cms/{media → static}/cms/images/jquery/accordion-left-over.png
  92. 0  cms/{media → static}/cms/images/jquery/accordion-left.png
  93. 0  cms/{media → static}/cms/images/jquery/accordion-middle-act.png
  94. 0  cms/{media → static}/cms/images/jquery/accordion-middle-over.png
  95. 0  cms/{media → static}/cms/images/jquery/accordion-middle.png
  96. 0  cms/{media → static}/cms/images/jquery/accordion-right-act.png
  97. 0  cms/{media → static}/cms/images/jquery/accordion-right-over.png
  98. 0  cms/{media → static}/cms/images/jquery/accordion-right.png
  99. 0  cms/{media → static}/cms/images/jquery/default-bg.gif
  100. 0  cms/{media → static}/cms/images/jquery/dialog-e.gif
  101. 0  cms/{media → static}/cms/images/jquery/dialog-n.gif
  102. 0  cms/{media → static}/cms/images/jquery/dialog-ne.gif
  103. 0  cms/{media → static}/cms/images/jquery/dialog-nw.gif
  104. 0  cms/{media → static}/cms/images/jquery/dialog-s.gif
  105. 0  cms/{media → static}/cms/images/jquery/dialog-se.gif
  106. 0  cms/{media → static}/cms/images/jquery/dialog-sw.gif
  107. 0  cms/{media → static}/cms/images/jquery/dialog-title.gif
  108. 0  cms/{media → static}/cms/images/jquery/dialog-titlebar-close-hover.png
  109. 0  cms/{media → static}/cms/images/jquery/dialog-titlebar-close.png
  110. 0  cms/{media → static}/cms/images/jquery/dialog-w.gif
  111. 0  cms/{media/cms/images → static/cms/images/jquery}/nav-bg.gif
  112. 0  cms/{media → static}/cms/images/jquery/resizable-e.gif
  113. 0  cms/{media → static}/cms/images/jquery/resizable-n.gif
  114. 0  cms/{media → static}/cms/images/jquery/resizable-ne.gif
  115. 0  cms/{media → static}/cms/images/jquery/resizable-nw.gif
  116. 0  cms/{media → static}/cms/images/jquery/resizable-s.gif
  117. 0  cms/{media → static}/cms/images/jquery/resizable-se.gif
  118. 0  cms/{media → static}/cms/images/jquery/resizable-sw.gif
  119. 0  cms/{media → static}/cms/images/jquery/resizable-w.gif
  120. 0  cms/{media → static}/cms/images/jquery/slider-bg-1.png
  121. 0  cms/{media → static}/cms/images/jquery/slider-bg-2.png
  122. 0  cms/{media → static}/cms/images/jquery/slider-handle.gif
  123. 0  cms/{media → static}/cms/images/jquery/tabs.png
  124. 0  cms/{media/cms/images/plugins → static/cms/images}/link.png
  125. 0  cms/{media → static}/cms/images/logo.jpg
  126. 0  cms/{media/cms/images/jquery → static/cms/images}/nav-bg.gif
  127. 0  cms/{media → static}/cms/images/page_find.gif
  128. 0  cms/{media → static}/cms/images/pluginlist-delete.png
  129. 0  cms/{media → static}/cms/images/pluginlist-holder-bg.gif
  130. 0  cms/{media → static}/cms/images/plugins/file.png
  131. 0  cms/{media → static}/cms/images/plugins/get_flash_player.gif
  132. 0  cms/{media/cms/images → static/cms/images/plugins}/image.png
  133. 0  cms/{media/cms/images → static/cms/images/plugins}/link.png
  134. 0  cms/{media → static}/cms/images/plugins/snippet.png
  135. 0  cms/{media → static}/cms/images/pony.jpg
  136. 0  cms/{media → static}/cms/images/sitemap-exim.gif
  137. 0  cms/{media → static}/cms/images/sitemap-exlm.gif
  138. 0  cms/{media → static}/cms/images/sitemap-extm.gif
  139. 0  cms/{media → static}/cms/images/sitemap-li-bg.jpg
  140. 0  cms/{media → static}/cms/images/sitemap-li-collapse.gif
  141. 0  cms/{media → static}/cms/images/sitemap-li-drag.gif
  142. 0  cms/{media → static}/cms/images/toolbar/frame_shadow.gif
  143. 0  cms/{media → static}/cms/images/toolbar/icons/icon_admin.png
  144. 0  cms/{media → static}/cms/images/toolbar/icons/icon_child.png
  145. 0  cms/{media → static}/cms/images/toolbar/icons/icon_delete.png
  146. 0  cms/{media → static}/cms/images/toolbar/icons/icon_edit.png
  147. 0  cms/{media → static}/cms/images/toolbar/icons/icon_history.png
  148. 0  cms/{media → static}/cms/images/toolbar/icons/icon_lock.png
  149. 0  cms/{media → static}/cms/images/toolbar/icons/icon_page.png
  150. 0  cms/{media → static}/cms/images/toolbar/icons/icon_sibling.png
  151. 0  cms/{media → static}/cms/images/toolbar/icons/icon_sitemap.png
  152. 0  cms/{media → static}/cms/images/toolbar/icons/icon_template.png
  153. 0  cms/{media → static}/cms/images/toolbar/loader.gif
  154. 0  cms/{media → static}/cms/images/toolbar/sprite_toolbar-ie.png
  155. 0  cms/{media → static}/cms/images/toolbar/sprite_toolbar.png
  156. 0  cms/{media → static}/cms/images/toolbar/toolbar_bg.gif
  157. 0  cms/{media → static}/cms/images/unordered.gif
  158. 0  cms/{media → static}/cms/js/change_form.js
  159. 0  cms/{media → static}/cms/js/change_list.js
  160. 0  cms/{media → static}/cms/js/csrf.js
  161. 0  cms/{media → static}/cms/js/libs/classy.min.js
  162. 0  cms/{media/cms/js/lib → static/cms/js/libs}/jquery.bind.js
  163. 0  cms/{media/cms/js/plugins → static/cms/js/libs}/jquery.cookie.js
  164. 0  cms/{media/cms/js/lib → static/cms/js/libs}/jquery.form.js
  165. 0  cms/{media/cms/js/lib/functional.js → static/cms/js/libs/jquery.functional.js}
  166. 0  cms/{media/cms/js/lib → static/cms/js/libs}/jquery.livequery.js
  167. 0  cms/{media/cms/js/lib → static/cms/js/libs}/jquery.query.js
  168. 0  cms/{media/cms/js/plugins → static/cms/js/libs}/jquery.tweet.js
  169. 0  cms/{media/cms/js/lib/ui.checkbox.js → static/cms/js/libs/jquery.ui.checkbox.js}
  170. 0  cms/{media/cms/js/lib/ui.core.js → static/cms/js/libs/jquery.ui.core.js}
  171. 0  cms/{media/cms/js/lib/ui.dialog.js → static/cms/js/libs/jquery.ui.dialog.js}
  172. 0  cms/{media/cms/js/lib/effects.core.js → static/cms/js/libs/jquery.ui.effects.core.js}
  173. 0  cms/{media/cms/js/lib/effects.highlight.js → static/cms/js/libs/jquery.ui.effects.highlight.js}
  174. 0  cms/{media/cms/js/lib/ui.sortable.js → static/cms/js/libs/jquery.ui.sortable.js}
  175. 0  cms/{media → static}/cms/js/libs/swfobject.min.js
  176. 0  cms/{media → static}/cms/js/placeholder_editor_registry.js
  177. 0  cms/{media → static}/cms/js/plugin_editor.js
  178. +1 −0  cms/static/cms/js/plugins/admincompat.js
  179. +1 −2  cms/{media → static}/cms/js/plugins/cms.base.js
  180. +175 −144 cms/{media → static}/cms/js/plugins/cms.placeholders.js
  181. +5 −2 cms/{media → static}/cms/js/plugins/cms.toolbar.js
  182. 0  cms/{media → static}/cms/js/tinymce.placeholdereditor.js
  183. 0  cms/{media → static}/cms/js/wymeditor.placeholdereditor.js
  184. 0  cms/{media → static}/cms/js/wymeditor/skins/django/icons.png
  185. 0  cms/{media → static}/cms/js/wymeditor/skins/django/skin.css
  186. 0  cms/{media → static}/cms/js/wymeditor/skins/django/skin.js
  187. 0  cms/{media → static}/cms/jstree/_lib/_all.js
  188. 0  cms/{media → static}/cms/jstree/_lib/css.js
  189. 0  cms/{media → static}/cms/jstree/_lib/jquery.cookie.js
  190. 0  cms/{media → static}/cms/jstree/_lib/jquery.hotkeys.js
  191. 0  cms/{media → static}/cms/jstree/_lib/jquery.js
  192. 0  cms/{media → static}/cms/jstree/_lib/jquery.listen.js
  193. 0  cms/{media → static}/cms/jstree/_lib/jquery.log.js
  194. 0  cms/{media → static}/cms/jstree/_lib/jquery.metadata.js
  195. 0  cms/{media → static}/cms/jstree/_lib/jquery.xslt.js
  196. 0  cms/{media → static}/cms/jstree/_lib/sarissa.js
  197. 0  cms/{media → static}/cms/jstree/_lib/sarissa_ieemu_xpath.js
  198. 0  cms/{media → static}/cms/jstree/flat.xsl
  199. 0  cms/{media → static}/cms/jstree/nested.xsl
  200. 0  cms/{media → static}/cms/jstree/themes/classic/folder.gif
  201. 0  cms/{media → static}/cms/jstree/themes/classic/folderopen.gif
  202. 0  cms/{media → static}/cms/jstree/themes/classic/minus.gif
  203. 0  cms/{media → static}/cms/jstree/themes/classic/plus.gif
  204. 0  cms/{media → static}/cms/jstree/themes/classic/style.css
  205. 0  cms/{media → static}/cms/jstree/themes/default/context.gif
  206. 0  cms/{media → static}/cms/jstree/themes/default/create.png
  207. 0  cms/{media → static}/cms/jstree/themes/default/dot.gif
  208. 0  cms/{media → static}/cms/jstree/themes/default/f.png
  209. 0  cms/{media → static}/cms/jstree/themes/default/fminus.gif
  210. 0  cms/{media → static}/cms/jstree/themes/default/fminus_rtl.gif
  211. 0  cms/{media → static}/cms/jstree/themes/default/fplus.gif
  212. 0  cms/{media → static}/cms/jstree/themes/default/fplus_rtl.gif
  213. 0  cms/{media → static}/cms/jstree/themes/default/lastli.gif
  214. 0  cms/{media → static}/cms/jstree/themes/default/lastli_rtl.gif
  215. 0  cms/{media → static}/cms/jstree/themes/default/li.gif
  216. 0  cms/{media → static}/cms/jstree/themes/default/marker.gif
  217. 0  cms/{media → static}/cms/jstree/themes/default/marker_rtl.gif
  218. 0  cms/{media → static}/cms/jstree/themes/default/plus.gif
  219. 0  cms/{media → static}/cms/jstree/themes/default/remove.gif
  220. 0  cms/{media → static}/cms/jstree/themes/default/remove.png
  221. 0  cms/{media → static}/cms/jstree/themes/default/rename.png
  222. 0  cms/{media → static}/cms/jstree/themes/default/style.css
  223. 0  cms/{media → static}/cms/jstree/themes/default/throbber.gif
  224. 0  cms/{media → static}/cms/jstree/tree_component.css
  225. 0  cms/{media → static}/cms/jstree/tree_component.js
  226. 0  cms/{media → static}/cms/swf/expressInstall.swf
  227. 0  cms/{media → static}/cms/swf/player.swf
  228. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-blockquote.png
  229. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-h1.png
  230. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-h2.png
  231. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-h3.png
  232. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-h4.png
  233. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-h5.png
  234. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-h6.png
  235. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-p.png
  236. 0  cms/{media → static}/cms/wymeditor/iframe/default/lbl-pre.png
  237. 0  cms/{media → static}/cms/wymeditor/iframe/default/wymiframe.css
  238. 0  cms/{media → static}/cms/wymeditor/iframe/default/wymiframe.html
  239. 0  cms/{media → static}/cms/wymeditor/jquery.wymeditor.js
  240. 0  cms/{media → static}/cms/wymeditor/jquery.wymeditor.min.js
  241. 0  cms/{media → static}/cms/wymeditor/jquery.wymeditor.pack.js
  242. 0  cms/{media → static}/cms/wymeditor/lang/bg.js
  243. 0  cms/{media → static}/cms/wymeditor/lang/ca.js
  244. 0  cms/{media → static}/cms/wymeditor/lang/cs.js
  245. 0  cms/{media → static}/cms/wymeditor/lang/de.js
  246. 0  cms/{media → static}/cms/wymeditor/lang/en.js
  247. 0  cms/{media → static}/cms/wymeditor/lang/es.js
  248. 0  cms/{media → static}/cms/wymeditor/lang/fa.js
  249. 0  cms/{media → static}/cms/wymeditor/lang/fi.js
  250. 0  cms/{media → static}/cms/wymeditor/lang/fr.js
  251. 0  cms/{media → static}/cms/wymeditor/lang/he.js
  252. 0  cms/{media → static}/cms/wymeditor/lang/hr.js
  253. 0  cms/{media → static}/cms/wymeditor/lang/hu.js
  254. 0  cms/{media → static}/cms/wymeditor/lang/it.js
  255. 0  cms/{media → static}/cms/wymeditor/lang/nb.js
  256. 0  cms/{media → static}/cms/wymeditor/lang/nl.js
  257. 0  cms/{media → static}/cms/wymeditor/lang/nn.js
  258. 0  cms/{media → static}/cms/wymeditor/lang/pl.js
  259. 0  cms/{media → static}/cms/wymeditor/lang/pt-br.js
  260. 0  cms/{media → static}/cms/wymeditor/lang/pt.js
  261. 0  cms/{media → static}/cms/wymeditor/lang/ru.js
  262. 0  cms/{media → static}/cms/wymeditor/lang/sv.js
  263. 0  cms/{media → static}/cms/wymeditor/lang/tr.js
  264. 0  cms/{media → static}/cms/wymeditor/lang/zh_cn.js
  265. 0  cms/{media → static}/cms/wymeditor/plugins/embed/jquery.wymeditor.embed.js
  266. 0  cms/{media → static}/cms/wymeditor/plugins/fullscreen/icon_fullscreen.gif
  267. 0  cms/{media → static}/cms/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js
  268. 0  cms/{media → static}/cms/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js
  269. 0  cms/{media → static}/cms/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js
  270. 0  cms/{media → static}/cms/wymeditor/plugins/resizable/readme.txt
  271. 0  cms/{media/cms/wymeditor/skins/twopanels → static/cms/wymeditor/skins/compact}/icons.png
  272. 0  cms/{media → static}/cms/wymeditor/skins/compact/skin.css
  273. 0  cms/{media → static}/cms/wymeditor/skins/compact/skin.js
  274. 0  cms/{media → static}/cms/wymeditor/skins/default/icons.png
  275. 0  cms/{media → static}/cms/wymeditor/skins/default/skin.css
  276. 0  cms/{media → static}/cms/wymeditor/skins/default/skin.js
  277. 0  cms/{media/cms/wymeditor/skins/silver → static/cms/wymeditor/skins/minimal}/images/bg.header.gif
  278. 0  cms/{media/cms/wymeditor/skins/silver → static/cms/wymeditor/skins/minimal}/images/bg.selector.silver.gif
  279. 0  cms/{media/cms/wymeditor/skins/silver → static/cms/wymeditor/skins/minimal}/images/bg.wymeditor.png
  280. 0  cms/{media/cms/wymeditor/skins/silver → static/cms/wymeditor/skins/minimal}/images/icons.silver.gif
  281. 0  cms/{media → static}/cms/wymeditor/skins/minimal/skin.css
  282. 0  cms/{media → static}/cms/wymeditor/skins/minimal/skin.js
  283. 0  cms/{media → static}/cms/wymeditor/skins/silver/COPYING
  284. 0  cms/{media → static}/cms/wymeditor/skins/silver/README
  285. 0  cms/{media/cms/wymeditor/skins/minimal → static/cms/wymeditor/skins/silver}/images/bg.header.gif
  286. 0  cms/{media/cms/wymeditor/skins/minimal → static/cms/wymeditor/skins/silver}/images/bg.selector.silver.gif
  287. 0  cms/{media/cms/wymeditor/skins/minimal → static/cms/wymeditor/skins/silver}/images/bg.wymeditor.png
  288. 0  cms/{media/cms/wymeditor/skins/minimal → static/cms/wymeditor/skins/silver}/images/icons.silver.gif
  289. 0  cms/{media → static}/cms/wymeditor/skins/silver/skin.css
  290. 0  cms/{media → static}/cms/wymeditor/skins/silver/skin.js
  291. 0  cms/{media/cms/wymeditor/skins/compact → static/cms/wymeditor/skins/twopanels}/icons.png
  292. 0  cms/{media → static}/cms/wymeditor/skins/twopanels/skin.css
  293. 0  cms/{media → static}/cms/wymeditor/skins/twopanels/skin.js
  294. 0  cms/{media → static}/cms/wymeditor/skins/wymeditor_icon.png
  295. +2 −2 cms/templates/admin/cms/page/change_form.html
  296. +21 −21 cms/templates/admin/cms/page/change_list.html
  297. +1 −1  cms/templates/admin/cms/page/plugin_change_form.html
  298. +2 −2 cms/templates/admin/cms/page/plugin_forms_history.html
  299. +7 −1 cms/templates/admin/cms/page/plugin_forms_ok.html
  300. +4 −4 cms/templates/cms/new.html
Sorry, we could not display the entire diff because too many files (322) changed.
View
2  MANIFEST.in
@@ -4,7 +4,7 @@ include README.rst
include CHANGELOG.txt
recursive-include cms/locale *
recursive-include cms/templates *
-recursive-include cms/media *
+recursive-include cms/static *
recursive-include cms/plugins *
recursive-include menus/templates *
recursive-include docs *
View
3  cms/admin/forms.py
@@ -176,7 +176,8 @@ def clean_overwrite_url(self):
if url:
if not any_path_re.match(url):
raise forms.ValidationError(_('Invalid URL, use /my/url format.'))
- if get_page_from_path(url.strip('/')):
+ page = get_page_from_path(url.strip('/'))
+ if page and page.pk != self.instance.pk:
raise forms.ValidationError(_('Page with redirect url %r already exist') % url)
return url
View
43 cms/admin/pageadmin.py
@@ -2,20 +2,20 @@
from cms.admin.change_list import CMSChangeList
from cms.admin.dialog.views import get_copy_dialog
from cms.admin.forms import PageForm, PageAddForm
-from cms.admin.permissionadmin import PAGE_ADMIN_INLINES, \
- PagePermissionInlineAdmin, ViewRestrictionInlineAdmin
+from cms.admin.permissionadmin import (PAGE_ADMIN_INLINES,
+ PagePermissionInlineAdmin, ViewRestrictionInlineAdmin)
from cms.admin.views import revert_plugins
from cms.apphook_pool import apphook_pool
from cms.exceptions import NoPermissionsException
from cms.forms.widgets import PluginEditor
-from cms.models import Page, Title, CMSPlugin, PagePermission, \
- PageModeratorState, EmptyTitle, GlobalPagePermission
+from cms.models import (Page, Title, CMSPlugin, PagePermission,
+ PageModeratorState, EmptyTitle, GlobalPagePermission)
from cms.models.managers import PagePermissionsPermissionManager
from cms.models.placeholdermodel import Placeholder
from cms.plugin_pool import plugin_pool
-from cms.utils import copy_plugins, helpers, moderator, permissions, plugins, \
- get_template_from_request, get_language_from_request, \
- placeholder as placeholder_utils, admin as admin_utils
+from cms.utils import (copy_plugins, helpers, moderator, permissions, plugins,
+ get_template_from_request, get_language_from_request,
+ placeholder as placeholder_utils, admin as admin_utils, cms_static_url)
from cms.utils.permissions import has_plugin_permission
from copy import deepcopy
from django import template
@@ -28,20 +28,17 @@
from django.core.urlresolvers import reverse
from django.db import transaction, models
from django.forms import CharField
-from django.http import HttpResponseRedirect, HttpResponse, Http404, \
- HttpResponseBadRequest, HttpResponseForbidden, HttpResponseNotAllowed
+from django.http import (HttpResponseRedirect, HttpResponse, Http404,
+ HttpResponseBadRequest, HttpResponseForbidden, HttpResponseNotAllowed)
from django.shortcuts import render_to_response, get_object_or_404
from django.template.context import RequestContext
-from django.template.defaultfilters import title, escape, force_escape, \
- escapejs
+from django.template.defaultfilters import (title, escape, force_escape,
+ escapejs)
from django.utils.encoding import force_unicode
-from django.utils.translation import ugettext_lazy as _
-from django.utils.translation import ugettext
+from django.utils.translation import ugettext, ugettext_lazy as _
from menus.menu_pool import menu_pool
import django
import inspect
-import os
-
@@ -164,20 +161,20 @@ class PageAdmin(ModelAdmin):
class Media:
css = {
- 'all': [os.path.join(settings.CMS_MEDIA_URL, path) for path in (
+ 'all': [cms_static_url(path) for path in (
'css/rte.css',
'css/pages.css',
'css/change_form.css',
'css/jquery.dialog.css',
)]
}
- js = [os.path.join(settings.CMS_MEDIA_URL, path) for path in (
- 'js/lib/jquery.js',
- 'js/lib/jquery.query.js',
- 'js/lib/ui.core.js',
- 'js/lib/ui.dialog.js',
-
- )]
+ js = ['%sjs/jquery.min.js' % settings.ADMIN_MEDIA_PREFIX] + [cms_static_url(path) for path in [
+ 'js/plugins/admincompat.js',
+ 'js/libs/jquery.query.js',
+ 'js/libs/jquery.ui.core.js',
+ 'js/libs/jquery.ui.dialog.js',
+ ]
+ ]
def get_urls(self):
View
23 cms/admin/placeholderadmin.py
@@ -4,24 +4,24 @@
from cms.models.placeholdermodel import Placeholder
from cms.models.pluginmodel import CMSPlugin
from cms.plugin_pool import plugin_pool
-from cms.utils import get_language_from_request
+from cms.utils import get_language_from_request, cms_static_url
from cms.utils.permissions import has_plugin_permission
from copy import deepcopy
from django.conf import settings
from django.contrib.admin import ModelAdmin
-from django.http import HttpResponse, Http404, HttpResponseBadRequest, HttpResponseForbidden
+from django.http import (HttpResponse, Http404, HttpResponseBadRequest,
+ HttpResponseForbidden)
from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext
from django.template.defaultfilters import force_escape, escapejs
from django.utils.translation import ugettext as _
-import os
class PlaceholderAdmin(ModelAdmin):
class Media:
css = {
- 'all': [os.path.join(settings.CMS_MEDIA_URL, path) for path in (
+ 'all': [cms_static_url(path) for path in (
'css/rte.css',
'css/pages.css',
'css/change_form.css',
@@ -29,13 +29,14 @@ class Media:
'css/plugin_editor.css',
)]
}
- js = [os.path.join(settings.CMS_MEDIA_URL, path) for path in (
- 'js/lib/jquery.js',
- 'js/csrf.js',
- 'js/lib/jquery.query.js',
- 'js/lib/ui.core.js',
- 'js/lib/ui.dialog.js',
- )]
+ js = ['%sjs/jquery.min.js' % settings.ADMIN_MEDIA_PREFIX] + [cms_static_url(path) for path in [
+ 'js/plugins/admincompat.js',
+ 'js/csrf.js',
+ 'js/libs/jquery.query.js',
+ 'js/libs/jquery.ui.core.js',
+ 'js/libs/jquery.ui.dialog.js',
+ ]
+ ]
def get_fieldsets(self, request, obj=None):
"""
View
41 cms/cms_toolbar.py
@@ -3,7 +3,7 @@
from cms.toolbar.constants import LEFT, RIGHT
from cms.toolbar.items import (Anchor, Switcher, TemplateHTML, ListItem, List,
GetButton)
-from cms.utils import cms_media
+from cms.utils import cms_static_url
from cms.utils.moderator import page_moderator_state, I_APPROVE
from django import forms
from django.conf import settings
@@ -125,7 +125,7 @@ def get_items(self, context, **kwargs):
items.append(
GetButton(RIGHT, 'logout', _('Logout'), '?cms-toolbar-logout',
- cms_media('images/toolbar/icons/icon_lock.png'))
+ cms_static_url('images/toolbar/icons/icon_lock.png'))
)
elif not self.request.user.is_authenticated():
items.append(
@@ -134,7 +134,7 @@ def get_items(self, context, **kwargs):
else:
items.append(
GetButton(RIGHT, 'logout', _('Logout'), '?cms-toolbar-logout',
- cms_media('images/toolbar/icons/icon_lock.png'))
+ cms_static_url('images/toolbar/icons/icon_lock.png'))
)
return items
@@ -159,26 +159,26 @@ def get_page_menu(self, context, can_change, is_staff):
menu_items = [
ListItem('overview', _('Move/add Pages'),
reverse('admin:cms_page_changelist'),
- icon=cms_media('images/toolbar/icons/icon_sitemap.png')),
+ icon=cms_static_url('images/toolbar/icons/icon_sitemap.png')),
]
menu_items.append(
ListItem('addchild', _('Add child page'),
_get_add_child_url,
- icon=cms_media('images/toolbar/icons/icon_child.png'))
+ icon=cms_static_url('images/toolbar/icons/icon_child.png'))
)
menu_items.append(
ListItem('addsibling', _('Add sibling page'),
_get_add_sibling_url,
- icon=cms_media('images/toolbar/icons/icon_sibling.png'))
+ icon=cms_static_url('images/toolbar/icons/icon_sibling.png'))
)
menu_items.append(
ListItem('delete', _('Delete Page'), _get_delete_url,
- icon=cms_media('images/toolbar/icons/icon_delete.png'))
+ icon=cms_static_url('images/toolbar/icons/icon_delete.png'))
)
return List(RIGHT, 'page', _('Page'),
- cms_media('images/toolbar/icons/icon_page.png'),
+ cms_static_url('images/toolbar/icons/icon_page.png'),
items=menu_items)
def get_admin_menu(self, context, can_change, is_staff):
@@ -188,22 +188,22 @@ def get_admin_menu(self, context, can_change, is_staff):
admin_items = [
ListItem('admin', _('Site Administration'),
reverse('admin:index'),
- icon=cms_media('images/toolbar/icons/icon_admin.png')),
+ icon=cms_static_url('images/toolbar/icons/icon_admin.png')),
]
if can_change:
admin_items.append(
ListItem('settings', _('Page Settings'),
_get_page_admin_url,
- icon=cms_media('images/toolbar/icons/icon_page.png'))
+ icon=cms_static_url('images/toolbar/icons/icon_page.png'))
)
if 'reversion' in settings.INSTALLED_APPS:
admin_items.append(
ListItem('history', _('View History'),
_get_page_history_url,
- icon=cms_media('images/toolbar/icons/icon_history.png'))
+ icon=cms_static_url('images/toolbar/icons/icon_history.png'))
)
return List(RIGHT, 'admin', _('Admin'),
- cms_media('images/toolbar/icons/icon_admin.png'),
+ cms_static_url('images/toolbar/icons/icon_admin.png'),
items=admin_items)
def request_hook(self):
@@ -219,11 +219,12 @@ def _request_hook_get(self):
def _request_hook_post(self):
# login hook
- login_form = CMSToolbarLoginForm(self.request.POST)
- if login_form.is_valid():
- username = login_form.cleaned_data['cms_username']
- password = login_form.cleaned_data['cms_password']
- user = authenticate(username=username, password=password)
- if user:
- login(self.request, user)
- self.init()
+ if 'cms-toolbar-login' in self.request.GET:
+ login_form = CMSToolbarLoginForm(self.request.POST)
+ if login_form.is_valid():
+ username = login_form.cleaned_data['cms_username']
+ password = login_form.cleaned_data['cms_password']
+ user = authenticate(username=username, password=password)
+ if user:
+ login(self.request, user)
+ self.init()
View
14 cms/forms/widgets.py
@@ -2,7 +2,7 @@
from cms.forms.utils import get_site_choices, get_page_choices
from cms.models import Page, PageUser, Placeholder
from cms.plugin_pool import plugin_pool
-from cms.utils import get_language_from_request
+from cms.utils import get_language_from_request, cms_static_url
from django.conf import settings
from django.contrib.sites.models import Site
from django.forms.widgets import Select, MultiWidget, Widget
@@ -11,7 +11,6 @@
from django.utils.encoding import force_unicode
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext as _
-from os.path import join
import copy
class PageSelectWidget(MultiWidget):
@@ -130,13 +129,12 @@ def __init__(self, attrs=None):
self.attrs = {}
class Media:
- js = [join(settings.CMS_MEDIA_URL, path) for path in (
- 'js/lib/ui.core.js',
- 'js/lib/ui.sortable.js',
- 'js/plugin_editor.js',
+ js = [cms_static_url(path) for path in (
+ 'js/libs/jquery.ui.core.js',
+ 'js/libs/jquery.ui.sortable.js',
)]
css = {
- 'all': [join(settings.CMS_MEDIA_URL, path) for path in (
+ 'all': [cms_static_url(path) for path in (
'css/plugin_editor.css',
)]
}
@@ -217,4 +215,4 @@ def render(self, name, value, attrs=None):
#return mark_safe(render_to_string(
# 'admin/cms/page/widgets/plugin_editor.html', context))
return mark_safe(render_to_string(
- 'admin/cms/page/widgets/placeholder_editor.html', context, RequestContext(self.request)))
+ 'admin/cms/page/widgets/placeholder_editor.html', context, RequestContext(self.request)))
View
14 cms/management/commands/cms.py
@@ -14,12 +14,22 @@ class Command(SubcommandsCommand):
make_option('--noinput', action='store_false', dest='interactive', default=True,
help='Tells django-cms to NOT prompt the user for input of any kind. '),
)
+
+ args = '<subcommand>'
command_name = 'cms'
- help = 'Various django-cms commands'
subcommands = {
'uninstall': UninstallCommand,
'list': ListCommand,
'moderator': ModeratorCommand,
- }
+ }
+
+ @property
+ def help(self):
+ lines = ['django CMS command line interface.', '', 'Available subcommands:']
+ for subcommand in sorted(self.subcommands.keys()):
+ lines.append(' %s' % subcommand)
+ lines.append('')
+ lines.append('Use `manage.py cms <subcommand> --help` for help about subcommands')
+ return '\n'.join(lines)
View
4 cms/management/commands/subcommands/list.py
@@ -9,9 +9,9 @@ class ListApphooksCommand(NoArgsCommand):
help = 'Lists all apphooks in pages'
def handle_noargs(self, **options):
- urls = Title.objects.values_list("application_urls", flat=True)
+ urls = Title.objects.filter(application_urls__gt='').values_list("application_urls", flat=True)
for url in urls:
- self.stdout.write(url+'\n')
+ self.stdout.write('%s\n' % url)
class ListPluginsCommand(NoArgsCommand):
View
52 cms/media/cms/js/lib/jquery.backgroundposition.js
@@ -1,52 +0,0 @@
-(function($){
-
- if(!document.defaultView || !document.defaultView.getComputedStyle){
- var oldCurCSS = jQuery.curCSS;
- jQuery.curCSS = function(elem, name, force){
- if(name !== 'backgroundPosition' || !elem.currentStyle || elem.currentStyle[ name ]){
- return oldCurCSS.apply(this, arguments);
- }
- var style = elem.style;
- if ( !force && style && style[ name ] ){
- return style[ name ];
- }
- return oldCurCSS(elem, 'backgroundPositionX', force) +' '+ oldCurCSS(elem, 'backgroundPositionY', force);
- };
- }
-})(jQuery);
-
-(function($) {
-
- function toArray(strg){
- strg = strg.replace(/left|top/g,'0px');
- strg = strg.replace(/right|bottom/g,'100%');
- strg = strg.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");
- var res = strg.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);
- return [parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]];
- }
-
- $.fx.step. backgroundPosition = function(fx) {
- if (!fx.bgPosReady) {
-
- var start = $.curCSS(fx.elem,'backgroundPosition');
- if(!start){//FF2 no inline-style fallback
- start = '0px 0px';
- }
-
- start = toArray(start);
- fx.start = [start[0],start[2]];
-
- var end = toArray(fx.options.curAnim.backgroundPosition);
- fx.end = [end[0],end[2]];
-
- fx.unit = [end[1],end[3]];
- fx.bgPosReady = true;
- }
-
- var nowPosX = [];
- nowPosX[0] = ((fx.end[0] - fx.start[0]) * fx.pos) + fx.start[0] + fx.unit[0];
- nowPosX[1] = ((fx.end[1] - fx.start[1]) * fx.pos) + fx.start[1] + fx.unit[1];
- fx.elem.style.backgroundPosition = nowPosX[0]+' '+nowPosX[1];
-
- };
-})(jQuery);
View
96 cms/media/cms/js/lib/jquery.cookie.js
@@ -1,96 +0,0 @@
-/**
- * Cookie plugin
- *
- * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
- *
- */
-
-/**
- * Create a cookie with the given name and value and other optional parameters.
- *
- * @example $.cookie('the_cookie', 'the_value');
- * @desc Set the value of a cookie.
- * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
- * @desc Create a cookie with all available options.
- * @example $.cookie('the_cookie', 'the_value');
- * @desc Create a session cookie.
- * @example $.cookie('the_cookie', null);
- * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
- * used when the cookie was set.
- *
- * @param String name The name of the cookie.
- * @param String value The value of the cookie.
- * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
- * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
- * If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
- * If set to null or omitted, the cookie will be a session cookie and will not be retained
- * when the the browser exits.
- * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
- * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
- * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
- * require a secure protocol (like HTTPS).
- * @type undefined
- *
- * @name $.cookie
- * @cat Plugins/Cookie
- * @author Klaus Hartl/klaus.hartl@stilbuero.de
- */
-
-/**
- * Get the value of a cookie with the given name.
- *
- * @example $.cookie('the_cookie');
- * @desc Get the value of a cookie.
- *
- * @param String name The name of the cookie.
- * @return The value of the cookie.
- * @type String
- *
- * @name $.cookie
- * @cat Plugins/Cookie
- * @author Klaus Hartl/klaus.hartl@stilbuero.de
- */
-jQuery.cookie = function(name, value, options) {
- if (typeof value != 'undefined') { // name and value given, set cookie
- options = options || {};
- if (value === null) {
- value = '';
- options.expires = -1;
- }
- var expires = '';
- if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
- var date;
- if (typeof options.expires == 'number') {
- date = new Date();
- date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
- } else {
- date = options.expires;
- }
- expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
- }
- // CAUTION: Needed to parenthesize options.path and options.domain
- // in the following expressions, otherwise they evaluate to undefined
- // in the packed version for some reason...
- var path = options.path ? '; path=' + (options.path) : '';
- var domain = options.domain ? '; domain=' + (options.domain) : '';
- var secure = options.secure ? '; secure' : '';
- document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
- } else { // only name given, get cookie
- var cookieValue = null;
- if (document.cookie && document.cookie != '') {
- var cookies = document.cookie.split(';');
- for (var i = 0; i < cookies.length; i++) {
- var cookie = jQuery.trim(cookies[i]);
- // Does this cookie string begin with the name we want?
- if (cookie.substring(0, name.length + 1) == (name + '=')) {
- cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
- break;
- }
- }
- }
- return cookieValue;
- }
-};
View
4,376 cms/media/cms/js/lib/jquery.js
0 additions, 4,376 deletions not shown
View
11 cms/media/cms/js/lib/jquery.nyroModal-1.6.2.pack.js
@@ -1,11 +0,0 @@
-/*
- * nyroModal - jQuery Plugin
- * http://nyromodal.nyrodev.com
- *
- * Copyright (c) 2010 Cedric Nirousset (nyrodev.com)
- * Licensed under the MIT license
- *
- * $Date: 2010-02-23 (Tue, 23 Feb 2010) $
- * $version: 1.6.2
- */
-eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6o(k($){c 1F=6F.1F.2F();c 58=(1F.6i(/.+(?:7N|6h|7w|6g|44)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1];c 26=(/44/.22(1F)&&!/6g/.22(1F)&&6b(58)<7&&(!14.67||3Z(67)===\'k\'));c U=$(\'U\');c 4;c 4X;c 32=m;c W={};c 2r=m;c 2g;c 30;c 5={3W:m,1N:m,1q:m,16:m,2p:m,1G:m,1r:m,1K:m,3V:m,1B:m,1g:D,2a:D,1n:D,15:D,P:D,j:D,l:D,N:D,C:D,3S:1S 2X(),3R:1S 2X()};c 1o={8:m,b:m,2K:m};c 1j={8:D,b:D,2K:p};c 4M;$.1C.K=k(f){6(!R)u m;u R.3Q(k(){c 3P=$(R);6(R.3k.2F()==\'23\'){3P.1D(\'4J.K\').1Y(\'4J.K\',k(e){6(e.5E())u m;6(3P.L(\'4H\'))u p;6(R.5A==\'5y/23-L\'){1O($.Q(f,{E:R}));u p}e.1U();1O($.Q(f,{E:R}));u m})}q{3P.1D(\'1u.K\').1Y(\'1u.K\',k(e){6(e.5E())u m;e.1U();1O($.Q(f,{E:R}));u m})}})};$.1C.3O=k(f){6(!R.1i)1O(f);u R.3Q(k(){1O($.Q(f,{E:R}))})};$.3O=k(f){1O(f)};$.3N=k(f,1m,28){Z(f,1m,28);6(!1m&&5.3W){6(5.15&&f.2Y)4.3L(5,4,k(){});6(5.C&&f.O)4v();6(!5.1B&&(f.2K||(!5.1K&&((\'8\'3I f&&f.8==4.8)||(\'b\'3I f&&f.b==4.b))))){5.1K=p;6(5.C)3H(p);6(5.C&&5.C.6C(\':4q\')&&!5.2p){6(2r)5.l.o({12:\'\'});4.2A(5,4,k(){4.2K=m;5.1K=m;6(2r)5.l.o({12:\'4n\'});6($.1J(4.4k))4.4k(5,4)})}}}};$.7J=k(){1V()};$.2B=k(){c 2D=2W(1);6(2D)u 2D.3O(2L());u m};$.2I=k(){c 2D=2W(-1);6(2D)u 2D.3O(2L());u m};$.1C.K.f={H:m,1g:m,6j:p,5:m,F:\'\',3G:D,E:\'\',34:\'\',4h:D,3c:\'7M\',3F:\'K\',l:D,2Y:\'#6y\',21:{},1e:{6U:\'7p\'},8:D,b:D,4b:2n,4a:5I,5H:p,5D:p,1l:25,5s:\'[^\\.]\\.(74|7b|7c|7d|7e|7l)\\s*$\',5h:m,54:\'51\',5d:p,5c:p,W:D,59:\'<a 1a="#" 11="2I">6W</a><a 1a="#" 11="2B">72</a>\',2t:2t,6d:m,33:1p,1b:{15:{12:\'36\',1E:\'2b\',1f:0,1h:0,b:\'1p%\',8:\'1p%\'},N:{12:\'36\',1f:\'50%\',1h:\'50%\'},3i:{},l:{},P:{12:\'36\',1f:\'50%\',1h:\'50%\',V:\'-3A\',S:\'-3A\'}},3m:{v:\'<v 11="N"></v>\',21:\'<v 11="N"></v>\',23:\'<v 11="N"></v>\',4Q:\'<v 11="N"></v>\',1v:\'<v 11="76"></v>\',1e:\'<v 11="7a"></v>\',B:\'<v 11="5u"></v>\',3x:\'<v 11="5u"></v>\',6f:\'<v 11="N"></v>\'},5a:\'<a 1a="#" 11="3w" 1d="7E" O="7I">5X</a>\',O:D,5Q:p,4r:\'.K\',3v:\'.3w\',5r:\'<a 1a="#" 11="3w">6A</a>\',5q:\'1B\',60:\'6I 6K l 6N 6Q 6T.<3u />6V 5C 6X 6Y.<3u /><a 1a="#" 11="3w">5X</a>\',4T:D,3t:3t,2v:2v,4N:D,3s:3s,2f:D,4u:D,3b:3b,3r:3r,3q:3q,3p:3p,3f:3f,2A:2A,4k:D,3L:3L,1Z:D};k 1O(f){6(5.1G||5.1r||5.16)u;H(\'1O\');5.3W=p;4X=$.Q(p,f);4Z(f);6(!5.1n)5.2a=5.1g=D;5.1B=m;5.3V=m;5.1q=m;5.3S=1S 2X();5.3R=1S 2X();4.F=5w();6(4.3G){6(!4.l)4.E=p;4.F=4.3G;4.3G=D}6($.1J(4.4h))4.4h(4);c E=4.E;c t=4.t;1j.8=4.8;1j.b=4.b;6(4.F==\'1e\'){Z({1E:\'4q\'},\'1b\',\'l\');4.l=\'<4S 7O="7T:7K-6p-6s-6t-6w" 8="\'+4.8+\'" b="\'+4.b+\'"><3o 1c="6B" 2H="\'+t+\'"></3o>\';c j=\'\';$.3Q(4.1e,k(1c,4l){4.l+=\'<3o 1c="\'+1c+\'" 2H="\'+4l+\'"></3o>\';j+=\' \'+1c+\'="\'+4l+\'"\'});4.l+=\'<4C 1k="\'+t+\'" F="6M/x-6O-6P" 8="\'+4.8+\'" b="\'+4.b+\'"\'+j+\'></4C></4S>\'}6(E){c X=$(E).6R();6(4.F==\'23\'){c L=$(E).6S();L.3h({1c:4.3F,2H:1});6(4.19)L.3h({1c:4.3c,2H:4.19.1Q(1)});1x();$.21($.Q({},4.21,{t:t,L:L,F:X.I(\'5j\')?X.I(\'5j\'):\'3a\',5Z:4m,1B:1t}));H(\'4D 5P 2w: \'+X.I(\'2u\'))}q 6(4.F==\'4Q\'){1L();X.I(\'2s\',\'2c\');X.I(\'2u\',t);X.2Z(\'<48 F="2b" 1c="\'+4.3F+\'" 2H="1" />\');6(4.19)X.2Z(\'<48 F="2b" 1c="\'+4.3c+\'" 2H="\'+4.19.1Q(1)+\'" />\');5.j.M(\'<B 4c="0" 4e="0" 1c="2c" 1k="2y:\\\'\\\';"></B>\');$(\'B\',5.j).o({8:4.8,b:4.b}).1B(1t).2o(4j);H(\'4D 6m 2w: \'+X.I(\'2u\'));1x();1z()}q 6(4.F==\'1v\'){H(\'51 2w: \'+t);c O=X.I(\'O\')||4.54;1L();5.j.M(\'<2U 1d="6r" />\').29(\'2U\').I(\'5R\',O);5.j.o({5S:0});$(\'2U\',5.j).1B(1t).2o(k(){H(\'51 6x: \'+R.1k);$(R).1D(\'2o\');c w=5.j.8();c h=5.j.b();5.j.o({5S:\'\'});1o.8=w;1o.b=h;Z({8:w,b:h,4x:w,4y:h});1j.8=w;1j.b=h;Z({1E:\'4q\'},\'1b\',\'l\');5.1q=p;6(5.1G||5.1r)1z()}).I(\'1k\',t);1x()}q 6(4.F==\'3x\'){1L();5.j.M(\'<B 4c="0" 4e="0" 1k="2y:\\\'\\\';" 1c="2c" 1d="2c"></B>\');H(\'6l 4D 2w: \'+t);$(\'B\',5.j).2P(0).o({8:\'1p%\',b:$.5b.5f?\'5g%\':\'1p%\'}).2o(4B);5.1q=p;1x()}q 6(4.F==\'B\'){1L();5.j.M(\'<B 4c="0" 4e="0" 1k="2y:\\\'\\\';" 1c="2c" 1d="2c"></B>\');H(\'6l 2w: \'+t);$(\'B\',5.j).2P(0).o({8:\'1p%\',b:$.5b.5f?\'5g%\':\'1p%\'}).2o(4B);5.1q=p;1x()}q 6(4.F){H(\'5n: \'+4.F);1L();5.j.M(4.l);c w=5.j.8();c h=5.j.b();c v=$(4.F);6(v.1i){Z({F:\'v\'});w=v.8();h=v.b();6(2g)30=2g;2g=v;5.j.1A(v.24())}1j.8=w;1j.b=h;Z({8:w,b:h});6(5.j.M())5.1q=p;q 1t();6(!5.1N)1x();q 2x()}q{H(\'5P 2w: \'+t);Z({F:\'21\'});c L=4.21.L||{};6(4.19){6(3Z L=="4E"){L+=\'&\'+4.3c+\'=\'+4.19.1Q(1)}q{L[4.3c]=4.19.1Q(1)}}1x();$.21($.Q(p,4.21,{t:t,5Z:4m,1B:1t,L:L}))}}q 6(4.l){H(\'5n: \'+4.F);Z({F:\'6f\'});1L();5.j.M($(\'<v/>\').M(4.l).24());6(5.j.M())5.1q=p;q 1t();1x()}q{}}k 4Z(f){H(\'4Z\');4=$.Q(p,{},$.1C.K.f,f);3y()}k Z(f,1m,28){6(5.3W){6(1m&&28){$.Q(p,4[1m][28],f)}q 6(1m){$.Q(p,4[1m],f)}q{6(5.2p){6(\'8\'3I f){6(!5.1K){f.4L=f.8;32=p}3z f[\'8\']}6(\'b\'3I f){6(!5.1K){f.4O=f.b;32=p}3z f[\'b\']}}$.Q(p,4,f)}}q{6(1m&&28){$.Q(p,$.1C.K.f[1m][28],f)}q 6(1m){$.Q(p,$.1C.K.f[1m],f)}q{$.Q(p,$.1C.K.f,f)}}}k 4P(){6(26&&!5.1g){6(1X.4R){4.2m=1X.4R.61;4.2i=1X.4R.3B}q{4.2m=1X.U.61;4.2i=1X.U.3B}}q{4.2m=0;4.2i=0}}k 3y(){4P();4.S=-(4.8+4.4U)/2;4.V=-(4.b+4.4Y)/2;6(!5.1g){4.S+=4.2m;4.V+=4.2i}}k 3C(){4P();c 1M=2C(5.P);4.2S=-(5.P.b()+1M.h.18+1M.h.1l)/2;4.2Q=-(5.P.8()+1M.w.18+1M.w.1l)/2;6(!5.1g){4.2Q+=4.2m;4.2S+=4.2i}}k 4v(){c O=$(\'55#5l\',5.C);6(O.1i)O.5m(4.O);q 5.C.2Z(\'<55 1d="5l">\'+4.O+\'</55>\')}k 1L(){H(\'1L\');6(!5.1n){6(4.H)Z({7P:\'7Q\'},\'1b\',\'15\');c 1n={2O:4.33,12:\'4n\',1f:0,1h:0,8:\'1p%\',b:\'1p%\'};c 46=U;c 47=\'\';6(4.1g){5.1g=46=$(4.1g);c 2N=5.1g.6q();c w=5.1g.5t();c h=5.1g.3D();6(26){Z({b:\'1p%\',8:\'1p%\',1f:0,1h:0},\'1b\',\'15\')}5.2a={1f:2N.1f,1h:2N.1h,8:w,b:h};c 5v=(/44/.22(1F)?0:17(U.3a(0),\'5x\'));c 5z=(/44/.22(1F)?0:17(U.3a(0),\'5B\'));1n={12:\'36\',1f:2N.1f+5v,1h:2N.1h+5z,8:w,b:h}}q 6(26){U.o({S:0,49:0});c w=U.8();c h=$(14).b()+\'G\';6($(14).b()>=U.3D()){h=U.3D()+\'G\'}q w+=20;w+=\'G\';U.o({8:w,b:h,12:\'6E\',1E:\'2b\'});$(\'M\').o({1E:\'2b\'});Z({1b:{15:{12:\'36\',2O:4.33+1,b:\'5G%\',8:\'5G%\',1f:4.2i+\'G\',1h:4.2m+\'G\'},N:{2O:4.33+2},P:{2O:4.33+3}}});47=$(\'<B 1d="6H" 1k="2y:\\\'\\\';"></B>\').o($.Q({},4.1b.15,{1s:0,2O:50,18:\'3l\'}))}46.1A($(\'<v 1d="5J"><v 1d="5K"></v><v 1d="5L"><v 1d="5M"></v></v><v 1d="5N"></v><v 1d="5O"></v></v>\').13());5.1n=$(\'#5J\').o(1n).2j();5.15=$(\'#5K\').o($.Q({3E:4.2Y},4.1b.15)).4d(47);5.15.1Y(\'1u.K\',5T);5.P=$(\'#5O\').o(4.1b.P).13();5.C=$(\'#5L\').o(4.1b.N).13();5.l=$(\'#5M\');5.j=$(\'#5N\').13();6($.1J($.1C.5V)){5.l.5V(k(e,d){c 35=5.l.3a(0);6((d>0&&35.3B==0)||(d<0&&35.6Z-35.3B==35.70)){e.1U();e.71()}})}$(1X).1Y(\'4f.K\',4g);5.l.o({8:\'1I\',b:\'1I\'});5.C.o({8:\'1I\',b:\'1I\'});6(!4.1g&&4.6j){$(14).1Y(\'2A.K\',k(){14.78(4M);4M=14.79(68,69)})}}}k 68(){$.3N(1j)}k 1x(){H(\'1x\');6(!5.1N){1L();5.16=p;4.3t(5,4,4i)}q{5.16=p;5.1r=p;4.3r(5,4,k(){2x();5.16=m;1z()})}}k 5T(e){6(!4.5)1V()}k 4g(e){6(e.31==27){6(!4.5)1V()}q 6(4.W&&5.1N&&5.1q&&!5.16&&!5.1r){6(e.31==39||e.31==40){e.1U();$.2B();u m}q 6(e.31==37||e.31==38){e.1U();$.2I();u m}}}k 5w(){c E=4.E;c t;6(E&&E.3k){c X=$(E);t=X.I(E.3k.2F()==\'23\'?\'2u\':\'1a\');6(!t)t=1P.1a.1Q(14.1P.7k.1i+7);4.t=t;6(X.I(\'6k\')==\'5\')4.5=p;4.O=X.I(\'O\');6(E&&E.1w&&E.1w.2F()!=\'7v\'){c 4K=E.1w.3n(\' \');4.W=4K>0?E.1w.7H(0,4K):E.1w}c 2G=4o(t,E);6(2G)u 2G;6(4p(t))u\'1e\';c B=m;6(E.2s&&E.2s.2F()==\'5e\'||(E.3e&&E.3e.2e(/:\\d*$/,\'\')!=14.1P.3e.2e(/:\\d*$/,\'\'))){B=p}6(E.3k.2F()==\'23\'){6(B)u\'3x\';Z(4s(t));6(X.I(\'5A\')==\'5y/23-L\')u\'4Q\';u\'23\'}6(B)u\'B\'}q{t=4.t;6(!4.l)4.E=p;6(!t)u D;6(4p(t))u\'1e\';c 5i=1S 4t("^5k://|6n://","g");6(t.6i(5i))u\'B\'}c 2G=4o(t,E);6(2G)u 2G;c j=4s(t);Z(j);6(!j.t)u j.19}k 4o(t,E){c 1v=1S 4t(4.5s,\'i\');6(1v.22(t)){u\'1v\'}}k 4p(t){c 1e=1S 4t(\'[^\\.]\\.(1e)\\s*$\',\'i\');u 1e.22(t)}k 4s(t){c J={t:D,19:D};6(t){c 34=4w(t);c 5o=4w(14.1P.1a);c 5p=14.1P.1a.1Q(0,14.1P.1a.1i-5o.1i);c 3J=t.1Q(0,t.1i-34.1i);6(3J==5p||3J==$(\'6u\').I(\'1a\')){J.19=34}q{J.t=3J;J.19=34}}u J}k 1t(){H(\'1t\');5.1B=p;6(!5.1N)u;6($.1J(4.4T))4.4T(5,4);5.P.6v(4.5q).M(4.60);$(4.3v,5.P).1D(\'1u.K\').1Y(\'1u.K\',1V);3C();5.P.o({V:4.2S+\'G\',S:4.2Q+\'G\'})}k 3K(){H(\'3K\');6(!5.j.M())u;5.l.M(5.j.24());5.j.4z();4A();6(4.F==\'3x\'){$(4.E).I(\'2s\',\'2c\').L(\'4H\',1).4J().I(\'2s\',\'5e\').6z(\'4H\')}6(!4.5)5.N.2Z(4.5a);6($.1J(4.4N))4.4N(5,4);5.l.1A(5.3S);$(4.3v,5.C).1D(\'1u.K\').1Y(\'1u.K\',1V);$(4.4r,5.C).K(2L())}k 2L(){u 4X;c 1T=$.Q(p,{},4);6(1o.8)1T.8=D;q 1T.8=1j.8;6(1o.b)1T.b=D;q 1T.b=1j.b;1T.1b.l.1E=\'1I\';u 1T}k 4A(){H(\'4A\');c 3m=$(4.3m[4.F]);5.l.1A(3m.3M().2h());5.C.6D(3m);6(4.W){5.l.1A(4.59);W.1R=$(\'[1w="\'+4.W+\'"], [1w^="\'+4.W+\' "]\');W.1H=W.1R.1H(4.E);6(4.2t&&$.1J(4.2t))4.2t(W.1H+1,W.1R.1i,5,4);c 1T=2L();c 4F=2W(-1);6(4F){c 2l=$(\'.2I\',5.C).I(\'1a\',4F.I(\'1a\')).1u(k(e){e.1U();$.2I();u m});6(26&&4.F==\'1e\'){2l.4d($(\'<B 1d="6G" 1k="2y:\\\'\\\';"></B>\').o({12:2l.o(\'12\'),1f:2l.o(\'1f\'),1h:2l.o(\'1h\'),8:2l.8(),b:2l.b(),1s:0,18:\'3l\'}))}}q{$(\'.2I\',5.C).2h()}c 4G=2W(1);6(4G){c 2d=$(\'.2B\',5.C).I(\'1a\',4G.I(\'1a\')).1u(k(e){e.1U();$.2B();u m});6(26&&4.F==\'1e\'){2d.4d($(\'<B 1d="6J" 1k="2y:\\\'\\\';"></B>\').o($.Q({},{12:2d.o(\'12\'),1f:2d.o(\'1f\'),1h:2d.o(\'1h\'),8:2d.8(),b:2d.b(),1s:0,18:\'3l\'})))}}q{$(\'.2B\',5.C).2h()}}3H()}k 2W(4I){6(4.W){6(!4.5c)4I*=-1;c 1H=W.1H+4I;6(1H>=0&&1H<W.1R.1i)u W.1R.2P(1H);q 6(4.6d){6(1H<0)u W.1R.2P(W.1R.1i-1);q u W.1R.2P(0)}}u m}k 3H(1K){H(\'3H\');5.N=5.C.3M(\'v:6L\');1o.8=m;1o.b=m;6(m&&!4.2K){1j.8=4.8;1j.b=4.b}6(4.5D&&(!4.8||!4.b)){5.C.o({1s:0,8:\'1I\',b:\'1I\'}).2j();c j={8:\'1I\',b:\'1I\'};6(4.8){j.8=4.8}q 6(4.F==\'B\'){j.8=4.4b}6(4.b){j.b=4.b}q 6(4.F==\'B\'){j.b=4.4a}5.l.o(j);6(!4.8){4.8=5.l.5t(p);1o.8=p}6(!4.b){4.b=5.l.3D(p);1o.b=p}5.C.o({1s:1});6(!1K)5.C.13()}6(4.F!=\'1v\'&&4.F!=\'1e\'){4.8=2k.5F(4.8,4.4b);4.b=2k.5F(4.b,4.4a)}c 3j=2C(5.C);c 3g=2C(5.N);c 1y=2C(5.l);c j={l:{8:4.8,b:4.b},3i:{8:4.8+1y.w.Y,b:4.b+1y.h.Y},N:{8:4.8+1y.w.Y+3g.w.Y,b:4.b+1y.h.Y+3g.h.Y}};6(4.5H){c 2T=5.2a?5.2a.b:$(14).b()-3j.h.18-(j.N.b-4.b);c 2J=5.2a?5.2a.8:$(14).8()-3j.w.18-(j.N.8-4.8);2T-=4.1l*2;2J-=4.1l*2;6(j.l.b>2T||j.l.8>2J){6(4.F==\'1v\'||4.F==\'1e\'){c 3T=4.4x?4.4x:4.8;c 3U=4.4y?4.4y:4.b;c 3d=j.l.8-3T;c 2V=j.l.b-3U;6(2V<0)2V=0;6(3d<0)3d=0;c 3X=2T-2V;c 3Y=2J-3d;c 4V=2k.4W(3X/3U,3Y/3T);3Y=2k.5U(3T*4V);3X=2k.5U(3U*4V);j.l.b=3X+2V;j.l.8=3Y+3d}q{j.l.b=2k.4W(j.l.b,2T);j.l.8=2k.4W(j.l.8,2J)}j.3i={8:j.l.8+1y.w.Y,b:j.l.b+1y.h.Y};j.N={8:j.l.8+1y.w.Y+3g.w.Y,b:j.l.b+1y.h.Y+3g.h.Y}}}6(4.F==\'1e\'){$(\'4S, 4C\',5.l).I(\'8\',j.l.8).I(\'b\',j.l.b)}q 6(4.F==\'1v\'){$(\'2U\',5.l).o({8:j.l.8,b:j.l.b})}5.l.o($.Q({},j.l,4.1b.l));5.N.o($.Q({},j.3i,4.1b.3i));6(!1K)5.C.o($.Q({},j.N,4.1b.N));6(4.F==\'1v\'&&4.5h){$(\'2U\',5.l).73(\'5R\');c 1W=$(\'v\',5.l);6(4.O!=4.54&&4.O){6(1W.1i==0){1W=$(\'<v>\'+4.O+\'</v>\');5.l.1A(1W)}6(4.5d){c 5W=2C(1W);1W.o({8:(j.l.8+1y.w.1l-5W.w.Y)+\'G\'})}}q 6(1W.1i=0){1W.2h()}}6(4.O)4v();j.N.4U=3j.w.18;j.N.4Y=3j.h.18;Z(j.N);3y()}k 1V(e){H(\'1V\');6(e)e.1U();6(5.1n&&5.1N){$(1X).1D(\'4f.K\');6(!4.1g)$(14).1D(\'2A.K\');5.1N=m;5.16=p;5.3V=p;6(5.1G||5.1r){4.3f(5,4,k(){5.P.13();5.1G=m;5.1r=m;4.2v(5,4,1Z)})}q{6(2r)5.l.o({12:\'\'});5.N.o({1E:\'2b\'});5.l.o({1E:\'2b\'});$(\'B\',5.l).13();6($.1J(4.4u)){4.4u(5,4,k(){4.3b(5,4,k(){2x();4.2v(5,4,1Z)})})}q{4.3b(5,4,k(){2x();4.2v(5,4,1Z)})}}}6(e)u m}k 1z(){H(\'1z\');6(5.1N&&!5.16){6(5.1q){6(5.j.M()){5.16=p;6(5.1r){3K();5.2p=p;4.3q(5,4,k(){5.P.13();5.1r=m;5.1G=m;2f()})}q{4.3f(5,4,k(){5.P.13();5.1G=m;3K();3C();3y();5.2p=p;4.3s(5,4,2f)})}}}q 6(!5.1G&&!5.1r){5.16=p;5.1G=p;6(5.1B)1t();q 5.P.M(4.5r);$(4.3v,5.P).1D(\'1u.K\').1Y(\'1u.K\',1V);3C();4.3p(5,4,k(){5.16=m;1z()})}}}k 4m(L){H(\'77: \'+R.t);6(4.19){c j={};c i=0;L=L.2e(/\\r\\n/2R,\'5Y\').2e(/<41(.|\\s)*?\\/41>/2R,k(x){j[i]=x;u\'<42 52="62: 3l" 11=63 1w="\'+(i++)+\'"></42>\'});L=$(\'<v>\'+L+\'</v>\').29(4.19).M().2e(/<42 52="62: 3l;?" 11="?63"? 1w="(.?)"><\\/42>/2R,k(x,y,z){u j[y]}).2e(/5Y/2R,"\\r\\n")}5.j.M(64(L));6(5.j.M()){5.1q=p;1z()}q 1t()}k 4j(){H(\'4j\');c X=$(4.E);X.I(\'2u\',X.I(\'2u\')+4.19);X.I(\'2s\',\'\');$(\'48[1c=\'+4.3F+\']\',4.E).2h();c B=5.j.3M(\'B\');c 65=B.1D(\'2o\').24().29(4.19||\'U\').7f(\'41[1k]\');B.I(\'1k\',\'7g:7h\');5.j.M(65.M());6(5.j.M()){5.1q=p;1z()}q 1t()}k 4B(){6((14.1P.3e&&4.t.3n(14.1P.3e)>-1)||4.t.3n(\'5k://\')){c B=$(\'B\',5.1n).24();c j={};6(4.5Q){j.O=B.29(\'O\').5m();6(!j.O){5C{j.O=B.29(\'O\').M()}7i(7j){}}}c U=B.29(\'U\');6(!4.b&&U.b())j.b=U.b();6(!4.8&&U.8())j.8=U.8();$.Q(1j,j);$.3N(j)}}k 2t(66,Y,A,f){6(Y>1)f.O+=(f.O?\' - \':\'\')+66+\'/\'+Y}k 2x(){H(\'2x\');5.16=m;6(30){30.1A(5.l.24());30=D}q 6(2g){2g.1A(5.l.24());2g=D}5.l.4z();W={};5.C.13().3M().2h().4z().I(\'52\',\'\').13();6(5.3V||5.1r)5.C.13();5.C.o(4.1b.N).1A(5.l);1z()}k 1Z(){H(\'1Z\');$(1X).1D(\'4f\',4g);5.16=m;5.1n.2h();5.1n=D;6(26){U.o({b:\'\',8:\'\',12:\'\',1E:\'\',S:\'\',49:\'\'});$(\'M\').o({1E:\'\'})}6($.1J(4.1Z))4.1Z(5,4)}k 4i(){H(\'4i\');5.1N=p;5.16=m;1z()}k 2f(){H(\'2f\');5.16=m;5.2p=m;5.C.o({1s:\'\'});2r=/7m/.22(1F)&&!/(7n|6h)/.22(1F)&&7o(58)<1.9&&4.F!=\'1v\';6(2r)5.l.o({12:\'4n\'});5.l.1A(5.3R);6(4.F==\'B\')5.l.29(\'B\').I(\'1k\',4.t);6($.1J(4.2f))4.2f(5,4);6(32){32=m;$.3N({8:4.4L,b:4.4O});3z 4[\'4L\'];3z 4[\'4O\']}6(1o.8)Z({8:D});6(1o.b)Z({b:D})}k 4w(t){6(3Z t==\'4E\'){c 53=t.3n(\'#\');6(53>-1)u t.1Q(53)}u\'\'}k 64(L){6(3Z L==\'4E\')L=L.2e(/<\\/?(M|7q|U)([^>]*)>/2R,\'\');c j=1S 2X();$.3Q($.7r({0:L},R.7s),k(){6($.3k(R,"41")){6(!R.1k||$(R).I(\'1w\')==\'7t\'){6($(R).I(\'6k\')==\'7u\')5.3R.3h(R);q 5.3S.3h(R)}}q j.3h(R)});u j}k 2C(10){10=10.3a(0);c J={h:{43:17(10,\'V\')+17(10,\'7x\'),18:17(10,\'5x\')+17(10,\'7y\'),1l:17(10,\'7z\')+17(10,\'7A\')},w:{43:17(10,\'S\')+17(10,\'49\'),18:17(10,\'5B\')+17(10,\'7B\'),1l:17(10,\'7C\')+17(10,\'7D\')}};J.h.1M=J.h.43+J.h.18;J.w.1M=J.w.43+J.w.18;J.h.6a=J.h.1l+J.h.18;J.w.6a=J.w.1l+J.w.18;J.h.Y=J.h.1M+J.h.1l;J.w.Y=J.w.1M+J.w.1l;u J}k 17(10,1c){c J=6b($.7F(10,1c,p));6(7G(J))J=0;u J}k H(2M){6($.1C.K.f.H||4&&4.H)6c(2M,5,4||{})}k 3t(A,f,T){A.15.o({1s:0}).6e(7L,0.75,T)}k 2v(A,f,T){A.15.56(5I,T)}k 3p(A,f,T){A.P.o({V:f.2S+\'G\',S:f.2Q+\'G\',1s:0}).2j().2q({1s:1},{2z:T,2E:2n})}k 3f(A,f,T){T()}k 3s(A,f,T){A.P.o({V:f.2S+\'G\',S:f.2Q+\'G\'}).2j().2q({8:f.8+\'G\',b:f.b+\'G\',V:f.V+\'G\',S:f.S+\'G\'},{2E:57,2z:k(){A.C.o({8:f.8+\'G\',b:f.b+\'G\',V:f.V+\'G\',S:f.S+\'G\'}).2j();A.P.56(69,T)}})}k 3b(A,f,T){A.C.2q({b:\'3A\',8:\'3A\',V:(-(25+f.4Y)/2+f.2i)+\'G\',S:(-(25+f.4U)/2+f.2m)+\'G\'},{2E:57,2z:k(){A.C.13();T()}})}k 3r(A,f,T){A.P.o({V:A.C.o(\'V\'),S:A.C.o(\'S\'),b:A.C.o(\'b\'),8:A.C.o(\'8\'),1s:0}).2j().6e(2n,1,k(){A.C.13();T()})}k 3q(A,f,T){A.C.13().o({8:f.8+\'G\',b:f.b+\'G\',S:f.S+\'G\',V:f.V+\'G\',1s:1});A.P.2q({8:f.8+\'G\',b:f.b+\'G\',S:f.S+\'G\',V:f.V+\'G\'},{2z:k(){A.C.2j();A.P.56(2n,k(){A.P.13();T()})},2E:57})}k 2A(A,f,T){A.C.2q({8:f.8+\'G\',b:f.b+\'G\',S:f.S+\'G\',V:f.V+\'G\'},{2z:T,2E:2n})}k 3L(A,f,T){6(!$.7R.7S.3E){A.15.o({3E:f.2Y});T()}q A.15.2q({3E:f.2Y},{2z:T,2E:2n})}$($.1C.K.f.4r).K()});c 45=\'\';k 6c(2M,A,f){6(A.1n&&A.15){A.15.2Z(2M+\'<3u />\'+45);45=\'\'}q 45+=2M+\'<3u />\'}',62,490,'||||currentSettings|modal|if||width|||height|var|||settings||||tmp|function|content|false||css|true|else|||url|return|div|||||elts|iframe|contentWrapper|null|from|type|px|debug|attr|ret|nyroModal|data|html|wrapper|title|loading|extend|this|marginLeft|callback|body|marginTop|gallery|jFrom|total|setCurrentSettings|elm|class|position|hide|window|bg|anim|getCurCSS|border|selector|href|cssOpt|name|id|swf|top|blocker|left|length|initSettingsSize|src|padding|deep1|full|resized|100|dataReady|transition|opacity|loadingError|click|image|rel|showModal|outerContent|showContentOrLoading|append|error|fn|unbind|overflow|userAgent|loadingShown|index|auto|isFunction|resizing|initModal|outer|ready|processModal|location|substring|links|new|currentSettingsNew|preventDefault|removeModal|divTitle|document|bind|endRemove||ajax|test|form|contents||isIE6||deep2|find|blockerVars|hidden|nyroModalIframe|next|replace|endShowContent|contentElt|remove|marginScrollTop|show|Math|prev|marginScrollLeft|400|load|animContent|animate|fixFF|target|galleryCounts|action|hideBackground|Load|endHideContent|javascript|complete|resize|nyroModalNext|getOuter|link|duration|toLowerCase|imgType|value|nyroModalPrev|maxWidth|windowResizing|getCurrentSettingsNew|msg|pos|zIndex|eq|marginLeftLoading|gi|marginTopLoading|maxHeight|img|diffH|getGalleryLink|Array|bgColor|prepend|contentEltLast|keyCode|shouldResize|zIndexStart|hash|elt|absolute||||get|hideContent|selIndicator|diffW|hostname|hideLoading|outerWrapper2|push|wrapper2|outerWrapper|nodeName|none|wrap|indexOf|param|showLoading|hideTransition|showTransition|showContent|showBackground|br|closeSelector|nyroModalClose|iframeForm|setMargin|delete|50px|scrollTop|setMarginLoading|outerHeight|backgroundColor|formIndicator|forceType|calculateSize|in|req|fillContent|updateBgColor|children|nyroModalSettings|nyroModalManual|me|each|scriptsShown|scripts|useW|useH|closing|started|calcH|calcW|typeof||script|pre|margin|msie|tmpDebug|contain|iframeHideIE|input|marginRight|minHeight|minWidth|frameborder|before|hspace|keydown|keyHandler|processHandler|endBackground|formDataLoaded|endResize|val|ajaxLoaded|fixed|imageType|isSwf|visible|openSelector|extractUrlSel|RegExp|beforeHideContent|setTitle|getHash|imgWidth|imgHeight|empty|wrapContent|iframeLoaded|embed|Form|string|linkPrev|linkNext|nyroModalprocessing|dir|submit|indexSpace|setWidth|windowResizeTimeout|endFillContent|setHeight|setMarginScroll|formData|documentElement|object|handleError|borderW|ratio|min|callingSettings|borderH|setDefaultCurrentSettings||Image|style|hashPos|defaultImgAlt|h1|fadeOut|350|browserVersion|galleryLinks|closeButton|support|ltr|setWidthImgTitle|_blank|boxModel|99|addImageDivTitle|reg1|method|http|nyroModalTitle|text|Content|hashLoc|curLoc|errorClass|contentLoading|regexImg|outerWidth|wrapperIframe|plusTop|fileType|borderTopWidth|multipart|plusLeft|enctype|borderLeftWidth|try|autoSizable|isDefaultPrevented|max|110|resizable|300|nyroModalFull|nyroModalBg|nyroModalWrapper|nyroModalContent|nyrModalTmp|nyroModalLoading|Ajax|titleFromIframe|alt|lineHeight|clickBg|floor|mousewheel|outerDivTitle|Close|nyroModalLN|success|contentError|scrollLeft|display|nyroModalScript|filterScripts|iframeContent|nb|XMLHttpRequest|windowResizeHandler|200|inner|parseInt|nyroModalDebug|galleryLoop|fadeTo|manual|opera|webkit|match|windowResize|rev|Iframe|Data|https|jQuery|AE6D|offset|nyroModalImg|11cf|96B8|base|addClass|444553540000|Loaded|000000|removeData|Cancel|movie|is|wrapInner|static|navigator|nyroModalIframeHideIeGalleryPrev|nyroModalIframeHideIe|The|nyroModalIframeHideIeGalleryNext|requested|first|application|cannot|shockwave|flash|be|blur|serializeArray|loaded|wmode|Please|Prev|again|later|scrollHeight|clientHeight|stopPropagation|Next|removeAttr|jpg||wrapperImg|AjaxLoaded|clearTimeout|setTimeout|wrapperSwf|jpeg|png|tiff|gif|not|about|blank|catch|err|host|bmp|mozilla|compatible|parseFloat|transparent|head|clean|ownerDocument|forceLoad|shown|nofollow|khtml|marginBottom|borderBottomWidth|paddingTop|paddingBottom|borderRightWidth|paddingLeft|paddingRight|closeBut|curCSS|isNaN|substr|close|nyroModalRemove|D27CDB6E|500|nyroModalSel|rv|classid|color|white|fx|step|clsid'.split('|'),0,{}))
View
66 cms/media/cms/js/plugins/jquery.ui.core.js
@@ -1,66 +0,0 @@
-/*!
- * jQuery UI 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI
- */
-(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.11",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
-NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
-"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
-if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
-"border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h,
-d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}});
-c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&
-b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
-;/*!
- * jQuery UI Widget 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Widget
- */
-(function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h,
-a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h;
-e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options,
-this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},
-widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
-enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
-;/*!
- * jQuery UI Mouse 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Mouse
- *
- * Depends:
- * jquery.ui.widget.js
- */
-(function(b){b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+".preventClickEvent")){b.removeData(c.target,a.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
-a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,e=a.which==1,f=typeof this.options.cancel=="string"?b(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
-this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(d){return c._mouseMove(d)};this._mouseUpDelegate=function(d){return c._mouseUp(d)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=
-true}},_mouseMove:function(a){if(b.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);
-if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
-;/*
- * jQuery UI Position 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Position
- */
-(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY,
-left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+=
-k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-=
-m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left=
-d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+=
-a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b),
-g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
-;
View
51 cms/media/cms/js/plugins/jquery.ui.draggable.js
@@ -1,51 +0,0 @@
-/*
- * jQuery UI Draggable 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Draggables
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.mouse.js
- * jquery.ui.widget.js
- */
-(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper==
-"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b=
-this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;return true},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-
-this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions();
-d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||
-this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&&
-this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",a)!==false&&this._clear();return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==
-a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone():this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||
-0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],
-this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-
-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),
-height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?
-document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var b=d(a.containment)[0];if(b){a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),
-10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0),a.top+(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0),a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),
-10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]}}else if(a.containment.constructor==Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&
-d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],
-this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left<this.containment[0])e=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])e=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=
-this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;e=this.originalPageX+Math.round((e-this.originalPageX)/b.grid[0])*b.grid[0];e=this.containment?!(e-this.offset.click.left<this.containment[0]||e-this.offset.click.left>this.containment[2])?
-e:!(e-this.offset.click.left<this.containment[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():
-f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,
-offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.11"});d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var g=d.data(this,"sortable");if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g.refreshPositions();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},
-b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=
-d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};
-a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&
-this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",
-{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","iframeFix",{start:function(){var a=d(this).data("draggable").options;d(a.iframeFix===true?"iframe":a.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+
-"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})},stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",
-a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+
-c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<
-c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+
-c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable","snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),
-f=c.options,e=f.snapTolerance,g=b.offset.left,n=g+c.helperProportions.width,m=b.offset.top,o=m+c.helperProportions.height,h=c.snapElements.length-1;h>=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e<g&&g<k+e&&j-e<m&&m<l+e||i-e<g&&g<k+e&&j-e<o&&o<l+e||i-e<n&&n<k+e&&j-e<m&&m<l+e||i-e<n&&n<k+e&&j-e<o&&o<l+e){if(f.snapMode!="inner"){var p=Math.abs(j-o)<=e,q=Math.abs(l-m)<=e,r=Math.abs(i-n)<=e,s=Math.abs(k-g)<=e;if(p)b.position.top=
-c._convertPositionTo("relative",{top:j-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:l,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k}).left-c.margins.left}var t=p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(j-m)<=e;q=Math.abs(l-o)<=e;r=Math.abs(i-g)<=e;s=Math.abs(k-n)<=e;if(p)b.position.top=
-c._convertPositionTo("relative",{top:j,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:l-c.helperProportions.height,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[h].snapping&&(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),
-{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=p||q||r||s||t}else{c.snapElements[h].snapping&&c.options.snap.release&&c.options.snap.release.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=
-parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery);
-;
View
27 cms/media/cms/js/plugins/jquery.ui.droppable.js
@@ -1,27 +0,0 @@
-/*
- * jQuery UI Droppable 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * http://docs.jquery.com/UI/Droppables
- *
- * Depends:
- * jquery.ui.core.js
- * jquery.ui.widget.js
- * jquery.ui.mouse.js
- * jquery.ui.draggable.js
- */
-(function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};d.ui.ddmanager.droppables[a.scope]=d.ui.ddmanager.droppables[a.scope]||[];d.ui.ddmanager.droppables[a.scope].push(this);
-a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var a=d.ui.ddmanager.droppables[this.options.scope],b=0;b<a.length;b++)a[b]==this&&a.splice(b,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(a,b){if(a=="accept")this.accept=d.isFunction(b)?b:function(c){return c.is(b)};d.Widget.prototype._setOption.apply(this,arguments)},_activate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&
-this.element.addClass(this.options.activeClass);b&&this._trigger("activate",a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);b&&this._trigger("deactivate",a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);
-this._trigger("over",a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var g=
-d.data(this,"droppable");if(g.options.greedy&&!g.options.disabled&&g.options.scope==c.options.scope&&g.accept.call(g.element[0],c.currentItem||c.element)&&d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",
-a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:"1.8.11"});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
-switch(c){case "fit":return i<=e&&g<=k&&j<=f&&h<=l;case "intersect":return i<e+a.helperProportions.width/2&&g-a.helperProportions.width/2<k&&j<f+a.helperProportions.height/2&&h-a.helperProportions.height/2<l;case "pointer":return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case "touch":return(f>=j&&f<=l||h>=j&&h<=l||f<j&&h>l)&&(e>=
-i&&e<=k||g>=i&&g<=k||e<i&&g>k);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f<c.length;f++)if(!(c[f].options.disabled||a&&!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h<g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css("display")!=
-"none";if(c[f].visible){e=="mousedown"&&c[f]._activate.call(c[f],b);c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight}}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||
-a.element)){this.isout=1;this.isover=0;this._deactivate.call(this,b)}}});return c},drag:function(a,b){a.options.refreshPositions&&d.ui.ddmanager.prepareOffsets(a,b);d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var c=d.ui.intersect(a,this,this.options.tolerance);if(c=!c&&this.isover==1?"isout":c&&this.isover==0?"isover":null){var e;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");if(g.length){e=
-d.data(g[0],"droppable");e.greedyChild=c=="isover"?1:0}}if(e&&c=="isover"){e.isover=0;e.isout=1;e._out.call(e,b)}this[c]=1;this[c=="isout"?"isover":"isout"]=0;this[c=="isover"?"_over":"_out"].call(this,b);if(e&&c=="isout"){e.isout=0;e.isover=1;e._over.call(e,b)}}}})}}})(jQuery);
-;
View
24 cms/models/placeholdermodel.py
@@ -1,12 +1,13 @@
# -*- coding: utf-8 -*-
-import operator
-
+from cms.utils.helpers import reversion_register
+from cms.utils.placeholder import PlaceholderNoAction
+from django.core.urlresolvers import reverse
from django.db import models
from django.forms.widgets import Media
from django.utils.translation import ugettext_lazy as _
+import operator
+
-from cms.utils.helpers import reversion_register
-from cms.utils.placeholder import PlaceholderNoAction
class Placeholder(models.Model):
slot = models.CharField(_("slot"), max_length=50, db_index=True, editable=False)
@@ -17,6 +18,21 @@ class Meta:
def __unicode__(self):
return self.slot
+
+ def get_add_url(self):
+ return self._get_url('add_plugin')
+
+ def get_changelist_url(self):
+ return self._get_url('changelist')
+
+ def _get_url(self, key):
+ model = self._get_attached_model()
+ if not model:
+ return reverse('admin:cms_page_%s' % key)
+ else:
+ app_label = model._meta.app_label
+ model_name = model.__name__.lower()
+ return reverse('admin:%s_%s_%s' % (app_label, model_name, key))
def _get_permission(self, request, key):
"""
View
2  cms/plugins/file/cms_plugins.py
@@ -20,6 +20,6 @@ def render(self, context, instance, placeholder):
def icon_src(self, instance):
file_icon = instance.get_icon_url()
if file_icon: return file_icon
- return settings.CMS_MEDIA_URL + u"images/plugins/file.png"
+ return settings.STATIC_URL + u"cms/images/plugins/file.png"
plugin_pool.register_plugin(FilePlugin)
View
4 cms/plugins/file/models.py
@@ -26,8 +26,8 @@ class File(CMSPlugin):
# CMS_ICON_EXTENSIONS and CMS_ICON_PATH are assumed to be plugin-specific, and not included in cms.settings
# -- they are therefore imported from django.conf.settings
ICON_EXTENSIONS = getattr(settings, "CMS_FILE_ICON_EXTENSIONS", ('gif', 'png'))
- ICON_PATH = getattr(settings, "CMS_FILE_ICON_PATH", os.path.join(settings.CMS_MEDIA_ROOT, "images", "file_icons"))
- ICON_URL = getattr(settings, "CMS_FILE_ICON_URL", "%s%s/%s/" % (settings.CMS_MEDIA_URL, "images", "file_icons"))
+ ICON_PATH = getattr(settings, "CMS_FILE_ICON_PATH", os.path.join(settings.STATIC_ROOT, "cms", "images", "file_icons"))
+ ICON_URL = getattr(settings, "CMS_FILE_ICON_URL", "%s%s/%s/%s/" % (settings.STATIC_URL, "cms", "images", "file_icons"))
def get_icon_url(self):
path_base = os.path.join(self.ICON_PATH, self.get_ext())
View
8 cms/plugins/flash/templates/cms/plugins/flash.html
@@ -1,5 +1,5 @@
{% load i18n sekizai_tags %}
-{% addtoblock "js" %}<script type="text/javascript" src="{{ CMS_MEDIA_URL }}js/libs/swfobject.min.js"></script>{% endaddtoblock %}
+{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}cms/js/libs/swfobject.min.js"></script>{% endaddtoblock %}
{% addtoblock "js" %}
<script type="text/javascript">
//<![CDATA[
@@ -12,7 +12,7 @@
name: 'flash-plugin-name-{{ object.id }}'
};
// replace flash_plugin object through swfobject
- swfobject.embedSWF('{{ object.file.url }}', 'flash-plugin-{{ object.id }}', '{{ object.get_width }}', '{{ object.get_height }}', '9', '{{ CMS_MEDIA_URL }}swf/expressInstall.swf', flashvars, params, attributes);
+ swfobject.embedSWF('{{ object.file.url }}', 'flash-plugin-{{ object.id }}', '{{ object.get_width }}', '{{ object.get_height }}', '9', '{{ STATIC_URL }}cms/swf/expressInstall.swf', flashvars, params, attributes);
})();
//]]>
</script>
@@ -39,11 +39,11 @@
<!-- alternate content -->
{% trans "Missing flash plugin. Please download the latest Adobe Flash Player: " %}<br />
<a href="https://www.adobe.com/go/getflashplayer">
- <img alt="{% trans 'Get Adobe Flash Player' %}" src="{{ CMS_MEDIA_URL }}images/plugins/get_flash_player.gif" />
+ <img alt="{% trans 'Get Adobe Flash Player' %}" src="{{ STATIC_URL }}cms/images/plugins/get_flash_player.gif" />
</a>
<!-- /alternate content -->
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
-</div>
+</div>
View
2  cms/plugins/link/cms_plugins.py
@@ -62,6 +62,6 @@ def __call__(self, *args, **kwargs):
return FakeForm(Form, site)
def icon_src(self, instance):
- return settings.CMS_MEDIA_URL + u"images/plugins/link.png"
+ return settings.STATIC_URL + u"cms/images/plugins/link.png"
plugin_pool.register_plugin(LinkPlugin)
View
2  cms/plugins/picture/cms_plugins.py
@@ -26,6 +26,6 @@ def render(self, context, instance, placeholder):
def icon_src(self, instance):
# TODO - possibly use 'instance' and provide a thumbnail image
- return settings.CMS_MEDIA_URL + u"images/plugins/image.png"
+ return settings.STATIC_URL + u"cms/images/plugins/image.png"
plugin_pool.register_plugin(PicturePlugin)
View
2  cms/plugins/snippet/cms_plugins.py
@@ -36,6 +36,6 @@ def render(self, context, instance, placeholder):
return context
def icon_src(self, instance):
- return settings.CMS_MEDIA_URL + u"images/plugins/snippet.png"
+ return settings.STATIC_URL + u"cms/images/plugins/snippet.png"
plugin_pool.register_plugin(SnippetPlugin)
View
2  cms/plugins/text/settings.py
@@ -61,6 +61,6 @@
#Advantageously replaces WYM_CLASSES and WYM_STYLES
##Prepare url for wymeditor.css
CMS_MEDIA_PATH = getattr(settings, 'CMS_MEDIA_PATH', 'cms/')
-WYM_STYLESHEET_PATH = getattr(settings, 'CMS_MEDIA_URL', ''.join((settings.MEDIA_URL, CMS_MEDIA_PATH)) )
+WYM_STYLESHEET_PATH = getattr(settings, 'WYM_STYLESHEET_PATH', ''.join((settings.STATIC_URL, 'cms')) )
WYM_STYLESHEET = getattr(settings, "WYM_STYLESHEET", '"%scss/wymeditor.css"' % WYM_STYLESHEET_PATH )
View
6 cms/plugins/text/templates/cms/plugins/text_plugin_change_form.html
@@ -5,12 +5,12 @@
{% for fieldset in adminform %}
{% include "cms/plugins/text_plugin_fieldset.html" %}
{% endfor %}
-<script type="text/javascript" src="{{ CMS_MEDIA_URL }}js/libs/classy.min.js"></script>
-<script type="text/javascript" src="{{ CMS_MEDIA_URL }}js/plugins/cms.base.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}cms/js/libs/classy.min.js"></script>
+<script type="text/javascript" src="{{ STATIC_URL }}cms/js/plugins/cms.base.js"></script>
<script type="text/javascript">
jQuery(document).ready(function ($) {
// initialize security patch
CMS.API.Security.csrf();
});
</script>
-{% endblock %}
+{% endblock %}
View
4 cms/plugins/text/templates/cms/plugins/widgets/wymeditor.html
@@ -14,7 +14,7 @@
$('#id_{{ name }}').wymeditor({
lang: '{{ language }}',
skin: 'django',
- skinPath: "{{ CMS_MEDIA_URL }}js/wymeditor/skins/django/",
+ skinPath: "{{ STATIC_URL }}cms/js/wymeditor/skins/django/",
updateSelector: 'input[type=submit],',
updateEvent: 'click',
logoHtml: '',
@@ -111,4 +111,4 @@
+ '</li>';
return html;
}
-</script>
+</script>
View
34 cms/plugins/text/widgets/tinymce_widget.py
@@ -1,15 +1,15 @@
-from tinymce.widgets import TinyMCE, get_language_config
+from cms.utils import cms_static_url
from django.conf import settings
-from django.utils.translation import get_language
+from django.forms.widgets import flatatt
+from django.template.defaultfilters import escape
from django.template.loader import render_to_string
-from django.utils.safestring import mark_safe
-from os.path import join
-from django.utils.encoding import smart_unicode
-import tinymce.settings
from django.utils import simplejson
-from django.template.defaultfilters import escape
-from django.forms.widgets import flatatt
+from django.utils.encoding import smart_unicode
+from django.utils.safestring import mark_safe
+from django.utils.translation import get_language
+from tinymce.widgets import TinyMCE, get_language_config
import cms.plugins.text.settings
+import tinymce.settings
class TinyMCEEditor(TinyMCE):
@@ -30,13 +30,17 @@ def render_additions(self, name, value, attrs=None):
def _media(self):
media = super(TinyMCEEditor, self)._media()
- media.add_js([join(settings.CMS_MEDIA_URL, path) for path in (
- 'js/tinymce.placeholdereditor.js',
- 'js/lib/ui.core.js',
- 'js/placeholder_editor_registry.js',
- )])
- media.add_css({"all":[join(settings.CMS_MEDIA_URL, path) for path in ('css/jquery/cupertino/jquery-ui.css',
- 'css/tinymce_toolbar.css')]})
+ media.add_js([cms_static_url(path) for path in (
+ 'js/tinymce.placeholdereditor.js',
+ 'js/libs/jquery.ui.core.js',
+ 'js/placeholder_editor_registry.js',
+ )])
+ media.add_css({
+ "all": [
+ cms_static_url(path) for path in ('css/jquery/cupertino/jquery-ui.css',
+ 'css/tinymce_toolbar.css')
+ ]
+ })
return media
View
17 cms/plugins/text/widgets/wymeditor_widget.py
@@ -1,24 +1,23 @@
-from os.path import join
+from cms.plugins.text import settings as text_settings
+from cms.utils import cms_static_url
from django.conf import settings
from django.forms import Textarea
-from django.utils.safestring import mark_safe
from django.template.loader import render_to_string
-
-from cms.plugins.text import settings as text_settings
+from django.utils.safestring import mark_safe
from django.utils.translation.trans_real import get_language
class WYMEditor(Textarea):
class Media:
- js = [join(settings.CMS_MEDIA_URL, path) for path in (
+ js = [cms_static_url(path) for path in (
'wymeditor/jquery.wymeditor.js',
'wymeditor/plugins/resizable/jquery.wymeditor.resizable.js',
'js/wymeditor.placeholdereditor.js',
- 'js/lib/ui.core.js',
+ 'js/libs/jquery.ui.core.js',
'js/placeholder_editor_registry.js',
)]
css = {
- 'all': [join(settings.CMS_MEDIA_URL, path) for path in (
+ 'all': [cms_static_url(path) for path in (
'css/jquery/cupertino/jquery-ui.css',
)],
}
@@ -43,7 +42,7 @@ def render_additions(self, name, value, attrs=None):
context = {
'name': name,
'language': language,
- 'CMS_MEDIA_URL': settings.CMS_MEDIA_URL,
+ 'STATIC_URL': settings.STATIC_URL,
'WYM_TOOLS': mark_safe(text_settings.WYM_TOOLS),
'WYM_CONTAINERS': mark_safe(text_settings.WYM_CONTAINERS),
'WYM_CLASSES': mark_safe(text_settings.WYM_CLASSES),
@@ -56,4 +55,4 @@ def render_additions(self, name, value, attrs=None):
def render(self, name, value, attrs=None):
return self.render_textarea(name, value, attrs) + \
- self.render_additions(name, value, attrs)
+ self.render_additions(name, value, attrs)
View
4 cms/plugins/twitter/templates/cms/plugins/twitter_recent_entries.html
@@ -1,5 +1,5 @@
{% load i18n sekizai_tags %}
-{% addtoblock "js" %}<script type="text/javascript" src="{{ CMS_MEDIA_URL }}js/plugins/jquery.tweet.js"></script>{% endaddtoblock %}
+{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}cms/js/libs/jquery.tweet.js"></script>{% endaddtoblock %}
{% addtoblock "js" %}
<script type="text/javascript">
//<![CDATA[
@@ -27,4 +27,4 @@
<h2>{{ object.title }} <a href="https://www.twitter.com/{{ object.twitter_user }}" class="twitter-icon">{% trans "Twitter" %}</a></h2>
<div id="twitter-container-{{ object.pk }}"></div>
{% if object.twitter_user %}<p><a href="https://www.twitter.com/{{ object.twitter_user }}" class="twitter-link">{{ object.link_hint }}</a></p>{% endif %}
-</div>
+</div>
View
10 cms/plugins/video/templates/cms/plugins/video.html
@@ -1,5 +1,5 @@
{% load i18n sekizai_tags js %}
-{% addtoblock "js" %}<script type="text/javascript" src="{{ CMS_MEDIA_URL }}js/libs/swfobject.min.js"></script>{% endaddtoblock %}
+{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}cms/js/libs/swfobject.min.js"></script>{% endaddtoblock %}
{% addtoblock "js" %}
<script type="text/javascript">
//<![CDATA[
@@ -30,7 +30,7 @@
var attributes = { align: 'middle' };
// load
- swfobject.embedSWF('{{ CMS_MEDIA_URL }}swf/player.swf', 'video-plugin-{{ object.id }}', '{{ object.get_width }}', '{{ object.get_height }}', '9', '{{ CMS_MEDIA_URL }}swf/expressInstall.swf', flashvars, params, attributes);
+ swfobject.embedSWF('{{ STATIC_URL }}cms/swf/player.swf', 'video-plugin-{{ object.id }}', '{{ object.get_width }}', '{{ object.get_height }}', '9', '{{ STATIC_URL }}cms/swf/expressInstall.swf', flashvars, params, attributes);
})();
//]]>
</script>
@@ -38,7 +38,7 @@
<div class="plugin_video">
<object id="video-plugin-{{ object.id }}" width="{{ object.get_width }}" height="{{ object.get_height }}" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" >
- <param name="movie" value="{{ CMS_MEDIA_URL }}swf/player.swf"/>
+ <param name="movie" value="{{ STATIC_URL }}cms/swf/player.swf"/>
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
@@ -47,7 +47,7 @@
<param name="bgcolor" value="#{{ object.bgcolor }}" />
<param name="flashvars" value="movie={{ object.get_movie }}&amp;{% if object.image %}image={{ object.image.url }}&amp;{% endif %}autoplay={{ object.auto_play|bool }}&amp;loop={{ object.loop|bool }}&amp;autohide={{ object.auto_hide|bool }}&amp;fullscreen={{ object.fullscreen|bool }}&amp;color_text=0x{{ object.textcolor }}&amp;color_seekbar=0x{{ object.seekbarcolor }}&amp;color_loadingbar=0x{{ object.loadingbarcolor }}&amp;color_seekbarbg=0x{{ object.seekbarbgcolor }}&amp;color_button_out=0x{{ object.buttonoutcolor }}&amp;color_button_over=0x{{ object.buttonovercolor }}&amp;color_button_highlight=0x{{ object.buttonhighlightcolor }}" />
<!--[if !IE]>-->
- <object width="{{ object.get_width }}" height="{{ object.get_height }}" data="{{ CMS_MEDIA_URL }}swf/player.swf" type="application/x-shockwave-flash">
+ <object width="{{ object.get_width }}" height="{{ object.get_height }}" data="{{ STATIC_URL }}cms/swf/player.swf" type="application/x-shockwave-flash">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
@@ -59,7 +59,7 @@
<!-- alternate content -->
{% trans "Missing flash plugin. Please download the latest Adobe Flash Player: " %}<br />
<a href="https://www.adobe.com/go/getflashplayer">
- <img alt="{% trans 'Get Adobe Flash Player' %}" src="{{ CMS_MEDIA_URL }}images/plugins/get_flash_player.gif" />
+ <img alt="{% trans 'Get Adobe Flash Player' %}" src="{{ STATIC_URL }}cms/images/plugins/get_flash_player.gif" />
</a>
<!-- /alternate content -->
<!--[if !IE]>-->
View
0  cms/media/cms/css/change_form.css → cms/static/cms/css/change_form.css
File renamed without changes
View
0  cms/media/cms/css/jquery.dialog.css → cms/static/cms/css/jquery.dialog.css
File renamed without changes
View
0  cms/media/cms/css/jquery.tooltip.css → cms/static/cms/css/jquery.tooltip.css
File renamed without changes
View
0  ...ui-bg_diagonals-thick_90_eeeeee_40x40.png → ...ui-bg_diagonals-thick_90_eeeeee_40x40.png
File renamed without changes
View
0  ...no/images/ui-bg_flat_15_cd0a0a_40x100.png → ...no/images/ui-bg_flat_15_cd0a0a_40x100.png
File renamed without changes
View
0  ...o/images/ui-bg_glass_100_e4f1fb_1x400.png → ...o/images/ui-bg_glass_100_e4f1fb_1x400.png
File renamed without changes
View
0  ...no/images/ui-bg_glass_50_3baae3_1x400.png → ...no/images/ui-bg_glass_50_3baae3_1x400.png
File renamed without changes
View
0  ...no/images/ui-bg_glass_80_d7ebf9_1x400.png → ...no/images/ui-bg_glass_80_d7ebf9_1x400.png
File renamed without changes
View
0  ...ui-bg_highlight-hard_100_f2f5f7_1x100.png → ...ui-bg_highlight-hard_100_f2f5f7_1x100.png
File renamed without changes
View
0  .../ui-bg_highlight-hard_70_000000_1x100.png → .../ui-bg_highlight-hard_70_000000_1x100.png
File renamed without changes
View
0  ...ui-bg_highlight-soft_100_deedf7_1x100.png → ...ui-bg_highlight-soft_100_deedf7_1x100.png
File renamed without changes
View
0  .../ui-bg_highlight-soft_25_ffef8f_1x100.png → .../ui-bg_highlight-soft_25_ffef8f_1x100.png
File renamed without changes
View
0  ...ertino/images/ui-icons_2694e8_256x240.png → ...ertino/images/ui-icons_2694e8_256x240.png
File renamed without changes
View
0  ...ertino/images/ui-icons_2e83ff_256x240.png → ...ertino/images/ui-icons_2e83ff_256x240.png
File renamed without changes
View
0  ...ertino/images/ui-icons_3d80b3_256x240.png → ...ertino/images/ui-icons_3d80b3_256x240.png
File renamed without changes
View
0  ...ertino/images/ui-icons_72a7cf_256x240.png → ...ertino/images/ui-icons_72a7cf_256x240.png
File renamed without changes
View
0  ...ertino/images/ui-icons_ffffff_256x240.png → ...ertino/images/ui-icons_ffffff_256x240.png
File renamed without changes
View
0  ...ia/cms/css/jquery/cupertino/jquery-ui.css → ...ic/cms/css/jquery/cupertino/jquery-ui.css
File renamed without changes
View
0  cms/media/cms/css/pages.css → cms/static/cms/css/pages.css
File renamed without changes
View
0  cms/media/cms/css/plugin_editor.css → cms/static/cms/css/plugin_editor.css
File renamed without changes
View
0  cms/media/cms/css/plugin_forms.css → cms/static/cms/css/plugin_forms.css
File renamed without changes
View
0  ...edia/cms/css/plugins/cms.placeholders.css → ...atic/cms/css/plugins/cms.placeholders.css
File renamed without changes
View
0  cms/media/cms/css/plugins/cms.toolbar.css → cms/static/cms/css/plugins/cms.toolbar.css
File renamed without changes
View
0  cms/media/cms/css/rte.css → cms/static/cms/css/rte.css
File renamed without changes
View
0  cms/media/cms/css/tinymce_toolbar.css → cms/static/cms/css/tinymce_toolbar.css
File renamed without changes
View
0  cms/media/cms/css/toolbar.css → cms/static/cms/css/toolbar.css
File renamed without changes
View
0  cms/media/cms/css/wymeditor.css → cms/static/cms/css/wymeditor.css
File renamed without changes
View
0  cms/media/cms/images/bold.gif → cms/static/cms/images/bold.gif
File renamed without changes
View
0  ...ms/images/changelist-filter-button-bg.jpg → ...ms/images/changelist-filter-button-bg.jpg
File renamed without changes
View
0  cms/media/cms/images/close.gif → cms/static/cms/images/close.gif
File renamed without changes
View
0  cms/media/cms/images/cms_toolbar.gif → cms/static/cms/images/cms_toolbar.gif
File renamed without changes
View
0  cms/media/cms/images/cms_toolbar.png → cms/static/cms/images/cms_toolbar.png
File renamed without changes
View
0  cms/media/cms/images/copy.gif → cms/static/cms/images/copy.gif
File renamed without changes
View
0  cms/media/cms/images/cut.gif → cms/static/cms/images/cut.gif
File renamed without changes
View
0  cms/media/cms/images/file_icons/flv.gif → cms/static/cms/images/file_icons/flv.gif
File renamed without changes
View
0  cms/media/cms/images/file_icons/gif.gif → cms/static/cms/images/file_icons/gif.gif
File renamed without changes
View
0  cms/media/cms/images/file_icons/html.gif → cms/static/cms/images/file_icons/html.gif
File renamed without changes
View
0  cms/media/cms/images/file_icons/java.gif → cms/static/cms/images/file_icons/java.gif
File renamed without changes
View
0  cms/media/cms/images/file_icons/jpg.gif → cms/static/cms/images/file_icons/jpg.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/mp3.png → cms/static/cms/images/file_icons/mp3.png
Diff not rendered
View
0  cms/media/cms/images/file_icons/ods.png → cms/static/cms/images/file_icons/ods.png
Diff not rendered
View
0  cms/media/cms/images/file_icons/odt.png → cms/static/cms/images/file_icons/odt.png
Diff not rendered
View
0  cms/media/cms/images/file_icons/pdf.gif → cms/static/cms/images/file_icons/pdf.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/php.gif → cms/static/cms/images/file_icons/php.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/png.gif → cms/static/cms/images/file_icons/png.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/swf.gif → cms/static/cms/images/file_icons/swf.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/tgz.png → cms/static/cms/images/file_icons/tgz.png
Diff not rendered
View
0  cms/media/cms/images/file_icons/ttf.gif → cms/static/cms/images/file_icons/ttf.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/txt.gif → cms/static/cms/images/file_icons/txt.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/txt.png → cms/static/cms/images/file_icons/txt.png
Diff not rendered
View
0  cms/media/cms/images/file_icons/wav.gif → cms/static/cms/images/file_icons/wav.gif
Diff not rendered
View
0  cms/media/cms/images/file_icons/zip.png → cms/static/cms/images/file_icons/zip.png
Diff not rendered
View
0  cms/media/cms/images/icon_addlink.gif → cms/static/cms/images/icon_addlink.gif
Diff not rendered
View
0  cms/media/cms/images/icon_deletelink.gif → cms/static/cms/images/icon_deletelink.gif
Diff not rendered
View
0  cms/media/cms/images/icon_extension.gif → cms/static/cms/images/icon_extension.gif
Diff not rendered
View
0  cms/media/cms/images/icon_pluginedit.gif → cms/static/cms/images/icon_pluginedit.gif
Diff not rendered
View
0  cms/media/cms/images/icons.png → cms/static/cms/images/icons.png
Diff not rendered
View
0  cms/media/cms/images/plugins/image.png → cms/static/cms/images/image.png
Diff not rendered
View
0  cms/media/cms/images/indicator.gif → cms/static/cms/images/indicator.gif
Diff not rendered