├── .gitignore ├── README.md ├── demo_app ├── app │ ├── __init__.py │ ├── adminx.py │ └── models.py ├── data.db ├── extest │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── manage.py └── requirements.txt ├── doc └── xcms.png └── xcms ├── __init__.py ├── adminx.py ├── plugins ├── __init__.py ├── tree.py └── wysi.py ├── static └── xcms │ ├── ckeditor │ ├── CHANGES.md │ ├── LICENSE.md │ ├── README.md │ ├── build-config.js │ ├── ckeditor.js │ ├── config.js │ ├── contents.css │ ├── lang │ │ ├── af.js │ │ ├── ar.js │ │ ├── bg.js │ │ ├── bn.js │ │ ├── bs.js │ │ ├── ca.js │ │ ├── cs.js │ │ ├── cy.js │ │ ├── da.js │ │ ├── de.js │ │ ├── el.js │ │ ├── en-au.js │ │ ├── en-ca.js │ │ ├── en-gb.js │ │ ├── en.js │ │ ├── eo.js │ │ ├── es.js │ │ ├── et.js │ │ ├── eu.js │ │ ├── fa.js │ │ ├── fi.js │ │ ├── fo.js │ │ ├── fr-ca.js │ │ ├── fr.js │ │ ├── gl.js │ │ ├── gu.js │ │ ├── he.js │ │ ├── hi.js │ │ ├── hr.js │ │ ├── hu.js │ │ ├── is.js │ │ ├── it.js │ │ ├── ja.js │ │ ├── ka.js │ │ ├── km.js │ │ ├── ko.js │ │ ├── ku.js │ │ ├── lt.js │ │ ├── lv.js │ │ ├── mk.js │ │ ├── mn.js │ │ ├── ms.js │ │ ├── nb.js │ │ ├── nl.js │ │ ├── no.js │ │ ├── pl.js │ │ ├── pt-br.js │ │ ├── pt.js │ │ ├── ro.js │ │ ├── ru.js │ │ ├── sk.js │ │ ├── sl.js │ │ ├── sr-latn.js │ │ ├── sr.js │ │ ├── sv.js │ │ ├── th.js │ │ ├── tr.js │ │ ├── ug.js │ │ ├── uk.js │ │ ├── vi.js │ │ ├── zh-cn.js │ │ └── zh.js │ ├── plugins │ │ ├── a11yhelp │ │ │ └── dialogs │ │ │ │ ├── a11yhelp.js │ │ │ │ └── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── ar.js │ │ │ │ ├── bg.js │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── da.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── et.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── gu.js │ │ │ │ ├── he.js │ │ │ │ ├── hi.js │ │ │ │ ├── hr.js │ │ │ │ ├── hu.js │ │ │ │ ├── it.js │ │ │ │ ├── ku.js │ │ │ │ ├── lt.js │ │ │ │ ├── lv.js │ │ │ │ ├── mk.js │ │ │ │ ├── mn.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pl.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── pt.js │ │ │ │ ├── ro.js │ │ │ │ ├── ru.js │ │ │ │ ├── sk.js │ │ │ │ ├── sl.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ ├── uk.js │ │ │ │ ├── vi.js │ │ │ │ └── zh-cn.js │ │ ├── about │ │ │ └── dialogs │ │ │ │ ├── about.js │ │ │ │ └── logo_ckeditor.png │ │ ├── clipboard │ │ │ └── dialogs │ │ │ │ └── paste.js │ │ ├── colordialog │ │ │ └── dialogs │ │ │ │ └── colordialog.js │ │ ├── dialog │ │ │ └── dialogDefinition.js │ │ ├── div │ │ │ └── dialogs │ │ │ │ └── div.js │ │ ├── fakeobjects │ │ │ └── images │ │ │ │ └── spacer.gif │ │ ├── find │ │ │ └── dialogs │ │ │ │ └── find.js │ │ ├── flash │ │ │ ├── dialogs │ │ │ │ └── flash.js │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── forms │ │ │ ├── dialogs │ │ │ │ ├── button.js │ │ │ │ ├── checkbox.js │ │ │ │ ├── form.js │ │ │ │ ├── hiddenfield.js │ │ │ │ ├── radio.js │ │ │ │ ├── select.js │ │ │ │ ├── textarea.js │ │ │ │ └── textfield.js │ │ │ └── images │ │ │ │ └── hiddenfield.gif │ │ ├── icons.png │ │ ├── iframe │ │ │ ├── dialogs │ │ │ │ └── iframe.js │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── image │ │ │ ├── dialogs │ │ │ │ └── image.js │ │ │ └── images │ │ │ │ └── noimage.png │ │ ├── link │ │ │ ├── dialogs │ │ │ │ ├── anchor.js │ │ │ │ └── link.js │ │ │ └── images │ │ │ │ └── anchor.png │ │ ├── liststyle │ │ │ └── dialogs │ │ │ │ └── liststyle.js │ │ ├── magicline │ │ │ └── images │ │ │ │ └── icon.png │ │ ├── pagebreak │ │ │ └── images │ │ │ │ └── pagebreak.gif │ │ ├── pastefromword │ │ │ └── filter │ │ │ │ └── default.js │ │ ├── preview │ │ │ └── preview.html │ │ ├── showblocks │ │ │ └── images │ │ │ │ ├── block_address.png │ │ │ │ ├── block_blockquote.png │ │ │ │ ├── block_div.png │ │ │ │ ├── block_h1.png │ │ │ │ ├── block_h2.png │ │ │ │ ├── block_h3.png │ │ │ │ ├── block_h4.png │ │ │ │ ├── block_h5.png │ │ │ │ ├── block_h6.png │ │ │ │ ├── block_p.png │ │ │ │ └── block_pre.png │ │ ├── smiley │ │ │ ├── dialogs │ │ │ │ └── smiley.js │ │ │ └── images │ │ │ │ ├── angel_smile.gif │ │ │ │ ├── angry_smile.gif │ │ │ │ ├── broken_heart.gif │ │ │ │ ├── confused_smile.gif │ │ │ │ ├── cry_smile.gif │ │ │ │ ├── devil_smile.gif │ │ │ │ ├── embaressed_smile.gif │ │ │ │ ├── embarrassed_smile.gif │ │ │ │ ├── envelope.gif │ │ │ │ ├── heart.gif │ │ │ │ ├── kiss.gif │ │ │ │ ├── lightbulb.gif │ │ │ │ ├── omg_smile.gif │ │ │ │ ├── regular_smile.gif │ │ │ │ ├── sad_smile.gif │ │ │ │ ├── shades_smile.gif │ │ │ │ ├── teeth_smile.gif │ │ │ │ ├── thumbs_down.gif │ │ │ │ ├── thumbs_up.gif │ │ │ │ ├── tongue_smile.gif │ │ │ │ ├── tounge_smile.gif │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ └── wink_smile.gif │ │ ├── specialchar │ │ │ └── dialogs │ │ │ │ ├── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── ca.js │ │ │ │ ├── cs.js │ │ │ │ ├── cy.js │ │ │ │ ├── de.js │ │ │ │ ├── el.js │ │ │ │ ├── en.js │ │ │ │ ├── eo.js │ │ │ │ ├── et.js │ │ │ │ ├── fa.js │ │ │ │ ├── fi.js │ │ │ │ ├── fr.js │ │ │ │ ├── he.js │ │ │ │ ├── hr.js │ │ │ │ ├── it.js │ │ │ │ ├── ku.js │ │ │ │ ├── lv.js │ │ │ │ ├── nb.js │ │ │ │ ├── nl.js │ │ │ │ ├── no.js │ │ │ │ ├── pt-br.js │ │ │ │ ├── sk.js │ │ │ │ ├── tr.js │ │ │ │ ├── ug.js │ │ │ │ └── zh-cn.js │ │ │ │ └── specialchar.js │ │ ├── table │ │ │ └── dialogs │ │ │ │ └── table.js │ │ ├── tabletools │ │ │ └── dialogs │ │ │ │ └── tableCell.js │ │ └── templates │ │ │ ├── dialogs │ │ │ ├── templates.css │ │ │ └── templates.js │ │ │ └── templates │ │ │ ├── default.js │ │ │ └── images │ │ │ ├── template1.gif │ │ │ ├── template2.gif │ │ │ └── template3.gif │ ├── samples │ │ ├── ajax.html │ │ ├── api.html │ │ ├── appendto.html │ │ ├── assets │ │ │ ├── inlineall │ │ │ │ └── logo.png │ │ │ ├── outputxhtml │ │ │ │ └── outputxhtml.css │ │ │ ├── posteddata.php │ │ │ ├── sample.css │ │ │ ├── sample.jpg │ │ │ └── uilanguages │ │ │ │ └── languages.js │ │ ├── divreplace.html │ │ ├── index.html │ │ ├── inlineall.html │ │ ├── inlinebycode.html │ │ ├── plugins │ │ │ ├── dialog │ │ │ │ ├── assets │ │ │ │ │ └── my_dialog.js │ │ │ │ └── dialog.html │ │ │ ├── enterkey │ │ │ │ └── enterkey.html │ │ │ ├── htmlwriter │ │ │ │ ├── assets │ │ │ │ │ └── outputforflash │ │ │ │ │ │ ├── outputforflash.fla │ │ │ │ │ │ ├── outputforflash.swf │ │ │ │ │ │ └── swfobject.js │ │ │ │ ├── outputforflash.html │ │ │ │ └── outputhtml.html │ │ │ ├── magicline │ │ │ │ └── magicline.html │ │ │ ├── toolbar │ │ │ │ └── toolbar.html │ │ │ └── wysiwygarea │ │ │ │ └── fullpage.html │ │ ├── readonly.html │ │ ├── replacebyclass.html │ │ ├── replacebycode.html │ │ ├── sample.css │ │ ├── sample.js │ │ ├── sample_posteddata.php │ │ ├── tabindex.html │ │ ├── uicolor.html │ │ ├── uilanguages.html │ │ └── xhtmlstyle.html │ ├── skins │ │ └── moono │ │ │ ├── dialog.css │ │ │ ├── dialog_ie.css │ │ │ ├── dialog_ie7.css │ │ │ ├── dialog_ie8.css │ │ │ ├── dialog_opera.css │ │ │ ├── editor.css │ │ │ ├── editor_gecko.css │ │ │ ├── editor_ie.css │ │ │ ├── editor_ie7.css │ │ │ ├── editor_ie8.css │ │ │ ├── icons.png │ │ │ ├── images │ │ │ ├── arrow.png │ │ │ ├── close.png │ │ │ └── mini.png │ │ │ └── readme.md │ └── styles.js │ ├── css │ ├── bootstrap-wysihtml5.css │ ├── content.css │ ├── jstree │ │ ├── d.gif │ │ ├── d.png │ │ ├── dot_for_ie.gif │ │ ├── style.css │ │ └── throbber.gif │ ├── prettify.css │ └── wysiwyg-color.css │ ├── img │ ├── glyphicons-halflings-white.png │ └── glyphicons-halflings.png │ ├── js │ ├── bootstrap-wysihtml5.js │ ├── form_tree.js │ ├── form_wysi.js │ ├── jquery.jstree.js │ ├── locales │ │ ├── bootstrap-wysihtml5.bg-BG.js │ │ ├── bootstrap-wysihtml5.ca-CT.js │ │ ├── bootstrap-wysihtml5.cs-CZ.js │ │ ├── bootstrap-wysihtml5.de-DE.js │ │ ├── bootstrap-wysihtml5.el-GR.js │ │ ├── bootstrap-wysihtml5.es-AR.js │ │ ├── bootstrap-wysihtml5.es-ES.js │ │ ├── bootstrap-wysihtml5.fr-FR.js │ │ ├── bootstrap-wysihtml5.hr-HR.js │ │ ├── bootstrap-wysihtml5.it-IT.js │ │ ├── bootstrap-wysihtml5.ja-JP.js │ │ ├── bootstrap-wysihtml5.ko-KR.js │ │ ├── bootstrap-wysihtml5.lt-LT.js │ │ ├── bootstrap-wysihtml5.mo-MD.js │ │ ├── bootstrap-wysihtml5.nb-NB.js │ │ ├── bootstrap-wysihtml5.nl-NL.js │ │ ├── bootstrap-wysihtml5.pl-PL.js │ │ ├── bootstrap-wysihtml5.pt-BR.js │ │ ├── bootstrap-wysihtml5.ru-RU.js │ │ ├── bootstrap-wysihtml5.sk-SK.js │ │ ├── bootstrap-wysihtml5.sv-SE.js │ │ └── bootstrap-wysihtml5.zh-CN.js │ ├── prettify.js │ ├── wysihtml5-0.3.0.js │ └── wysihtml5-0.3.0.min.js │ └── tiny_mce │ ├── jquery.tinymce.js │ ├── langs │ └── en.js │ ├── license.txt │ ├── plugins │ ├── advhr │ │ ├── css │ │ │ └── advhr.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ └── rule.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ └── rule.htm │ ├── advimage │ │ ├── css │ │ │ └── advimage.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── image.htm │ │ ├── img │ │ │ └── sample.gif │ │ ├── js │ │ │ └── image.js │ │ └── langs │ │ │ └── en_dlg.js │ ├── advlink │ │ ├── css │ │ │ └── advlink.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ └── advlink.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ └── link.htm │ ├── advlist │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── autolink │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── autoresize │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── autosave │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── bbcode │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── contextmenu │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── directionality │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── emotions │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── emotions.htm │ │ ├── img │ │ │ ├── smiley-cool.gif │ │ │ ├── smiley-cry.gif │ │ │ ├── smiley-embarassed.gif │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ ├── smiley-frown.gif │ │ │ ├── smiley-innocent.gif │ │ │ ├── smiley-kiss.gif │ │ │ ├── smiley-laughing.gif │ │ │ ├── smiley-money-mouth.gif │ │ │ ├── smiley-sealed.gif │ │ │ ├── smiley-smile.gif │ │ │ ├── smiley-surprised.gif │ │ │ ├── smiley-tongue-out.gif │ │ │ ├── smiley-undecided.gif │ │ │ ├── smiley-wink.gif │ │ │ └── smiley-yell.gif │ │ ├── js │ │ │ └── emotions.js │ │ └── langs │ │ │ └── en_dlg.js │ ├── example │ │ ├── dialog.htm │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── img │ │ │ └── example.gif │ │ ├── js │ │ │ └── dialog.js │ │ └── langs │ │ │ ├── en.js │ │ │ └── en_dlg.js │ ├── example_dependency │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── fullpage │ │ ├── css │ │ │ └── fullpage.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── fullpage.htm │ │ ├── js │ │ │ └── fullpage.js │ │ └── langs │ │ │ └── en_dlg.js │ ├── fullscreen │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ └── fullscreen.htm │ ├── iespell │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── inlinepopups │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── skins │ │ │ └── clearlooks2 │ │ │ │ ├── img │ │ │ │ ├── alert.gif │ │ │ │ ├── button.gif │ │ │ │ ├── buttons.gif │ │ │ │ ├── confirm.gif │ │ │ │ ├── corners.gif │ │ │ │ ├── horizontal.gif │ │ │ │ └── vertical.gif │ │ │ │ └── window.css │ │ └── template.htm │ ├── insertdatetime │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── layer │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── legacyoutput │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── lists │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── media │ │ ├── css │ │ │ └── media.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ ├── embed.js │ │ │ └── media.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ ├── media.htm │ │ └── moxieplayer.swf │ ├── nonbreaking │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── noneditable │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── pagebreak │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── paste │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ ├── pastetext.js │ │ │ └── pasteword.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ ├── pastetext.htm │ │ └── pasteword.htm │ ├── preview │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── example.html │ │ ├── jscripts │ │ │ └── embed.js │ │ └── preview.html │ ├── print │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── save │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── searchreplace │ │ ├── css │ │ │ └── searchreplace.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ └── searchreplace.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ └── searchreplace.htm │ ├── spellchecker │ │ ├── css │ │ │ └── content.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ └── img │ │ │ └── wline.gif │ ├── style │ │ ├── css │ │ │ └── props.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ └── props.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ ├── props.htm │ │ └── readme.txt │ ├── tabfocus │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── table │ │ ├── cell.htm │ │ ├── css │ │ │ ├── cell.css │ │ │ ├── row.css │ │ │ └── table.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ ├── cell.js │ │ │ ├── merge_cells.js │ │ │ ├── row.js │ │ │ └── table.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ ├── merge_cells.htm │ │ ├── row.htm │ │ └── table.htm │ ├── template │ │ ├── blank.htm │ │ ├── css │ │ │ └── template.css │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── js │ │ │ └── template.js │ │ ├── langs │ │ │ └── en_dlg.js │ │ └── template.htm │ ├── visualblocks │ │ ├── css │ │ │ └── visualblocks.css │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── visualchars │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ ├── wordcount │ │ ├── editor_plugin.js │ │ └── editor_plugin_src.js │ └── xhtmlxtras │ │ ├── abbr.htm │ │ ├── acronym.htm │ │ ├── attributes.htm │ │ ├── cite.htm │ │ ├── css │ │ ├── attributes.css │ │ └── popup.css │ │ ├── del.htm │ │ ├── editor_plugin.js │ │ ├── editor_plugin_src.js │ │ ├── ins.htm │ │ ├── js │ │ ├── abbr.js │ │ ├── acronym.js │ │ ├── attributes.js │ │ ├── cite.js │ │ ├── del.js │ │ ├── element_common.js │ │ └── ins.js │ │ └── langs │ │ └── en_dlg.js │ ├── themes │ ├── advanced │ │ ├── about.htm │ │ ├── anchor.htm │ │ ├── charmap.htm │ │ ├── color_picker.htm │ │ ├── editor_template.js │ │ ├── editor_template_src.js │ │ ├── image.htm │ │ ├── img │ │ │ ├── colorpicker.jpg │ │ │ ├── flash.gif │ │ │ ├── icons.gif │ │ │ ├── iframe.gif │ │ │ ├── pagebreak.gif │ │ │ ├── quicktime.gif │ │ │ ├── realmedia.gif │ │ │ ├── shockwave.gif │ │ │ ├── trans.gif │ │ │ ├── video.gif │ │ │ └── windowsmedia.gif │ │ ├── js │ │ │ ├── about.js │ │ │ ├── anchor.js │ │ │ ├── charmap.js │ │ │ ├── color_picker.js │ │ │ ├── image.js │ │ │ ├── link.js │ │ │ └── source_editor.js │ │ ├── langs │ │ │ ├── en.js │ │ │ └── en_dlg.js │ │ ├── link.htm │ │ ├── shortcuts.htm │ │ ├── skins │ │ │ ├── default │ │ │ │ ├── content.css │ │ │ │ ├── dialog.css │ │ │ │ ├── img │ │ │ │ │ ├── buttons.png │ │ │ │ │ ├── items.gif │ │ │ │ │ ├── menu_arrow.gif │ │ │ │ │ ├── menu_check.gif │ │ │ │ │ ├── progress.gif │ │ │ │ │ └── tabs.gif │ │ │ │ └── ui.css │ │ │ ├── highcontrast │ │ │ │ ├── content.css │ │ │ │ ├── dialog.css │ │ │ │ └── ui.css │ │ │ └── o2k7 │ │ │ │ ├── content.css │ │ │ │ ├── dialog.css │ │ │ │ ├── img │ │ │ │ ├── button_bg.png │ │ │ │ ├── button_bg_black.png │ │ │ │ └── button_bg_silver.png │ │ │ │ ├── ui.css │ │ │ │ ├── ui_black.css │ │ │ │ └── ui_silver.css │ │ └── source_editor.htm │ └── simple │ │ ├── editor_template.js │ │ ├── editor_template_src.js │ │ ├── img │ │ └── icons.gif │ │ ├── langs │ │ └── en.js │ │ └── skins │ │ ├── default │ │ ├── content.css │ │ └── ui.css │ │ └── o2k7 │ │ ├── content.css │ │ ├── img │ │ └── button_bg.png │ │ └── ui.css │ ├── tiny_mce.js │ ├── tiny_mce_popup.js │ ├── tiny_mce_src.js │ └── utils │ ├── editable_selects.js │ ├── form_utils.js │ ├── mctabs.js │ └── validate.js └── templates └── xcms └── content_field.html /.gitignore: -------------------------------------------------------------------------------- 1 | *.py[cod] 2 | 3 | # C extensions 4 | *.so 5 | 6 | # Packages 7 | *.egg 8 | *.egg-info 9 | dist 10 | build 11 | eggs 12 | parts 13 | bin 14 | var 15 | sdist 16 | develop-eggs 17 | .installed.cfg 18 | lib 19 | lib64 20 | 21 | # Installer logs 22 | pip-log.txt 23 | 24 | # Unit test / coverage reports 25 | .coverage 26 | .tox 27 | nosetests.xml 28 | 29 | # Translations 30 | *.mo 31 | 32 | # Mr Developer 33 | .mr.developer.cfg 34 | .project 35 | .pydevproject 36 | 37 | .DS_Store 38 | .c9revisions 39 | .settings -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | xadmin-cms 2 | ========== 3 | 4 | Xcms 是 ``django-xadmin`` 的一套插件集, 包含制作 cms 系统需要的常用插件: 5 | 6 | 1. 可见即可得编辑器 7 | 8 | 2. 树形组件 9 | 10 | 使用方法 11 | -------- 12 | 13 | 在 django settings 中的 INSTALL_APPS 加入 ``xcms`` 即可 14 | 15 | 16 | 后台登陆 17 | -------- 18 | 19 | 用户名:admin 20 | 密码:admin 21 | 22 | -------------------------------------------------------------------------------- /demo_app/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/demo_app/app/__init__.py -------------------------------------------------------------------------------- /demo_app/app/adminx.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | import xadmin 3 | from xadmin.layout import Fieldset, Field 4 | from xadmin.views.base import CommAdminView 5 | 6 | from models import Article, Category 7 | 8 | class GolbeSetting(object): 9 | globe_search_models = [Article, ] 10 | globe_models_icon = { 11 | Article: 'file', Category: 'cloud' 12 | } 13 | xadmin.site.register(CommAdminView, GolbeSetting) 14 | 15 | class ArticleAdmin(object): 16 | list_display = ('title', 'categories', 'date') 17 | list_display_links = ('title',) 18 | 19 | search_fields = ('title', 'content') 20 | list_editable = ('date',) 21 | list_filter = ('categories', 'date') 22 | 23 | form_layout = ( 24 | Fieldset('基本信息', 25 | 'title', 'date' 26 | ), 27 | Fieldset('文章内容', 28 | Field('content', template="xcms/content_field.html") 29 | ), 30 | ) 31 | style_fields = {'content': 'wysi_ck', 'categories':'m2m_tree'} 32 | 33 | class CategoryAdmin(object): 34 | list_display = ('name', 'parent') 35 | list_display_links = ('id', 'name',) 36 | 37 | search_fields = ('name', ) 38 | list_editable = ('name', ) 39 | list_filter = ('parent', ) 40 | 41 | xadmin.site.register(Article, ArticleAdmin) 42 | xadmin.site.register(Category, CategoryAdmin) 43 | -------------------------------------------------------------------------------- /demo_app/app/models.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.db import models 3 | 4 | class Category(models.Model): 5 | name = models.CharField(u"名称", max_length=64) 6 | parent = models.ForeignKey('self', verbose_name=u'父类别', related_name='children', null=True, blank=True) 7 | 8 | class Meta: 9 | verbose_name=u'类别' 10 | verbose_name_plural = verbose_name 11 | 12 | def __unicode__(self): 13 | return self.name 14 | 15 | class Article(models.Model): 16 | title = models.CharField(u"标题", max_length=200) 17 | date = models.DateField(u"发布时间") 18 | content = models.TextField(u"内容", null=True, blank=True) 19 | categories = models.ManyToManyField('Category', null=True, blank=True) 20 | 21 | class Meta: 22 | verbose_name=u'文章' 23 | verbose_name_plural = verbose_name 24 | 25 | def __unicode__(self): 26 | return self.title 27 | -------------------------------------------------------------------------------- /demo_app/data.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/demo_app/data.db -------------------------------------------------------------------------------- /demo_app/extest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/demo_app/extest/__init__.py -------------------------------------------------------------------------------- /demo_app/extest/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | 3 | # Uncomment the next two lines to enable the admin: 4 | import xadmin 5 | xadmin.autodiscover() 6 | 7 | from xadmin.plugins import xversion 8 | xversion.register_models() 9 | 10 | urlpatterns = patterns('', 11 | url(r'', include(xadmin.site.urls)), 12 | ) 13 | -------------------------------------------------------------------------------- /demo_app/extest/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for wictrl project. 3 | 4 | This module contains the WSGI application used by Django's development server 5 | and any production WSGI deployments. It should expose a module-level variable 6 | named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover 7 | this application via the ``WSGI_APPLICATION`` setting. 8 | 9 | Usually you will have the standard Django WSGI application here, but it also 10 | might make sense to replace the whole Django WSGI application with a custom one 11 | that later delegates to the Django one. For example, you could introduce WSGI 12 | middleware here, or combine a Django application with an application of another 13 | framework. 14 | 15 | """ 16 | import os 17 | 18 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wictrl.settings") 19 | 20 | # This application object is used by any WSGI server configured to use this 21 | # file. This includes Django's development server, if the WSGI_APPLICATION 22 | # setting points here. 23 | from django.core.wsgi import get_wsgi_application 24 | application = get_wsgi_application() 25 | 26 | # Apply WSGI middleware here. 27 | # from helloworld.wsgi import HelloWorldApplication 28 | # application = HelloWorldApplication(application) 29 | -------------------------------------------------------------------------------- /demo_app/manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | PROJECT_ROOT = os.path.realpath(os.path.dirname(__file__)) 7 | sys.path.insert(0, os.path.join(PROJECT_ROOT, os.pardir)) 8 | 9 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "extest.settings") 10 | 11 | from django.core.management import execute_from_command_line 12 | 13 | execute_from_command_line(sys.argv) 14 | -------------------------------------------------------------------------------- /demo_app/requirements.txt: -------------------------------------------------------------------------------- 1 | django-reversion 2 | -------------------------------------------------------------------------------- /doc/xcms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/doc/xcms.png -------------------------------------------------------------------------------- /xcms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/__init__.py -------------------------------------------------------------------------------- /xcms/adminx.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | import plugins -------------------------------------------------------------------------------- /xcms/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | import tree, wysi -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/CHANGES.md: -------------------------------------------------------------------------------- 1 | CKEditor 4 Changelog 2 | ==================== 3 | 4 | ## CKEditor 4.0 5 | 6 | The first stable release of the new CKEditor 4 code line. 7 | 8 | The CKEditor JavaScript API has been kept compatible with CKEditor 4, whenever 9 | possible. The list of relevant changes can be found in the [API Changes page of 10 | the CKEditor 4 documentation][1]. 11 | 12 | [1]: http://docs.ckeditor.com/#!/guide/dev_api_changes "API Changes"" 13 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/README.md: -------------------------------------------------------------------------------- 1 | CKEditor 4 2 | ========== 3 | 4 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 5 | http://ckeditor.com - See LICENSE.md for license information. 6 | 7 | CKEditor is a text editor to be used inside web pages. It's not a replacement 8 | for desktop text editors like Word or OpenOffice, but a component to be used as 9 | part of web applications and websites. 10 | 11 | ## Documentation 12 | 13 | The full editor documentation is available online at the following address: 14 | http://docs.ckeditor.com 15 | 16 | ## Installation 17 | 18 | Installing CKEditor is an easy task. Just follow these simple steps: 19 | 20 | 1. **Download** the latest version from the CKEditor website: 21 | http://ckeditor.com. You should have already completed this step, but be 22 | sure you have the very latest version. 23 | 2. **Extract** (decompress) the downloaded file into the root of your website. 24 | 25 | **Note:** CKEditor is by default installed in the `ckeditor` folder. You can 26 | place the files in whichever you want though. 27 | 28 | ## Checking Your Installation 29 | 30 | The editor comes with a few sample pages that can be used to verify that 31 | installation proceeded properly. Take a look at the `samples` directory. 32 | 33 | To test your installation, just call the following page at your website: 34 | 35 | http:////samples/index.html 36 | 37 | For example: 38 | 39 | http://www.example.com/ckeditor/samples/index.html 40 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | * For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.editorConfig = function( config ) { 7 | // Define changes to default configuration here. For example: 8 | // config.language = 'fr'; 9 | // config.uiColor = '#AADC6E'; 10 | }; 11 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/contents.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | body 7 | { 8 | /* Font */ 9 | font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; 10 | font-size: 12px; 11 | 12 | /* Text color */ 13 | color: #333; 14 | 15 | /* Remove the background color to make it transparent */ 16 | background-color: #fff; 17 | 18 | margin: 20px; 19 | } 20 | 21 | .cke_editable 22 | { 23 | font-size: 13px; 24 | line-height: 1.6em; 25 | } 26 | 27 | blockquote 28 | { 29 | font-style: italic; 30 | font-family: Georgia, Times, "Times New Roman", serif; 31 | padding: 2px 0; 32 | border-style: solid; 33 | border-color: #ccc; 34 | border-width: 0; 35 | } 36 | 37 | .cke_contents_ltr blockquote 38 | { 39 | padding-left: 20px; 40 | padding-right: 8px; 41 | border-left-width: 5px; 42 | } 43 | 44 | .cke_contents_rtl blockquote 45 | { 46 | padding-left: 8px; 47 | padding-right: 20px; 48 | border-right-width: 5px; 49 | } 50 | 51 | a 52 | { 53 | color: #0782C1; 54 | } 55 | 56 | ol,ul,dl 57 | { 58 | /* IE7: reset rtl list margin. (#7334) */ 59 | *margin-right: 0px; 60 | /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ 61 | padding: 0 40px; 62 | } 63 | 64 | h1,h2,h3,h4,h5,h6 65 | { 66 | font-weight: normal; 67 | line-height: 1.2em; 68 | } 69 | 70 | hr 71 | { 72 | border: 0px; 73 | border-top: 1px solid #ccc; 74 | } 75 | 76 | img.right { 77 | border: 1px solid #ccc; 78 | float: right; 79 | margin-left: 15px; 80 | padding: 5px; 81 | } 82 | 83 | img.left { 84 | border: 1px solid #ccc; 85 | float: left; 86 | margin-right: 15px; 87 | padding: 5px; 88 | } 89 | 90 | img:hover { 91 | opacity: .9; 92 | filter: alpha(opacity = 90); 93 | } 94 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | cs.js Found: 30 Missing: 0 5 | cy.js Found: 30 Missing: 0 6 | da.js Found: 12 Missing: 18 7 | de.js Found: 30 Missing: 0 8 | el.js Found: 25 Missing: 5 9 | eo.js Found: 30 Missing: 0 10 | fa.js Found: 30 Missing: 0 11 | fi.js Found: 30 Missing: 0 12 | fr.js Found: 30 Missing: 0 13 | gu.js Found: 12 Missing: 18 14 | he.js Found: 30 Missing: 0 15 | it.js Found: 30 Missing: 0 16 | mk.js Found: 5 Missing: 25 17 | nb.js Found: 30 Missing: 0 18 | nl.js Found: 30 Missing: 0 19 | no.js Found: 30 Missing: 0 20 | pt-br.js Found: 30 Missing: 0 21 | ro.js Found: 6 Missing: 24 22 | tr.js Found: 30 Missing: 0 23 | ug.js Found: 27 Missing: 3 24 | vi.js Found: 6 Missing: 24 25 | zh-cn.js Found: 30 Missing: 0 26 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.plugins.setLang("a11yhelp","zh-cn",{title:"辅助说明",contents:"帮助内容。要关闭此对话框请按 ESC 键。",legend:[{name:"常规",items:[{name:"编辑器工具栏",legend:"按 ${toolbarFocus} 导航到工具栏,使用 TAB 键或 SHIFT+TAB 组合键选择工具栏组,使用左右箭头键选择按钮,按空格键或回车键以应用选中的按钮。"},{name:"编辑器对话框",legend:"在对话框内,TAB 键移动到下一个字段,SHIFT + TAB 组合键移动到上一个字段,ENTER 键提交对话框,ESC 键取消对话框。对于有多标签的对话框,用ALT + F10来移到标签列表。然后用 TAB 键或者向右箭头来移动到下一个标签;SHIFT + TAB 组合键或者向左箭头移动到上一个标签。用 SPACE 键或者 ENTER 键选择标签。"},{name:"编辑器上下文菜单",legend:"用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用 TAB 键或者下箭头键来移动到下一个菜单项;SHIFT + TAB 组合键或者上箭头键移动到上一个菜单项。用 SPACE 键或者 ENTER 键选择菜单项。用 SPACE 键,ENTER 键或者右箭头键打开子菜单。返回菜单用 ESC 键或者左箭头键。用 ESC 键关闭上下文菜单。"}, 6 | {name:"编辑器列表框",legend:"在列表框中,移到下一列表项用 TAB 键或者下箭头键。移到上一列表项用SHIFT + TAB 组合键或者上箭头键,用 SPACE 键或者 ENTER 键选择列表项。用 ESC 键收起列表框。"},{name:"编辑器元素路径栏",legend:"按 ${elementsPathFocus} 以导航到元素路径栏,使用 TAB 键或右箭头键选择下一个元素,使用 SHIFT+TAB 组合键或左箭头键选择上一个元素,按空格键或回车键以选定编辑器里的元素。"}]},{name:"命令",items:[{name:" 撤消命令",legend:"按 ${undo}"},{name:" 重做命令",legend:"按 ${redo}"},{name:" 加粗命令",legend:"按 ${bold}"},{name:" 倾斜命令",legend:"按 ${italic}"},{name:" 下划线命令",legend:"按 ${underline}"},{name:" 链接命令",legend:"按 ${link}"},{name:" 工具栏折叠命令",legend:"按 ${toolbarCollapse}"}, 7 | {name:" 无障碍设计说明",legend:"按 ${a11yHelp}"}]}]}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/about/dialogs/about.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("about",function(a){a=a.lang.about;return{title:CKEDITOR.env.ie?a.dlgTitle:a.title,minWidth:390,minHeight:230,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[{type:"html",html:'

