├── test └── index.js ├── controllers ├── tag.js ├── index.js ├── site.js ├── mail.js ├── compose.js └── sign.js ├── views ├── mail │ ├── content.html │ ├── index.html │ ├── side.html │ ├── list.html │ ├── mail.html │ └── compose.html ├── landing.html ├── index.html ├── sign │ ├── sidebar.html │ └── signin.html └── layout.html ├── .travis.yml ├── public ├── libs │ ├── bootstrap │ │ ├── .gitignore │ │ └── img │ │ │ ├── glyphicons-halflings.png │ │ │ └── glyphicons-halflings-white.png │ ├── tiny-mce │ │ ├── plugins │ │ │ ├── example │ │ │ │ ├── langs │ │ │ │ │ ├── en.js │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── img │ │ │ │ │ └── example.gif │ │ │ │ ├── js │ │ │ │ │ └── dialog.js │ │ │ │ └── dialog.htm │ │ │ ├── media │ │ │ │ ├── moxieplayer.swf │ │ │ │ ├── css │ │ │ │ │ └── media.css │ │ │ │ ├── js │ │ │ │ │ └── embed.js │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── visualblocks │ │ │ │ ├── img │ │ │ │ │ ├── p.gif │ │ │ │ │ ├── div.gif │ │ │ │ │ ├── h1.gif │ │ │ │ │ ├── h2.gif │ │ │ │ │ ├── h3.gif │ │ │ │ │ ├── h4.gif │ │ │ │ │ ├── h5.gif │ │ │ │ │ ├── h6.gif │ │ │ │ │ ├── pre.gif │ │ │ │ │ ├── aside.gif │ │ │ │ │ ├── figure.gif │ │ │ │ │ ├── hgroup.gif │ │ │ │ │ ├── address.gif │ │ │ │ │ ├── article.gif │ │ │ │ │ ├── section.gif │ │ │ │ │ └── blockquote.gif │ │ │ │ └── editor_plugin_src.js │ │ │ ├── advimage │ │ │ │ ├── img │ │ │ │ │ └── sample.gif │ │ │ │ ├── css │ │ │ │ │ └── advimage.css │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── spellchecker │ │ │ │ ├── css │ │ │ │ │ └── content.css │ │ │ │ ├── img │ │ │ │ │ └── wline.gif │ │ │ │ └── editor_plugin_src.js │ │ │ ├── advhr │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── css │ │ │ │ │ └── advhr.css │ │ │ │ ├── js │ │ │ │ │ └── rule.js │ │ │ │ ├── editor_plugin_src.js │ │ │ │ └── rule.htm │ │ │ ├── emotions │ │ │ │ ├── img │ │ │ │ │ ├── smiley-cry.gif │ │ │ │ │ ├── smiley-cool.gif │ │ │ │ │ ├── smiley-frown.gif │ │ │ │ │ ├── smiley-kiss.gif │ │ │ │ │ ├── smiley-smile.gif │ │ │ │ │ ├── smiley-wink.gif │ │ │ │ │ ├── smiley-yell.gif │ │ │ │ │ ├── smiley-innocent.gif │ │ │ │ │ ├── smiley-laughing.gif │ │ │ │ │ ├── smiley-sealed.gif │ │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ │ ├── smiley-surprised.gif │ │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ │ ├── smiley-undecided.gif │ │ │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ │ │ └── smiley-money-mouth.gif │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── js │ │ │ │ │ └── emotions.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── inlinepopups │ │ │ │ └── skins │ │ │ │ │ └── clearlooks2 │ │ │ │ │ └── img │ │ │ │ │ ├── alert.gif │ │ │ │ │ ├── button.gif │ │ │ │ │ ├── buttons.gif │ │ │ │ │ ├── confirm.gif │ │ │ │ │ ├── corners.gif │ │ │ │ │ ├── vertical.gif │ │ │ │ │ └── horizontal.gif │ │ │ ├── searchreplace │ │ │ │ ├── css │ │ │ │ │ └── searchreplace.css │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── paste │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── pasteword.htm │ │ │ │ ├── js │ │ │ │ │ ├── pastetext.js │ │ │ │ │ └── pasteword.js │ │ │ │ └── pastetext.htm │ │ │ ├── table │ │ │ │ ├── css │ │ │ │ │ ├── table.css │ │ │ │ │ ├── cell.css │ │ │ │ │ └── row.css │ │ │ │ ├── js │ │ │ │ │ └── merge_cells.js │ │ │ │ ├── merge_cells.htm │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── xhtmlxtras │ │ │ │ ├── css │ │ │ │ │ ├── attributes.css │ │ │ │ │ └── popup.css │ │ │ │ ├── js │ │ │ │ │ ├── abbr.js │ │ │ │ │ ├── cite.js │ │ │ │ │ ├── acronym.js │ │ │ │ │ ├── del.js │ │ │ │ │ └── ins.js │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── autosave │ │ │ │ └── langs │ │ │ │ │ └── en.js │ │ │ ├── template │ │ │ │ ├── blank.htm │ │ │ │ ├── css │ │ │ │ │ └── template.css │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── template.htm │ │ │ ├── advlink │ │ │ │ ├── css │ │ │ │ │ └── advlink.css │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── preview │ │ │ │ ├── preview.html │ │ │ │ ├── example.html │ │ │ │ ├── editor_plugin_src.js │ │ │ │ └── jscripts │ │ │ │ │ └── embed.js │ │ │ ├── style │ │ │ │ ├── css │ │ │ │ │ └── props.css │ │ │ │ ├── readme.txt │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── print │ │ │ │ └── editor_plugin_src.js │ │ │ ├── iespell │ │ │ │ └── editor_plugin_src.js │ │ │ ├── nonbreaking │ │ │ │ └── editor_plugin_src.js │ │ │ ├── example_dependency │ │ │ │ └── editor_plugin_src.js │ │ │ ├── fullpage │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── pagebreak │ │ │ │ └── editor_plugin_src.js │ │ │ ├── visualchars │ │ │ │ └── editor_plugin_src.js │ │ │ └── directionality │ │ │ │ └── editor_plugin_src.js │ │ ├── themes │ │ │ ├── simple │ │ │ │ ├── img │ │ │ │ │ └── icons.gif │ │ │ │ ├── skins │ │ │ │ │ ├── o2k7 │ │ │ │ │ │ ├── img │ │ │ │ │ │ │ └── button_bg.png │ │ │ │ │ │ ├── content.css │ │ │ │ │ │ └── ui.css │ │ │ │ │ └── default │ │ │ │ │ │ ├── content.css │ │ │ │ │ │ └── ui.css │ │ │ │ └── langs │ │ │ │ │ └── en.js │ │ │ └── advanced │ │ │ │ ├── img │ │ │ │ ├── flash.gif │ │ │ │ ├── icons.gif │ │ │ │ ├── iframe.gif │ │ │ │ ├── trans.gif │ │ │ │ ├── video.gif │ │ │ │ ├── colorpicker.jpg │ │ │ │ ├── pagebreak.gif │ │ │ │ ├── quicktime.gif │ │ │ │ ├── realmedia.gif │ │ │ │ ├── shockwave.gif │ │ │ │ └── windowsmedia.gif │ │ │ │ ├── skins │ │ │ │ ├── default │ │ │ │ │ ├── img │ │ │ │ │ │ ├── tabs.gif │ │ │ │ │ │ ├── buttons.png │ │ │ │ │ │ ├── items.gif │ │ │ │ │ │ ├── progress.gif │ │ │ │ │ │ ├── menu_arrow.gif │ │ │ │ │ │ └── menu_check.gif │ │ │ │ │ └── content.css │ │ │ │ ├── o2k7 │ │ │ │ │ ├── img │ │ │ │ │ │ ├── button_bg.png │ │ │ │ │ │ ├── button_bg_black.png │ │ │ │ │ │ └── button_bg_silver.png │ │ │ │ │ ├── ui_silver.css │ │ │ │ │ ├── ui_black.css │ │ │ │ │ └── content.css │ │ │ │ └── highcontrast │ │ │ │ │ └── content.css │ │ │ │ ├── anchor.htm │ │ │ │ ├── source_editor.htm │ │ │ │ ├── js │ │ │ │ ├── anchor.js │ │ │ │ ├── source_editor.js │ │ │ │ └── about.js │ │ │ │ ├── langs │ │ │ │ ├── en_dlg.js │ │ │ │ └── en.js │ │ │ │ ├── shortcuts.htm │ │ │ │ ├── charmap.htm │ │ │ │ ├── link.htm │ │ │ │ └── about.htm │ │ ├── classes │ │ │ ├── util │ │ │ │ ├── JSONP.js │ │ │ │ ├── VK.js │ │ │ │ ├── XHR.js │ │ │ │ └── JSON.js │ │ │ ├── adapter │ │ │ │ └── prototype │ │ │ │ │ └── adapter.js │ │ │ ├── ui │ │ │ │ ├── Separator.js │ │ │ │ ├── Container.js │ │ │ │ ├── MenuItem.js │ │ │ │ └── ToolbarGroup.js │ │ │ ├── firebug │ │ │ │ └── FIREBUG.LICENSE │ │ │ ├── LegacyInput.js │ │ │ └── dom │ │ │ │ └── TreeWalker.js │ │ └── utils │ │ │ └── editable_selects.js │ └── moment │ │ └── lang │ │ └── zh-cn.js ├── favicon.ico ├── images │ ├── shot.png │ ├── shot2.png │ ├── octocat-icon.png │ ├── forkme_left_gray_6d6d6d.png │ └── forkme_right_gray_6d6d6d.png └── javascripts │ ├── index.js │ ├── signin.js │ ├── inbox.js │ └── mail.js ├── demo ├── mailparser │ ├── demo1 │ │ ├── qq.eml │ │ ├── test.js │ │ └── 163.eml │ └── demo2 │ │ ├── email.eml │ │ └── mail-parser.js ├── attachments │ ├── inspectocat.jpg │ └── notes.txt ├── imap.js └── send-mail.js ├── index.html ├── models ├── temp.js ├── user.js ├── mail.js └── index.js ├── config.js ├── Makefile ├── LICENSE ├── package.json ├── app.js ├── README.md ├── routes.js └── .gitignore /test/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /controllers/tag.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /views/mail/content.html: -------------------------------------------------------------------------------- 1 | <%-html%> 2 | -------------------------------------------------------------------------------- /views/landing.html: -------------------------------------------------------------------------------- 1 | Sign in now. -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /public/libs/bootstrap/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .DS_Store 3 | thumbs.db 4 | js/min -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/favicon.ico -------------------------------------------------------------------------------- /controllers/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function(req, res) { 2 | res.partial('landing.html'); 3 | }; 4 | -------------------------------------------------------------------------------- /public/images/shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/images/shot.png -------------------------------------------------------------------------------- /public/images/shot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/images/shot2.png -------------------------------------------------------------------------------- /demo/mailparser/demo1/qq.eml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/demo/mailparser/demo1/qq.eml -------------------------------------------------------------------------------- /demo/mailparser/demo2/email.eml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/demo/mailparser/demo2/email.eml -------------------------------------------------------------------------------- /public/images/octocat-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/images/octocat-icon.png -------------------------------------------------------------------------------- /demo/attachments/inspectocat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/demo/attachments/inspectocat.jpg -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /controllers/site.js: -------------------------------------------------------------------------------- 1 | exports.index = function(req, res) { 2 | res.locals.tag = ''; 3 | res.render('mail/index.html'); 4 | }; 5 | -------------------------------------------------------------------------------- /controllers/mail.js: -------------------------------------------------------------------------------- 1 | exports.index = function(req, res, next) { 2 | res.locals.tag = ''; 3 | res.render('mail/index.html'); 4 | }; 5 | -------------------------------------------------------------------------------- /public/images/forkme_left_gray_6d6d6d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/images/forkme_left_gray_6d6d6d.png -------------------------------------------------------------------------------- /public/images/forkme_right_gray_6d6d6d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/images/forkme_right_gray_6d6d6d.png -------------------------------------------------------------------------------- /public/libs/tiny-mce/plugins/example/langs/en.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.example',{ 2 | desc : 'This is just a template button' 3 | }); 4 | -------------------------------------------------------------------------------- /public/libs/tiny-mce/plugins/example/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.example_dlg',{ 2 | title : 'This is just a example title' 3 | }); 4 | -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/simple/img/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/themes/simple/img/icons.gif -------------------------------------------------------------------------------- /public/javascripts/index.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $.get('/ajax/mail/index').done(function(result) { 3 | $('#J_content').html(result); 4 | }); 5 | }); 6 | -------------------------------------------------------------------------------- /public/libs/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /public/libs/tiny-mce/plugins/media/moxieplayer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/plugins/media/moxieplayer.swf -------------------------------------------------------------------------------- /public/libs/tiny-mce/plugins/visualblocks/img/p.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/plugins/visualblocks/img/p.gif -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/advanced/img/flash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/themes/advanced/img/flash.gif -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/advanced/img/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/themes/advanced/img/icons.gif -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/advanced/img/iframe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/themes/advanced/img/iframe.gif -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/advanced/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/themes/advanced/img/trans.gif -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/advanced/img/video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamghill/nodemail/master/public/libs/tiny-mce/themes/advanced/img/video.gif -------------------------------------------------------------------------------- /views/index.html: -------------------------------------------------------------------------------- 1 | <% if(locals.currentUser) { %> 2 |
' + 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 | -------------------------------------------------------------------------------- /public/libs/tiny-mce/plugins/xhtmlxtras/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.xhtmlxtras_dlg',{"attribs_title":"Insert/Edit Attributes","option_rtl":"Right to Left","option_ltr":"Left to Right","insert_date":"Insert Current Date/Time",remove:"Remove","title_cite_element":"Citation Element","title_abbr_element":"Abbreviation Element","title_acronym_element":"Acronym Element","title_del_element":"Deletion Element","title_ins_element":"Insertion Element","fieldset_events_tab":"Element Events","fieldset_attrib_tab":"Element Attributes","fieldset_general_tab":"General Settings","events_tab":"Events","attrib_tab":"Attributes","general_tab":"General","attribute_attrib_tab":"Attributes","attribute_events_tab":"Events","attribute_label_accesskey":"AccessKey","attribute_label_tabindex":"TabIndex","attribute_label_langcode":"Language","attribute_option_rtl":"Right to Left","attribute_option_ltr":"Left to Right","attribute_label_langdir":"Text Direction","attribute_label_datetime":"Date/Time","attribute_label_cite":"Cite","attribute_label_style":"Style","attribute_label_class":"Class","attribute_label_id":"ID","attribute_label_title":"Title"}); -------------------------------------------------------------------------------- /public/libs/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.gtext
, 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 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | ## License 2 | 3 | (The MIT License) 4 | 5 | Copyright (c) 2012 nomospace 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining 8 | a copy of this software and associated documentation files (the 9 | 'Software'), to deal in the Software without restriction, including 10 | without limitation the rights to use, copy, modify, merge, publish, 11 | distribute, sublicense, and/or sell copies of the Software, and to 12 | permit persons to whom the Software is furnished to do so, subject to 13 | the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nodemail", 3 | "version": "0.1.7", 4 | "description": "A simple web-mail base on nodejs.", 5 | "author": "nomospace", 6 | "main": "index.html", 7 | "window": { 8 | "toolbar": false, 9 | "width": 900, 10 | "height": 600, 11 | "position": "center", 12 | "min_width": 900, 13 | "min_height": 600, 14 | "as_desktop": true 15 | }, 16 | "webkit": { 17 | "webgl-disabled": true 18 | }, 19 | "dependencies": { 20 | "ejs": "~0.8.2", 21 | "ejs-locals": "~0.2.5", 22 | "express": "~3.0.0rc5", 23 | "express-partials": "~0.0.6", 24 | "imap": "~0.5.2", 25 | "lru-cache": "~2.0.4", 26 | "mailparser": "~0.2.28", 27 | "markdown-js": "~0.0.3", 28 | "moment": "~1.7.0", 29 | "nodemailer": "~0.3.27", 30 | "validator": "~0.4.11", 31 | "mongoose": "~3.1.2", 32 | "toobusy": "~0.1.1" 33 | }, 34 | "devDependencies": {}, 35 | "scripts": { 36 | "test": "node test/index.js" 37 | }, 38 | "repository": { 39 | "type": "git", 40 | "url": "https://github.com/nomospace/nodemail.git" 41 | }, 42 | "keywords": [ 43 | "node", 44 | "mail", 45 | "express", 46 | "imap" 47 | ], 48 | "license": "BSD" 49 | } 50 | -------------------------------------------------------------------------------- /public/libs/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 | -------------------------------------------------------------------------------- /public/libs/tiny-mce/plugins/advimage/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.advimage_dlg',{"image_list":"Image List","align_right":"Right","align_left":"Left","align_textbottom":"Text Bottom","align_texttop":"Text Top","align_bottom":"Bottom","align_middle":"Middle","align_top":"Top","align_baseline":"Baseline",align:"Alignment",hspace:"Horizontal Space",vspace:"Vertical Space",dimensions:"Dimensions",border:"Border",list:"Image List",alt:"Image Description",src:"Image URL","dialog_title":"Insert/Edit Image","missing_alt":"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.","example_img":"Appearance Preview Image",misc:"Miscellaneous",mouseout:"For Mouse Out",mouseover:"For Mouse Over","alt_image":"Alternative Image","swap_image":"Swap Image",map:"Image Map",id:"ID",rtl:"Right to Left",ltr:"Left to Right",classes:"Classes",style:"Style","long_desc":"Long Description Link",langcode:"Language Code",langdir:"Language Direction","constrain_proportions":"Constrain Proportions",preview:"Preview",title:"Title",general:"General","tab_advanced":"Advanced","tab_appearance":"Appearance","tab_general":"General",width:"Width",height:"Height"}); -------------------------------------------------------------------------------- /public/libs/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 | -------------------------------------------------------------------------------- /public/libs/tiny-mce/themes/advanced/anchor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |