bcms_content_syncing 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{README → README.markdown} +5 -0
- metadata +6 -661
- data/.gitignore +0 -13
- data/COPYRIGHT.txt +0 -23
- data/GPL.txt +0 -674
- data/Rakefile +0 -34
- data/VERSION +0 -1
- data/bcms_content_syncing.gemspec +0 -710
- data/config/boot.rb +0 -110
- data/config/database.yml +0 -22
- data/config/environment.rb +0 -42
- data/config/environments/development.rb +0 -18
- data/config/environments/production.rb +0 -31
- data/config/environments/test.rb +0 -29
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/inflections.rb +0 -10
- data/config/initializers/init_module.rb +0 -1
- data/config/initializers/mime_types.rb +0 -5
- data/config/initializers/new_rails_defaults.rb +0 -21
- data/config/initializers/session_store.rb +0 -15
- data/config/locales/en.yml +0 -5
- data/config/routes.rb +0 -45
- data/db/seeds.rb +0 -7
- data/doc/README_FOR_APP +0 -2
- data/public/404.html +0 -30
- data/public/422.html +0 -30
- data/public/500.html +0 -30
- data/public/bcms/ckeditor/ckeditor.js +0 -108
- data/public/bcms/ckeditor/config.js +0 -18
- data/public/bcms/ckeditor/core/_bootstrap.js +0 -64
- data/public/bcms/ckeditor/core/ajax.js +0 -143
- data/public/bcms/ckeditor/core/ckeditor.js +0 -96
- data/public/bcms/ckeditor/core/ckeditor_base.js +0 -190
- data/public/bcms/ckeditor/core/ckeditor_basic.js +0 -241
- data/public/bcms/ckeditor/core/command.js +0 -70
- data/public/bcms/ckeditor/core/commanddefinition.js +0 -72
- data/public/bcms/ckeditor/core/config.js +0 -287
- data/public/bcms/ckeditor/core/dom.js +0 -21
- data/public/bcms/ckeditor/core/dom/document.js +0 -210
- data/public/bcms/ckeditor/core/dom/documentfragment.js +0 -49
- data/public/bcms/ckeditor/core/dom/domobject.js +0 -204
- data/public/bcms/ckeditor/core/dom/element.js +0 -1384
- data/public/bcms/ckeditor/core/dom/elementpath.js +0 -104
- data/public/bcms/ckeditor/core/dom/event.js +0 -137
- data/public/bcms/ckeditor/core/dom/node.js +0 -649
- data/public/bcms/ckeditor/core/dom/nodelist.js +0 -23
- data/public/bcms/ckeditor/core/dom/range.js +0 -1668
- data/public/bcms/ckeditor/core/dom/text.js +0 -123
- data/public/bcms/ckeditor/core/dom/walker.js +0 -411
- data/public/bcms/ckeditor/core/dom/window.js +0 -96
- data/public/bcms/ckeditor/core/dtd.js +0 -200
- data/public/bcms/ckeditor/core/editor.js +0 -650
- data/public/bcms/ckeditor/core/editor_basic.js +0 -178
- data/public/bcms/ckeditor/core/env.js +0 -219
- data/public/bcms/ckeditor/core/event.js +0 -335
- data/public/bcms/ckeditor/core/eventInfo.js +0 -120
- data/public/bcms/ckeditor/core/focusmanager.js +0 -123
- data/public/bcms/ckeditor/core/htmlparser.js +0 -212
- data/public/bcms/ckeditor/core/htmlparser/basicwriter.js +0 -140
- data/public/bcms/ckeditor/core/htmlparser/cdata.js +0 -44
- data/public/bcms/ckeditor/core/htmlparser/comment.js +0 -59
- data/public/bcms/ckeditor/core/htmlparser/element.js +0 -196
- data/public/bcms/ckeditor/core/htmlparser/filter.js +0 -233
- data/public/bcms/ckeditor/core/htmlparser/fragment.js +0 -434
- data/public/bcms/ckeditor/core/htmlparser/text.js +0 -55
- data/public/bcms/ckeditor/core/imagecacher.js +0 -58
- data/public/bcms/ckeditor/core/lang.js +0 -147
- data/public/bcms/ckeditor/core/loader.js +0 -238
- data/public/bcms/ckeditor/core/plugindefinition.js +0 -66
- data/public/bcms/ckeditor/core/plugins.js +0 -82
- data/public/bcms/ckeditor/core/resourcemanager.js +0 -233
- data/public/bcms/ckeditor/core/scriptloader.js +0 -194
- data/public/bcms/ckeditor/core/skins.js +0 -185
- data/public/bcms/ckeditor/core/test.js +0 -184
- data/public/bcms/ckeditor/core/themes.js +0 -18
- data/public/bcms/ckeditor/core/tools.js +0 -531
- data/public/bcms/ckeditor/core/ui.js +0 -106
- data/public/bcms/ckeditor/core/xml.js +0 -165
- data/public/bcms/ckeditor/editor.js +0 -51
- data/public/bcms/ckeditor/lang/_languages.js +0 -82
- data/public/bcms/ckeditor/lang/_translationstatus.txt +0 -59
- data/public/bcms/ckeditor/lang/af.js +0 -674
- data/public/bcms/ckeditor/lang/ar.js +0 -674
- data/public/bcms/ckeditor/lang/bg.js +0 -674
- data/public/bcms/ckeditor/lang/bn.js +0 -674
- data/public/bcms/ckeditor/lang/bs.js +0 -674
- data/public/bcms/ckeditor/lang/ca.js +0 -674
- data/public/bcms/ckeditor/lang/cs.js +0 -674
- data/public/bcms/ckeditor/lang/da.js +0 -674
- data/public/bcms/ckeditor/lang/de.js +0 -674
- data/public/bcms/ckeditor/lang/el.js +0 -674
- data/public/bcms/ckeditor/lang/en-au.js +0 -674
- data/public/bcms/ckeditor/lang/en-ca.js +0 -674
- data/public/bcms/ckeditor/lang/en-uk.js +0 -674
- data/public/bcms/ckeditor/lang/en.js +0 -674
- data/public/bcms/ckeditor/lang/eo.js +0 -674
- data/public/bcms/ckeditor/lang/es.js +0 -674
- data/public/bcms/ckeditor/lang/et.js +0 -674
- data/public/bcms/ckeditor/lang/eu.js +0 -674
- data/public/bcms/ckeditor/lang/fa.js +0 -674
- data/public/bcms/ckeditor/lang/fi.js +0 -674
- data/public/bcms/ckeditor/lang/fo.js +0 -674
- data/public/bcms/ckeditor/lang/fr-ca.js +0 -674
- data/public/bcms/ckeditor/lang/fr.js +0 -674
- data/public/bcms/ckeditor/lang/gl.js +0 -674
- data/public/bcms/ckeditor/lang/gu.js +0 -674
- data/public/bcms/ckeditor/lang/he.js +0 -674
- data/public/bcms/ckeditor/lang/hi.js +0 -674
- data/public/bcms/ckeditor/lang/hr.js +0 -674
- data/public/bcms/ckeditor/lang/hu.js +0 -674
- data/public/bcms/ckeditor/lang/is.js +0 -674
- data/public/bcms/ckeditor/lang/it.js +0 -674
- data/public/bcms/ckeditor/lang/ja.js +0 -674
- data/public/bcms/ckeditor/lang/km.js +0 -674
- data/public/bcms/ckeditor/lang/ko.js +0 -674
- data/public/bcms/ckeditor/lang/lt.js +0 -674
- data/public/bcms/ckeditor/lang/lv.js +0 -674
- data/public/bcms/ckeditor/lang/mn.js +0 -674
- data/public/bcms/ckeditor/lang/ms.js +0 -674
- data/public/bcms/ckeditor/lang/nb.js +0 -674
- data/public/bcms/ckeditor/lang/nl.js +0 -674
- data/public/bcms/ckeditor/lang/no.js +0 -674
- data/public/bcms/ckeditor/lang/pl.js +0 -674
- data/public/bcms/ckeditor/lang/pt-br.js +0 -674
- data/public/bcms/ckeditor/lang/pt.js +0 -674
- data/public/bcms/ckeditor/lang/ro.js +0 -674
- data/public/bcms/ckeditor/lang/ru.js +0 -674
- data/public/bcms/ckeditor/lang/sk.js +0 -674
- data/public/bcms/ckeditor/lang/sl.js +0 -674
- data/public/bcms/ckeditor/lang/sr-latn.js +0 -674
- data/public/bcms/ckeditor/lang/sr.js +0 -674
- data/public/bcms/ckeditor/lang/sv.js +0 -674
- data/public/bcms/ckeditor/lang/th.js +0 -674
- data/public/bcms/ckeditor/lang/tr.js +0 -674
- data/public/bcms/ckeditor/lang/uk.js +0 -674
- data/public/bcms/ckeditor/lang/vi.js +0 -674
- data/public/bcms/ckeditor/lang/zh-cn.js +0 -674
- data/public/bcms/ckeditor/lang/zh.js +0 -674
- data/public/bcms/ckeditor/plugins/about/dialogs/about.js +0 -73
- data/public/bcms/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/bcms/ckeditor/plugins/about/plugin.js +0 -22
- data/public/bcms/ckeditor/plugins/basicstyles/plugin.js +0 -50
- data/public/bcms/ckeditor/plugins/blockquote/plugin.js +0 -301
- data/public/bcms/ckeditor/plugins/button/plugin.js +0 -264
- data/public/bcms/ckeditor/plugins/clipboard/dialogs/paste.js +0 -167
- data/public/bcms/ckeditor/plugins/clipboard/plugin.js +0 -208
- data/public/bcms/ckeditor/plugins/colorbutton/plugin.js +0 -202
- data/public/bcms/ckeditor/plugins/contextmenu/plugin.js +0 -178
- data/public/bcms/ckeditor/plugins/dialog/dialogDefinition.js +0 -315
- data/public/bcms/ckeditor/plugins/dialog/plugin.js +0 -2742
- data/public/bcms/ckeditor/plugins/dialogui/plugin.js +0 -1319
- data/public/bcms/ckeditor/plugins/domiterator/plugin.js +0 -354
- data/public/bcms/ckeditor/plugins/editingblock/plugin.js +0 -236
- data/public/bcms/ckeditor/plugins/elementspath/plugin.js +0 -182
- data/public/bcms/ckeditor/plugins/enterkey/plugin.js +0 -324
- data/public/bcms/ckeditor/plugins/entities/plugin.js +0 -200
- data/public/bcms/ckeditor/plugins/fakeobjects/plugin.js +0 -111
- data/public/bcms/ckeditor/plugins/filebrowser/plugin.js +0 -383
- data/public/bcms/ckeditor/plugins/find/dialogs/find.js +0 -843
- data/public/bcms/ckeditor/plugins/find/plugin.js +0 -46
- data/public/bcms/ckeditor/plugins/flash/dialogs/flash.js +0 -682
- data/public/bcms/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/public/bcms/ckeditor/plugins/flash/plugin.js +0 -165
- data/public/bcms/ckeditor/plugins/floatpanel/plugin.js +0 -325
- data/public/bcms/ckeditor/plugins/font/plugin.js +0 -227
- data/public/bcms/ckeditor/plugins/format/plugin.js +0 -191
- data/public/bcms/ckeditor/plugins/forms/dialogs/button.js +0 -135
- data/public/bcms/ckeditor/plugins/forms/dialogs/checkbox.js +0 -138
- data/public/bcms/ckeditor/plugins/forms/dialogs/form.js +0 -177
- data/public/bcms/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -91
- data/public/bcms/ckeditor/plugins/forms/dialogs/radio.js +0 -135
- data/public/bcms/ckeditor/plugins/forms/dialogs/select.js +0 -541
- data/public/bcms/ckeditor/plugins/forms/dialogs/textarea.js +0 -114
- data/public/bcms/ckeditor/plugins/forms/dialogs/textfield.js +0 -193
- data/public/bcms/ckeditor/plugins/forms/plugin.js +0 -193
- data/public/bcms/ckeditor/plugins/horizontalrule/plugin.js +0 -35
- data/public/bcms/ckeditor/plugins/htmldataprocessor/plugin.js +0 -373
- data/public/bcms/ckeditor/plugins/htmlwriter/plugin.js +0 -289
- data/public/bcms/ckeditor/plugins/iframedialog/plugin.js +0 -136
- data/public/bcms/ckeditor/plugins/image/dialogs/image.js +0 -1225
- data/public/bcms/ckeditor/plugins/image/plugin.js +0 -64
- data/public/bcms/ckeditor/plugins/indent/plugin.js +0 -323
- data/public/bcms/ckeditor/plugins/justify/plugin.js +0 -164
- data/public/bcms/ckeditor/plugins/keystrokes/plugin.js +0 -217
- data/public/bcms/ckeditor/plugins/link/dialogs/anchor.js +0 -98
- data/public/bcms/ckeditor/plugins/link/dialogs/link.js +0 -1217
- data/public/bcms/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/public/bcms/ckeditor/plugins/link/plugin.js +0 -188
- data/public/bcms/ckeditor/plugins/list/plugin.js +0 -570
- data/public/bcms/ckeditor/plugins/listblock/plugin.js +0 -231
- data/public/bcms/ckeditor/plugins/maximize/plugin.js +0 -267
- data/public/bcms/ckeditor/plugins/menu/plugin.js +0 -377
- data/public/bcms/ckeditor/plugins/menubutton/plugin.js +0 -93
- data/public/bcms/ckeditor/plugins/newpage/plugin.js +0 -65
- data/public/bcms/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/bcms/ckeditor/plugins/pagebreak/plugin.js +0 -96
- data/public/bcms/ckeditor/plugins/panel/plugin.js +0 -330
- data/public/bcms/ckeditor/plugins/panelbutton/plugin.js +0 -140
- data/public/bcms/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +0 -307
- data/public/bcms/ckeditor/plugins/pastefromword/plugin.js +0 -54
- data/public/bcms/ckeditor/plugins/pastetext/dialogs/pastetext.js +0 -65
- data/public/bcms/ckeditor/plugins/pastetext/plugin.js +0 -142
- data/public/bcms/ckeditor/plugins/popup/plugin.js +0 -62
- data/public/bcms/ckeditor/plugins/preview/plugin.js +0 -97
- data/public/bcms/ckeditor/plugins/print/plugin.js +0 -41
- data/public/bcms/ckeditor/plugins/removeformat/plugin.js +0 -132
- data/public/bcms/ckeditor/plugins/resize/plugin.js +0 -115
- data/public/bcms/ckeditor/plugins/richcombo/plugin.js +0 -357
- data/public/bcms/ckeditor/plugins/save/plugin.js +0 -55
- data/public/bcms/ckeditor/plugins/scayt/dialogs/options.js +0 -494
- data/public/bcms/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- data/public/bcms/ckeditor/plugins/scayt/plugin.js +0 -511
- data/public/bcms/ckeditor/plugins/selection/plugin.js +0 -1072
- data/public/bcms/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/public/bcms/ckeditor/plugins/showblocks/plugin.js +0 -153
- data/public/bcms/ckeditor/plugins/smiley/dialogs/smiley.js +0 -219
- data/public/bcms/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/bcms/ckeditor/plugins/smiley/plugin.js +0 -74
- data/public/bcms/ckeditor/plugins/sourcearea/plugin.js +0 -185
- data/public/bcms/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -362
- data/public/bcms/ckeditor/plugins/specialchar/plugin.js +0 -29
- data/public/bcms/ckeditor/plugins/styles/plugin.js +0 -1242
- data/public/bcms/ckeditor/plugins/stylescombo/plugin.js +0 -295
- data/public/bcms/ckeditor/plugins/stylescombo/styles/default.js +0 -85
- data/public/bcms/ckeditor/plugins/tab/plugin.js +0 -266
- data/public/bcms/ckeditor/plugins/table/dialogs/table.js +0 -550
- data/public/bcms/ckeditor/plugins/table/plugin.js +0 -70
- data/public/bcms/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -328
- data/public/bcms/ckeditor/plugins/tabletools/plugin.js +0 -701
- data/public/bcms/ckeditor/plugins/templates/dialogs/templates.js +0 -170
- data/public/bcms/ckeditor/plugins/templates/plugin.js +0 -99
- data/public/bcms/ckeditor/plugins/templates/templates/default.js +0 -94
- data/public/bcms/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/public/bcms/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/public/bcms/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/public/bcms/ckeditor/plugins/toolbar/plugin.js +0 -412
- data/public/bcms/ckeditor/plugins/uicolor/dialogs/uicolor.js +0 -203
- data/public/bcms/ckeditor/plugins/uicolor/lang/en.js +0 -15
- data/public/bcms/ckeditor/plugins/uicolor/plugin.js +0 -35
- data/public/bcms/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/public/bcms/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/public/bcms/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/public/bcms/ckeditor/plugins/uicolor/yui/assets/yui.css +0 -15
- data/public/bcms/ckeditor/plugins/uicolor/yui/yui.js +0 -71
- data/public/bcms/ckeditor/plugins/undo/plugin.js +0 -490
- data/public/bcms/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -49
- data/public/bcms/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
- data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.css +0 -83
- data/public/bcms/ckeditor/plugins/wsc/dialogs/wsc.js +0 -169
- data/public/bcms/ckeditor/plugins/wsc/plugin.js +0 -32
- data/public/bcms/ckeditor/plugins/wysiwygarea/plugin.js +0 -636
- data/public/bcms/ckeditor/skins/kama/dialog.css +0 -742
- data/public/bcms/ckeditor/skins/kama/editor.css +0 -21
- data/public/bcms/ckeditor/skins/kama/elementspath.css +0 -68
- data/public/bcms/ckeditor/skins/kama/icons.css +0 -309
- data/public/bcms/ckeditor/skins/kama/icons.png +0 -0
- data/public/bcms/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/public/bcms/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/public/bcms/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/public/bcms/ckeditor/skins/kama/images/mini.gif +0 -0
- data/public/bcms/ckeditor/skins/kama/images/noimage.png +0 -0
- data/public/bcms/ckeditor/skins/kama/images/sprites.png +0 -0
- data/public/bcms/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/public/bcms/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/public/bcms/ckeditor/skins/kama/mainui.css +0 -139
- data/public/bcms/ckeditor/skins/kama/menu.css +0 -179
- data/public/bcms/ckeditor/skins/kama/panel.css +0 -203
- data/public/bcms/ckeditor/skins/kama/presets.css +0 -49
- data/public/bcms/ckeditor/skins/kama/reset.css +0 -78
- data/public/bcms/ckeditor/skins/kama/richcombo.css +0 -260
- data/public/bcms/ckeditor/skins/kama/skin.js +0 -291
- data/public/bcms/ckeditor/skins/kama/templates.css +0 -71
- data/public/bcms/ckeditor/skins/kama/toolbar.css +0 -384
- data/public/bcms/ckeditor/skins/office2003/dialog.css +0 -643
- data/public/bcms/ckeditor/skins/office2003/editor.css +0 -21
- data/public/bcms/ckeditor/skins/office2003/elementspath.css +0 -68
- data/public/bcms/ckeditor/skins/office2003/icons.css +0 -309
- data/public/bcms/ckeditor/skins/office2003/icons.png +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/public/bcms/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/public/bcms/ckeditor/skins/office2003/mainui.css +0 -97
- data/public/bcms/ckeditor/skins/office2003/menu.css +0 -175
- data/public/bcms/ckeditor/skins/office2003/panel.css +0 -198
- data/public/bcms/ckeditor/skins/office2003/presets.css +0 -49
- data/public/bcms/ckeditor/skins/office2003/reset.css +0 -78
- data/public/bcms/ckeditor/skins/office2003/richcombo.css +0 -279
- data/public/bcms/ckeditor/skins/office2003/skin.js +0 -77
- data/public/bcms/ckeditor/skins/office2003/templates.css +0 -71
- data/public/bcms/ckeditor/skins/office2003/toolbar.css +0 -442
- data/public/bcms/ckeditor/skins/v2/dialog.css +0 -653
- data/public/bcms/ckeditor/skins/v2/editor.css +0 -21
- data/public/bcms/ckeditor/skins/v2/elementspath.css +0 -68
- data/public/bcms/ckeditor/skins/v2/icons.css +0 -309
- data/public/bcms/ckeditor/skins/v2/icons.png +0 -0
- data/public/bcms/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/public/bcms/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/public/bcms/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/public/bcms/ckeditor/skins/v2/images/mini.gif +0 -0
- data/public/bcms/ckeditor/skins/v2/images/noimage.png +0 -0
- data/public/bcms/ckeditor/skins/v2/images/sprites.png +0 -0
- data/public/bcms/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/public/bcms/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/public/bcms/ckeditor/skins/v2/mainui.css +0 -112
- data/public/bcms/ckeditor/skins/v2/menu.css +0 -178
- data/public/bcms/ckeditor/skins/v2/panel.css +0 -198
- data/public/bcms/ckeditor/skins/v2/presets.css +0 -50
- data/public/bcms/ckeditor/skins/v2/reset.css +0 -78
- data/public/bcms/ckeditor/skins/v2/richcombo.css +0 -275
- data/public/bcms/ckeditor/skins/v2/skin.js +0 -73
- data/public/bcms/ckeditor/skins/v2/templates.css +0 -71
- data/public/bcms/ckeditor/skins/v2/toolbar.css +0 -399
- data/public/bcms/ckeditor/tests/_assets/sample.css +0 -4
- data/public/bcms/ckeditor/tests/_assets/sample.js +0 -1
- data/public/bcms/ckeditor/tests/_assets/sample.txt +0 -1
- data/public/bcms/ckeditor/tests/_assets/sample.xml +0 -5
- data/public/bcms/ckeditor/tests/_assets/sample_xml.txt +0 -5
- data/public/bcms/ckeditor/tests/core/_editor/custom_config_1.js +0 -10
- data/public/bcms/ckeditor/tests/core/_editor/custom_config_2.js +0 -9
- data/public/bcms/ckeditor/tests/core/ajax.html +0 -163
- data/public/bcms/ckeditor/tests/core/bootstrap.html +0 -66
- data/public/bcms/ckeditor/tests/core/ckeditor.html +0 -160
- data/public/bcms/ckeditor/tests/core/dom/document.html +0 -126
- data/public/bcms/ckeditor/tests/core/dom/documentfragment.html +0 -292
- data/public/bcms/ckeditor/tests/core/dom/element.html +0 -637
- data/public/bcms/ckeditor/tests/core/dom/node.html +0 -164
- data/public/bcms/ckeditor/tests/core/dom/range.html +0 -2411
- data/public/bcms/ckeditor/tests/core/dom/text.html +0 -128
- data/public/bcms/ckeditor/tests/core/dom/walker.html +0 -340
- data/public/bcms/ckeditor/tests/core/dom/window.html +0 -53
- data/public/bcms/ckeditor/tests/core/editor.html +0 -123
- data/public/bcms/ckeditor/tests/core/env.html +0 -52
- data/public/bcms/ckeditor/tests/core/event.html +0 -487
- data/public/bcms/ckeditor/tests/core/htmlparser/fragment.html +0 -188
- data/public/bcms/ckeditor/tests/core/htmlparser/htmlparser.html +0 -91
- data/public/bcms/ckeditor/tests/core/plugins.html +0 -45
- data/public/bcms/ckeditor/tests/core/plugins/myplugins/sample/my_plugin.js +0 -3
- data/public/bcms/ckeditor/tests/core/scriptloader.html +0 -52
- data/public/bcms/ckeditor/tests/core/tools.html +0 -170
- data/public/bcms/ckeditor/tests/core/xml.html +0 -150
- data/public/bcms/ckeditor/tests/plugins/domiterator/domiterator.html +0 -236
- data/public/bcms/ckeditor/tests/plugins/htmldataprocessor/htmldataprocessor.html +0 -386
- data/public/bcms/ckeditor/tests/plugins/link/link.html +0 -123
- data/public/bcms/ckeditor/tests/plugins/list/list.html +0 -217
- data/public/bcms/ckeditor/tests/plugins/selection/selection.html +0 -49
- data/public/bcms/ckeditor/tests/plugins/styles/styles.html +0 -596
- data/public/bcms/ckeditor/tests/test.css +0 -81
- data/public/bcms/ckeditor/tests/test.js +0 -93
- data/public/bcms/ckeditor/tests/testall.html +0 -114
- data/public/bcms/ckeditor/tests/yuitest.js +0 -75
- data/public/bcms/ckeditor/themes/default/theme.js +0 -232
- data/public/bcms/content_syncing/README +0 -1
- data/public/favicon.ico +0 -0
- data/public/images/cms/administration/user_browser_bg.gif +0 -0
- data/public/images/cms/bg.png +0 -0
- data/public/images/cms/bl_curve.png +0 -0
- data/public/images/cms/bottom_cap.png +0 -0
- data/public/images/cms/bottom_cap_content.png +0 -0
- data/public/images/cms/browse.gif +0 -0
- data/public/images/cms/browser_media_logo.png +0 -0
- data/public/images/cms/browsercms_logo.png +0 -0
- data/public/images/cms/buttons/button.png +0 -0
- data/public/images/cms/buttons/button_bg.png +0 -0
- data/public/images/cms/buttons/button_cap.png +0 -0
- data/public/images/cms/buttons/button_cap_h.png +0 -0
- data/public/images/cms/buttons/button_cap_off.gif +0 -0
- data/public/images/cms/buttons/button_cap_off_middle.gif +0 -0
- data/public/images/cms/buttons/button_h.png +0 -0
- data/public/images/cms/buttons/button_left_bg.png +0 -0
- data/public/images/cms/buttons/button_off.png +0 -0
- data/public/images/cms/buttons/button_off_middle.png +0 -0
- data/public/images/cms/buttons/delete_x.png +0 -0
- data/public/images/cms/buttons/delete_x_disabled.png +0 -0
- data/public/images/cms/buttons/delete_x_h.png +0 -0
- data/public/images/cms/buttons/sm_button.gif +0 -0
- data/public/images/cms/buttons/sm_button_2.gif +0 -0
- data/public/images/cms/buttons/sm_button_2_h.gif +0 -0
- data/public/images/cms/buttons/sm_button_h.gif +0 -0
- data/public/images/cms/containers/add.gif +0 -0
- data/public/images/cms/containers/alpha.png +0 -0
- data/public/images/cms/containers/beta.png +0 -0
- data/public/images/cms/containers/delete.gif +0 -0
- data/public/images/cms/containers/down.gif +0 -0
- data/public/images/cms/containers/edit.gif +0 -0
- data/public/images/cms/containers/up.gif +0 -0
- data/public/images/cms/containers/view.gif +0 -0
- data/public/images/cms/content_bg.gif +0 -0
- data/public/images/cms/dashboard/bottom_cap.png +0 -0
- data/public/images/cms/dashboard/bottom_cap_content.png +0 -0
- data/public/images/cms/dashboard/header_bg.gif +0 -0
- data/public/images/cms/dashboard/header_left_bg.gif +0 -0
- data/public/images/cms/dashboard/table_header_bg.gif +0 -0
- data/public/images/cms/dashboard/top_cap.png +0 -0
- data/public/images/cms/dashed.gif +0 -0
- data/public/images/cms/datepicker/clear.gif +0 -0
- data/public/images/cms/datepicker/close.gif +0 -0
- data/public/images/cms/dk_button_l.gif +0 -0
- data/public/images/cms/dk_button_r.gif +0 -0
- data/public/images/cms/dot.png +0 -0
- data/public/images/cms/draft_status.gif +0 -0
- data/public/images/cms/gray_long_bg.gif +0 -0
- data/public/images/cms/icons/actions/add.png +0 -0
- data/public/images/cms/icons/actions/config.png +0 -0
- data/public/images/cms/icons/actions/connect.png +0 -0
- data/public/images/cms/icons/actions/delete.png +0 -0
- data/public/images/cms/icons/actions/down.png +0 -0
- data/public/images/cms/icons/actions/edit.png +0 -0
- data/public/images/cms/icons/actions/folder.png +0 -0
- data/public/images/cms/icons/actions/folder_add.png +0 -0
- data/public/images/cms/icons/actions/folder_delete.png +0 -0
- data/public/images/cms/icons/actions/folder_edit.png +0 -0
- data/public/images/cms/icons/actions/folder_move.png +0 -0
- data/public/images/cms/icons/actions/folder_open.png +0 -0
- data/public/images/cms/icons/actions/history.png +0 -0
- data/public/images/cms/icons/actions/home.png +0 -0
- data/public/images/cms/icons/actions/left.png +0 -0
- data/public/images/cms/icons/actions/link.png +0 -0
- data/public/images/cms/icons/actions/page.png +0 -0
- data/public/images/cms/icons/actions/page_add.png +0 -0
- data/public/images/cms/icons/actions/page_edit.png +0 -0
- data/public/images/cms/icons/actions/page_move.png +0 -0
- data/public/images/cms/icons/actions/redo.png +0 -0
- data/public/images/cms/icons/actions/refresh.png +0 -0
- data/public/images/cms/icons/actions/right.png +0 -0
- data/public/images/cms/icons/actions/root_folder.png +0 -0
- data/public/images/cms/icons/actions/root_link.png +0 -0
- data/public/images/cms/icons/actions/root_page.png +0 -0
- data/public/images/cms/icons/actions/undo.png +0 -0
- data/public/images/cms/icons/actions/up.png +0 -0
- data/public/images/cms/icons/actions/view.png +0 -0
- data/public/images/cms/icons/file_types/doc.png +0 -0
- data/public/images/cms/icons/file_types/file.png +0 -0
- data/public/images/cms/icons/file_types/gif.png +0 -0
- data/public/images/cms/icons/file_types/htm.png +0 -0
- data/public/images/cms/icons/file_types/pdf.png +0 -0
- data/public/images/cms/icons/file_types/ppt.png +0 -0
- data/public/images/cms/icons/file_types/swf.png +0 -0
- data/public/images/cms/icons/file_types/txt.png +0 -0
- data/public/images/cms/icons/file_types/xls.png +0 -0
- data/public/images/cms/icons/file_types/xml.png +0 -0
- data/public/images/cms/icons/file_types/zip.png +0 -0
- data/public/images/cms/icons/status/archived.gif +0 -0
- data/public/images/cms/icons/status/draft.gif +0 -0
- data/public/images/cms/icons/status/hidden.gif +0 -0
- data/public/images/cms/icons/status/locked.gif +0 -0
- data/public/images/cms/icons/status/published.gif +0 -0
- data/public/images/cms/icons/status/unlocked.gif +0 -0
- data/public/images/cms/icons/user.png +0 -0
- data/public/images/cms/login_bg.jpg +0 -0
- data/public/images/cms/login_bottom.jpg +0 -0
- data/public/images/cms/login_top.gif +0 -0
- data/public/images/cms/lt_button_bg.gif +0 -0
- data/public/images/cms/lt_button_l.gif +0 -0
- data/public/images/cms/lt_button_r.gif +0 -0
- data/public/images/cms/menu.png +0 -0
- data/public/images/cms/menu/block_cap_h.gif +0 -0
- data/public/images/cms/menu/bottom_cap.png +0 -0
- data/public/images/cms/menu/bottom_cap_menu.png +0 -0
- data/public/images/cms/menu/bottom_cap_menu_first.png +0 -0
- data/public/images/cms/menu/menu_header_first_bg.gif +0 -0
- data/public/images/cms/menu/selected_block_cap.gif +0 -0
- data/public/images/cms/menu/top_cap.png +0 -0
- data/public/images/cms/menu/top_cap_menu_header.png +0 -0
- data/public/images/cms/menu_h.gif +0 -0
- data/public/images/cms/menu_header.png +0 -0
- data/public/images/cms/menu_open.png +0 -0
- data/public/images/cms/menu_open_bg.gif +0 -0
- data/public/images/cms/nav.png +0 -0
- data/public/images/cms/nav/on_bg.gif +0 -0
- data/public/images/cms/nav_admin.gif +0 -0
- data/public/images/cms/nav_admin_h.gif +0 -0
- data/public/images/cms/nav_admin_on.gif +0 -0
- data/public/images/cms/nav_cap.png +0 -0
- data/public/images/cms/nav_cap_h.gif +0 -0
- data/public/images/cms/nav_content_library.gif +0 -0
- data/public/images/cms/nav_content_library_h.gif +0 -0
- data/public/images/cms/nav_content_library_on.gif +0 -0
- data/public/images/cms/nav_dash.gif +0 -0
- data/public/images/cms/nav_dash_h.gif +0 -0
- data/public/images/cms/nav_dash_on.gif +0 -0
- data/public/images/cms/nav_h.gif +0 -0
- data/public/images/cms/nav_sitemap.gif +0 -0
- data/public/images/cms/nav_sitemap_h.gif +0 -0
- data/public/images/cms/nav_sitemap_on.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_draft_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_draft_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_draft_r.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_published_bg.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_published_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_published_r.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_inset_r.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_l.gif +0 -0
- data/public/images/cms/page_toolbar/page_toolbar_r.gif +0 -0
- data/public/images/cms/page_toolbar/status_draft_bg.gif +0 -0
- data/public/images/cms/page_toolbar/status_draft_l.gif +0 -0
- data/public/images/cms/page_toolbar/status_l.gif +0 -0
- data/public/images/cms/page_toolbar/status_published_bg.gif +0 -0
- data/public/images/cms/page_toolbar/status_published_l.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_bg.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_end.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_r.gif +0 -0
- data/public/images/cms/page_toolbar/visual_editor_state_bg.gif +0 -0
- data/public/images/cms/pages/add_connectable.gif +0 -0
- data/public/images/cms/pages/connect_connectable.gif +0 -0
- data/public/images/cms/pages/container_border.gif +0 -0
- data/public/images/cms/pages/container_border_l.gif +0 -0
- data/public/images/cms/pages/container_border_r.gif +0 -0
- data/public/images/cms/pages/delete_connectable.gif +0 -0
- data/public/images/cms/pages/down_connectable.gif +0 -0
- data/public/images/cms/pages/down_connectable_disabled.gif +0 -0
- data/public/images/cms/pages/edit_connectable.gif +0 -0
- data/public/images/cms/pages/edit_connectable_2.gif +0 -0
- data/public/images/cms/pages/show_connectable.gif +0 -0
- data/public/images/cms/pages/up_connectable.gif +0 -0
- data/public/images/cms/pages/up_connectable_disabled.gif +0 -0
- data/public/images/cms/pagination/first.gif +0 -0
- data/public/images/cms/pagination/first_h.gif +0 -0
- data/public/images/cms/pagination/input.gif +0 -0
- data/public/images/cms/pagination/last.gif +0 -0
- data/public/images/cms/pagination/last_h.gif +0 -0
- data/public/images/cms/pagination/next.gif +0 -0
- data/public/images/cms/pagination/next_h.gif +0 -0
- data/public/images/cms/pagination/previous.gif +0 -0
- data/public/images/cms/pagination/previous_h.gif +0 -0
- data/public/images/cms/published_status.gif +0 -0
- data/public/images/cms/search.png +0 -0
- data/public/images/cms/search_submit.gif +0 -0
- data/public/images/cms/search_submit_h.gif +0 -0
- data/public/images/cms/searchbox_gradient.gif +0 -0
- data/public/images/cms/select_bg.gif +0 -0
- data/public/images/cms/select_bg_2.gif +0 -0
- data/public/images/cms/sitemap/bottom_cap.png +0 -0
- data/public/images/cms/sitemap/buffer_caps.png +0 -0
- data/public/images/cms/sitemap/contract.png +0 -0
- data/public/images/cms/sitemap/corners.gif +0 -0
- data/public/images/cms/sitemap/corners_hover.gif +0 -0
- data/public/images/cms/sitemap/divider.gif +0 -0
- data/public/images/cms/sitemap/expand.png +0 -0
- data/public/images/cms/sitemap/gradient.gif +0 -0
- data/public/images/cms/sitemap/gray_contract.png +0 -0
- data/public/images/cms/sitemap/gray_expand.png +0 -0
- data/public/images/cms/sitemap/no_contents.png +0 -0
- data/public/images/cms/sitemap/site_root_cap.png +0 -0
- data/public/images/cms/sitemap/tooltip.gif +0 -0
- data/public/images/cms/sitemap/top_cap_content.png +0 -0
- data/public/images/cms/solid.gif +0 -0
- data/public/images/cms/table/bl.gif +0 -0
- data/public/images/cms/table/br.gif +0 -0
- data/public/images/cms/table/divider.gif +0 -0
- data/public/images/cms/table/td_cap_first_h.gif +0 -0
- data/public/images/cms/table/td_cap_first_s.gif +0 -0
- data/public/images/cms/table/td_cap_last_h.gif +0 -0
- data/public/images/cms/table/td_cap_last_s.gif +0 -0
- data/public/images/cms/table/td_last_bg.gif +0 -0
- data/public/images/cms/table/th_bg.gif +0 -0
- data/public/images/cms/table/th_divider.gif +0 -0
- data/public/images/cms/table/th_last_bg.gif +0 -0
- data/public/images/cms/table/tl.gif +0 -0
- data/public/images/cms/table/tr.gif +0 -0
- data/public/images/cms/table/tr_bg.gif +0 -0
- data/public/images/cms/thickbox/loadingAnimation.gif +0 -0
- data/public/images/cms/thickbox/macFFBgHack.png +0 -0
- data/public/images/cms/toolbar_bg.png +0 -0
- data/public/images/cms/top_cap.png +0 -0
- data/public/images/cms/top_cap_content.png +0 -0
- data/public/images/cms/top_cap_menu_header.png +0 -0
- data/public/images/cms/user_search_submit.gif +0 -0
- data/public/images/cms/usercontrols_bg.png +0 -0
- data/public/images/cms/usercontrols_bg_cap.png +0 -0
- data/public/images/rails.png +0 -0
- data/public/javascripts/application.js +0 -2
- data/public/javascripts/cms/application.js +0 -148
- data/public/javascripts/cms/content_library.js +0 -36
- data/public/javascripts/cms/sitemap.js +0 -438
- data/public/javascripts/controls.js +0 -963
- data/public/javascripts/dragdrop.js +0 -973
- data/public/javascripts/effects.js +0 -1128
- data/public/javascripts/jquery-ui.js +0 -591
- data/public/javascripts/jquery.contextMenu.js +0 -211
- data/public/javascripts/jquery.cookie.js +0 -96
- data/public/javascripts/jquery.dimensions.js +0 -119
- data/public/javascripts/jquery.js +0 -11
- data/public/javascripts/jquery.selectbox-0.5.js +0 -209
- data/public/javascripts/jquery.taglist.js +0 -136
- data/public/javascripts/jquery.thickbox.js +0 -10
- data/public/javascripts/prototype.js +0 -4320
- data/public/robots.txt +0 -5
- data/public/site/customconfig.js +0 -1
- data/public/stylesheets/cms/administration.css +0 -91
- data/public/stylesheets/cms/application.css +0 -166
- data/public/stylesheets/cms/block.css +0 -26
- data/public/stylesheets/cms/buttons.css +0 -120
- data/public/stylesheets/cms/content_library.css +0 -139
- data/public/stylesheets/cms/content_types.css +0 -4
- data/public/stylesheets/cms/dashboard.css +0 -118
- data/public/stylesheets/cms/data_table.css +0 -156
- data/public/stylesheets/cms/date_picker.css +0 -73
- data/public/stylesheets/cms/form_layout.css +0 -279
- data/public/stylesheets/cms/jquery.contextMenu.css +0 -61
- data/public/stylesheets/cms/login.css +0 -78
- data/public/stylesheets/cms/menu.css +0 -116
- data/public/stylesheets/cms/nav.css +0 -99
- data/public/stylesheets/cms/page_toolbar.css +0 -135
- data/public/stylesheets/cms/reset.css +0 -46
- data/public/stylesheets/cms/selectbox.css +0 -56
- data/public/stylesheets/cms/sitemap.css +0 -390
- data/public/stylesheets/cms/taglist.css +0 -18
- data/public/stylesheets/cms/thickbox.css +0 -163
- data/script/about +0 -4
- data/script/console +0 -3
- data/script/dbconsole +0 -3
- data/script/destroy +0 -3
- data/script/generate +0 -3
- data/script/performance/benchmarker +0 -3
- data/script/performance/profiler +0 -3
- data/script/plugin +0 -3
- data/script/runner +0 -3
- data/script/server +0 -3
@@ -1,46 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
CKEDITOR.plugins.add( 'find',
|
7
|
-
{
|
8
|
-
init : function( editor )
|
9
|
-
{
|
10
|
-
var forms = CKEDITOR.plugins.find;
|
11
|
-
editor.ui.addButton( 'Find',
|
12
|
-
{
|
13
|
-
label : editor.lang.findAndReplace.find,
|
14
|
-
command : 'find'
|
15
|
-
});
|
16
|
-
var findCommand = editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) );
|
17
|
-
findCommand.canUndo = false;
|
18
|
-
|
19
|
-
editor.ui.addButton( 'Replace',
|
20
|
-
{
|
21
|
-
label : editor.lang.findAndReplace.replace,
|
22
|
-
command : 'replace'
|
23
|
-
});
|
24
|
-
var replaceCommand = editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) );
|
25
|
-
replaceCommand.canUndo = false;
|
26
|
-
|
27
|
-
CKEDITOR.dialog.add( 'find', this.path + 'dialogs/find.js' );
|
28
|
-
CKEDITOR.dialog.add( 'replace', this.path + 'dialogs/find.js' );
|
29
|
-
},
|
30
|
-
|
31
|
-
requires : [ 'styles' ]
|
32
|
-
} );
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Defines the style to be used to highlight results with the find dialog.
|
36
|
-
* @type Object
|
37
|
-
* @default { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } }
|
38
|
-
* @example
|
39
|
-
* // Highlight search results with blue on yellow.
|
40
|
-
* config.find_highlight =
|
41
|
-
* {
|
42
|
-
* element : 'span',
|
43
|
-
* styles : { 'background-color' : '#ff0', 'color' : '#00f' }
|
44
|
-
* };
|
45
|
-
*/
|
46
|
-
CKEDITOR.config.find_highlight = { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } };
|
@@ -1,682 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
|
3
|
-
For licensing, see LICENSE.html or http://ckeditor.com/license
|
4
|
-
*/
|
5
|
-
|
6
|
-
(function()
|
7
|
-
{
|
8
|
-
/*
|
9
|
-
* It is possible to set things in three different places.
|
10
|
-
* 1. As attributes in the object tag.
|
11
|
-
* 2. As param tags under the object tag.
|
12
|
-
* 3. As attributes in the embed tag.
|
13
|
-
* It is possible for a single attribute to be present in more than one place.
|
14
|
-
* So let's define a mapping between a sementic attribute and its syntactic
|
15
|
-
* equivalents.
|
16
|
-
* Then we'll set and retrieve attribute values according to the mapping,
|
17
|
-
* instead of having to check and set each syntactic attribute every time.
|
18
|
-
*
|
19
|
-
* Reference: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701
|
20
|
-
*/
|
21
|
-
var ATTRTYPE_OBJECT = 1,
|
22
|
-
ATTRTYPE_PARAM = 2,
|
23
|
-
ATTRTYPE_EMBED = 4;
|
24
|
-
|
25
|
-
var attributesMap =
|
26
|
-
{
|
27
|
-
id : [ { type : ATTRTYPE_OBJECT, name : CKEDITOR.env.ie ? '_cke_saved_id' : 'id' } ],
|
28
|
-
classid : [ { type : ATTRTYPE_OBJECT, name : 'classid' } ],
|
29
|
-
codebase : [ { type : ATTRTYPE_OBJECT, name : 'codebase'} ],
|
30
|
-
pluginspage : [ { type : ATTRTYPE_EMBED, name : 'pluginspage' } ],
|
31
|
-
src : [ { type : ATTRTYPE_PARAM, name : 'movie' }, { type : ATTRTYPE_EMBED, name : 'src' } ],
|
32
|
-
name : [ { type : ATTRTYPE_EMBED, name : 'name' } ],
|
33
|
-
align : [ { type : ATTRTYPE_OBJECT, name : 'align' } ],
|
34
|
-
title : [ { type : ATTRTYPE_OBJECT, name : 'title' }, { type : ATTRTYPE_EMBED, name : 'title' } ],
|
35
|
-
'class' : [ { type : ATTRTYPE_OBJECT, name : 'class' }, { type : ATTRTYPE_EMBED, name : 'class'} ],
|
36
|
-
width : [ { type : ATTRTYPE_OBJECT, name : 'width' }, { type : ATTRTYPE_EMBED, name : 'width' } ],
|
37
|
-
height : [ { type : ATTRTYPE_OBJECT, name : 'height' }, { type : ATTRTYPE_EMBED, name : 'height' } ],
|
38
|
-
hSpace : [ { type : ATTRTYPE_OBJECT, name : 'hSpace' }, { type : ATTRTYPE_EMBED, name : 'hSpace' } ],
|
39
|
-
vSpace : [ { type : ATTRTYPE_OBJECT, name : 'vSpace' }, { type : ATTRTYPE_EMBED, name : 'vSpace' } ],
|
40
|
-
style : [ { type : ATTRTYPE_OBJECT, name : 'style' }, { type : ATTRTYPE_EMBED, name : 'style' } ],
|
41
|
-
type : [ { type : ATTRTYPE_EMBED, name : 'type' } ]
|
42
|
-
};
|
43
|
-
|
44
|
-
var names = [ 'play', 'loop', 'menu', 'quality', 'scale', 'salign', 'wmode', 'bgcolor', 'base', 'flashvars', 'allowScriptAccess',
|
45
|
-
'allowFullScreen' ];
|
46
|
-
for ( var i = 0 ; i < names.length ; i++ )
|
47
|
-
attributesMap[ names[i] ] = [ { type : ATTRTYPE_EMBED, name : names[i] }, { type : ATTRTYPE_PARAM, name : names[i] } ];
|
48
|
-
names = [ 'allowFullScreen', 'play', 'loop', 'menu' ];
|
49
|
-
for ( i = 0 ; i < names.length ; i++ )
|
50
|
-
attributesMap[ names[i] ][0]['default'] = attributesMap[ names[i] ][1]['default'] = true;
|
51
|
-
|
52
|
-
function loadValue( objectNode, embedNode, paramMap )
|
53
|
-
{
|
54
|
-
var attributes = attributesMap[ this.id ];
|
55
|
-
if ( !attributes )
|
56
|
-
return;
|
57
|
-
|
58
|
-
var isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox );
|
59
|
-
for ( var i = 0 ; i < attributes.length ; i++ )
|
60
|
-
{
|
61
|
-
var attrDef = attributes[ i ];
|
62
|
-
switch ( attrDef.type )
|
63
|
-
{
|
64
|
-
case ATTRTYPE_OBJECT:
|
65
|
-
if ( !objectNode )
|
66
|
-
continue;
|
67
|
-
if ( objectNode.getAttribute( attrDef.name ) !== null )
|
68
|
-
{
|
69
|
-
var value = objectNode.getAttribute( attrDef.name );
|
70
|
-
if ( isCheckbox )
|
71
|
-
this.setValue( value.toLowerCase() == 'true' );
|
72
|
-
else
|
73
|
-
this.setValue( value );
|
74
|
-
return;
|
75
|
-
}
|
76
|
-
else if ( isCheckbox )
|
77
|
-
this.setValue( !!attrDef[ 'default' ] );
|
78
|
-
break;
|
79
|
-
case ATTRTYPE_PARAM:
|
80
|
-
if ( !objectNode )
|
81
|
-
continue;
|
82
|
-
if ( attrDef.name in paramMap )
|
83
|
-
{
|
84
|
-
value = paramMap[ attrDef.name ];
|
85
|
-
if ( isCheckbox )
|
86
|
-
this.setValue( value.toLowerCase() == 'true' );
|
87
|
-
else
|
88
|
-
this.setValue( value );
|
89
|
-
return;
|
90
|
-
}
|
91
|
-
else if ( isCheckbox )
|
92
|
-
this.setValue( !!attrDef[ 'default' ] );
|
93
|
-
break;
|
94
|
-
case ATTRTYPE_EMBED:
|
95
|
-
if ( !embedNode )
|
96
|
-
continue;
|
97
|
-
if ( embedNode.getAttribute( attrDef.name ) )
|
98
|
-
{
|
99
|
-
value = embedNode.getAttribute( attrDef.name );
|
100
|
-
if ( isCheckbox )
|
101
|
-
this.setValue( value.toLowerCase() == 'true' );
|
102
|
-
else
|
103
|
-
this.setValue( value );
|
104
|
-
return;
|
105
|
-
}
|
106
|
-
else if ( isCheckbox )
|
107
|
-
this.setValue( !!attrDef[ 'default' ] );
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
function commitValue( objectNode, embedNode, paramMap )
|
113
|
-
{
|
114
|
-
var attributes = attributesMap[ this.id ];
|
115
|
-
if ( !attributes )
|
116
|
-
return;
|
117
|
-
|
118
|
-
var isRemove = ( this.getValue() === '' ),
|
119
|
-
isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox );
|
120
|
-
|
121
|
-
for ( var i = 0 ; i < attributes.length ; i++ )
|
122
|
-
{
|
123
|
-
var attrDef = attributes[i];
|
124
|
-
switch ( attrDef.type )
|
125
|
-
{
|
126
|
-
case ATTRTYPE_OBJECT:
|
127
|
-
if ( !objectNode )
|
128
|
-
continue;
|
129
|
-
var value = this.getValue();
|
130
|
-
if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
|
131
|
-
objectNode.removeAttribute( attrDef.name );
|
132
|
-
else
|
133
|
-
objectNode.setAttribute( attrDef.name, value );
|
134
|
-
break;
|
135
|
-
case ATTRTYPE_PARAM:
|
136
|
-
if ( !objectNode )
|
137
|
-
continue;
|
138
|
-
value = this.getValue();
|
139
|
-
if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
|
140
|
-
{
|
141
|
-
if ( attrDef.name in paramMap )
|
142
|
-
paramMap[ attrDef.name ].remove();
|
143
|
-
}
|
144
|
-
else
|
145
|
-
{
|
146
|
-
if ( attrDef.name in paramMap )
|
147
|
-
paramMap[ attrDef.name ].setAttribute( 'value', value );
|
148
|
-
else
|
149
|
-
{
|
150
|
-
var param = CKEDITOR.dom.element.createFromHtml( '<cke:param></cke:param>', objectNode.getDocument() );
|
151
|
-
param.setAttributes( { name : attrDef.name, value : value } );
|
152
|
-
if ( objectNode.getChildCount() < 1 )
|
153
|
-
param.appendTo( objectNode );
|
154
|
-
else
|
155
|
-
param.insertBefore( objectNode.getFirst() );
|
156
|
-
}
|
157
|
-
}
|
158
|
-
break;
|
159
|
-
case ATTRTYPE_EMBED:
|
160
|
-
if ( !embedNode )
|
161
|
-
continue;
|
162
|
-
value = this.getValue();
|
163
|
-
if ( isRemove || isCheckbox && value === attrDef[ 'default' ])
|
164
|
-
embedNode.removeAttribute( attrDef.name );
|
165
|
-
else
|
166
|
-
embedNode.setAttribute( attrDef.name, value );
|
167
|
-
}
|
168
|
-
}
|
169
|
-
}
|
170
|
-
|
171
|
-
CKEDITOR.dialog.add( 'flash', function( editor )
|
172
|
-
{
|
173
|
-
var makeObjectTag = !editor.config.flashEmbedTagOnly,
|
174
|
-
makeEmbedTag = editor.config.flashAddEmbedTag || editor.config.flashEmbedTagOnly;
|
175
|
-
|
176
|
-
var previewAreaHtml = '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.image.preview ) +'<br>' +
|
177
|
-
'<div id="FlashPreviewLoader" style="display:none"><div class="loading"> </div></div>' +
|
178
|
-
'<div id="FlashPreviewBox"></div></div>';
|
179
|
-
|
180
|
-
return {
|
181
|
-
title : editor.lang.flash.title,
|
182
|
-
minWidth : 420,
|
183
|
-
minHeight : 310,
|
184
|
-
onShow : function()
|
185
|
-
{
|
186
|
-
// Clear previously saved elements.
|
187
|
-
this.fakeImage = this.objectNode = this.embedNode = null;
|
188
|
-
|
189
|
-
// Try to detect any embed or object tag that has Flash parameters.
|
190
|
-
var fakeImage = this.getSelectedElement();
|
191
|
-
if ( fakeImage && fakeImage.getAttribute( '_cke_real_element_type' ) && fakeImage.getAttribute( '_cke_real_element_type' ) == 'flash' )
|
192
|
-
{
|
193
|
-
this.fakeImage = fakeImage;
|
194
|
-
|
195
|
-
var realElement = editor.restoreRealElement( fakeImage ),
|
196
|
-
objectNode = null, embedNode = null, paramMap = {};
|
197
|
-
if ( realElement.getName() == 'cke:object' )
|
198
|
-
{
|
199
|
-
objectNode = realElement;
|
200
|
-
var embedList = objectNode.getElementsByTag( 'embed', 'cke' );
|
201
|
-
if ( embedList.count() > 0 )
|
202
|
-
embedNode = embedList.getItem( 0 );
|
203
|
-
var paramList = objectNode.getElementsByTag( 'param', 'cke' );
|
204
|
-
for ( var i = 0, length = paramList.count() ; i < length ; i++ )
|
205
|
-
{
|
206
|
-
var item = paramList.getItem( i ),
|
207
|
-
name = item.getAttribute( 'name' ),
|
208
|
-
value = item.getAttribute( 'value' );
|
209
|
-
paramMap[ name ] = value;
|
210
|
-
}
|
211
|
-
}
|
212
|
-
else if ( realElement.getName() == 'cke:embed' )
|
213
|
-
embedNode = realElement;
|
214
|
-
|
215
|
-
this.objectNode = objectNode;
|
216
|
-
this.embedNode = embedNode;
|
217
|
-
|
218
|
-
this.setupContent( objectNode, embedNode, paramMap, fakeImage );
|
219
|
-
}
|
220
|
-
},
|
221
|
-
onOk : function()
|
222
|
-
{
|
223
|
-
// If there's no selected object or embed, create one. Otherwise, reuse the
|
224
|
-
// selected object and embed nodes.
|
225
|
-
var objectNode = null,
|
226
|
-
embedNode = null,
|
227
|
-
paramMap = null;
|
228
|
-
if ( !this.fakeImage )
|
229
|
-
{
|
230
|
-
if ( makeObjectTag )
|
231
|
-
{
|
232
|
-
objectNode = CKEDITOR.dom.element.createFromHtml( '<cke:object></cke:object>', editor.document );
|
233
|
-
var attributes = {
|
234
|
-
classid : 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
|
235
|
-
codebase : 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'
|
236
|
-
};
|
237
|
-
objectNode.setAttributes( attributes );
|
238
|
-
}
|
239
|
-
if ( makeEmbedTag )
|
240
|
-
{
|
241
|
-
embedNode = CKEDITOR.dom.element.createFromHtml( '<cke:embed></cke:embed>', editor.document );
|
242
|
-
embedNode.setAttributes(
|
243
|
-
{
|
244
|
-
type : 'application/x-shockwave-flash',
|
245
|
-
pluginspage : 'http://www.macromedia.com/go/getflashplayer'
|
246
|
-
} );
|
247
|
-
if ( objectNode )
|
248
|
-
embedNode.appendTo( objectNode );
|
249
|
-
}
|
250
|
-
}
|
251
|
-
else
|
252
|
-
{
|
253
|
-
objectNode = this.objectNode;
|
254
|
-
embedNode = this.embedNode;
|
255
|
-
}
|
256
|
-
|
257
|
-
// Produce the paramMap if there's an object tag.
|
258
|
-
if ( objectNode )
|
259
|
-
{
|
260
|
-
paramMap = {};
|
261
|
-
var paramList = objectNode.getElementsByTag( 'param', 'cke' );
|
262
|
-
for ( var i = 0, length = paramList.count() ; i < length ; i++ )
|
263
|
-
paramMap[ paramList.getItem( i ).getAttribute( 'name' ) ] = paramList.getItem( i );
|
264
|
-
}
|
265
|
-
|
266
|
-
// Apply or remove flash parameters.
|
267
|
-
var extraStyles = {};
|
268
|
-
this.commitContent( objectNode, embedNode, paramMap, extraStyles );
|
269
|
-
|
270
|
-
// Refresh the fake image.
|
271
|
-
var newFakeImage = editor.createFakeElement( objectNode || embedNode, 'cke_flash', 'flash', true );
|
272
|
-
newFakeImage.setStyles( extraStyles );
|
273
|
-
if ( this.fakeImage )
|
274
|
-
newFakeImage.replace( this.fakeImage );
|
275
|
-
else
|
276
|
-
editor.insertElement( newFakeImage );
|
277
|
-
},
|
278
|
-
|
279
|
-
onHide : function()
|
280
|
-
{
|
281
|
-
if ( this.preview )
|
282
|
-
this.preview.setHtml('');
|
283
|
-
},
|
284
|
-
|
285
|
-
contents : [
|
286
|
-
{
|
287
|
-
id : 'info',
|
288
|
-
label : editor.lang.common.generalTab,
|
289
|
-
accessKey : 'I',
|
290
|
-
elements :
|
291
|
-
[
|
292
|
-
{
|
293
|
-
type : 'vbox',
|
294
|
-
padding : 0,
|
295
|
-
children :
|
296
|
-
[
|
297
|
-
{
|
298
|
-
type : 'html',
|
299
|
-
html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.image.url ) + '</span>'
|
300
|
-
},
|
301
|
-
{
|
302
|
-
type : 'hbox',
|
303
|
-
widths : [ '280px', '110px' ],
|
304
|
-
align : 'right',
|
305
|
-
children :
|
306
|
-
[
|
307
|
-
{
|
308
|
-
id : 'src',
|
309
|
-
type : 'text',
|
310
|
-
label : '',
|
311
|
-
validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.flash.validateSrc ),
|
312
|
-
setup : loadValue,
|
313
|
-
commit : commitValue,
|
314
|
-
onLoad : function()
|
315
|
-
{
|
316
|
-
var dialog = this.getDialog(),
|
317
|
-
updatePreview = function( src ){
|
318
|
-
|
319
|
-
dialog.preview.setHtml( '<embed height="100%" width="100%" src="'
|
320
|
-
+ CKEDITOR.tools.htmlEncode( src )
|
321
|
-
+ '" type="application/x-shockwave-flash"></embed>' );
|
322
|
-
};
|
323
|
-
// Preview element
|
324
|
-
dialog.preview = dialog.getContentElement( 'info', 'preview' ).getElement().getChild( 3 );
|
325
|
-
|
326
|
-
// Sync on inital value loaded.
|
327
|
-
this.on( 'change', function( evt ){
|
328
|
-
|
329
|
-
if ( evt.data && evt.data.value )
|
330
|
-
updatePreview( evt.data.value );
|
331
|
-
} );
|
332
|
-
// Sync when input value changed.
|
333
|
-
this.getInputElement().on( 'change', function( evt ){
|
334
|
-
|
335
|
-
updatePreview( this.getValue() );
|
336
|
-
}, this );
|
337
|
-
}
|
338
|
-
},
|
339
|
-
{
|
340
|
-
type : 'button',
|
341
|
-
id : 'browse',
|
342
|
-
filebrowser : 'info:src',
|
343
|
-
hidden : true,
|
344
|
-
align : 'center',
|
345
|
-
label : editor.lang.common.browseServer
|
346
|
-
}
|
347
|
-
]
|
348
|
-
}
|
349
|
-
]
|
350
|
-
},
|
351
|
-
{
|
352
|
-
type : 'hbox',
|
353
|
-
widths : [ '25%', '25%', '25%', '25%', '25%' ],
|
354
|
-
children :
|
355
|
-
[
|
356
|
-
{
|
357
|
-
type : 'text',
|
358
|
-
id : 'width',
|
359
|
-
style : 'width:95px',
|
360
|
-
label : editor.lang.flash.width,
|
361
|
-
validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateWidth ),
|
362
|
-
setup : function( objectNode, embedNode, paramMap, fakeImage )
|
363
|
-
{
|
364
|
-
loadValue.apply( this, arguments );
|
365
|
-
if ( fakeImage )
|
366
|
-
{
|
367
|
-
var fakeImageWidth = parseInt( fakeImage.$.style.width, 10 );
|
368
|
-
if ( !isNaN( fakeImageWidth ) )
|
369
|
-
this.setValue( fakeImageWidth );
|
370
|
-
}
|
371
|
-
},
|
372
|
-
commit : function( objectNode, embedNode, paramMap, extraStyles )
|
373
|
-
{
|
374
|
-
commitValue.apply( this, arguments );
|
375
|
-
if ( this.getValue() )
|
376
|
-
extraStyles.width = this.getValue() + 'px';
|
377
|
-
}
|
378
|
-
},
|
379
|
-
{
|
380
|
-
type : 'text',
|
381
|
-
id : 'height',
|
382
|
-
style : 'width:95px',
|
383
|
-
label : editor.lang.flash.height,
|
384
|
-
validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHeight ),
|
385
|
-
setup : function( objectNode, embedNode, paramMap, fakeImage )
|
386
|
-
{
|
387
|
-
loadValue.apply( this, arguments );
|
388
|
-
if ( fakeImage )
|
389
|
-
{
|
390
|
-
var fakeImageHeight = parseInt( fakeImage.$.style.height, 10 );
|
391
|
-
if ( !isNaN( fakeImageHeight ) )
|
392
|
-
this.setValue( fakeImageHeight );
|
393
|
-
}
|
394
|
-
},
|
395
|
-
commit : function( objectNode, embedNode, paramMap, extraStyles )
|
396
|
-
{
|
397
|
-
commitValue.apply( this, arguments );
|
398
|
-
if ( this.getValue() )
|
399
|
-
extraStyles.height = this.getValue() + 'px';
|
400
|
-
}
|
401
|
-
},
|
402
|
-
{
|
403
|
-
type : 'text',
|
404
|
-
id : 'hSpace',
|
405
|
-
style : 'width:95px',
|
406
|
-
label : editor.lang.flash.hSpace,
|
407
|
-
validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHSpace ),
|
408
|
-
setup : loadValue,
|
409
|
-
commit : commitValue
|
410
|
-
},
|
411
|
-
{
|
412
|
-
type : 'text',
|
413
|
-
id : 'vSpace',
|
414
|
-
style : 'width:95px',
|
415
|
-
label : editor.lang.flash.vSpace,
|
416
|
-
validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateVSpace ),
|
417
|
-
setup : loadValue,
|
418
|
-
commit : commitValue
|
419
|
-
}
|
420
|
-
]
|
421
|
-
},
|
422
|
-
|
423
|
-
{
|
424
|
-
type : 'vbox',
|
425
|
-
children :
|
426
|
-
[
|
427
|
-
{
|
428
|
-
type : 'html',
|
429
|
-
id : 'preview',
|
430
|
-
style : 'width:95%;',
|
431
|
-
html : previewAreaHtml
|
432
|
-
}
|
433
|
-
]
|
434
|
-
}
|
435
|
-
]
|
436
|
-
},
|
437
|
-
{
|
438
|
-
id : 'Upload',
|
439
|
-
hidden : true,
|
440
|
-
filebrowser : 'uploadButton',
|
441
|
-
label : editor.lang.common.upload,
|
442
|
-
elements :
|
443
|
-
[
|
444
|
-
{
|
445
|
-
type : 'file',
|
446
|
-
id : 'upload',
|
447
|
-
label : editor.lang.common.upload,
|
448
|
-
size : 38
|
449
|
-
},
|
450
|
-
{
|
451
|
-
type : 'fileButton',
|
452
|
-
id : 'uploadButton',
|
453
|
-
label : editor.lang.common.uploadSubmit,
|
454
|
-
filebrowser : 'info:src',
|
455
|
-
'for' : [ 'Upload', 'upload' ]
|
456
|
-
}
|
457
|
-
]
|
458
|
-
},
|
459
|
-
{
|
460
|
-
id : 'properties',
|
461
|
-
label : editor.lang.flash.propertiesTab,
|
462
|
-
elements :
|
463
|
-
[
|
464
|
-
{
|
465
|
-
type : 'hbox',
|
466
|
-
widths : [ '50%', '50%' ],
|
467
|
-
children :
|
468
|
-
[
|
469
|
-
{
|
470
|
-
id : 'scale',
|
471
|
-
type : 'select',
|
472
|
-
label : editor.lang.flash.scale,
|
473
|
-
'default' : '',
|
474
|
-
style : 'width : 100%;',
|
475
|
-
items :
|
476
|
-
[
|
477
|
-
[ editor.lang.common.notSet , ''],
|
478
|
-
[ editor.lang.flash.scaleAll, 'showall' ],
|
479
|
-
[ editor.lang.flash.scaleNoBorder, 'noborder' ],
|
480
|
-
[ editor.lang.flash.scaleFit, 'exactfit' ]
|
481
|
-
],
|
482
|
-
setup : loadValue,
|
483
|
-
commit : commitValue
|
484
|
-
},
|
485
|
-
{
|
486
|
-
id : 'allowScriptAccess',
|
487
|
-
type : 'select',
|
488
|
-
label : editor.lang.flash.access,
|
489
|
-
'default' : '',
|
490
|
-
style : 'width : 100%;',
|
491
|
-
items :
|
492
|
-
[
|
493
|
-
[ editor.lang.common.notSet , ''],
|
494
|
-
[ editor.lang.flash.accessAlways, 'always' ],
|
495
|
-
[ editor.lang.flash.accessSameDomain, 'samedomain' ],
|
496
|
-
[ editor.lang.flash.accessNever, 'never' ]
|
497
|
-
],
|
498
|
-
setup : loadValue,
|
499
|
-
commit : commitValue
|
500
|
-
}
|
501
|
-
]
|
502
|
-
},
|
503
|
-
{
|
504
|
-
type : 'hbox',
|
505
|
-
widths : [ '50%', '50%' ],
|
506
|
-
children :
|
507
|
-
[
|
508
|
-
{
|
509
|
-
id : 'wmode',
|
510
|
-
type : 'select',
|
511
|
-
label : editor.lang.flash.windowMode,
|
512
|
-
'default' : '',
|
513
|
-
style : 'width : 100%;',
|
514
|
-
items :
|
515
|
-
[
|
516
|
-
[ editor.lang.common.notSet , '' ],
|
517
|
-
[ editor.lang.flash.windowModeWindow, 'window' ],
|
518
|
-
[ editor.lang.flash.windowModeOpaque, 'opaque' ],
|
519
|
-
[ editor.lang.flash.windowModeTransparent, 'transparent' ]
|
520
|
-
],
|
521
|
-
setup : loadValue,
|
522
|
-
commit : commitValue
|
523
|
-
},
|
524
|
-
{
|
525
|
-
id : 'quality',
|
526
|
-
type : 'select',
|
527
|
-
label : editor.lang.flash.quality,
|
528
|
-
'default' : 'high',
|
529
|
-
style : 'width : 100%;',
|
530
|
-
items :
|
531
|
-
[
|
532
|
-
[ editor.lang.common.notSet , '' ],
|
533
|
-
[ editor.lang.flash.qualityBest, 'best' ],
|
534
|
-
[ editor.lang.flash.qualityHigh, 'high' ],
|
535
|
-
[ editor.lang.flash.qualityAutoHigh, 'autohigh' ],
|
536
|
-
[ editor.lang.flash.qualityMedium, 'medium' ],
|
537
|
-
[ editor.lang.flash.qualityAutoLow, 'autolow' ],
|
538
|
-
[ editor.lang.flash.qualityLow, 'low' ]
|
539
|
-
],
|
540
|
-
setup : loadValue,
|
541
|
-
commit : commitValue
|
542
|
-
}
|
543
|
-
]
|
544
|
-
},
|
545
|
-
{
|
546
|
-
type : 'hbox',
|
547
|
-
widths : [ '50%', '50%' ],
|
548
|
-
children :
|
549
|
-
[
|
550
|
-
{
|
551
|
-
id : 'align',
|
552
|
-
type : 'select',
|
553
|
-
label : editor.lang.flash.align,
|
554
|
-
'default' : '',
|
555
|
-
style : 'width : 100%;',
|
556
|
-
items :
|
557
|
-
[
|
558
|
-
[ editor.lang.common.notSet , ''],
|
559
|
-
[ editor.lang.image.alignLeft , 'left'],
|
560
|
-
[ editor.lang.image.alignAbsBottom , 'absBottom'],
|
561
|
-
[ editor.lang.image.alignAbsMiddle , 'absMiddle'],
|
562
|
-
[ editor.lang.image.alignBaseline , 'baseline'],
|
563
|
-
[ editor.lang.image.alignBottom , 'bottom'],
|
564
|
-
[ editor.lang.image.alignMiddle , 'middle'],
|
565
|
-
[ editor.lang.image.alignRight , 'right'],
|
566
|
-
[ editor.lang.image.alignTextTop , 'textTop'],
|
567
|
-
[ editor.lang.image.alignTop , 'top']
|
568
|
-
],
|
569
|
-
setup : loadValue,
|
570
|
-
commit : commitValue
|
571
|
-
},
|
572
|
-
{
|
573
|
-
type : 'html',
|
574
|
-
html : '<div></div>'
|
575
|
-
}
|
576
|
-
]
|
577
|
-
},
|
578
|
-
{
|
579
|
-
type : 'vbox',
|
580
|
-
padding : 0,
|
581
|
-
children :
|
582
|
-
[
|
583
|
-
{
|
584
|
-
type : 'html',
|
585
|
-
html : CKEDITOR.tools.htmlEncode( editor.lang.flash.flashvars )
|
586
|
-
},
|
587
|
-
{
|
588
|
-
type : 'checkbox',
|
589
|
-
id : 'menu',
|
590
|
-
label : editor.lang.flash.chkMenu,
|
591
|
-
'default' : true,
|
592
|
-
setup : loadValue,
|
593
|
-
commit : commitValue
|
594
|
-
},
|
595
|
-
{
|
596
|
-
type : 'checkbox',
|
597
|
-
id : 'play',
|
598
|
-
label : editor.lang.flash.chkPlay,
|
599
|
-
'default' : true,
|
600
|
-
setup : loadValue,
|
601
|
-
commit : commitValue
|
602
|
-
},
|
603
|
-
{
|
604
|
-
type : 'checkbox',
|
605
|
-
id : 'loop',
|
606
|
-
label : editor.lang.flash.chkLoop,
|
607
|
-
'default' : true,
|
608
|
-
setup : loadValue,
|
609
|
-
commit : commitValue
|
610
|
-
},
|
611
|
-
{
|
612
|
-
type : 'checkbox',
|
613
|
-
id : 'allowFullScreen',
|
614
|
-
label : editor.lang.flash.chkFull,
|
615
|
-
'default' : true,
|
616
|
-
setup : loadValue,
|
617
|
-
commit : commitValue
|
618
|
-
}
|
619
|
-
]
|
620
|
-
}
|
621
|
-
]
|
622
|
-
},
|
623
|
-
{
|
624
|
-
id : 'advanced',
|
625
|
-
label : editor.lang.common.advancedTab,
|
626
|
-
elements :
|
627
|
-
[
|
628
|
-
{
|
629
|
-
type : 'hbox',
|
630
|
-
widths : [ '45%', '55%' ],
|
631
|
-
children :
|
632
|
-
[
|
633
|
-
{
|
634
|
-
type : 'text',
|
635
|
-
id : 'id',
|
636
|
-
label : editor.lang.common.id,
|
637
|
-
setup : loadValue,
|
638
|
-
commit : commitValue
|
639
|
-
},
|
640
|
-
{
|
641
|
-
type : 'text',
|
642
|
-
id : 'title',
|
643
|
-
label : editor.lang.common.advisoryTitle,
|
644
|
-
setup : loadValue,
|
645
|
-
commit : commitValue
|
646
|
-
}
|
647
|
-
]
|
648
|
-
},
|
649
|
-
{
|
650
|
-
type : 'hbox',
|
651
|
-
widths : [ '45%', '55%' ],
|
652
|
-
children :
|
653
|
-
[
|
654
|
-
{
|
655
|
-
type : 'text',
|
656
|
-
id : 'bgcolor',
|
657
|
-
label : editor.lang.flash.bgcolor,
|
658
|
-
setup : loadValue,
|
659
|
-
commit : commitValue
|
660
|
-
},
|
661
|
-
{
|
662
|
-
type : 'text',
|
663
|
-
id : 'class',
|
664
|
-
label : editor.lang.common.cssClass,
|
665
|
-
setup : loadValue,
|
666
|
-
commit : commitValue
|
667
|
-
}
|
668
|
-
]
|
669
|
-
},
|
670
|
-
{
|
671
|
-
type : 'text',
|
672
|
-
id : 'style',
|
673
|
-
label : editor.lang.common.cssStyle,
|
674
|
-
setup : loadValue,
|
675
|
-
commit : commitValue
|
676
|
-
}
|
677
|
-
]
|
678
|
-
}
|
679
|
-
]
|
680
|
-
};
|
681
|
-
} );
|
682
|
-
})();
|