CKEditor '+ 6 | CKEDITOR.version+" (revision "+CKEDITOR.revision+')
http://ckeditor.com

'+a.help.replace("$1",''+a.userGuide+"")+"

"+a.moreInfo+'
http://ckeditor.com/about/license

'+a.copy.replace("$1",'CKSource - Frederico Knabben')+"

"}]}],buttons:[CKEDITOR.dialog.cancelButton]}}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/fakeobjects/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/fakeobjects/images/spacer.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/flash/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/flash/images/placeholder.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/forms/dialogs/button.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("button",function(b){function d(a){var b=this.getValue();b?(a.attributes[this.id]=b,"name"==this.id&&(a.attributes["data-cke-saved-name"]=b)):(delete a.attributes[this.id],"name"==this.id&&delete a.attributes["data-cke-saved-name"])}return{title:b.lang.forms.button.title,minWidth:350,minHeight:150,onShow:function(){delete this.button;var a=this.getParentEditor().getSelection().getSelectedElement();a&&a.is("input")&&a.getAttribute("type")in{button:1,reset:1,submit:1}&&(this.button= 6 | a,this.setupContent(a))},onOk:function(){var a=this.getParentEditor(),b=this.button,d=!b,c=b?CKEDITOR.htmlParser.fragment.fromHtml(b.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element("input");this.commitContent(c);var e=new CKEDITOR.htmlParser.basicWriter;c.writeHtml(e);c=CKEDITOR.dom.element.createFromHtml(e.getHtml(),a.document);d?a.insertElement(c):(c.replace(b),a.getSelection().selectElement(c))},contents:[{id:"info",label:b.lang.forms.button.title,title:b.lang.forms.button.title,elements:[{id:"name", 7 | type:"text",label:b.lang.common.name,"default":"",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:d},{id:"value",type:"text",label:b.lang.forms.button.text,accessKey:"V","default":"",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:d},{id:"type",type:"select",label:b.lang.forms.button.type,"default":"button",accessKey:"T",items:[[b.lang.forms.button.typeBtn,"button"],[b.lang.forms.button.typeSbm,"submit"],[b.lang.forms.button.typeRst, 8 | "reset"]],setup:function(a){this.setValue(a.getAttribute("type")||"")},commit:d}]}]}}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/forms/dialogs/hiddenfield.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&(c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type"))&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name"); 6 | this.getValueOf("info","value");var b=this.getParentEditor(),a=CKEDITOR.env.ie&&!(8<=CKEDITOR.document.$.documentMode)?b.document.createElement(''):b.document.createElement("input");a.setAttribute("type","hidden");this.commitContent(a);a=b.createFakeElement(a,"cke_hidden","hiddenfield");this.hiddenField?(a.replace(this.hiddenField),b.getSelection().selectElement(a)):b.insertElement(a);return!0},contents:[{id:"info",label:d.lang.forms.hidden.title,title:d.lang.forms.hidden.title, 7 | elements:[{id:"_cke_saved_name",type:"text",label:d.lang.forms.hidden.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.setAttribute("name",this.getValue()):a.removeAttribute("name")}},{id:"value",type:"text",label:d.lang.forms.hidden.value,"default":"",accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){this.getValue()?a.setAttribute("value",this.getValue()): 8 | a.removeAttribute("value")}}]}]}}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/forms/dialogs/radio.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("radio",function(d){return{title:d.lang.forms.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){delete this.radioButton;var a=this.getParentEditor().getSelection().getSelectedElement();a&&("input"==a.getName()&&"radio"==a.getAttribute("type"))&&(this.radioButton=a,this.setupContent(a))},onOk:function(){var a,b=this.radioButton,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("input"),b.setAttribute("type","radio"));c&&a.insertElement(b);this.commitContent({element:b})}, 6 | contents:[{id:"info",label:d.lang.forms.checkboxAndRadio.radioTitle,title:d.lang.forms.checkboxAndRadio.radioTitle,elements:[{id:"name",type:"text",label:d.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){a=a.element;this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{id:"value",type:"text",label:d.lang.forms.checkboxAndRadio.value,"default":"", 7 | accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){a=a.element;this.getValue()?a.setAttribute("value",this.getValue()):a.removeAttribute("value")}},{id:"checked",type:"checkbox",label:d.lang.forms.checkboxAndRadio.selected,"default":"",accessKey:"S",value:"checked",setup:function(a){this.setValue(a.getAttribute("checked"))},commit:function(a){var b=a.element;if(!CKEDITOR.env.ie&&!CKEDITOR.env.opera)this.getValue()?b.setAttribute("checked","checked"):b.removeAttribute("checked"); 8 | else{var c=b.getAttribute("checked"),e=!!this.getValue();c!=e&&(c=CKEDITOR.dom.element.createFromHtml('",d.document),b.copyAttributes(c,{type:1,checked:1}),c.replace(b),d.getSelection().selectElement(c),a.element=c)}}}]}]}}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/forms/dialogs/textarea.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("textarea",function(b){return{title:b.lang.forms.textarea.title,minWidth:350,minHeight:220,onShow:function(){delete this.textarea;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"textarea"==a.getName()&&(this.textarea=a,this.setupContent(a))},onOk:function(){var a,b=this.textarea,c=!b;c&&(a=this.getParentEditor(),b=a.document.createElement("textarea"));this.commitContent(b);c&&a.insertElement(b)},contents:[{id:"info",label:b.lang.forms.textarea.title,title:b.lang.forms.textarea.title, 6 | elements:[{id:"_cke_saved_name",type:"text",label:b.lang.common.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.data("cke-saved-name",this.getValue()):(a.data("cke-saved-name",!1),a.removeAttribute("name"))}},{type:"hbox",widths:["50%","50%"],children:[{id:"cols",type:"text",label:b.lang.forms.textarea.cols,"default":"",accessKey:"C",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed), 7 | setup:function(a){this.setValue(a.hasAttribute("cols")&&a.getAttribute("cols")||"")},commit:function(a){this.getValue()?a.setAttribute("cols",this.getValue()):a.removeAttribute("cols")}},{id:"rows",type:"text",label:b.lang.forms.textarea.rows,"default":"",accessKey:"R",style:"width:50px",validate:CKEDITOR.dialog.validate.integer(b.lang.common.validateNumberFailed),setup:function(a){this.setValue(a.hasAttribute("rows")&&a.getAttribute("rows")||"")},commit:function(a){this.getValue()?a.setAttribute("rows", 8 | this.getValue()):a.removeAttribute("rows")}}]},{id:"value",type:"textarea",label:b.lang.forms.textfield.value,"default":"",setup:function(a){this.setValue(a.$.defaultValue)},commit:function(a){a.$.value=a.$.defaultValue=this.getValue()}}]}]}}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/forms/images/hiddenfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/forms/images/hiddenfield.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/icons.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/iframe/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/iframe/images/placeholder.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/image/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/image/images/noimage.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/link/dialogs/anchor.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("anchor",function(c){var d=function(a){this._.selectedElement=a;this.setValueOf("info","txtName",a.data("cke-saved-name")||"")};return{title:c.lang.link.anchor.title,minWidth:300,minHeight:60,onOk:function(){var a=CKEDITOR.tools.trim(this.getValueOf("info","txtName")),a={id:a,name:a,"data-cke-saved-name":a};if(this._.selectedElement)this._.selectedElement.data("cke-realelement")?(a=c.document.createElement("a",{attributes:a}),c.createFakeElement(a,"cke_anchor","anchor").replace(this._.selectedElement)): 6 | this._.selectedElement.setAttributes(a);else{var b=c.getSelection(),b=b&&b.getRanges()[0];b.collapsed?(CKEDITOR.plugins.link.synAnchorSelector&&(a["class"]="cke_anchor_empty"),CKEDITOR.plugins.link.emptyAnchorFix&&(a.contenteditable="false",a["data-cke-editable"]=1),a=c.document.createElement("a",{attributes:a}),CKEDITOR.plugins.link.fakeAnchor&&(a=c.createFakeElement(a,"cke_anchor","anchor")),b.insertNode(a)):(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(a["class"]="cke_anchor"),a=new CKEDITOR.style({element:"a", 7 | attributes:a}),a.type=CKEDITOR.STYLE_INLINE,c.applyStyle(a))}},onHide:function(){delete this._.selectedElement},onShow:function(){var a=c.getSelection(),b=a.getSelectedElement();if(b)CKEDITOR.plugins.link.fakeAnchor?((a=CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b))&&d.call(this,a),this._.selectedElement=b):b.is("a")&&b.hasAttribute("name")&&d.call(this,b);else if(b=CKEDITOR.plugins.link.getSelectedLink(c))d.call(this,b),a.selectElement(b);this.getContentElement("info","txtName").focus()},contents:[{id:"info", 8 | label:c.lang.link.anchor.title,accessKey:"I",elements:[{type:"text",id:"txtName",label:c.lang.link.anchor.name,required:!0,validate:function(){return!this.getValue()?(alert(c.lang.link.anchor.errorName),!1):!0}}]}]}}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/link/images/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/link/images/anchor.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/magicline/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/magicline/images/icon.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/preview/preview.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/embarrassed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/embarrassed_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/tongue_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/tongue_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | cs.js Found: 118 Missing: 0 5 | cy.js Found: 118 Missing: 0 6 | de.js Found: 118 Missing: 0 7 | el.js Found: 16 Missing: 102 8 | eo.js Found: 118 Missing: 0 9 | et.js Found: 31 Missing: 87 10 | fa.js Found: 24 Missing: 94 11 | fi.js Found: 23 Missing: 95 12 | fr.js Found: 118 Missing: 0 13 | hr.js Found: 23 Missing: 95 14 | it.js Found: 118 Missing: 0 15 | nb.js Found: 118 Missing: 0 16 | nl.js Found: 118 Missing: 0 17 | no.js Found: 118 Missing: 0 18 | tr.js Found: 118 Missing: 0 19 | ug.js Found: 39 Missing: 79 20 | zh-cn.js Found: 118 Missing: 0 21 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/templates/dialogs/templates.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_tpl_list 7 | { 8 | border: #dcdcdc 2px solid; 9 | background-color: #ffffff; 10 | overflow-y: auto; 11 | overflow-x: hidden; 12 | width: 100%; 13 | height: 220px; 14 | } 15 | 16 | .cke_tpl_item 17 | { 18 | margin: 5px; 19 | padding: 7px; 20 | border: #eeeeee 1px solid; 21 | *width: 88%; 22 | } 23 | 24 | .cke_tpl_preview 25 | { 26 | border-collapse: separate; 27 | text-indent:0; 28 | width: 100%; 29 | } 30 | .cke_tpl_preview td 31 | { 32 | padding: 2px; 33 | vertical-align: middle; 34 | } 35 | .cke_tpl_preview .cke_tpl_preview_img 36 | { 37 | width: 100px; 38 | } 39 | .cke_tpl_preview span 40 | { 41 | white-space: normal; 42 | } 43 | 44 | .cke_tpl_title 45 | { 46 | font-weight: bold; 47 | } 48 | 49 | .cke_tpl_list a:hover .cke_tpl_item, 50 | .cke_tpl_list a:focus .cke_tpl_item, 51 | .cke_tpl_list a:active .cke_tpl_item 52 | { 53 | border: #ff9933 1px solid; 54 | background-color: #fffacd; 55 | } 56 | 57 | .cke_tpl_list a:hover *, 58 | .cke_tpl_list a:focus *, 59 | .cke_tpl_list a:active * 60 | { 61 | cursor: pointer; 62 | } 63 | 64 | /* IE6 contextual selectors childs won't get :hover transition until, 65 | the hover style of the link itself contains certain CSS declarations.*/ 66 | .cke_browser_ie6 .cke_tpl_list a:active, 67 | .cke_browser_ie6 .cke_tpl_list a:hover, 68 | .cke_browser_ie6 .cke_tpl_list a:focus 69 | { 70 | background-position: 0 0; 71 | } 72 | 73 | .cke_hc .cke_tpl_list a:hover .cke_tpl_item, 74 | .cke_hc .cke_tpl_list a:focus .cke_tpl_item, 75 | .cke_hc .cke_tpl_list a:active .cke_tpl_item 76 | { 77 | border-width: 3px; 78 | } 79 | 80 | .cke_tpl_empty, .cke_tpl_loading 81 | { 82 | text-align: center; 83 | padding: 5px; 84 | } 85 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/templates/templates/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.addTemplates("default",{imagesPath:CKEDITOR.getUrl(CKEDITOR.plugins.getPath("templates")+"templates/images/"),templates:[{title:"Image and Title",image:"template1.gif",description:"One main image with a title and text that surround the image.",html:'

Type the title here

Type the text here

'},{title:"Strange Template",image:"template2.gif",description:"A template that defines two colums, each one with a title, and some text.", 6 | html:'

Title 1

Title 2

Text 1Text 2

More text goes here.

'},{title:"Text and Table",image:"template3.gif",description:"A title with some text and a table.",html:'

Title goes here

Table title
   
   
   

Type the text here

'}]}); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/appendto.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | CKEDITOR.appendTo — CKEditor Sample 9 | 10 | 11 | 12 | 13 | 14 |

15 | CKEditor Samples » Append To Page Element Using JavaScript Code 16 |

17 |
18 |
19 |

20 | CKEDITOR.appendTo is basically to place editors 21 | inside existing DOM elements. Unlike CKEDITOR.replace, 22 | a target container to be replaced is no longer necessary. A new editor 23 | instance is inserted directly wherever it is desired. 24 |

25 |
CKEDITOR.appendTo( 'container_id',
26 | 	{ /* Configuration options to be used. */ }
27 | 	'Editor content to be used.'
28 | );
29 |
30 | 44 |
45 |
46 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/assets/inlineall/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/samples/assets/inlineall/logo.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/assets/posteddata.php: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | Sample — CKEditor 12 | 13 | 14 | 15 |

16 | CKEditor — Posted Data 17 |

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | $value ) 34 | { 35 | if ( get_magic_quotes_gpc() ) 36 | $postedValue = htmlspecialchars( stripslashes( $value ) ) ; 37 | else 38 | $postedValue = htmlspecialchars( $value ) ; 39 | 40 | ?> 41 | 42 | 43 | 44 | 45 | 48 |
Field NameValue
49 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/assets/sample.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Required by tests (dom/document.html). 3 | */ 4 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/assets/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/samples/assets/sample.jpg -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/assets/uilanguages/languages.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",is:"Icelandic", 6 | it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",sk:"Slovak",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",sv:"Swedish",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a, 7 | name:c[a]||a});b.sort(function(a,b){return a.name"+a[d]+"");c.length&&CKEDITOR.dom.element.createFromHtml('
To fully experience this demo, the '+c.join(", ")+" plugin"+(1
").insertBefore(b.container)}})})(); -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/samples/sample_posteddata.php: -------------------------------------------------------------------------------- 1 |
 2 | 
 3 | -------------------------------------------------------------------------------------------
 4 |   CKEditor - Posted Data
 5 | 
 6 |   We are sorry, but your Web server does not support the PHP language used in this script.
 7 | 
 8 |   Please note that CKEditor can be used with any other server-side language than just PHP.
 9 |   To save the content created with CKEditor you need to read the POST data on the server
10 |   side and write it to a file or the database.
11 | 
12 |   Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
13 |   For licensing, see LICENSE.html or http://ckeditor.com/license
14 | -------------------------------------------------------------------------------------------
15 | 
16 | 
*/ include "assets/posteddata.php"; ?> 17 | -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/skins/moono/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/skins/moono/icons.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/skins/moono/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/skins/moono/images/arrow.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/skins/moono/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/skins/moono/images/close.png -------------------------------------------------------------------------------- /xcms/static/xcms/ckeditor/skins/moono/images/mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/ckeditor/skins/moono/images/mini.png -------------------------------------------------------------------------------- /xcms/static/xcms/css/jstree/d.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/css/jstree/d.gif -------------------------------------------------------------------------------- /xcms/static/xcms/css/jstree/d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/css/jstree/d.png -------------------------------------------------------------------------------- /xcms/static/xcms/css/jstree/dot_for_ie.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/css/jstree/dot_for_ie.gif -------------------------------------------------------------------------------- /xcms/static/xcms/css/jstree/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/css/jstree/throbber.gif -------------------------------------------------------------------------------- /xcms/static/xcms/css/prettify.css: -------------------------------------------------------------------------------- 1 | .com { color: #93a1a1; } 2 | .lit { color: #195f91; } 3 | .pun, .opn, .clo { color: #93a1a1; } 4 | .fun { color: #dc322f; } 5 | .str, .atv { color: #D14; } 6 | .kwd, .linenums .tag { color: #1e347b; } 7 | .typ, .atn, .dec, .var { color: teal; } 8 | .pln { color: #48484c; } 9 | 10 | .prettyprint { 11 | padding: 8px; 12 | background-color: #f7f7f9; 13 | border: 1px solid #e1e1e8; 14 | } 15 | .prettyprint.linenums { 16 | -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 17 | -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 18 | box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 19 | } 20 | 21 | /* Specify class=linenums on a pre to get line numbering */ 22 | ol.linenums { 23 | margin: 0 0 0 33px; /* IE indents via margin-left */ 24 | } 25 | ol.linenums li { 26 | padding-left: 12px; 27 | color: #bebec5; 28 | line-height: 18px; 29 | text-shadow: 0 1px 0 #fff; 30 | } -------------------------------------------------------------------------------- /xcms/static/xcms/css/wysiwyg-color.css: -------------------------------------------------------------------------------- 1 | .wysiwyg-color-black { 2 | color: black; 3 | } 4 | 5 | .wysiwyg-color-silver { 6 | color: silver; 7 | } 8 | 9 | .wysiwyg-color-gray { 10 | color: gray; 11 | } 12 | 13 | .wysiwyg-color-white { 14 | color: white; 15 | } 16 | 17 | .wysiwyg-color-maroon { 18 | color: maroon; 19 | } 20 | 21 | .wysiwyg-color-red { 22 | color: red; 23 | } 24 | 25 | .wysiwyg-color-purple { 26 | color: purple; 27 | } 28 | 29 | .wysiwyg-color-fuchsia { 30 | color: fuchsia; 31 | } 32 | 33 | .wysiwyg-color-green { 34 | color: green; 35 | } 36 | 37 | .wysiwyg-color-lime { 38 | color: lime; 39 | } 40 | 41 | .wysiwyg-color-olive { 42 | color: olive; 43 | } 44 | 45 | .wysiwyg-color-yellow { 46 | color: yellow; 47 | } 48 | 49 | .wysiwyg-color-navy { 50 | color: navy; 51 | } 52 | 53 | .wysiwyg-color-blue { 54 | color: blue; 55 | } 56 | 57 | .wysiwyg-color-teal { 58 | color: teal; 59 | } 60 | 61 | .wysiwyg-color-aqua { 62 | color: aqua; 63 | } 64 | 65 | .wysiwyg-color-orange { 66 | color: orange; 67 | } -------------------------------------------------------------------------------- /xcms/static/xcms/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /xcms/static/xcms/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /xcms/static/xcms/js/form_tree.js: -------------------------------------------------------------------------------- 1 | ;(function($){ 2 | 3 | $.fn.exform.renders.push(function(f){ 4 | if($.fn.jstree){ 5 | f.find('.admin-tree:not(.rended)').each(function(){ 6 | var tree_input = $(this); 7 | var tree = tree_input.jstree({ 8 | "plugins" : [ "themes", "html_data", "checkbox", "ui" ], 9 | "themes": { 10 | "theme": "classic", 11 | "url": window.__admin_media_prefix__ + '../xcms/css/jstree/style.css' 12 | }, 13 | "checkbox": { 14 | override_ui: true, 15 | real_checkboxes: true, 16 | two_state: true, 17 | real_checkboxes_names: function(n){ 18 | return [tree_input.attr('name'), $(n[0]).attr('value')]; 19 | } 20 | } 21 | }) 22 | .bind('check_node.jstree', function(e, data){ 23 | var node = data.args[0]; 24 | var parent = data.inst._get_parent(node); 25 | if(parent){ 26 | data.inst.check_node(parent); 27 | } 28 | }); 29 | tree_input.addClass('rended'); 30 | }) 31 | } 32 | }); 33 | 34 | })(jQuery) -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.bg-BG.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bulgarian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["bg-BG"] = { 6 | font_styles: { 7 | normal: "Нормален текст", 8 | h1: "Заглавие 1", 9 | h2: "Заглавие 2", 10 | h3: "Заглавие 3" 11 | }, 12 | emphasis: { 13 | bold: "Удебелен", 14 | italic: "Курсив", 15 | underline: "Подчертан" 16 | }, 17 | lists: { 18 | unordered: "Неподреден списък", 19 | ordered: "Подреден списък", 20 | outdent: "Намали отстояние", 21 | indent: "Увеличи отстояние" 22 | }, 23 | link: { 24 | insert: "Вмъкни връзка", 25 | cancel: "Отмени" 26 | }, 27 | image: { 28 | insert: "Вмъкни картинка", 29 | cancel: "Отмени" 30 | }, 31 | html: { 32 | edit: "Редакртирай HTML" 33 | }, 34 | colours: { 35 | black: "Черен", 36 | silver: "Сребърен", 37 | gray: "Сив", 38 | maroon: "Коричневый", 39 | red: "Червен", 40 | purple: "Виолетов", 41 | green: "Зелен", 42 | olive: "Маслинен", 43 | navy: "Морско син", 44 | blue: "Син", 45 | orange: "Оранжев" 46 | } 47 | }; 48 | }(jQuery)); 49 | 50 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.ca-CT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Catalan translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ca-CT"] = { 6 | font_styles: { 7 | normal: "Text normal", 8 | h1: "Títol 1", 9 | h2: "Títol 2" 10 | }, 11 | emphasis: { 12 | bold: "Negreta", 13 | italic: "Cursiva", 14 | underline: "Subratllat" 15 | }, 16 | lists: { 17 | unordered: "Llista desordenada", 18 | ordered: "Llista ordenada", 19 | outdent: "Esborrar tabulació", 20 | indent: "Afegir tabulació" 21 | }, 22 | link: { 23 | insert: "Afegir enllaç", 24 | cancel: "Cancelar" 25 | }, 26 | image: { 27 | insert: "Afegir imatge", 28 | cancel: "Cancelar" 29 | }, 30 | html: { 31 | edit: "Editar HTML" 32 | }, 33 | colours: { 34 | black: "Negre", 35 | silver: "Plata", 36 | gray: "Gris", 37 | maroon: "Marró", 38 | red: "Vermell", 39 | purple: "Porpre", 40 | green: "Verd", 41 | olive: "Oliva", 42 | navy: "Blau marí", 43 | blue: "Blau", 44 | orange: "Taronja" 45 | } 46 | }; 47 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.cs-CZ.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Czech translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["cs-CZ"] = { 6 | font_styles: { 7 | normal: "Normální text", 8 | h1: "Nadpis úrovně 1", 9 | h2: "Nadpis úrovně 2", 10 | h3: "Nadpis úrovně 3" 11 | }, 12 | emphasis: { 13 | bold: "Tučné", 14 | italic: "Kurzíva", 15 | underline: "Podtržení" 16 | }, 17 | lists: { 18 | unordered: "Seznam s odrážkami", 19 | ordered: "Číslovaný seznam", 20 | outdent: "Zvětšit odsazení", 21 | indent: "Zmenšit odsazení" 22 | }, 23 | link: { 24 | insert: "Vložit odkaz", 25 | cancel: "Zrušit" 26 | }, 27 | image: { 28 | insert: "Vložit obrázek", 29 | cancel: "Zrušit" 30 | }, 31 | html: { 32 | edit: "Upravit HTML" 33 | }, 34 | colours: { 35 | black: "Černá", 36 | silver: "Stříbrná", 37 | gray: "Šedá", 38 | maroon: "Vínová", 39 | red: "Červená", 40 | purple: "Fialová", 41 | green: "Zelená", 42 | olive: "Olivová", 43 | navy: "Tmavomodrá", 44 | blue: "Modrá", 45 | orange: "Oranžová" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.de-DE.js: -------------------------------------------------------------------------------- 1 | /** 2 | * German translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["de-DE"] = { 6 | font_styles: { 7 | normal: "Normaler Text", 8 | h1: "Überschrift 1", 9 | h2: "Überschrift 2", 10 | h3: "Überschrift 3" 11 | }, 12 | emphasis: { 13 | bold: "Fett", 14 | italic: "Kursiv", 15 | underline: "Unterstrichen" 16 | }, 17 | lists: { 18 | unordered: "Ungeordnete Liste", 19 | ordered: "Geordnete Liste", 20 | outdent: "Einzug verkleinern", 21 | indent: "Einzug vergrößern" 22 | }, 23 | link: { 24 | insert: "Link einfügen", 25 | cancel: "Abbrechen" 26 | }, 27 | image: { 28 | insert: "Bild einfügen", 29 | cancel: "Abbrechen" 30 | }, 31 | html: { 32 | edit: "HTML bearbeiten" 33 | }, 34 | colours: { 35 | black: "Schwarz", 36 | silver: "Silber", 37 | gray: "Grau", 38 | maroon: "Kastanienbraun", 39 | red: "Rot", 40 | purple: "Violett", 41 | green: "Grün", 42 | olive: "Olivgrün", 43 | navy: "Marineblau", 44 | blue: "Blau", 45 | orange: "Orange" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.el-GR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Greek translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["el-GR"] = { 6 | font_styles: { 7 | normal: "Απλό κείμενο", 8 | h1: "Κεφαλίδα 1", 9 | h2: "Κεφαλίδα 2", 10 | h3: "Κεφαλίδα 3" 11 | }, 12 | emphasis: { 13 | bold: "B", 14 | italic: "I", 15 | underline: "U" 16 | }, 17 | lists: { 18 | unordered: "Λίστα με κουκκίδες", 19 | ordered: "Αριθμημένη λίστα", 20 | outdent: "Μείωση εσοχής", 21 | indent: "Αύξηση εσοχής" 22 | }, 23 | link: { 24 | insert: "Εισαγωγή Συνδέσμου", 25 | cancel: "Άκυρο" 26 | }, 27 | image: { 28 | insert: "Εισαγωγή Εικόνας", 29 | cancel: "Άκυρο" 30 | }, 31 | html: { 32 | edit: "Επεξεργασία HTML" 33 | }, 34 | colours: { 35 | black: "Μαύρο", 36 | silver: "Ασημί", 37 | gray: "Γκρι", 38 | maroon: "Καφέ", 39 | red: "Κόκκινο", 40 | purple: "Μωβ", 41 | green: "Πράσινο", 42 | olive: "Λαδί", 43 | navy: "Βαθύ Μπλε", 44 | blue: "Μπλε", 45 | orange: "Πορτοκαλί" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.es-AR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Spanish Argenina translation for bootstrap-wysihtml5 3 | */ 4 | 5 | (function($){ 6 | $.fn.wysihtml5.locale["es-AR"] = { 7 | font_styles: { 8 | normal: "Texto normal", 9 | h1: "Título 1", 10 | h2: "Título 2", 11 | h3: "Título 3" 12 | }, 13 | emphasis: { 14 | bold: "Negrita", 15 | italic: "Itálica", 16 | underline: "Subrayado" 17 | }, 18 | lists: { 19 | ordered: "Lista ordenada", 20 | unordered: "Lista desordenada", 21 | indent: "Agregar sangría", 22 | outdent: "Eliminar sangría" 23 | }, 24 | link: { 25 | insert: "Insertar enlace", 26 | cancel: "Cancelar" 27 | }, 28 | image: { 29 | insert: "Insertar imágen", 30 | cancel: "Cancelar" 31 | }, 32 | html: { 33 | edit: "Editar HTML" 34 | }, 35 | colours: { 36 | black: "Negro", 37 | silver: "Plata", 38 | gray: "Gris", 39 | maroon: "Marrón", 40 | red: "Rojo", 41 | purple: "Púrpura", 42 | green: "Verde", 43 | olive: "Oliva", 44 | navy: "Azul Marino", 45 | blue: "Azul", 46 | orange: "Naranja" 47 | } 48 | }; 49 | }(jQuery)); 50 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.es-ES.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Uruguayan spanish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["es-ES"] = { 6 | font_styles: { 7 | normal: "Texto normal", 8 | h1: "Título 1", 9 | h2: "Título 2", 10 | h3: "Título 3" 11 | }, 12 | emphasis: { 13 | bold: "Negrita", 14 | italic: "Itálica", 15 | underline: "Subrayado" 16 | }, 17 | lists: { 18 | unordered: "Lista desordenada", 19 | ordered: "Lista ordenada", 20 | outdent: "Eliminar sangría", 21 | indent: "Agregar sangría" 22 | }, 23 | link: { 24 | insert: "Insertar enlace", 25 | cancel: "Cancelar" 26 | }, 27 | image: { 28 | insert: "Insertar imágen", 29 | cancel: "Cancelar" 30 | }, 31 | html: { 32 | edit: "Editar HTML" 33 | }, 34 | colours: { 35 | black: "Negro", 36 | silver: "Plata", 37 | gray: "Gris", 38 | maroon: "Marrón", 39 | red: "Rojo", 40 | purple: "Púrpura", 41 | green: "Verde", 42 | olive: "Oliva", 43 | navy: "Azul Marino", 44 | blue: "Azul", 45 | orange: "Naranja" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.fr-FR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * French translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["fr-FR"] = { 6 | font_styles: { 7 | normal: "Texte normal", 8 | h1: "Titre 1", 9 | h2: "Titre 2", 10 | h3: "Titre 3" 11 | }, 12 | emphasis: { 13 | bold: "Gras", 14 | italic: "Italique", 15 | underline: "Souligné" 16 | }, 17 | lists: { 18 | unordered: "Liste à puces", 19 | ordered: "Liste numérotée", 20 | outdent: "Diminuer le retrait", 21 | indent: "Augmenter le retrait", 22 | indered: "Augmenter le retrait" 23 | }, 24 | link: { 25 | insert: "Insérer un lien", 26 | cancel: "Annuler" 27 | }, 28 | image: { 29 | insert: "Insérer une image", 30 | cancel: "Annuler" 31 | }, 32 | html: { 33 | edit: "Editer en HTML" 34 | }, 35 | colours: { 36 | black: "Noir", 37 | silver: "Gris clair", 38 | gray: "Gris", 39 | maroon: "Marron", 40 | red: "Rouge", 41 | purple: "Pourpre", 42 | green: "Vert", 43 | olive: "Olive", 44 | navy: "Bleu marine", 45 | blue: "Bleu", 46 | orange: "Orange" 47 | } 48 | }; 49 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.hr-HR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Croatian localisation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["hr-HR"] = { 6 | font_styles: { 7 | normal: "Normalan tekst", 8 | h1: "Naslov 1", 9 | h2: "Naslov 2", 10 | h3: "Naslov 3" 11 | }, 12 | emphasis: { 13 | bold: "Podebljano", 14 | italic: "Nakrivljeno", 15 | underline: "Podcrtano" 16 | }, 17 | lists: { 18 | unordered: "Nesortirana lista", 19 | ordered: "Sortirana lista", 20 | outdent: "Izdubi", 21 | indent: "Udubi" 22 | }, 23 | link: { 24 | insert: "Umetni poveznicu", 25 | cancel: "Otkaži" 26 | }, 27 | image: { 28 | insert: "Umetni sliku", 29 | cancel: "Otkaži" 30 | }, 31 | html: { 32 | edit: "Izmjeni HTML" 33 | }, 34 | colours: { 35 | black: "Crna", 36 | silver: "Srebrna", 37 | gray: "Siva", 38 | maroon: "Kestenjasta", 39 | red: "Crvena", 40 | purple: "Ljubičasta", 41 | green: "Zelena", 42 | olive: "Maslinasta", 43 | navy: "Mornarska", 44 | blue: "Plava", 45 | orange: "Narandžasta" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.it-IT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Italian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["it-IT"] = { 6 | font_styles: { 7 | normal: "Testo normale", 8 | h1: "Titolo 1", 9 | h2: "Titolo 2" 10 | }, 11 | emphasis: { 12 | bold: "Grassetto", 13 | italic: "Corsivo", 14 | underline: "Sottolineato" 15 | }, 16 | lists: { 17 | unordered: "Lista non ordinata", 18 | ordered: "Lista ordinata", 19 | outdent: "Elimina rientro", 20 | indent: "Aggiungi rientro" 21 | }, 22 | link: { 23 | insert: "Inserisci link", 24 | cancel: "Annulla" 25 | }, 26 | image: { 27 | insert: "Inserisci immagine", 28 | cancel: "Annulla" 29 | }, 30 | html: { 31 | edit: "Modifica HTML" 32 | }, 33 | colours: { 34 | black: "Nero", 35 | silver: "Argento", 36 | gray: "Grigio", 37 | maroon: "Marrone", 38 | red: "Rosso", 39 | purple: "Viola", 40 | green: "Verde", 41 | olive: "Oliva", 42 | navy: "Blu Marino", 43 | blue: "Blu", 44 | orange: "Arancio" 45 | } 46 | }; 47 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.ja-JP.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Japanese translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ja-JP"] = { 6 | font_styles: { 7 | normal: "通常の文字", 8 | h1: "見出し1", 9 | h2: "見出し2", 10 | h3: "見出し3" 11 | }, 12 | emphasis: { 13 | bold: "太字", 14 | italic: "斜体", 15 | underline: "下線" 16 | }, 17 | lists: { 18 | unordered: "点字リスト", 19 | ordered: "数字リスト", 20 | outdent: "左寄せ", 21 | indent: "右寄せ" 22 | }, 23 | link: { 24 | insert: "リンクの挿入", 25 | cancel: "キャンセル" 26 | }, 27 | image: { 28 | insert: "画像の挿入", 29 | cancel: "キャンセル" 30 | }, 31 | html: { 32 | edit: "HTMLを編集" 33 | }, 34 | colours: { 35 | black: "黒色", 36 | silver: "シルバー", 37 | gray: "グレー", 38 | maroon: "栗色", 39 | red: "赤色", 40 | purple: "紫色", 41 | green: "緑色", 42 | olive: "オリーブ", 43 | navy: "ネイビー", 44 | blue: "青色", 45 | orange: "オレンジ" 46 | } 47 | 48 | }; 49 | }(jQuery)); 50 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.ko-KR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Korean translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ko-KR"] = { 6 | font_styles: { 7 | normal: "일반", 8 | h1: "헤드라인 1", 9 | h2: "헤드라인 2", 10 | h3: "헤드라인 3" 11 | }, 12 | emphasis: { 13 | bold: "굵게", 14 | italic: "기울게", 15 | underline: "밑줄" 16 | }, 17 | lists: { 18 | unordered: "기호목록", 19 | ordered: "숫자목록", 20 | outdent: "내어쓰기", 21 | indent: "들여쓰기" 22 | }, 23 | link: { 24 | insert: "링크 삽입", 25 | cancel: "취소" 26 | }, 27 | image: { 28 | insert: "이미지 삽입", 29 | cancel: "취소" 30 | }, 31 | html: { 32 | edit: "HTML 편집" 33 | }, 34 | colours: { 35 | black: "검은색", 36 | silver: "은색", 37 | gray: "회색", 38 | maroon: "고동색", 39 | red: "빨간색", 40 | purple: "보라색", 41 | green: "초록색", 42 | olive: "올리브", 43 | navy: "네이비", 44 | blue: "파란색", 45 | orange: "주황색" 46 | } 47 | 48 | }; 49 | }(jQuery)); 50 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.lt-LT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Lithuanian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["lt-LT"] = { 6 | font_styles: { 7 | normal: "Normalus", 8 | h1: "Antraštė 1", 9 | h2: "Antraštė 2", 10 | h3: "Antraštė 3" 11 | }, 12 | emphasis: { 13 | bold: "Pastorintas", 14 | italic: "Kursyvas", 15 | underline: "Pabrauktas" 16 | }, 17 | lists: { 18 | unordered: "Suženklintas sąrašas", 19 | ordered: "Numeruotas sąrašas", 20 | outdent: "Padidinti įtrauką", 21 | indent: "Sumažinti įtrauką" 22 | }, 23 | link: { 24 | insert: "Įterpti nuorodą", 25 | cancel: "Atšaukti" 26 | }, 27 | image: { 28 | insert: "Įterpti atvaizdą", 29 | cancel: "Atšaukti" 30 | }, 31 | html: { 32 | edit: "Redaguoti HTML" 33 | }, 34 | colours: { 35 | black: "Juoda", 36 | silver: "Sidabrinė", 37 | gray: "Pilka", 38 | maroon: "Kaštoninė", 39 | red: "Raudona", 40 | purple: "Violetinė", 41 | green: "Žalia", 42 | olive: "Gelsvai žalia", 43 | navy: "Tamsiai mėlyna", 44 | blue: "Mėlyna", 45 | orange: "Oranžinė" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.mo-MD.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Moldavian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["mo-MD"] = { 6 | font_styles: { 7 | normal: "Normal", 8 | h1: "Titlu 1", 9 | h2: "Titlu 2" 10 | }, 11 | emphasis: { 12 | bold: "Bold", 13 | italic: "Cursiv", 14 | underline: "Accentuat" 15 | }, 16 | lists: { 17 | unordered: "Neordonata", 18 | ordered: "Ordonata", 19 | outdent: "Margine", 20 | indent: "zimțuire" 21 | }, 22 | link: { 23 | insert: "Indroduce link-ul", 24 | cancel: "Anula" 25 | }, 26 | image: { 27 | insert: "Insera imagina", 28 | cancel: "Anula" 29 | }, 30 | html: { 31 | edit: "Editare HTML" 32 | }, 33 | 34 | colours: { 35 | black: "Negru", 36 | silver: "Argint", 37 | gray: "Gri", 38 | maroon: "Castaniu", 39 | red: "Roșu", 40 | purple: "Violet", 41 | green: "Verde", 42 | olive: "Oliv", 43 | navy: "Marin", 44 | blue: "Albastru", 45 | orange: "Portocaliu" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.nb-NB.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["nb-NB"] = { 6 | font_styles: { 7 | normal: "Normal tekst", 8 | h1: "Tittel 1", 9 | h2: "Tittel 2", 10 | h3: "Tittel 3" 11 | }, 12 | emphasis: { 13 | bold: "Fet", 14 | italic: "Kursiv", 15 | underline: "Understrekning" 16 | }, 17 | lists: { 18 | unordered: "Usortert", 19 | ordered: "Sortert", 20 | outdent: "Detabuler", 21 | indent: "Tabuler", 22 | indered: "Tabuler" 23 | }, 24 | link: { 25 | insert: "Sett inn lenke", 26 | cancel: "Avbryt" 27 | }, 28 | image: { 29 | insert: "Sett inn bilde", 30 | cancel: "Avbryt" 31 | }, 32 | html: { 33 | edit: "Rediger HTML" 34 | }, 35 | colours: { 36 | black: "Svart", 37 | silver: "Sølv", 38 | gray: "Grå", 39 | maroon: "Brun", 40 | red: "Rød", 41 | purple: "Lilla", 42 | green: "Grønn", 43 | olive: "Oliven", 44 | navy: "Marineblå", 45 | blue: "Blå", 46 | orange: "Oransj" 47 | } 48 | }; 49 | ø(jQuery)); 50 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.nl-NL.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["nl-NL"] = { 6 | font_styles: { 7 | normal: "Normale Tekst", 8 | h1: "Kop 1", 9 | h2: "Kop 2", 10 | h3: "Kop 3" 11 | }, 12 | emphasis: { 13 | bold: "Vet", 14 | italic: "Cursief", 15 | underline: "Onderstrepen" 16 | }, 17 | lists: { 18 | unordered: "Ongeordende lijst", 19 | ordered: "Geordende lijst", 20 | outdent: "Inspringen verkleinen", 21 | indent: "Inspringen vergroten" 22 | }, 23 | link: { 24 | insert: "Link invoegen", 25 | cancel: "Annuleren" 26 | }, 27 | image: { 28 | insert: "Afbeelding invoegen", 29 | cancel: "Annuleren" 30 | }, 31 | html: { 32 | edit: "HTML bewerken" 33 | }, 34 | colours: { 35 | black: "Zwart", 36 | silver: "Zilver", 37 | gray: "Grijs", 38 | maroon: "Kastanjebruin", 39 | red: "Rood", 40 | purple: "Paars", 41 | green: "Groen", 42 | olive: "Olijfgroen", 43 | navy: "Donkerblauw", 44 | blue: "Blauw", 45 | orange: "Oranje" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.pl-PL.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Polish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["pl-PL"] = { 6 | font_styles: { 7 | normal: "Tekst podstawowy", 8 | h1: "Nagłówek 1", 9 | h2: "Nagłówek 2", 10 | h3: "Nagłówek 3" 11 | }, 12 | emphasis: { 13 | bold: "Pogrubienie", 14 | italic: "Kursywa", 15 | underline: "Podkreślenie" 16 | }, 17 | lists: { 18 | unordered: "Lista wypunktowana", 19 | ordered: "Lista numerowana", 20 | outdent: "Zwiększ wcięcie", 21 | indent: "Zmniejsz wcięcie" 22 | }, 23 | link: { 24 | insert: "Wstaw odnośnik", 25 | cancel: "Anuluj" 26 | }, 27 | image: { 28 | insert: "Wstaw obrazek", 29 | cancel: "Anuluj" 30 | }, 31 | html: { 32 | edit: "Edycja HTML" 33 | }, 34 | colours: { 35 | black: "Czarny", 36 | silver: "Srebrny", 37 | gray: "Szary", 38 | maroon: "Kasztanowy", 39 | red: "Czerwony", 40 | purple: "Fioletowy", 41 | green: "Zielony", 42 | olive: "Oliwkowy", 43 | navy: "Granatowy", 44 | blue: "Niebieski", 45 | orange: "Pomarańczowy" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.pt-BR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Brazilian portuguese translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["pt-BR"] = { 6 | font_styles: { 7 | normal: "Texto normal", 8 | h1: "Título 1", 9 | h2: "Título 2", 10 | h3: "Título 3" 11 | }, 12 | emphasis: { 13 | bold: "Negrito", 14 | italic: "Itálico", 15 | underline: "Sublinhado" 16 | }, 17 | lists: { 18 | unordered: "Lista", 19 | ordered: "Lista numerada", 20 | outdent: "Remover indentação", 21 | indent: "Indentar" 22 | }, 23 | link: { 24 | insert: "Inserir link", 25 | cancel: "Cancelar" 26 | }, 27 | image: { 28 | insert: "Inserir imagem", 29 | cancel: "Cancelar" 30 | }, 31 | html: { 32 | edit: "Editar HTML" 33 | }, 34 | colours: { 35 | black: "Preto", 36 | silver: "Prata", 37 | gray: "Cinza", 38 | maroon: "Marrom", 39 | red: "Vermelho", 40 | purple: "Roxo", 41 | green: "Verde", 42 | olive: "Oliva", 43 | navy: "Marinho", 44 | blue: "Azul", 45 | orange: "Laranja" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.ru-RU.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Russian translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["ru-RU"] = { 6 | font_styles: { 7 | normal: "Обычный текст", 8 | h1: "Заголовок 1", 9 | h2: "Заголовок 2", 10 | h3: "Заголовок 3" 11 | }, 12 | emphasis: { 13 | bold: "Полужирный", 14 | italic: "Курсив", 15 | underline: "Подчёркнутый" 16 | }, 17 | lists: { 18 | unordered: "Маркированный список", 19 | ordered: "Нумерованный список", 20 | outdent: "Уменьшить отступ", 21 | indent: "Увеличить отступ" 22 | }, 23 | link: { 24 | insert: "Вставить ссылку", 25 | cancel: "Отмена" 26 | }, 27 | image: { 28 | insert: "Вставить изображение", 29 | cancel: "Отмена" 30 | }, 31 | html: { 32 | edit: "HTML код" 33 | }, 34 | colours: { 35 | black: "Чёрный", 36 | silver: "Серебряный", 37 | gray: "Серый", 38 | maroon: "Коричневый", 39 | red: "Красный", 40 | purple: "Фиолетовый", 41 | green: "Зелёный", 42 | olive: "Оливковый", 43 | navy: "Тёмно-синий", 44 | blue: "Синий", 45 | orange: "Оранжевый" 46 | } 47 | }; 48 | }(jQuery)); 49 | 50 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.sk-SK.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovak translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["sk-SK"] = { 6 | font_styles: { 7 | normal: "Normálny text", 8 | h1: "Nadpis úrovne 1", 9 | h2: "Nadpis úrovne 2", 10 | h3: "Nadpis úrovne 3" 11 | }, 12 | emphasis: { 13 | bold: "Tučné", 14 | italic: "Kurzíva", 15 | underline: "Podčiarknuté" 16 | }, 17 | lists: { 18 | unordered: "Neusporiadaný zoznam", 19 | ordered: "Číslovaný zoznam", 20 | outdent: "Zväčšiť odsadenie", 21 | indent: "Zmenšiť odsadenie" 22 | }, 23 | link: { 24 | insert: "Vložiť odkaz", 25 | cancel: "Zrušiť" 26 | }, 27 | image: { 28 | insert: "Vložiť obrázok", 29 | cancel: "Zrušiť" 30 | }, 31 | html: { 32 | edit: "Editovať HTML" 33 | }, 34 | colours: { 35 | black: "Čierna", 36 | silver: "Strieborná", 37 | gray: "Šedá", 38 | maroon: "Bordová", 39 | red: "Červená", 40 | purple: "Fialová", 41 | green: "Zelená", 42 | olive: "Olivová", 43 | navy: "Tmavomodrá", 44 | blue: "Modrá", 45 | orange: "Oranžová" 46 | } 47 | }; 48 | }(jQuery)); 49 | -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.sv-SE.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swedish translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["sv-SE"] = { 6 | font_styles: { 7 | normal: "Normal Text", 8 | h1: "Rubrik 1", 9 | h2: "Rubrik 2", 10 | h3: "Rubrik 3" 11 | }, 12 | emphasis: { 13 | bold: "Fet", 14 | italic: "Kursiv", 15 | underline: "Understruken" 16 | }, 17 | lists: { 18 | unordered: "Osorterad lista", 19 | ordered: "Sorterad lista", 20 | outdent: "Minska indrag", 21 | indent: "Öka indrag" 22 | }, 23 | link: { 24 | insert: "Lägg till länk", 25 | cancel: "Avbryt" 26 | }, 27 | image: { 28 | insert: "Lägg till Bild", 29 | cancel: "Avbryt" 30 | }, 31 | html: { 32 | edit: "Redigera HTML" 33 | }, 34 | colours: { 35 | black: "Svart", 36 | silver: "Silver", 37 | gray: "Grå", 38 | maroon: "Kastaniebrun", 39 | red: "Röd", 40 | purple: "Lila", 41 | green: "Grön", 42 | olive: "Olivgrön", 43 | navy: "Marinblå", 44 | blue: "Blå", 45 | orange: "Orange" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/js/locales/bootstrap-wysihtml5.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Chinese translation for bootstrap-wysihtml5 3 | */ 4 | (function($){ 5 | $.fn.wysihtml5.locale["zh-CN"] = { 6 | font_styles: { 7 | normal: "正文", 8 | h1: "标题 1", 9 | h2: "标题 2", 10 | h3: "标题 3" 11 | }, 12 | emphasis: { 13 | bold: "粗体", 14 | italic: "斜体", 15 | underline: "下划线" 16 | }, 17 | lists: { 18 | unordered: "项目符号", 19 | ordered: "编号", 20 | outdent: "减少缩进", 21 | indent: "增加缩进" 22 | }, 23 | link: { 24 | insert: "插入链接", 25 | cancel: "取消" 26 | }, 27 | image: { 28 | insert: "插入图片", 29 | cancel: "取消" 30 | }, 31 | html: { 32 | edit: "HTML代码" 33 | }, 34 | colours: { 35 | black: "黑色", 36 | silver: "银色", 37 | gray: "灰色", 38 | maroon: "赤红色", 39 | red: "红色", 40 | purple: "紫色", 41 | green: "绿色", 42 | olive: "橄榄色", 43 | navy: "深蓝色", 44 | blue: "蓝色", 45 | orange: "橙色" 46 | } 47 | }; 48 | }(jQuery)); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/advhr/css/advhr.css: -------------------------------------------------------------------------------- 1 | input.radio {border:1px none #000; background:transparent; vertical-align:middle;} 2 | .panel_wrapper div.current {height:80px;} 3 | #width {width:50px; vertical-align:middle;} 4 | #width2 {width:50px; vertical-align:middle;} 5 | #size {width:100px;} 6 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/advhr/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.AdvancedHRPlugin",{init:function(a,b){a.addCommand("mceAdvancedHr",function(){a.windowManager.open({file:b+"/rule.htm",width:250+parseInt(a.getLang("advhr.delta_width",0)),height:160+parseInt(a.getLang("advhr.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("advhr",{title:"advhr.advhr_desc",cmd:"mceAdvancedHr"});a.onNodeChange.add(function(d,c,e){c.setActive("advhr",e.nodeName=="HR")});a.onClick.add(function(c,d){d=d.target;if(d.nodeName==="HR"){c.selection.select(d)}})},getInfo:function(){return{longname:"Advanced HR",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advhr",tinymce.plugins.AdvancedHRPlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/advhr/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.AdvancedHRPlugin', { 13 | init : function(ed, url) { 14 | // Register commands 15 | ed.addCommand('mceAdvancedHr', function() { 16 | ed.windowManager.open({ 17 | file : url + '/rule.htm', 18 | width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)), 19 | height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)), 20 | inline : 1 21 | }, { 22 | plugin_url : url 23 | }); 24 | }); 25 | 26 | // Register buttons 27 | ed.addButton('advhr', { 28 | title : 'advhr.advhr_desc', 29 | cmd : 'mceAdvancedHr' 30 | }); 31 | 32 | ed.onNodeChange.add(function(ed, cm, n) { 33 | cm.setActive('advhr', n.nodeName == 'HR'); 34 | }); 35 | 36 | ed.onClick.add(function(ed, e) { 37 | e = e.target; 38 | 39 | if (e.nodeName === 'HR') 40 | ed.selection.select(e); 41 | }); 42 | }, 43 | 44 | getInfo : function() { 45 | return { 46 | longname : 'Advanced HR', 47 | author : 'Moxiecode Systems AB', 48 | authorurl : 'http://tinymce.moxiecode.com', 49 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr', 50 | version : tinymce.majorVersion + "." + tinymce.minorVersion 51 | }; 52 | } 53 | }); 54 | 55 | // Register plugin 56 | tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin); 57 | })(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/advhr/js/rule.js: -------------------------------------------------------------------------------- 1 | var AdvHRDialog = { 2 | init : function(ed) { 3 | var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w; 4 | 5 | w = dom.getAttrib(n, 'width'); 6 | f.width.value = w ? parseInt(w) : (dom.getStyle('width') || ''); 7 | f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || ''; 8 | f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width'); 9 | selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px'); 10 | }, 11 | 12 | update : function() { 13 | var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = ''; 14 | 15 | h = 'd.autoresize_min_height){k=g}if(d.autoresize_max_height&&g>d.autoresize_max_height){k=d.autoresize_max_height;f.style.overflowY="auto";l.style.overflowY="auto"}else{f.style.overflowY="hidden";l.style.overflowY="hidden";f.scrollTop=0}if(k!==e){j=k-e;h.setStyle(h.get(a.id+"_ifr"),"height",k+"px");e=k;if(tinymce.isWebKit&&j<0){b()}}}d.editor=a;d.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight));d.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0));a.onInit.add(function(f){f.dom.setStyle(f.getBody(),"paddingBottom",f.getParam("autoresize_bottom_margin",50)+"px")});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onLoad.add(b);a.onLoadContent.add(b)}a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/directionality/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Directionality",{init:function(b,c){var d=this;d.editor=b;function a(e){var h=b.dom,g,f=b.selection.getSelectedBlocks();if(f.length){g=h.getAttrib(f[0],"dir");tinymce.each(f,function(i){if(!h.getParent(i.parentNode,"*[dir='"+e+"']",h.getRoot())){if(g!=e){h.setAttrib(i,"dir",e)}else{h.setAttrib(i,"dir",null)}}});b.nodeChanged()}}b.addCommand("mceDirectionLTR",function(){a("ltr")});b.addCommand("mceDirectionRTL",function(){a("rtl")});b.addButton("ltr",{title:"directionality.ltr_desc",cmd:"mceDirectionLTR"});b.addButton("rtl",{title:"directionality.rtl_desc",cmd:"mceDirectionRTL"});b.onNodeChange.add(d._nodeChange,d)},getInfo:function(){return{longname:"Directionality",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,e){var d=b.dom,c;e=d.getParent(e,d.isBlock);if(!e){a.setDisabled("ltr",1);a.setDisabled("rtl",1);return}c=d.getAttrib(e,"dir");a.setActive("ltr",c=="ltr");a.setDisabled("ltr",0);a.setActive("rtl",c=="rtl");a.setDisabled("rtl",0)}});tinymce.PluginManager.add("directionality",tinymce.plugins.Directionality)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(a){a.create("tinymce.plugins.EmotionsPlugin",{init:function(b,c){b.addCommand("mceEmotion",function(){b.windowManager.open({file:c+"/emotions.htm",width:250+parseInt(b.getLang("emotions.delta_width",0)),height:160+parseInt(b.getLang("emotions.delta_height",0)),inline:1},{plugin_url:c})});b.addButton("emotions",{title:"emotions.emotions_desc",cmd:"mceEmotion"})},getInfo:function(){return{longname:"Emotions",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("emotions",a.plugins.EmotionsPlugin)})(tinymce); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function(tinymce) { 12 | tinymce.create('tinymce.plugins.EmotionsPlugin', { 13 | init : function(ed, url) { 14 | // Register commands 15 | ed.addCommand('mceEmotion', function() { 16 | ed.windowManager.open({ 17 | file : url + '/emotions.htm', 18 | width : 250 + parseInt(ed.getLang('emotions.delta_width', 0)), 19 | height : 160 + parseInt(ed.getLang('emotions.delta_height', 0)), 20 | inline : 1 21 | }, { 22 | plugin_url : url 23 | }); 24 | }); 25 | 26 | // Register buttons 27 | ed.addButton('emotions', {title : 'emotions.emotions_desc', cmd : 'mceEmotion'}); 28 | }, 29 | 30 | getInfo : function() { 31 | return { 32 | longname : 'Emotions', 33 | author : 'Moxiecode Systems AB', 34 | authorurl : 'http://tinymce.moxiecode.com', 35 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions', 36 | version : tinymce.majorVersion + "." + tinymce.minorVersion 37 | }; 38 | } 39 | }); 40 | 41 | // Register plugin 42 | tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin); 43 | })(tinymce); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-cool.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-cry.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-frown.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-innocent.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-kiss.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-laughing.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-sealed.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-smile.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-surprised.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-undecided.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-wink.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/emotions/img/smiley-yell.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/js/emotions.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var EmotionsDialog = { 4 | addKeyboardNavigation: function(){ 5 | var tableElm, cells, settings; 6 | 7 | cells = tinyMCEPopup.dom.select("a.emoticon_link", "emoticon_table"); 8 | 9 | settings ={ 10 | root: "emoticon_table", 11 | items: cells 12 | }; 13 | cells[0].tabindex=0; 14 | tinyMCEPopup.dom.addClass(cells[0], "mceFocus"); 15 | if (tinymce.isGecko) { 16 | cells[0].focus(); 17 | } else { 18 | setTimeout(function(){ 19 | cells[0].focus(); 20 | }, 100); 21 | } 22 | tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom); 23 | }, 24 | init : function(ed) { 25 | tinyMCEPopup.resizeToInnerSize(); 26 | this.addKeyboardNavigation(); 27 | }, 28 | 29 | insert : function(file, title) { 30 | var ed = tinyMCEPopup.editor, dom = ed.dom; 31 | 32 | tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { 33 | src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, 34 | alt : ed.getLang(title), 35 | title : ed.getLang(title), 36 | border : 0 37 | })); 38 | 39 | tinyMCEPopup.close(); 40 | } 41 | }; 42 | 43 | tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog); 44 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/emotions/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.emotions_dlg',{cry:"Cry",cool:"Cool",desc:"Emotions",title:"Insert Emotion",usage:"Use left and right arrows to navigate.",yell:"Yell",wink:"Wink",undecided:"Undecided","tongue_out":"Tongue Out",surprised:"Surprised",smile:"Smile",sealed:"Sealed","money_mouth":"Money Mouth",laughing:"Laughing",kiss:"Kiss",innocent:"Innocent",frown:"Frown","foot_in_mouth":"Foot in Mouth",embarassed:"Embarassed"}); 2 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example/dialog.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#example_dlg.title} 5 | 6 | 7 | 8 | 9 | 10 |
11 |

Here is a example dialog.

12 |

Selected text:

13 |

Custom arg:

14 | 15 |
16 | 17 | 18 |
19 |
20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.PluginManager.requireLangPack("example");tinymce.create("tinymce.plugins.ExamplePlugin",{init:function(a,b){a.addCommand("mceExample",function(){a.windowManager.open({file:b+"/dialog.htm",width:320+parseInt(a.getLang("example.delta_width",0)),height:120+parseInt(a.getLang("example.delta_height",0)),inline:1},{plugin_url:b,some_custom_arg:"custom arg"})});a.addButton("example",{title:"example.desc",cmd:"mceExample",image:b+"/img/example.gif"});a.onNodeChange.add(function(d,c,e){c.setActive("example",e.nodeName=="IMG")})},createControl:function(b,a){return null},getInfo:function(){return{longname:"Example plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example",version:"1.0"}}});tinymce.PluginManager.add("example",tinymce.plugins.ExamplePlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example/img/example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/example/img/example.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example/js/dialog.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var ExampleDialog = { 4 | init : function() { 5 | var f = document.forms[0]; 6 | 7 | // Get the selected contents as text and place it in the input 8 | f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'}); 9 | f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg'); 10 | }, 11 | 12 | insert : function() { 13 | // Insert the contents from the input into the document 14 | tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value); 15 | tinyMCEPopup.close(); 16 | } 17 | }; 18 | 19 | tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog); 20 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example/langs/en.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.example',{ 2 | desc : 'This is just a template button' 3 | }); 4 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.example_dlg',{ 2 | title : 'This is just a example title' 3 | }); 4 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example_dependency/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.ExampleDependencyPlugin",{init:function(a,b){},getInfo:function(){return{longname:"Example Dependency plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency",version:"1.0"}}});tinymce.PluginManager.add("example_dependency",tinymce.plugins.ExampleDependencyPlugin,["example"])})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/example_dependency/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | 13 | tinymce.create('tinymce.plugins.ExampleDependencyPlugin', { 14 | /** 15 | * Initializes the plugin, this will be executed after the plugin has been created. 16 | * This call is done before the editor instance has finished it's initialization so use the onInit event 17 | * of the editor instance to intercept that event. 18 | * 19 | * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. 20 | * @param {string} url Absolute URL to where the plugin is located. 21 | */ 22 | init : function(ed, url) { 23 | }, 24 | 25 | 26 | /** 27 | * Returns information about the plugin as a name/value array. 28 | * The current keys are longname, author, authorurl, infourl and version. 29 | * 30 | * @return {Object} Name/value array containing information about the plugin. 31 | */ 32 | getInfo : function() { 33 | return { 34 | longname : 'Example Dependency plugin', 35 | author : 'Some author', 36 | authorurl : 'http://tinymce.moxiecode.com', 37 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency', 38 | version : "1.0" 39 | }; 40 | } 41 | }); 42 | 43 | /** 44 | * Register the plugin, specifying the list of the plugins that this plugin depends on. They are specified in a list, with the list loaded in order. 45 | * plugins in this list will be initialised when this plugin is initialized. (before the init method is called). 46 | * plugins in a depends list should typically be specified using the short name). If neccesary this can be done 47 | * with an object which has the url to the plugin and the shortname. 48 | */ 49 | tinymce.PluginManager.add('example_dependency', tinymce.plugins.ExampleDependencyPlugin, ['example']); 50 | })(); 51 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/iespell/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/iespell/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.IESpell', { 13 | init : function(ed, url) { 14 | var t = this, sp; 15 | 16 | if (!tinymce.isIE) 17 | return; 18 | 19 | t.editor = ed; 20 | 21 | // Register commands 22 | ed.addCommand('mceIESpell', function() { 23 | try { 24 | sp = new ActiveXObject("ieSpell.ieSpellExtension"); 25 | sp.CheckDocumentNode(ed.getDoc().documentElement); 26 | } catch (e) { 27 | if (e.number == -2146827859) { 28 | ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) { 29 | if (s) 30 | window.open('http://www.iespell.com/download.php', 'ieSpellDownload', ''); 31 | }); 32 | } else 33 | ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number); 34 | } 35 | }); 36 | 37 | // Register buttons 38 | ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'}); 39 | }, 40 | 41 | getInfo : function() { 42 | return { 43 | longname : 'IESpell (IE Only)', 44 | author : 'Moxiecode Systems AB', 45 | authorurl : 'http://tinymce.moxiecode.com', 46 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell', 47 | version : tinymce.majorVersion + "." + tinymce.minorVersion 48 | }; 49 | } 50 | }); 51 | 52 | // Register plugin 53 | tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell); 54 | })(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/insertdatetime/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.InsertDateTime",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceInsertDate",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_dateFormat",a.getLang("insertdatetime.date_fmt")));a.execCommand("mceInsertContent",false,d)});a.addCommand("mceInsertTime",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_timeFormat",a.getLang("insertdatetime.time_fmt")));a.execCommand("mceInsertContent",false,d)});a.addButton("insertdate",{title:"insertdatetime.insertdate_desc",cmd:"mceInsertDate"});a.addButton("inserttime",{title:"insertdatetime.inserttime_desc",cmd:"mceInsertTime"})},getInfo:function(){return{longname:"Insert date/time",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getDateTime:function(e,a){var c=this.editor;function b(g,d){g=""+g;if(g.length ':" ")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(f.keyCode==9){f.preventDefault();d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking")}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/nonbreaking/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.Nonbreaking', { 13 | init : function(ed, url) { 14 | var t = this; 15 | 16 | t.editor = ed; 17 | 18 | // Register commands 19 | ed.addCommand('mceNonBreaking', function() { 20 | ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? ' ' : ' '); 21 | }); 22 | 23 | // Register buttons 24 | ed.addButton('nonbreaking', {title : 'nonbreaking.nonbreaking_desc', cmd : 'mceNonBreaking'}); 25 | 26 | if (ed.getParam('nonbreaking_force_tab')) { 27 | ed.onKeyDown.add(function(ed, e) { 28 | if (e.keyCode == 9) { 29 | e.preventDefault(); 30 | 31 | ed.execCommand('mceNonBreaking'); 32 | ed.execCommand('mceNonBreaking'); 33 | ed.execCommand('mceNonBreaking'); 34 | } 35 | }); 36 | } 37 | }, 38 | 39 | getInfo : function() { 40 | return { 41 | longname : 'Nonbreaking space', 42 | author : 'Moxiecode Systems AB', 43 | authorurl : 'http://tinymce.moxiecode.com', 44 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking', 45 | version : tinymce.majorVersion + "." + tinymce.minorVersion 46 | }; 47 | } 48 | 49 | // Private methods 50 | }); 51 | 52 | // Register plugin 53 | tinymce.PluginManager.add('nonbreaking', tinymce.plugins.Nonbreaking); 54 | })(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/pagebreak/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='',a="mcePageBreak",c=b.getParam("pagebreak_separator",""),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/paste/js/pastetext.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var PasteTextDialog = { 4 | init : function() { 5 | this.resize(); 6 | }, 7 | 8 | insert : function() { 9 | var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines; 10 | 11 | // Convert linebreaks into paragraphs 12 | if (document.getElementById('linebreaks').checked) { 13 | lines = h.split(/\r?\n/); 14 | if (lines.length > 1) { 15 | h = ''; 16 | tinymce.each(lines, function(row) { 17 | h += '

' + row + '

'; 18 | }); 19 | } 20 | } 21 | 22 | tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h}); 23 | tinyMCEPopup.close(); 24 | }, 25 | 26 | resize : function() { 27 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 28 | 29 | el = document.getElementById('content'); 30 | 31 | el.style.width = (vp.w - 20) + 'px'; 32 | el.style.height = (vp.h - 90) + 'px'; 33 | } 34 | }; 35 | 36 | tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog); 37 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/paste/js/pasteword.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var PasteWordDialog = { 4 | init : function() { 5 | var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = ''; 6 | 7 | // Create iframe 8 | el.innerHTML = ''; 9 | ifr = document.getElementById('iframe'); 10 | doc = ifr.contentWindow.document; 11 | 12 | // Force absolute CSS urls 13 | css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; 14 | css = css.concat(tinymce.explode(ed.settings.content_css) || []); 15 | tinymce.each(css, function(u) { 16 | cssHTML += ''; 17 | }); 18 | 19 | // Write content into iframe 20 | doc.open(); 21 | doc.write('' + cssHTML + ''); 22 | doc.close(); 23 | 24 | doc.designMode = 'on'; 25 | this.resize(); 26 | 27 | window.setTimeout(function() { 28 | ifr.contentWindow.focus(); 29 | }, 10); 30 | }, 31 | 32 | insert : function() { 33 | var h = document.getElementById('iframe').contentWindow.document.body.innerHTML; 34 | 35 | tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true}); 36 | tinyMCEPopup.close(); 37 | }, 38 | 39 | resize : function() { 40 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 41 | 42 | el = document.getElementById('iframe'); 43 | 44 | if (el) { 45 | el.style.width = (vp.w - 20) + 'px'; 46 | el.style.height = (vp.h - 90) + 'px'; 47 | } 48 | } 49 | }; 50 | 51 | tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog); 52 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/paste/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.paste_dlg',{"word_title":"Use Ctrl+V on your keyboard to paste the text into the window.","text_linebreaks":"Keep Linebreaks","text_title":"Use Ctrl+V on your keyboard to paste the text into the window."}); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/paste/pastetext.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#paste.paste_text_desc} 4 | 5 | 6 | 7 | 8 |
9 |
{#paste.paste_text_desc}
10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 |
{#paste_dlg.text_title}
18 | 19 | 20 | 21 |
22 | 23 | 24 |
25 |
26 | 27 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/paste/pasteword.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#paste.paste_word_desc} 4 | 5 | 6 | 7 | 8 |
9 |
{#paste.paste_word_desc}
10 | 11 |
{#paste_dlg.word_title}
12 | 13 |
14 | 15 |
16 | 17 | 18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/preview/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Preview",{init:function(a,b){var d=this,c=tinymce.explode(a.settings.content_css);d.editor=a;tinymce.each(c,function(f,e){c[e]=a.documentBaseURI.toAbsolute(f)});a.addCommand("mcePreview",function(){a.windowManager.open({file:a.getParam("plugin_preview_pageurl",b+"/preview.html"),width:parseInt(a.getParam("plugin_preview_width","550")),height:parseInt(a.getParam("plugin_preview_height","600")),resizable:"yes",scrollbars:"yes",popup_css:c?c.join(","):a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css"),inline:a.getParam("plugin_preview_inline",1)},{base:a.documentBaseURI.getURI()})});a.addButton("preview",{title:"preview.preview_desc",cmd:"mcePreview"})},getInfo:function(){return{longname:"Preview",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("preview",tinymce.plugins.Preview)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/preview/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.Preview', { 13 | init : function(ed, url) { 14 | var t = this, css = tinymce.explode(ed.settings.content_css); 15 | 16 | t.editor = ed; 17 | 18 | // Force absolute CSS urls 19 | tinymce.each(css, function(u, k) { 20 | css[k] = ed.documentBaseURI.toAbsolute(u); 21 | }); 22 | 23 | ed.addCommand('mcePreview', function() { 24 | ed.windowManager.open({ 25 | file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"), 26 | width : parseInt(ed.getParam("plugin_preview_width", "550")), 27 | height : parseInt(ed.getParam("plugin_preview_height", "600")), 28 | resizable : "yes", 29 | scrollbars : "yes", 30 | popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"), 31 | inline : ed.getParam("plugin_preview_inline", 1) 32 | }, { 33 | base : ed.documentBaseURI.getURI() 34 | }); 35 | }); 36 | 37 | ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'}); 38 | }, 39 | 40 | getInfo : function() { 41 | return { 42 | longname : 'Preview', 43 | author : 'Moxiecode Systems AB', 44 | authorurl : 'http://tinymce.moxiecode.com', 45 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview', 46 | version : tinymce.majorVersion + "." + tinymce.minorVersion 47 | }; 48 | } 49 | }); 50 | 51 | // Register plugin 52 | tinymce.PluginManager.add('preview', tinymce.plugins.Preview); 53 | })(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/preview/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | Example of a custom preview page 19 | 20 | 21 | 22 | Editor contents:
23 |
24 | 25 |
26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/preview/preview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | {#preview.preview_desc} 11 | 12 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/print/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/print/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.Print', { 13 | init : function(ed, url) { 14 | ed.addCommand('mcePrint', function() { 15 | ed.getWin().print(); 16 | }); 17 | 18 | ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'}); 19 | }, 20 | 21 | getInfo : function() { 22 | return { 23 | longname : 'Print', 24 | author : 'Moxiecode Systems AB', 25 | authorurl : 'http://tinymce.moxiecode.com', 26 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print', 27 | version : tinymce.majorVersion + "." + tinymce.minorVersion 28 | }; 29 | } 30 | }); 31 | 32 | // Register plugin 33 | tinymce.PluginManager.add('print', tinymce.plugins.Print); 34 | })(); 35 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/save/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Save",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceSave",c._save,c);a.addCommand("mceCancel",c._cancel,c);a.addButton("save",{title:"save.save_desc",cmd:"mceSave"});a.addButton("cancel",{title:"save.cancel_desc",cmd:"mceCancel"});a.onNodeChange.add(c._nodeChange,c);a.addShortcut("ctrl+s",a.getLang("save.save_desc"),"mceSave")},getInfo:function(){return{longname:"Save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,c){var b=this.editor;if(b.getParam("save_enablewhendirty")){a.setDisabled("save",!b.isDirty());a.setDisabled("cancel",!b.isDirty())}},_save:function(){var c=this.editor,a,e,d,b;a=tinymce.DOM.get(c.id).form||tinymce.DOM.getParent(c.id,"form");if(c.getParam("save_enablewhendirty")&&!c.isDirty()){return}tinyMCE.triggerSave();if(e=c.getParam("save_onsavecallback")){if(c.execCallback("save_onsavecallback",c)){c.startContent=tinymce.trim(c.getContent({format:"raw"}));c.nodeChanged()}return}if(a){c.isNotDirty=true;if(a.onsubmit==null||a.onsubmit()!=false){a.submit()}c.nodeChanged()}else{c.windowManager.alert("Error: No form element found.")}},_cancel:function(){var a=this.editor,c,b=tinymce.trim(a.startContent);if(c=a.getParam("save_oncancelcallback")){a.execCallback("save_oncancelcallback",a);return}a.setContent(b);a.undoManager.clear();a.nodeChanged()}});tinymce.PluginManager.add("save",tinymce.plugins.Save)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/searchreplace/css/searchreplace.css: -------------------------------------------------------------------------------- 1 | .panel_wrapper {height:85px;} 2 | .panel_wrapper div.current {height:85px;} 3 | 4 | /* IE */ 5 | * html .panel_wrapper {height:100px;} 6 | * html .panel_wrapper div.current {height:100px;} 7 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/searchreplace/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/searchreplace/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.SearchReplacePlugin', { 13 | init : function(ed, url) { 14 | function open(m) { 15 | // Keep IE from writing out the f/r character to the editor 16 | // instance while initializing a new dialog. See: #3131190 17 | window.focus(); 18 | 19 | ed.windowManager.open({ 20 | file : url + '/searchreplace.htm', 21 | width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), 22 | height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)), 23 | inline : 1, 24 | auto_focus : 0 25 | }, { 26 | mode : m, 27 | search_string : ed.selection.getContent({format : 'text'}), 28 | plugin_url : url 29 | }); 30 | }; 31 | 32 | // Register commands 33 | ed.addCommand('mceSearch', function() { 34 | open('search'); 35 | }); 36 | 37 | ed.addCommand('mceReplace', function() { 38 | open('replace'); 39 | }); 40 | 41 | // Register buttons 42 | ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'}); 43 | ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'}); 44 | 45 | ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch'); 46 | }, 47 | 48 | getInfo : function() { 49 | return { 50 | longname : 'Search/Replace', 51 | author : 'Moxiecode Systems AB', 52 | authorurl : 'http://tinymce.moxiecode.com', 53 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace', 54 | version : tinymce.majorVersion + "." + tinymce.minorVersion 55 | }; 56 | } 57 | }); 58 | 59 | // Register plugin 60 | tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin); 61 | })(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/searchreplace/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.searchreplace_dlg',{findwhat:"Find What",replacewith:"Replace with",direction:"Direction",up:"Up",down:"Down",mcase:"Match Case",findnext:"Find Next",allreplaced:"All occurrences of the search string were replaced.","searchnext_desc":"Find Again",notfound:"The search has been completed. The search string could not be found.","search_title":"Find","replace_title":"Find/Replace",replaceall:"Replace All",replace:"Replace"}); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/spellchecker/css/content.css: -------------------------------------------------------------------------------- 1 | .mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} 2 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/spellchecker/editor_plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/spellchecker/editor_plugin.js -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/spellchecker/editor_plugin_src.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/spellchecker/editor_plugin_src.js -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/spellchecker/img/wline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/plugins/spellchecker/img/wline.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/style/css/props.css: -------------------------------------------------------------------------------- 1 | #text_font {width:250px;} 2 | #text_size {width:70px;} 3 | .mceAddSelectValue {background:#DDD;} 4 | select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {width:70px;} 5 | #box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {width:70px;} 6 | #positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {width:70px;} 7 | #positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {width:70px;} 8 | .panel_toggle_insert_span {padding-top:10px;} 9 | .panel_wrapper div.current {padding-top:10px;height:230px;} 10 | .delim {border-left:1px solid gray;} 11 | .tdelim {border-bottom:1px solid gray;} 12 | #block_display {width:145px;} 13 | #list_type {width:115px;} 14 | .disabled {background:#EEE;} 15 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/style/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(a,b){a.addCommand("mceStyleProps",function(){var c=false;var f=a.selection.getSelectedBlocks();var d=[];if(f.length===1){d.push(a.selection.getNode().style.cssText)}else{tinymce.each(f,function(g){d.push(a.dom.getAttrib(g,"style"))});c=true}a.windowManager.open({file:b+"/props.htm",width:480+parseInt(a.getLang("style.delta_width",0)),height:340+parseInt(a.getLang("style.delta_height",0)),inline:1},{applyStyleToBlocks:c,plugin_url:b,styles:d})});a.addCommand("mceSetElementStyle",function(d,c){if(e=a.selection.getNode()){a.dom.setAttrib(e,"style",c);a.execCommand("mceRepaint")}});a.onNodeChange.add(function(d,c,f){c.setDisabled("styleprops",f.nodeName==="BODY")});a.addButton("styleprops",{title:"style.desc",cmd:"mceStyleProps"})},getInfo:function(){return{longname:"Style",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("style",tinymce.plugins.StylePlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/style/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.style_dlg',{"text_lineheight":"Line Height","text_variant":"Variant","text_style":"Style","text_weight":"Weight","text_size":"Size","text_font":"Font","text_props":"Text","positioning_tab":"Positioning","list_tab":"List","border_tab":"Border","box_tab":"Box","block_tab":"Block","background_tab":"Background","text_tab":"Text",apply:"Apply",toggle_insert_span:"Insert span at selection",title:"Edit CSS Style",clip:"Clip",placement:"Placement",overflow:"Overflow",zindex:"Z-index",visibility:"Visibility","positioning_type":"Type",position:"Position","bullet_image":"Bullet Image","list_type":"Type",color:"Color",height:"Height",width:"Width",style:"Style",margin:"Margin",left:"Left",bottom:"Bottom",right:"Right",top:"Top",same:"Same for All",padding:"Padding","box_clear":"Clear","box_float":"Float","box_height":"Height","box_width":"Width","block_display":"Display","block_whitespace":"Whitespace","block_text_indent":"Text Indent","block_text_align":"Text Align","block_vertical_alignment":"Vertical Alignment","block_letterspacing":"Letter Spacing","block_wordspacing":"Word Spacing","background_vpos":"Vertical Position","background_hpos":"Horizontal Position","background_attachment":"Attachment","background_repeat":"Repeat","background_image":"Background Image","background_color":"Background Color","text_none":"None","text_blink":"Blink","text_case":"Case","text_striketrough":"Strikethrough","text_underline":"Underline","text_overline":"Overline","text_decoration":"Decoration","text_color":"Color",text:"Text",background:"Background",block:"Block",box:"Box",border:"Border",list:"List"}); 2 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/style/readme.txt: -------------------------------------------------------------------------------- 1 | Edit CSS Style plug-in notes 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 | Unlike WYSIWYG editor functionality that operates only on the selected text, 4 | typically by inserting new HTML elements with the specified styles. 5 | This plug-in operates on the HTML blocks surrounding the selected text. 6 | No new HTML elements are created. 7 | 8 | This plug-in only operates on the surrounding blocks and not the nearest 9 | parent node. This means that if a block encapsulates a node, 10 | e.g

text

, then only the styles in the block are 11 | recognized, not those in the span. 12 | 13 | When selecting text that includes multiple blocks at the same level (peers), 14 | this plug-in accumulates the specified styles in all of the surrounding blocks 15 | and populates the dialogue checkboxes accordingly. There is no differentiation 16 | between styles set in all the blocks versus styles set in some of the blocks. 17 | 18 | When the [Update] or [Apply] buttons are pressed, the styles selected in the 19 | checkboxes are applied to all blocks that surround the selected text. 20 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/tabfocus/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){var c=tinymce.DOM,a=tinymce.dom.Event,d=tinymce.each,b=tinymce.explode;tinymce.create("tinymce.plugins.TabFocusPlugin",{init:function(f,g){function e(i,j){if(j.keyCode===9){return a.cancel(j)}}function h(l,p){var j,m,o,n,k;function q(t){n=c.select(":input:enabled,*[tabindex]:not(iframe)");function s(v){return v.nodeName==="BODY"||(v.type!="hidden"&&!(v.style.display=="none")&&!(v.style.visibility=="hidden")&&s(v.parentNode))}function i(v){return v.attributes.tabIndex.specified||v.nodeName=="INPUT"||v.nodeName=="TEXTAREA"}function u(){return tinymce.isIE6||tinymce.isIE7}function r(v){return((!u()||i(v)))&&v.getAttribute("tabindex")!="-1"&&s(v)}d(n,function(w,v){if(w.id==l.id){j=v;return false}});if(t>0){for(m=j+1;m=0;m--){if(r(n[m])){return n[m]}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(n.id&&(l=tinymce.get(n.id||n.name))){l.focus()}else{window.setTimeout(function(){if(!tinymce.isWebKit){window.focus()}n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/table/css/cell.css: -------------------------------------------------------------------------------- 1 | /* CSS file for cell dialog in the table plugin */ 2 | 3 | .panel_wrapper div.current { 4 | height: 200px; 5 | } 6 | 7 | .advfield { 8 | width: 200px; 9 | } 10 | 11 | #action { 12 | margin-bottom: 3px; 13 | } 14 | 15 | #class { 16 | width: 150px; 17 | } -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/table/css/row.css: -------------------------------------------------------------------------------- 1 | /* CSS file for row dialog in the table plugin */ 2 | 3 | .panel_wrapper div.current { 4 | height: 200px; 5 | } 6 | 7 | .advfield { 8 | width: 200px; 9 | } 10 | 11 | #action { 12 | margin-bottom: 3px; 13 | } 14 | 15 | #rowtype,#align,#valign,#class,#height { 16 | width: 150px; 17 | } 18 | 19 | #height { 20 | width: 50px; 21 | } 22 | 23 | .col2 { 24 | padding-left: 20px; 25 | } 26 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/table/css/table.css: -------------------------------------------------------------------------------- 1 | /* CSS file for table dialog in the table plugin */ 2 | 3 | .panel_wrapper div.current { 4 | height: 245px; 5 | } 6 | 7 | .advfield { 8 | width: 200px; 9 | } 10 | 11 | #class { 12 | width: 150px; 13 | } 14 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/table/js/merge_cells.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var MergeCellsDialog = { 4 | init : function() { 5 | var f = document.forms[0]; 6 | 7 | f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1); 8 | f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1); 9 | }, 10 | 11 | merge : function() { 12 | var func, f = document.forms[0]; 13 | 14 | tinyMCEPopup.restoreSelection(); 15 | 16 | func = tinyMCEPopup.getWindowArg('onaction'); 17 | 18 | func({ 19 | cols : f.numcols.value, 20 | rows : f.numrows.value 21 | }); 22 | 23 | tinyMCEPopup.close(); 24 | } 25 | }; 26 | 27 | tinyMCEPopup.onInit.add(MergeCellsDialog.init, MergeCellsDialog); 28 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/table/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.table_dlg',{"rules_border":"border","rules_box":"box","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"below","rules_above":"above","rules_void":"void",rules:"Rules","frame_all":"all","frame_cols":"cols","frame_rows":"rows","frame_groups":"groups","frame_none":"none",frame:"Frame",caption:"Table Caption","missing_scope":"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.","cell_limit":"You\'ve exceeded the maximum number of cells of {$cells}.","row_limit":"You\'ve exceeded the maximum number of rows of {$rows}.","col_limit":"You\'ve exceeded the maximum number of columns of {$cols}.",colgroup:"Col Group",rowgroup:"Row Group",scope:"Scope",tfoot:"Footer",tbody:"Body",thead:"Header","row_all":"Update All Rows in Table","row_even":"Update Even Rows in Table","row_odd":"Update Odd Rows in Table","row_row":"Update Current Row","cell_all":"Update All Cells in Table","cell_row":"Update All Cells in Row","cell_cell":"Update Current Cell",th:"Header",td:"Data",summary:"Summary",bgimage:"Background Image",rtl:"Right to Left",ltr:"Left to Right",mime:"Target MIME Type",langcode:"Language Code",langdir:"Language Direction",style:"Style",id:"ID","merge_cells_title":"Merge Table Cells",bgcolor:"Background Color",bordercolor:"Border Color","align_bottom":"Bottom","align_top":"Top",valign:"Vertical Alignment","cell_type":"Cell Type","cell_title":"Table Cell Properties","row_title":"Table Row Properties","align_middle":"Center","align_right":"Right","align_left":"Left","align_default":"Default",align:"Alignment",border:"Border",cellpadding:"Cell Padding",cellspacing:"Cell Spacing",rows:"Rows",cols:"Columns",height:"Height",width:"Width",title:"Insert/Edit Table",rowtype:"Row Type","advanced_props":"Advanced Properties","general_props":"General Properties","advanced_tab":"Advanced","general_tab":"General","cell_col":"Update all cells in column"}); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/table/merge_cells.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#table_dlg.merge_cells_title} 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | {#table_dlg.merge_cells_title} 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
:
:
24 |
25 | 26 |
27 | 28 | 29 |
30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/template/blank.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | blank_page 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/template/css/template.css: -------------------------------------------------------------------------------- 1 | #frmbody { 2 | padding: 10px; 3 | background-color: #FFF; 4 | border: 1px solid #CCC; 5 | } 6 | 7 | .frmRow { 8 | margin-bottom: 10px; 9 | } 10 | 11 | #templatesrc { 12 | border: none; 13 | width: 320px; 14 | height: 240px; 15 | } 16 | 17 | .title { 18 | padding-bottom: 5px; 19 | } 20 | 21 | .mceActionPanel { 22 | padding-top: 5px; 23 | } 24 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/template/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.template_dlg',{title:"Templates",label:"Template","desc_label":"Description",desc:"Insert Predefined Template Content",select:"Select a Template",preview:"Preview",warning:"Warning: Updating a template with a different one may cause data loss.","mdate_format":"%Y-%m-%d %H:%M:%S","cdate_format":"%Y-%m-%d %H:%M:%S","months_long":"January,February,March,April,May,June,July,August,September,October,November,December","months_short":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","day_long":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday","day_short":"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"}); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/template/template.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#template_dlg.title} 4 | 5 | 6 | 7 | 8 | 9 |
10 |
11 |
{#template_dlg.desc}
12 |
13 | 16 |
17 |
18 |
19 |
20 | {#template_dlg.preview} 21 | 22 |
23 |
24 | 25 |
26 | 27 | 28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/visualblocks/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.VisualBlocks",{init:function(a,b){var c;if(!window.NodeList){return}a.addCommand("mceVisualBlocks",function(){var e=a.dom,d;if(!c){c=e.uniqueId();d=e.create("link",{id:c,rel:"stylesheet",href:b+"/css/visualblocks.css"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)}else{d=e.get(c);d.disabled=!d.disabled}a.controlManager.setActive("visualblocks",!d.disabled)});a.addButton("visualblocks",{title:"visualblocks.desc",cmd:"mceVisualBlocks"});a.onInit.add(function(){if(a.settings.visualblocks_default_state){a.execCommand("mceVisualBlocks",false,null,{skip_focus:true})}})},getInfo:function(){return{longname:"Visual blocks",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("visualblocks",tinymce.plugins.VisualBlocks)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/visualblocks/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2012, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.VisualBlocks', { 13 | init : function(ed, url) { 14 | var cssId; 15 | 16 | // We don't support older browsers like IE6/7 and they don't provide prototypes for DOM objects 17 | if (!window.NodeList) { 18 | return; 19 | } 20 | 21 | ed.addCommand('mceVisualBlocks', function() { 22 | var dom = ed.dom, linkElm; 23 | 24 | if (!cssId) { 25 | cssId = dom.uniqueId(); 26 | linkElm = dom.create('link', { 27 | id: cssId, 28 | rel : 'stylesheet', 29 | href : url + '/css/visualblocks.css' 30 | }); 31 | 32 | ed.getDoc().getElementsByTagName('head')[0].appendChild(linkElm); 33 | } else { 34 | linkElm = dom.get(cssId); 35 | linkElm.disabled = !linkElm.disabled; 36 | } 37 | 38 | ed.controlManager.setActive('visualblocks', !linkElm.disabled); 39 | }); 40 | 41 | ed.addButton('visualblocks', {title : 'visualblocks.desc', cmd : 'mceVisualBlocks'}); 42 | 43 | ed.onInit.add(function() { 44 | if (ed.settings.visualblocks_default_state) { 45 | ed.execCommand('mceVisualBlocks', false, null, {skip_focus : true}); 46 | } 47 | }); 48 | }, 49 | 50 | getInfo : function() { 51 | return { 52 | longname : 'Visual blocks', 53 | author : 'Moxiecode Systems AB', 54 | authorurl : 'http://tinymce.moxiecode.com', 55 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks', 56 | version : tinymce.majorVersion + "." + tinymce.minorVersion 57 | }; 58 | } 59 | }); 60 | 61 | // Register plugin 62 | tinymce.PluginManager.add('visualblocks', tinymce.plugins.VisualBlocks); 63 | })(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/visualchars/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.VisualChars",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceVisualChars",c._toggleVisualChars,c);a.addButton("visualchars",{title:"visualchars.desc",cmd:"mceVisualChars"});a.onBeforeGetContent.add(function(d,e){if(c.state&&e.format!="raw"&&!e.draft){c.state=true;c._toggleVisualChars(false)}})},getInfo:function(){return{longname:"Visual characters",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_toggleVisualChars:function(m){var p=this,k=p.editor,a,g,j,n=k.getDoc(),o=k.getBody(),l,q=k.selection,e,c,f;p.state=!p.state;k.controlManager.setActive("visualchars",p.state);if(m){f=q.getBookmark()}if(p.state){a=[];tinymce.walk(o,function(b){if(b.nodeType==3&&b.nodeValue&&b.nodeValue.indexOf("\u00a0")!=-1){a.push(b)}},"childNodes");for(g=0;g$1');c=k.dom.create("div",null,l);while(node=c.lastChild){k.dom.insertAfter(node,a[g])}k.dom.remove(a[g])}}else{a=k.dom.select("span.mceItemNbsp",o);for(g=a.length-1;g>=0;g--){k.dom.remove(a[g],1)}}q.moveToBookmark(f)}});tinymce.PluginManager.add("visualchars",tinymce.plugins.VisualChars)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/wordcount/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.WordCount",{block:0,id:null,countre:null,cleanre:null,init:function(c,d){var e=this,f=0,g=tinymce.VK;e.countre=c.getParam("wordcount_countregex",/[\w\u2019\'-]+/g);e.cleanre=c.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g);e.update_rate=c.getParam("wordcount_update_rate",2000);e.update_on_delete=c.getParam("wordcount_update_on_delete",false);e.id=c.id+"-word-count";c.onPostRender.add(function(i,h){var j,k;k=i.getParam("wordcount_target_id");if(!k){j=tinymce.DOM.get(i.id+"_path_row");if(j){tinymce.DOM.add(j.parentNode,"div",{style:"float: right"},i.getLang("wordcount.words","Words: ")+'0')}}else{tinymce.DOM.add(k,"span",{},'0')}});c.onInit.add(function(h){h.selection.onSetContent.add(function(){e._count(h)});e._count(h)});c.onSetContent.add(function(h){e._count(h)});function b(h){return h!==f&&(h===g.ENTER||f===g.SPACEBAR||a(f))}function a(h){return h===g.DELETE||h===g.BACKSPACE}c.onKeyUp.add(function(h,i){if(b(i.keyCode)||e.update_on_delete&&a(i.keyCode)){e._count(h)}f=i.keyCode})},_getCount:function(c){var a=0;var b=c.getContent({format:"raw"});if(b){b=b.replace(/\.\.\./g," ");b=b.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ");b=b.replace(/(\w+)(&.+?;)+(\w+)/,"$1$3").replace(/&.+?;/g," ");b=b.replace(this.cleanre,"");var d=b.match(this.countre);if(d){a=d.length}}return a},_count:function(a){var b=this;if(b.block){return}b.block=1;setTimeout(function(){if(!a.destroyed){var c=b._getCount(a);tinymce.DOM.setHTML(b.id,c.toString());setTimeout(function(){b.block=0},b.update_rate)}},1)},getInfo:function(){return{longname:"Word Count plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("wordcount",tinymce.plugins.WordCount)})(); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/xhtmlxtras/css/attributes.css: -------------------------------------------------------------------------------- 1 | .panel_wrapper div.current { 2 | height: 290px; 3 | } 4 | 5 | #id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey { 6 | width: 200px; 7 | } 8 | 9 | #events_panel input { 10 | width: 200px; 11 | } 12 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/xhtmlxtras/css/popup.css: -------------------------------------------------------------------------------- 1 | input.field, select.field {width:200px;} 2 | input.picker {width:179px; margin-left: 5px;} 3 | input.disabled {border-color:#F2F2F2;} 4 | img.picker {vertical-align:text-bottom; cursor:pointer;} 5 | h1 {padding: 0 0 5px 0;} 6 | .panel_wrapper div.current {height:160px;} 7 | #xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;} 8 | a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;} 9 | #datetime {width:180px;} 10 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/xhtmlxtras/js/abbr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * abbr.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('abbr'); 13 | if (SXE.currentAction == "update") { 14 | SXE.showRemoveButton(); 15 | } 16 | } 17 | 18 | function insertAbbr() { 19 | SXE.insertElement('abbr'); 20 | tinyMCEPopup.close(); 21 | } 22 | 23 | function removeAbbr() { 24 | SXE.removeElement('abbr'); 25 | tinyMCEPopup.close(); 26 | } 27 | 28 | tinyMCEPopup.onInit.add(init); 29 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/xhtmlxtras/js/acronym.js: -------------------------------------------------------------------------------- 1 | /** 2 | * acronym.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('acronym'); 13 | if (SXE.currentAction == "update") { 14 | SXE.showRemoveButton(); 15 | } 16 | } 17 | 18 | function insertAcronym() { 19 | SXE.insertElement('acronym'); 20 | tinyMCEPopup.close(); 21 | } 22 | 23 | function removeAcronym() { 24 | SXE.removeElement('acronym'); 25 | tinyMCEPopup.close(); 26 | } 27 | 28 | tinyMCEPopup.onInit.add(init); 29 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/xhtmlxtras/js/cite.js: -------------------------------------------------------------------------------- 1 | /** 2 | * cite.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('cite'); 13 | if (SXE.currentAction == "update") { 14 | SXE.showRemoveButton(); 15 | } 16 | } 17 | 18 | function insertCite() { 19 | SXE.insertElement('cite'); 20 | tinyMCEPopup.close(); 21 | } 22 | 23 | function removeCite() { 24 | SXE.removeElement('cite'); 25 | tinyMCEPopup.close(); 26 | } 27 | 28 | tinyMCEPopup.onInit.add(init); 29 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/plugins/xhtmlxtras/js/del.js: -------------------------------------------------------------------------------- 1 | /** 2 | * del.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('del'); 13 | if (SXE.currentAction == "update") { 14 | setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); 15 | setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); 16 | SXE.showRemoveButton(); 17 | } 18 | } 19 | 20 | function setElementAttribs(elm) { 21 | setAllCommonAttribs(elm); 22 | setAttrib(elm, 'datetime'); 23 | setAttrib(elm, 'cite'); 24 | elm.removeAttribute('data-mce-new'); 25 | } 26 | 27 | function insertDel() { 28 | var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL'); 29 | 30 | if (elm == null) { 31 | var s = SXE.inst.selection.getContent(); 32 | if(s.length > 0) { 33 | insertInlineElement('del'); 34 | var elementArray = SXE.inst.dom.select('del[data-mce-new]'); 35 | for (var i=0; i 0) { 33 | insertInlineElement('ins'); 34 | var elementArray = SXE.inst.dom.select('ins[data-mce-new]'); 35 | for (var i=0; i 2 | 3 | 4 | {#advanced_dlg.anchor_title} 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
{#advanced_dlg.anchor_title}
19 | 20 |
21 | 22 | 23 |
24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/colorpicker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/colorpicker.jpg -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/flash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/flash.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/icons.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/iframe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/iframe.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/pagebreak.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/quicktime.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/quicktime.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/realmedia.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/realmedia.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/shockwave.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/shockwave.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/trans.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/video.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/img/windowsmedia.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/img/windowsmedia.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/js/anchor.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var AnchorDialog = { 4 | init : function(ed) { 5 | var action, elm, f = document.forms[0]; 6 | 7 | this.editor = ed; 8 | elm = ed.dom.getParent(ed.selection.getNode(), 'A'); 9 | v = ed.dom.getAttrib(elm, 'name') || ed.dom.getAttrib(elm, 'id'); 10 | 11 | if (v) { 12 | this.action = 'update'; 13 | f.anchorName.value = v; 14 | } 15 | 16 | f.insert.value = ed.getLang(elm ? 'update' : 'insert'); 17 | }, 18 | 19 | update : function() { 20 | var ed = this.editor, elm, name = document.forms[0].anchorName.value, attribName; 21 | 22 | if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) { 23 | tinyMCEPopup.alert('advanced_dlg.anchor_invalid'); 24 | return; 25 | } 26 | 27 | tinyMCEPopup.restoreSelection(); 28 | 29 | if (this.action != 'update') 30 | ed.selection.collapse(1); 31 | 32 | var aRule = ed.schema.getElementRule('a'); 33 | if (!aRule || aRule.attributes.name) { 34 | attribName = 'name'; 35 | } else { 36 | attribName = 'id'; 37 | } 38 | 39 | elm = ed.dom.getParent(ed.selection.getNode(), 'A'); 40 | if (elm) { 41 | elm.setAttribute(attribName, name); 42 | elm[attribName] = name; 43 | ed.undoManager.add(); 44 | } else { 45 | // create with zero-sized nbsp so that in Webkit where anchor is on last line by itself caret cannot be placed after it 46 | var attrs = {'class' : 'mceItemAnchor'}; 47 | attrs[attribName] = name; 48 | ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('a', attrs, '\uFEFF')); 49 | ed.nodeChanged(); 50 | } 51 | 52 | tinyMCEPopup.close(); 53 | } 54 | }; 55 | 56 | tinyMCEPopup.onInit.add(AnchorDialog.init, AnchorDialog); 57 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/js/source_editor.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | tinyMCEPopup.onInit.add(onLoadInit); 3 | 4 | function saveContent() { 5 | tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); 6 | tinyMCEPopup.close(); 7 | } 8 | 9 | function onLoadInit() { 10 | tinyMCEPopup.resizeToInnerSize(); 11 | 12 | // Remove Gecko spellchecking 13 | if (tinymce.isGecko) 14 | document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck"); 15 | 16 | document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true}); 17 | 18 | if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) { 19 | turnWrapOn(); 20 | document.getElementById('wraped').checked = true; 21 | } 22 | 23 | resizeInputs(); 24 | } 25 | 26 | function setWrap(val) { 27 | var v, n, s = document.getElementById('htmlSource'); 28 | 29 | s.wrap = val; 30 | 31 | if (!tinymce.isIE) { 32 | v = s.value; 33 | n = s.cloneNode(false); 34 | n.setAttribute("wrap", val); 35 | s.parentNode.replaceChild(n, s); 36 | n.value = v; 37 | } 38 | } 39 | 40 | function setWhiteSpaceCss(value) { 41 | var el = document.getElementById('htmlSource'); 42 | tinymce.DOM.setStyle(el, 'white-space', value); 43 | } 44 | 45 | function turnWrapOff() { 46 | if (tinymce.isWebKit) { 47 | setWhiteSpaceCss('pre'); 48 | } else { 49 | setWrap('off'); 50 | } 51 | } 52 | 53 | function turnWrapOn() { 54 | if (tinymce.isWebKit) { 55 | setWhiteSpaceCss('pre-wrap'); 56 | } else { 57 | setWrap('soft'); 58 | } 59 | } 60 | 61 | function toggleWordWrap(elm) { 62 | if (elm.checked) { 63 | turnWrapOn(); 64 | } else { 65 | turnWrapOff(); 66 | } 67 | } 68 | 69 | function resizeInputs() { 70 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 71 | 72 | el = document.getElementById('htmlSource'); 73 | 74 | if (el) { 75 | el.style.width = (vp.w - 20) + 'px'; 76 | el.style.height = (vp.h - 65) + 'px'; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.advanced_dlg', {"link_list":"Link List","link_is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","link_is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","link_titlefield":"Title","link_target_blank":"Open Link in a New Window","link_target_same":"Open Link in the Same Window","link_target":"Target","link_url":"Link URL","link_title":"Insert/Edit Link","image_align_right":"Right","image_align_left":"Left","image_align_textbottom":"Text Bottom","image_align_texttop":"Text Top","image_align_bottom":"Bottom","image_align_middle":"Middle","image_align_top":"Top","image_align_baseline":"Baseline","image_align":"Alignment","image_hspace":"Horizontal Space","image_vspace":"Vertical Space","image_dimensions":"Dimensions","image_alt":"Image Description","image_list":"Image List","image_border":"Border","image_src":"Image URL","image_title":"Insert/Edit Image","charmap_title":"Select Special Character", "charmap_usage":"Use left and right arrows to navigate.","colorpicker_name":"Name:","colorpicker_color":"Color:","colorpicker_named_title":"Named Colors","colorpicker_named_tab":"Named","colorpicker_palette_title":"Palette Colors","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Color Picker","colorpicker_picker_tab":"Picker","colorpicker_title":"Select a Color","code_wordwrap":"Word Wrap","code_title":"HTML Source Editor","anchor_name":"Anchor Name","anchor_title":"Insert/Edit Anchor","about_loaded":"Loaded Plugins","about_version":"Version","about_author":"Author","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"License","about_help":"Help","about_general":"About","about_title":"About TinyMCE","anchor_invalid":"Please specify a valid anchor name.","accessibility_help":"Accessibility Help","accessibility_usage_title":"General Usage","invalid_color_value":"Invalid color value","":""}); 2 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/shortcuts.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#advanced_dlg.accessibility_help} 5 | 6 | 7 | 8 | 9 |

{#advanced_dlg.accessibility_usage_title}

10 |

Toolbars

11 |

Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys. 12 | Press enter to activate a button and return focus to the editor. 13 | Press escape to return focus to the editor without performing any actions.

14 | 15 |

Status Bar

16 |

To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path. 17 | Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.

18 | 19 |

Context Menu

20 |

Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key. 21 | To close submenus press the left arrow key. Press escape to close the context menu.

22 | 23 |

Keyboard Shortcuts

24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
KeystrokeFunction
Control-BBold
Control-IItalic
Control-ZUndo
Control-YRedo
46 | 47 | 48 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/buttons.png -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/items.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/items.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/menu_check.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/menu_check.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/progress.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/tabs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/default/img/tabs.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/highcontrast/content.css: -------------------------------------------------------------------------------- 1 | body, td, pre { margin:8px;} 2 | body.mceForceColors {background:#FFF; color:#000;} 3 | h1 {font-size: 2em} 4 | h2 {font-size: 1.5em} 5 | h3 {font-size: 1.17em} 6 | h4 {font-size: 1em} 7 | h5 {font-size: .83em} 8 | h6 {font-size: .75em} 9 | .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} 10 | a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} 11 | span.mceItemNbsp {background: #DDD} 12 | td.mceSelected, th.mceSelected {background-color:#3399ff !important} 13 | img {border:0;} 14 | table, img, hr, .mceItemAnchor {cursor:default} 15 | table td, table th {cursor:text} 16 | ins {border-bottom:1px solid green; text-decoration: none; color:green} 17 | del {color:red; text-decoration:line-through} 18 | cite {border-bottom:1px dashed blue} 19 | acronym {border-bottom:1px dotted #CCC; cursor:help} 20 | abbr {border-bottom:1px dashed #CCC; cursor:help} 21 | 22 | img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} 23 | font[face=mceinline] {font-family:inherit !important} 24 | *[contentEditable]:focus {outline:0} 25 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/ui_black.css: -------------------------------------------------------------------------------- 1 | /* Black */ 2 | .o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton a.mceOpen, .o2k7SkinBlack .mceListBox a.mceOpen {background-image:url(img/button_bg_black.png)} 3 | .o2k7SkinBlack td.mceToolbar, .o2k7SkinBlack td.mceStatusbar, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF} 4 | .o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0} 5 | .o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7SkinBlack .mceListBoxHover .mceText, .o2k7SkinBlack .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0} 6 | .o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;} 7 | .o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7SkinBlack .mceSplitButtonHover a.mceAction, .o2k7SkinBlack .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)} 8 | .o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7SkinBlack .mceMenu .mceMenuItemActive {background-color:#FFE7A1} -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css: -------------------------------------------------------------------------------- 1 | /* Silver */ 2 | .o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton a.mceOpen, .o2k7SkinSilver .mceListBox a.mceOpen {background-image:url(img/button_bg_silver.png)} 3 | .o2k7SkinSilver td.mceToolbar, .o2k7SkinSilver td.mceStatusbar, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee} 4 | .o2k7SkinSilver .mceListBox .mceText {background:#FFF} 5 | .o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb} 6 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/advanced/source_editor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#advanced_dlg.code_title} 4 | 5 | 6 | 7 | 8 |
9 |
10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/simple/img/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/simple/img/icons.gif -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/simple/langs/en.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.simple',{"cleanup_desc":"Cleanup Messy Code","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","striketrough_desc":"Strikethrough","underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)"}); -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/simple/skins/default/content.css: -------------------------------------------------------------------------------- 1 | body, td, pre { 2 | font-family: Verdana, Arial, Helvetica, sans-serif; 3 | font-size: 10px; 4 | } 5 | 6 | body { 7 | background-color: #FFFFFF; 8 | } 9 | 10 | .mceVisualAid { 11 | border: 1px dashed #BBBBBB; 12 | } 13 | 14 | /* MSIE specific */ 15 | 16 | * html body { 17 | scrollbar-3dlight-color: #F0F0EE; 18 | scrollbar-arrow-color: #676662; 19 | scrollbar-base-color: #F0F0EE; 20 | scrollbar-darkshadow-color: #DDDDDD; 21 | scrollbar-face-color: #E0E0DD; 22 | scrollbar-highlight-color: #F0F0EE; 23 | scrollbar-shadow-color: #F0F0EE; 24 | scrollbar-track-color: #F5F5F5; 25 | } 26 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/simple/skins/o2k7/content.css: -------------------------------------------------------------------------------- 1 | body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} 2 | 3 | body {background: #FFF;} 4 | .mceVisualAid {border: 1px dashed #BBB;} 5 | 6 | /* IE */ 7 | 8 | * html body { 9 | scrollbar-3dlight-color: #F0F0EE; 10 | scrollbar-arrow-color: #676662; 11 | scrollbar-base-color: #F0F0EE; 12 | scrollbar-darkshadow-color: #DDDDDD; 13 | scrollbar-face-color: #E0E0DD; 14 | scrollbar-highlight-color: #F0F0EE; 15 | scrollbar-shadow-color: #F0F0EE; 16 | scrollbar-track-color: #F5F5F5; 17 | } 18 | -------------------------------------------------------------------------------- /xcms/static/xcms/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sshwsfc/xadmin-cms/b031789a664db2dd8f3c8eee8eaa9873807dd264/xcms/static/xcms/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png -------------------------------------------------------------------------------- /xcms/templates/xcms/content_field.html: -------------------------------------------------------------------------------- 1 | {% load crispy_forms_field %} 2 | 3 | {% if field.is_hidden %} 4 | {{ field }} 5 | {% else %} 6 |
7 | {% crispy_field field %} 8 | {% include 'bootstrap/layout/help_text_and_errors.html' %} 9 |
10 | {% endif %} 11 | --------------------------------------------------------------------------------