From 08bfdc8b0950777d85d50d4f15cca49e51e2d8e3 Mon Sep 17 00:00:00 2001 From: dignajar Date: Tue, 28 Jul 2015 23:30:41 -0300 Subject: [PATCH] Minor changes --- admin/views/edit-page.php | 4 +- admin/views/edit-post.php | 4 +- admin/views/new-page.php | 4 +- admin/views/new-post.php | 4 +- kernel/boot/init.php | 1 + kernel/dbsite.class.php | 10 + .../trumbowyg/Trumbowyg-2.0.0-beta.4/.bowerrc | 3 + .../Trumbowyg-2.0.0-beta.4/.gitattributes | 6 + .../Trumbowyg-2.0.0-beta.4/.gitignore | 19 + .../Trumbowyg-2.0.0-beta.4/.jshintrc | 15 + .../Trumbowyg-2.0.0-beta.4/CONTRIBUTORS.md | 38 + .../Trumbowyg-2.0.0-beta.4/Gulpfile.js | 166 +++ .../trumbowyg/Trumbowyg-2.0.0-beta.4/LICENSE | 21 + .../Trumbowyg-2.0.0-beta.4/README.md | 34 + .../Trumbowyg-2.0.0-beta.4/banner.png | Bin 0 -> 33327 bytes .../Trumbowyg-2.0.0-beta.4/bower.json | 36 + .../examples/css/main.css | 14 + .../examples/index.html | 41 + .../examples/plugins/base64.html | 108 ++ .../examples/plugins/colors.html | 49 + .../examples/plugins/upload.html | 111 ++ .../Trumbowyg-2.0.0-beta.4/index.html | 287 ++++ .../Trumbowyg-2.0.0-beta.4/package.json | 47 + .../plugins/base64/trumbowyg.base64.js | 81 ++ .../plugins/colors/Gulpfile.js | 107 ++ .../plugins/colors/trumbowyg.colors.js | 83 ++ .../ui/images/icons-black-2x/backcolor.png | Bin 0 -> 633 bytes .../ui/images/icons-black-2x/forecolor.png | Bin 0 -> 1513 bytes .../ui/images/icons-black/backcolor.png | Bin 0 -> 1472 bytes .../ui/images/icons-black/forecolor.png | Bin 0 -> 412 bytes .../ui/images/icons-white-2x/backcolor.png | Bin 0 -> 1456 bytes .../ui/images/icons-white-2x/forecolor.png | Bin 0 -> 1578 bytes .../ui/images/icons-white/backcolor.png | Bin 0 -> 586 bytes .../ui/images/icons-white/forecolor.png | Bin 0 -> 1220 bytes .../colors/ui/sass/trumbowyg.colors.scss | 94 ++ .../plugins/upload/trumbowyg.upload.js | 157 +++ .../plugins/upload/trumbowyg.upload.php | 49 + .../Trumbowyg-2.0.0-beta.4/src/langs/ar.js | 45 + .../Trumbowyg-2.0.0-beta.4/src/langs/ca.js | 57 + .../Trumbowyg-2.0.0-beta.4/src/langs/cs.js | 54 + .../Trumbowyg-2.0.0-beta.4/src/langs/da.js | 55 + .../Trumbowyg-2.0.0-beta.4/src/langs/de.js | 55 + .../Trumbowyg-2.0.0-beta.4/src/langs/en.js | 14 + .../Trumbowyg-2.0.0-beta.4/src/langs/es.js | 55 + .../Trumbowyg-2.0.0-beta.4/src/langs/es_ar.js | 55 + .../Trumbowyg-2.0.0-beta.4/src/langs/fa.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/langs/fi.js | 55 + .../Trumbowyg-2.0.0-beta.4/src/langs/fr.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/langs/he.js | 57 + .../Trumbowyg-2.0.0-beta.4/src/langs/id.js | 57 + .../Trumbowyg-2.0.0-beta.4/src/langs/it.js | 54 + .../Trumbowyg-2.0.0-beta.4/src/langs/ja.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/langs/ko.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/langs/nl.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/langs/pl.js | 55 + .../Trumbowyg-2.0.0-beta.4/src/langs/pt.js | 57 + .../Trumbowyg-2.0.0-beta.4/src/langs/ro.js | 59 + .../Trumbowyg-2.0.0-beta.4/src/langs/rs.js | 44 + .../src/langs/rs_latin.js | 44 + .../Trumbowyg-2.0.0-beta.4/src/langs/ru.js | 54 + .../Trumbowyg-2.0.0-beta.4/src/langs/sk.js | 54 + .../Trumbowyg-2.0.0-beta.4/src/langs/tr.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/langs/zh_cn.js | 56 + .../Trumbowyg-2.0.0-beta.4/src/trumbowyg.js | 1213 ++++++++++++++++ .../ui/images/icons-black-2x/attachement.png | Bin 0 -> 679 bytes .../src/ui/images/icons-black-2x/barre.png | Bin 0 -> 861 bytes .../src/ui/images/icons-black-2x/bold.png | Bin 0 -> 699 bytes .../ui/images/icons-black-2x/center-align.png | Bin 0 -> 262 bytes .../src/ui/images/icons-black-2x/close.png | Bin 0 -> 658 bytes .../ui/images/icons-black-2x/formatting.png | Bin 0 -> 265 bytes .../images/icons-black-2x/fullscreen-exit.png | Bin 0 -> 1336 bytes .../ui/images/icons-black-2x/fullscreen.png | Bin 0 -> 1360 bytes .../src/ui/images/icons-black-2x/gras.png | Bin 0 -> 885 bytes .../images/icons-black-2x/horizontal-rule.png | Bin 0 -> 173 bytes .../src/ui/images/icons-black-2x/image.png | Bin 0 -> 558 bytes .../src/ui/images/icons-black-2x/italic.png | Bin 0 -> 550 bytes .../images/icons-black-2x/justify-align.png | Bin 0 -> 227 bytes .../ui/images/icons-black-2x/left-align.png | Bin 0 -> 259 bytes .../src/ui/images/icons-black-2x/link.png | Bin 0 -> 672 bytes .../ui/images/icons-black-2x/ordered-list.png | Bin 0 -> 247 bytes .../ui/images/icons-black-2x/removeformat.png | Bin 0 -> 1741 bytes .../ui/images/icons-black-2x/right-align.png | Bin 0 -> 257 bytes .../src/ui/images/icons-black-2x/souligne.png | Bin 0 -> 906 bytes .../images/icons-black-2x/strikethrough.png | Bin 0 -> 912 bytes .../ui/images/icons-black-2x/underline.png | Bin 0 -> 650 bytes .../images/icons-black-2x/unordered-list.png | Bin 0 -> 286 bytes .../src/ui/images/icons-black-2x/video.png | Bin 0 -> 425 bytes .../ui/images/icons-black-2x/view-html.png | Bin 0 -> 3046 bytes .../src/ui/images/icons-black/attachement.png | Bin 0 -> 475 bytes .../src/ui/images/icons-black/barre.png | Bin 0 -> 613 bytes .../src/ui/images/icons-black/bold.png | Bin 0 -> 609 bytes .../ui/images/icons-black/center-align.png | Bin 0 -> 240 bytes .../src/ui/images/icons-black/close.png | Bin 0 -> 498 bytes .../src/ui/images/icons-black/formatting.png | Bin 0 -> 228 bytes .../ui/images/icons-black/fullscreen-exit.png | Bin 0 -> 1210 bytes .../src/ui/images/icons-black/fullscreen.png | Bin 0 -> 1170 bytes .../src/ui/images/icons-black/gras.png | Bin 0 -> 681 bytes .../ui/images/icons-black/horizontal-rule.png | Bin 0 -> 171 bytes .../src/ui/images/icons-black/image.png | Bin 0 -> 427 bytes .../src/ui/images/icons-black/italic.png | Bin 0 -> 354 bytes .../ui/images/icons-black/justify-align.png | Bin 0 -> 215 bytes .../src/ui/images/icons-black/left-align.png | Bin 0 -> 237 bytes .../src/ui/images/icons-black/link.png | Bin 0 -> 746 bytes .../ui/images/icons-black/ordered-list.png | Bin 0 -> 2853 bytes .../ui/images/icons-black/removeformat.png | Bin 0 -> 1304 bytes .../src/ui/images/icons-black/right-align.png | Bin 0 -> 228 bytes .../src/ui/images/icons-black/souligne.png | Bin 0 -> 606 bytes .../ui/images/icons-black/strikethrough.png | Bin 0 -> 596 bytes .../src/ui/images/icons-black/underline.png | Bin 0 -> 570 bytes .../ui/images/icons-black/unordered-list.png | Bin 0 -> 2840 bytes .../src/ui/images/icons-black/video.png | Bin 0 -> 270 bytes .../src/ui/images/icons-black/view-html.png | Bin 0 -> 267 bytes .../ui/images/icons-white-2x/attachement.png | Bin 0 -> 1446 bytes .../src/ui/images/icons-white-2x/barre.png | Bin 0 -> 1647 bytes .../src/ui/images/icons-white-2x/bold.png | Bin 0 -> 1563 bytes .../ui/images/icons-white-2x/center-align.png | Bin 0 -> 1104 bytes .../src/ui/images/icons-white-2x/close.png | Bin 0 -> 1522 bytes .../ui/images/icons-white-2x/formatting.png | Bin 0 -> 1081 bytes .../images/icons-white-2x/fullscreen-exit.png | Bin 0 -> 1418 bytes .../ui/images/icons-white-2x/fullscreen.png | Bin 0 -> 1355 bytes .../src/ui/images/icons-white-2x/gras.png | Bin 0 -> 1783 bytes .../images/icons-white-2x/horizontal-rule.png | Bin 0 -> 998 bytes .../src/ui/images/icons-white-2x/image.png | Bin 0 -> 1399 bytes .../src/ui/images/icons-white-2x/italic.png | Bin 0 -> 1363 bytes .../images/icons-white-2x/justify-align.png | Bin 0 -> 1051 bytes .../ui/images/icons-white-2x/left-align.png | Bin 0 -> 1089 bytes .../src/ui/images/icons-white-2x/link.png | Bin 0 -> 1490 bytes .../ui/images/icons-white-2x/ordered-list.png | Bin 0 -> 1119 bytes .../ui/images/icons-white-2x/removeformat.png | Bin 0 -> 1727 bytes .../ui/images/icons-white-2x/right-align.png | Bin 0 -> 1092 bytes .../src/ui/images/icons-white-2x/souligne.png | Bin 0 -> 1733 bytes .../images/icons-white-2x/strikethrough.png | Bin 0 -> 1785 bytes .../ui/images/icons-white-2x/underline.png | Bin 0 -> 1412 bytes .../images/icons-white-2x/unordered-list.png | Bin 0 -> 1143 bytes .../src/ui/images/icons-white-2x/video.png | Bin 0 -> 1236 bytes .../ui/images/icons-white-2x/view-html.png | Bin 0 -> 1348 bytes .../src/ui/images/icons-white/attachement.png | Bin 0 -> 1202 bytes .../src/ui/images/icons-white/barre.png | Bin 0 -> 1311 bytes .../src/ui/images/icons-white/bold.png | Bin 0 -> 1297 bytes .../ui/images/icons-white/center-align.png | Bin 0 -> 1029 bytes .../src/ui/images/icons-white/close.png | Bin 0 -> 1222 bytes .../src/ui/images/icons-white/formatting.png | Bin 0 -> 1007 bytes .../ui/images/icons-white/fullscreen-exit.png | Bin 0 -> 1184 bytes .../src/ui/images/icons-white/fullscreen.png | Bin 0 -> 1144 bytes .../src/ui/images/icons-white/gras.png | Bin 0 -> 1369 bytes .../ui/images/icons-white/horizontal-rule.png | Bin 0 -> 956 bytes .../src/ui/images/icons-white/image.png | Bin 0 -> 1192 bytes .../src/ui/images/icons-white/italic.png | Bin 0 -> 1140 bytes .../ui/images/icons-white/justify-align.png | Bin 0 -> 999 bytes .../src/ui/images/icons-white/left-align.png | Bin 0 -> 1013 bytes .../src/ui/images/icons-white/link.png | Bin 0 -> 1451 bytes .../ui/images/icons-white/ordered-list.png | Bin 0 -> 1019 bytes .../ui/images/icons-white/removeformat.png | Bin 0 -> 1279 bytes .../src/ui/images/icons-white/right-align.png | Bin 0 -> 1020 bytes .../src/ui/images/icons-white/souligne.png | Bin 0 -> 1321 bytes .../ui/images/icons-white/strikethrough.png | Bin 0 -> 1318 bytes .../src/ui/images/icons-white/underline.png | Bin 0 -> 1312 bytes .../ui/images/icons-white/unordered-list.png | Bin 0 -> 1002 bytes .../src/ui/images/icons-white/video.png | Bin 0 -> 1057 bytes .../src/ui/images/icons-white/view-html.png | Bin 0 -> 1055 bytes .../src/ui/sass/mixins/_sprite-pos.scss | 7 + .../src/ui/sass/trumbowyg.scss | 809 +++++++++++ plugins/trumbowyg/language/en_US.json | 12 + plugins/trumbowyg/language/fr_FR.json | 12 + plugins/trumbowyg/plugin.php | 54 + plugins/trumbowyg/trumbowyg/langs/ar.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/ca.min.js | 11 + plugins/trumbowyg/trumbowyg/langs/cs.min.js | 8 + plugins/trumbowyg/trumbowyg/langs/da.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/de.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/es.min.js | 9 + .../trumbowyg/trumbowyg/langs/es_ar.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/fa.min.js | 10 + plugins/trumbowyg/trumbowyg/langs/fi.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/fr.min.js | 10 + plugins/trumbowyg/trumbowyg/langs/he.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/id.min.js | 11 + plugins/trumbowyg/trumbowyg/langs/it.min.js | 8 + plugins/trumbowyg/trumbowyg/langs/ja.min.js | 10 + plugins/trumbowyg/trumbowyg/langs/ko.min.js | 10 + plugins/trumbowyg/trumbowyg/langs/nl.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/pl.min.js | 9 + plugins/trumbowyg/trumbowyg/langs/pt.min.js | 11 + plugins/trumbowyg/trumbowyg/langs/ro.min.js | 13 + plugins/trumbowyg/trumbowyg/langs/rs.min.js | 8 + .../trumbowyg/trumbowyg/langs/rs_latin.min.js | 8 + plugins/trumbowyg/trumbowyg/langs/ru.min.js | 8 + plugins/trumbowyg/trumbowyg/langs/sk.min.js | 8 + plugins/trumbowyg/trumbowyg/langs/tr.min.js | 10 + .../trumbowyg/trumbowyg/langs/zh_cn.min.js | 10 + .../plugins/base64/trumbowyg.base64.js | 81 ++ .../plugins/base64/trumbowyg.base64.min.js | 1 + .../plugins/colors/trumbowyg.colors.js | 83 ++ .../plugins/colors/trumbowyg.colors.min.js | 1 + .../colors/ui/images/icons-black-2x.png | Bin 0 -> 1376 bytes .../plugins/colors/ui/images/icons-black.png | Bin 0 -> 983 bytes .../colors/ui/images/icons-white-2x.png | Bin 0 -> 1385 bytes .../plugins/colors/ui/images/icons-white.png | Bin 0 -> 926 bytes .../plugins/colors/ui/trumbowyg.colors.css | 70 + .../colors/ui/trumbowyg.colors.min.css | 2 + .../plugins/upload/trumbowyg.upload.js | 157 +++ .../plugins/upload/trumbowyg.upload.min.js | 1 + plugins/trumbowyg/trumbowyg/trumbowyg.js | 1224 +++++++++++++++++ plugins/trumbowyg/trumbowyg/trumbowyg.min.js | 2 + .../trumbowyg/ui/images/icons-black-2x.png | Bin 0 -> 15142 bytes .../trumbowyg/ui/images/icons-black.png | Bin 0 -> 8119 bytes .../trumbowyg/ui/images/icons-white-2x.png | Bin 0 -> 13806 bytes .../trumbowyg/ui/images/icons-white.png | Bin 0 -> 7196 bytes plugins/trumbowyg/trumbowyg/ui/trumbowyg.css | 661 +++++++++ .../trumbowyg/trumbowyg/ui/trumbowyg.min.css | 2 + 210 files changed, 7584 insertions(+), 8 deletions(-) create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.bowerrc create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitattributes create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitignore create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.jshintrc create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/CONTRIBUTORS.md create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/Gulpfile.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/LICENSE create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/README.md create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/banner.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/bower.json create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/css/main.css create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/index.html create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/base64.html create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/colors.html create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/upload.html create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/index.html create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/package.json create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/base64/trumbowyg.base64.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/Gulpfile.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/trumbowyg.colors.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black-2x/backcolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black-2x/forecolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black/backcolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black/forecolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-white-2x/backcolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-white-2x/forecolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-white/backcolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-white/forecolor.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/sass/trumbowyg.colors.scss create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.php create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ar.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ca.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/cs.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/da.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/de.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/en.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es_ar.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fa.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fi.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fr.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/he.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/id.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/it.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ja.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ko.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/nl.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pl.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pt.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ro.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs_latin.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ru.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/sk.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/tr.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/zh_cn.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/trumbowyg.js create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/attachement.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/barre.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/bold.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/center-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/close.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/formatting.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/fullscreen-exit.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/fullscreen.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/gras.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/horizontal-rule.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/image.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/italic.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/justify-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/left-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/link.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/ordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/removeformat.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/right-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/souligne.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/strikethrough.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/underline.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/unordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/video.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black-2x/view-html.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/attachement.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/barre.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/bold.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/center-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/close.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/formatting.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/fullscreen-exit.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/fullscreen.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/gras.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/horizontal-rule.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/image.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/italic.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/justify-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/left-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/link.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/ordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/removeformat.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/right-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/souligne.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/strikethrough.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/underline.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/unordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/video.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-black/view-html.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/attachement.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/barre.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/bold.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/center-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/close.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/formatting.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/fullscreen-exit.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/fullscreen.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/gras.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/horizontal-rule.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/image.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/italic.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/justify-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/left-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/link.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/ordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/removeformat.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/right-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/souligne.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/strikethrough.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/underline.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/unordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/video.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white-2x/view-html.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/attachement.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/barre.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/bold.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/center-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/close.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/formatting.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/fullscreen-exit.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/fullscreen.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/gras.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/horizontal-rule.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/image.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/italic.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/justify-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/left-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/link.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/ordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/removeformat.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/right-align.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/souligne.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/strikethrough.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/underline.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/unordered-list.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/video.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/images/icons-white/view-html.png create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/sass/mixins/_sprite-pos.scss create mode 100755 plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/ui/sass/trumbowyg.scss create mode 100755 plugins/trumbowyg/language/en_US.json create mode 100755 plugins/trumbowyg/language/fr_FR.json create mode 100755 plugins/trumbowyg/plugin.php create mode 100755 plugins/trumbowyg/trumbowyg/langs/ar.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/ca.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/cs.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/da.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/de.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/es.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/es_ar.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/fa.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/fi.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/fr.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/he.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/id.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/it.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/ja.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/ko.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/nl.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/pl.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/pt.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/ro.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/rs.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/rs_latin.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/ru.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/sk.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/tr.min.js create mode 100755 plugins/trumbowyg/trumbowyg/langs/zh_cn.min.js create mode 100755 plugins/trumbowyg/trumbowyg/plugins/base64/trumbowyg.base64.js create mode 100755 plugins/trumbowyg/trumbowyg/plugins/base64/trumbowyg.base64.min.js create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/trumbowyg.colors.js create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/trumbowyg.colors.min.js create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/ui/images/icons-black-2x.png create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/ui/images/icons-black.png create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/ui/images/icons-white-2x.png create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/ui/images/icons-white.png create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/ui/trumbowyg.colors.css create mode 100755 plugins/trumbowyg/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css create mode 100755 plugins/trumbowyg/trumbowyg/plugins/upload/trumbowyg.upload.js create mode 100755 plugins/trumbowyg/trumbowyg/plugins/upload/trumbowyg.upload.min.js create mode 100755 plugins/trumbowyg/trumbowyg/trumbowyg.js create mode 100755 plugins/trumbowyg/trumbowyg/trumbowyg.min.js create mode 100755 plugins/trumbowyg/trumbowyg/ui/images/icons-black-2x.png create mode 100755 plugins/trumbowyg/trumbowyg/ui/images/icons-black.png create mode 100755 plugins/trumbowyg/trumbowyg/ui/images/icons-white-2x.png create mode 100755 plugins/trumbowyg/trumbowyg/ui/images/icons-white.png create mode 100755 plugins/trumbowyg/trumbowyg/ui/trumbowyg.css create mode 100755 plugins/trumbowyg/trumbowyg/ui/trumbowyg.min.css diff --git a/admin/views/edit-page.php b/admin/views/edit-page.php index e4872589..2e08e672 100644 --- a/admin/views/edit-page.php +++ b/admin/views/edit-page.php @@ -6,12 +6,12 @@ p('Title') ?> - + p('Title') ?> - + p('Title') ?> - + adminTheme().'/'); define('HTML_PATH_ADMIN_ROOT', HTML_PATH_ROOT.'admin/'); define('HTML_PATH_UPLOADS', HTML_PATH_ROOT.'content/uploads/'); +define('HTML_PATH_PLUGINS', HTML_PATH_ROOT.'plugins/'); // Objects with dependency $Language = new dbLanguage( $Site->locale() ); diff --git a/kernel/dbsite.class.php b/kernel/dbsite.class.php index 217e5911..c71602f7 100644 --- a/kernel/dbsite.class.php +++ b/kernel/dbsite.class.php @@ -166,6 +166,16 @@ class dbSite extends dbJSON return $this->db['locale']; } + // Returns the current language in short format. + public function shortLanguage() + { + $locale = $this->locale(); + $explode = explode('_', $locale); + $short = array_shift($explode); + + return $short; + } + // Returns the current homepage. public function homepage() { diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.bowerrc b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.bowerrc new file mode 100755 index 00000000..c8474bfb --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "bower_components/" +} diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitattributes b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitattributes new file mode 100755 index 00000000..2aa7647e --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitattributes @@ -0,0 +1,6 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# SCSS and JS files must always use LF for tools to work +*.js eol=lf +*.scss eol=lf \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitignore b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitignore new file mode 100755 index 00000000..57671038 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.gitignore @@ -0,0 +1,19 @@ +# Others +~$* +/.sass-cache +/uploaded-files +/node_modules +/bower_components +/dist +/src/ui/sass/_sprite* +/plugins/**/ui/sass/_sprite* + + +# Windows image file caches +Thumbs.db + +# Folder config file +Desktop.ini + +# Mac crap +.DS_Store \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.jshintrc b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.jshintrc new file mode 100755 index 00000000..7e0e9495 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/.jshintrc @@ -0,0 +1,15 @@ +{ + "expr": true, + "noarg": true, + "onevar": true, + "quotmark": "simple", + "undef": true, + "unused": true, + + "browser": true, + "node": true, + + "globals": { + "jQuery": false + } +} \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/CONTRIBUTORS.md b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/CONTRIBUTORS.md new file mode 100755 index 00000000..3ea65e94 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/CONTRIBUTORS.md @@ -0,0 +1,38 @@ +# Contributors + +Trumbowyg is the result of many people who made translations or the code better. + +- Alex-D +- lizardK +- VeeeneX +- Danny Hiemstra +- Nicolás Moncada +- Jan Svoboda +- Manfred62 +- Nikola Trifunovic +- Vlad Radulescu +- foo9 +- g2010a +- Adam Balogh +- Andreas Kohn +- Andrey Kogut +- Antoine Leblanc +- Christian +- Delvallée +- JoongSeob Vito Kim +- MIRK0 +- Moisés Márquez +- Nathan Rosquist +- Paweł Abramowicz +- Ramiro Varandas Jr +- Rezha Julio +- Vinzgore +- Wisse Jelgersma +- abomokhahmed +- akai +- basteyy +- brentanalexander +- munzur +- teppokoivula +- udidoron +- Олег Ильин \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/Gulpfile.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/Gulpfile.js new file mode 100755 index 00000000..ea94219f --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/Gulpfile.js @@ -0,0 +1,166 @@ +var gulp = require('gulp'), + del = require('del'), + vinylPaths = require('vinyl-paths'), + $ = require('gulp-load-plugins')(), + spritesmith = require('gulp.spritesmith'); + +var paths = { + scripts: ['src/trumbowyg.js'], + langs: ['src/langs/**.js', '!src/langs/en.js'], + plugins: ['plugins/*/**.js', '!plugins/*/Gulpfile.js'], + sprites: { + 'icons-white': 'src/ui/images/icons-white/**.png', + 'icons-white-2x': 'src/ui/images/icons-white-2x/**.png', + 'icons-black': 'src/ui/images/icons-black/**.png', + 'icons-black-2x': 'src/ui/images/icons-black-2x/**.png' + }, + mainStyle: 'src/ui/sass/trumbowyg.scss', + styles: { + sass: 'src/ui/sass' + } +}; + +var pkg = require('./package.json'); +var banner = ['/**', + ' * <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>', + ' * <%= description %>', + ' * ------------------------', + ' * @link <%= pkg.homepage %>', + ' * @license <%= pkg.license %>', + ' * @author <%= pkg.author.name %>', + ' * Twitter : @AlexandreDemode', + ' * Website : <%= pkg.author.url.replace("http://", "") %>', + ' */', + '\n'].join('\n'); +var bannerLight = ['/** <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>', + ' - <%= pkg.homepage.replace("http://", "") %>', + ' - License <%= pkg.license %>', + ' - Author : <%= pkg.author.name %>', + ' / <%= pkg.author.url.replace("http://", "") %>', + ' */', + '\n'].join(''); + + + + +gulp.task('clean', function(){ + return gulp.src(['dist/*', 'src/ui/sass/_sprite*.scss']) + .pipe(vinylPaths(del)); +}); + +gulp.task('test', ['test-scripts', 'test-langs', 'test-plugins']); +gulp.task('test-scripts', function(){ + return gulp.src(paths.scripts) + .pipe($.jshint()) + .pipe($.jshint.reporter('jshint-stylish')); +}); +gulp.task('test-langs', function(){ + return gulp.src(paths.langs) + .pipe($.jshint()) + .pipe($.jshint.reporter('jshint-stylish')); +}); +gulp.task('test-plugins', function(){ + return gulp.src(paths.plugins) + .pipe($.jshint()) + .pipe($.jshint.reporter('jshint-stylish')); +}); + +gulp.task('scripts', ['test-scripts'], function(){ + return gulp.src(paths.scripts) + .pipe($.header(banner, { pkg: pkg, description: 'Trumbowyg core file' })) + .pipe($.newer('dist/trumbowyg.js')) + .pipe($.concat('trumbowyg.js', { newLine: '\r\n\r\n' })) + .pipe(gulp.dest('dist/')) + .pipe($.size({ title: 'trumbowyg.js' })) + .pipe($.rename({ suffix: ".min" })) + .pipe($.uglify()) + .pipe($.header(bannerLight, { pkg: pkg })) + .pipe(gulp.dest('dist/')) + .pipe($.size({ title: 'trumbowyg.min.js' })) +}); + +gulp.task('langs', ['test-langs'], function(){ + return gulp.src(paths.langs) + .pipe($.rename({ suffix: ".min" })) + .pipe($.uglify({ + preserveComments: 'all' + })) + .pipe(gulp.dest('dist/langs/')) +}); + +gulp.task('plugins', ['test-plugins'], function(){ + return gulp.src(paths.plugins) + .pipe(gulp.dest('dist/plugins/')) + .pipe($.rename({ suffix: ".min" })) + .pipe($.uglify()) + .pipe(gulp.dest('dist/plugins/')) +}); + + + +gulp.task('sprites', function(){ + return makeSprite('white') && makeSprite('white', '-2x') && makeSprite('black') && makeSprite('black', '-2x'); +}); +function makeSprite(color, resolution){ + var suffix = '-' + color + ((resolution) ? resolution : ''); + var sprite = gulp.src(paths.sprites['icons' + suffix]) + .pipe(spritesmith({ + imgName: 'icons' + suffix + '.png', + cssName: '_sprite' + suffix + '.scss', + cssTemplate: function(params){ + var output = '', e; + for(var i in params.items){ + e = params.items[i]; + output += '$' + e.name + suffix + ': ' + e.px.offset_x + ' ' + e.px.offset_y + ';\n'; + } + if(params.items.length > 0){ + output += '\n\n'; + output += '$sprite-height' + suffix + ': ' + params.items[0].px.total_height + ';\n'; + output += '$sprite-width' + suffix + ': ' + params.items[0].px.total_width + ';\n'; + output += '$icons' + suffix + ': "./images/icons' + suffix + '.png";'; + } + + return output; + } + })); + sprite.img.pipe(gulp.dest('dist/ui/images/')); + sprite.css.pipe(gulp.dest(paths.styles.sass)); + return sprite.css; +} + + + +gulp.task("styles", ["sprites"], function(){ + return gulp.src(paths.mainStyle) + .pipe($.sass({ + sass: paths.styles.sass + })) + .pipe($.autoprefixer(["last 1 version", "> 1%", "ff >= 20", "ie >= 8", "opera >= 12", "Android >= 2.2"], { cascade: true })) + .pipe($.header(banner, { pkg: pkg, description: "Default stylesheet for Trumbowyg editor" })) + .pipe(gulp.dest("dist/ui/")) + .pipe($.size({ title: "trumbowyg.css" })) + .pipe($.rename({ suffix: ".min" })) // génère une version minimifié + .pipe($.minifyCss()) + .pipe($.header(bannerLight, { pkg: pkg })) + .pipe(gulp.dest("dist/ui/")) + .pipe($.size({ title: "trumbowyg.min.css" })); +}); + + + +gulp.task('watch', function(){ + gulp.watch(paths.scripts, ['scripts']); + gulp.watch(paths.langs, ['langs']); + gulp.watch(paths.plugins, ['plugins']); + gulp.watch(paths.mainStyle, ['styles']); + + gulp.watch(['dist/**', 'dist/*/**'], function(file){ + $.livereload.changed(file); + }); + + $.livereload.listen(); +}); + +gulp.task('build', ['scripts', 'langs', 'plugins', 'styles']); + +gulp.task('default', ['build', 'watch']); \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/LICENSE b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/LICENSE new file mode 100755 index 00000000..de773f5b --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2012-2014 Alexandre Demode (Alex-D) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/README.md b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/README.md new file mode 100755 index 00000000..4f47d250 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/README.md @@ -0,0 +1,34 @@ +# Trumbowyg WYSIWYG Editor + +Trumbowyg is a simple and lightweight WYSIWYG editor, is only 15kB for faster page loading. + +[![Trumbowyg logo](banner.png)](http://alex-d.github.io/Trumbowyg/) + +Visit presentation page : http://alex-d.github.io/Trumbowyg/ + + +# Documentation + +All you need to know about Trumbowyg is here : http://alex-d.github.io/Trumbowyg/documentation.html (or [on the home](http://alex-d.github.io/Trumbowyg/)) + + +# Contribute + +You can contribute to Trumbowyg with translations in languages you know. +Thanks to `node` and `gulp`, you can improve core script, style or icons easily. + +## Getting Started + +- Clone the repository +- `cd Trumbowyg` to go into the project's root directory +- `npm install` to install development dependencies +- `npm install -g bower gulp` to install bower and gulp command if you don't have them already +- `bower install` to install Trumbowyg dependencies (ie: jQuery) +- `gulp build` to build the project + +`gulp` command launch default Gulp task watcher and rebuild on the fly. + + +# License + +This project is under MIT license. See [LICENSE](LICENSE) file for details. diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/banner.png b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/banner.png new file mode 100755 index 0000000000000000000000000000000000000000..eacf4d12f134a8217a02a12effdc47367489b191 GIT binary patch literal 33327 zcmcG#WmFv97A=aqySuwf(2RI1eUo81@Y2ZJ6cPSlr zbtg-AFB4Y_Ffnr{QwuUV2NNp`H477SAD2-JK`<~#3L6a_cO4}~keQPMi^=a}SiBva zfwRHD1Vy}^P0Z{p+{sKWtZW>GC{923P>|V}3sGouE3qj#OITRj$ojfksQW5wnEBe7 z@taeK2$KnVgMa}XEZj}VydCTv-9X+#6o1AA0q=kRnw5g=&mr!1LKJ^ZN=HeROv1_4 zf{dGmli7@oot=z_hlQPsn}>&;iHw7dor9GPc=0f^bAh;dKpebefB#SbS93MD1gS|% z|9v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OO{TC3Eb*@Tw68KybB^gb(I>bpvv$j1zAvA23D*6A-vz7mf!`j*Z*i6 zfjtoRFF0Dz^EDCj%?OfNs>AN4;++j9GaH8}KNxytN7a%t zY5v_kSN3?n8@?%9-9dj-PLp9kNEicqdIXHbDJf(@({CErr9=rjZMG*YFD6T z9ZbmGWeliSBG_(D=CFocOJ@c*<2CTwH8_%h-|=@f=|M%ExPHKe%t75Qgp-Se@Lv&! z(ajOf7BTs-86*Zfs42^oM)%~fx%=m#DItT}U&NG2pTkR)!17r+jpEWx%RCJ>ndVs&=T4bR2mU#W(| zYt;Kkf5u7%A-mCsk`YDWv*^^-Gk})UZAUeTsY@K1NdFmJ=4sbqFiUt>@Uk^t)~AiZ z*m%jX!yPJd%6IC^sslwN*nlZrzY95}m;VL<&R4)PYv@Z;wzc>1+S{m5bO+`igVr3L zo$hL8=pS*C`g@lcjPBNKz(lwp*m)=VQN%1V^ykJ?icD#MaLezlt*E19Pf<_JuYAB+rl(0Vy!*aE2*91+L%xSE=~1uGr5pGhU0gRx zM^C*jM;qu{*N9^MeUy+`hj>%JI5qYC-Psy!!_nWT3;hn1U30`hjY6CKs~Y}u&)@IA zqx(7c>3{eB@6!LzW5i$>p@5Jc@cH{Df4_y= dH(z1izv=#xpfJ*Qob6GLbKS{|DF0n@|7% literal 0 HcmV?d00001 diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/bower.json b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/bower.json new file mode 100755 index 00000000..747aa7f4 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/bower.json @@ -0,0 +1,36 @@ +{ + "name": "trumbowyg", + "version": "2.0.0-beta.4", + "homepage": "https://github.com/Alex-D/Trumbowyg", + "authors": [ + { + "name": "Alexandre Demode (Alex-D)", + "email": "contact@alex-d.fr", + "homepage": "http://alex-d.fr" + } + ], + "description": "A lightweight WYSIWYG editor", + "main": "dist/trumbowyg.js", + "keywords": [ + "editor", + "wysiwyg", + "javascript", + "richtext" + ], + "license": "MIT", + "ignore": [ + "**/.*", + "bower_components", + "node_modules", + "plugins", + "!dist/plugins", + "test", + "tests", + "src", + "Gulpfile.js", + "package.json" + ], + "dependencies": { + "jquery": ">=1.7" + } +} \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/css/main.css b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/css/main.css new file mode 100755 index 00000000..edbf128d --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/css/main.css @@ -0,0 +1,14 @@ +html, +body { + margin: 0; + padding: 0; + background-color: #F2F2F2; + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; +} +header { + text-align: center; +} +#main { + max-width: 960px; + margin: 0 auto; +} \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/index.html b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/index.html new file mode 100755 index 00000000..647529e3 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/index.html @@ -0,0 +1,41 @@ + + + + + Trumbowyg by Alex-D + + + + +
+
+

Default usage of Trumbowyg

+ +

+ No plugin, no options. Just naked Trumbowyg. +

+
+ +
+

This editor is the default build of Trumbowyg.

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+ +

The code

+
+$('#editor').trumbowyg();
+            
+
+ + + + + diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/base64.html b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/base64.html new file mode 100755 index 00000000..19e0f61c --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/base64.html @@ -0,0 +1,108 @@ + + + + + base64 plugin | Trumbowyg by Alex-D + + + + +
+
+

Base64 plugin for Trumbowyg

+ +

+ You can insert an image in base64 in src attribute of img tag. +

+
+ + + +
+

Insert your base64 image!

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+ +

The code

+
+$('#editor')
+.trumbowyg({
+    btnsAdd: ['base64']
+});
+            
+ + +
+ + +
+

Insert your base64 image through image dropdown!

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+ +

The code

+
+$('#editor-dropdown')
+.trumbowyg({
+    btnsDef: {
+        // Create a new dropdown
+        image: {
+            dropdown: ['insertImage', 'base64'],
+            ico: 'insertImage'
+        }
+    },
+    // Redefine the button pane
+    btns: ['viewHTML',
+            '|', 'formatting',
+            '|', 'btnGrp-semantic',
+            '|', 'link',
+            '|', 'image',
+            '|', 'btnGrp-justify',
+            '|', 'btnGrp-lists',
+            '|', 'horizontalRule']
+});
+            
+
+ + + + + + diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/colors.html b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/colors.html new file mode 100755 index 00000000..77ac0f24 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/colors.html @@ -0,0 +1,49 @@ + + + + + Colors plugin | Trumbowyg by Alex-D + + + + + +
+
+

Colors plugin for Trumbowyg

+ +

+ This plugin allow you to add a foreground and/or background color picker. +

+
+ +
+

You can color me!

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+ +

The code

+
+$('#editor')
+.trumbowyg({
+    // You can only add one of foreColor/backColor
+    btnsAdd: ['foreColor', 'backColor']
+});
+            
+
+ + + + + + diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/upload.html b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/upload.html new file mode 100755 index 00000000..8392874c --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/examples/plugins/upload.html @@ -0,0 +1,111 @@ + + + + + upload plugin | Trumbowyg by Alex-D + + + + +
+
+

Upload plugin for Trumbowyg

+ +

+ You can insert an image by upload. +

+

+ Note: this demo does not works without a PHP server, but you can take a look at the files to understand how to use this plugin and how to implement the back-end to match with the plugin. +

+
+ + + +
+

Insert your uploaded image!

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+ +

The code

+
+$('#editor')
+.trumbowyg({
+    btnsAdd: ['upload']
+});
+            
+ + +
+ + +
+

Insert your uploaded image through image dropdown!

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+ +

The code

+
+$('#editor-dropdown')
+.trumbowyg({
+    btnsDef: {
+        // Create a new dropdown
+        image: {
+            dropdown: ['insertImage', 'upload'],
+            ico: 'insertImage'
+        }
+    },
+    // Redefine the button pane
+    btns: ['viewHTML',
+            '|', 'formatting',
+            '|', 'btnGrp-semantic',
+            '|', 'link',
+            '|', 'image',
+            '|', 'btnGrp-justify',
+            '|', 'btnGrp-lists',
+            '|', 'horizontalRule']
+});
+            
+
+ + + + + + diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/index.html b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/index.html new file mode 100755 index 00000000..e78bf874 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/index.html @@ -0,0 +1,287 @@ + + + + + Trumbowyg by Alex-D + + + + + +
+
+

Examples of use Trumbowyg

+ +

+ Close an editor on clic on "Close" in top right corner.
+ To reopen an editor, double-click on his text. +

+
+ +
+
+

This editor is the default build of Trumbowyg.

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+
+$('#default-editor').trumbowyg();
+                    
+
+ +
+

This is a minimalist demo of Trumbowyg.

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident optio nam reiciendis eius beatae quibusdam! +

+
+$('#simple-editor').trumbowyg({
+    btns: [jQuery.trumbowyg.btnsGrps.semantic]
+});
+                    
+
+ +
+

This is a demo of Trumbowyg with a customized button pane

+

+ The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there anyone who loves grief itself since it is grief and thus wants to obtain it"). +

+

+ Trumbowyg logo +

+

+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, minima, asperiores libero architecto sequi fugit dolore sunt in officiis facere ut quaerat ullam laudantium delectus aliquam tenetur alias! Ea, nisi, est earum temporibus dolores quas qui repellendus aliquid voluptatibus tempore facilis eligendi omnis reiciendis nihil ullam quo dolorem nam deleniti. Fugit dignissimos dolorum dolore voluptate repudiandae recusandae debitis. Neque, adipisci, maiores magni aliquam molestiae ex natus minus quod tempora nemo debitis eum laboriosam voluptatum ut architecto animi nobis vero quis dolore eaque! Corporis, dolore, illum, autem in eum ea doloribus ut consequuntur modi et ullam adipisci blanditiis corrupti ab voluptate. +

+

+ It is not known exactly when the text acquired its current standard form; it may have been as late as the 1960s. The passage was discovered by Richard McClintock, a Latin scholar who is the publications director at Hampden-Sydney College in Virginia, by searching for citings of the rarely used word 'consectetur' in classical literature. +

+
+/*
+ * Add your own groups of button
+ */
+$.trumbowyg.btnsGrps.test = ['bold', 'link'];
+
+/* Add new words for customs btnsDef just below */
+$.extend(true, $.trumbowyg.langs, {
+    fr: {
+        align: 'Alignement',
+        image: 'Image'
+    }
+});
+$('#customized-buttonpane').trumbowyg({
+    lang: 'fr',
+    closable: true,
+    fixedBtnPane: true,
+    btnsDef: {
+        // Customizables dropdowns
+        align: {
+            dropdown: ['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'],
+            ico: 'justifyLeft'
+        },
+        image: {
+            dropdown: ['insertImage', 'upload', 'base64'],
+            ico: 'insertImage'
+        }
+    },
+    btns: ['viewHTML',
+        '|', 'formatting',
+        '|', 'btnGrp-test',
+        '|', 'align',
+        '|', 'btnGrp-lists',
+        '|', 'image']
+});
+                    
+
+ + + +
+ + + + +
+
+ + + + + + + + + diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/package.json b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/package.json new file mode 100755 index 00000000..1e86ceb2 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/package.json @@ -0,0 +1,47 @@ +{ + "name": "trumbowyg", + "title": "Trumbowyg", + "description": "A lightweight WYSIWYG editor", + "version": "2.0.0-beta.4", + "main": "dist/trumbowyg.js", + "homepage": "http://alex-d.github.io/Trumbowyg", + "author": { + "name": "Alexandre Demode (Alex-D)", + "email": "contact@alex-d.fr", + "url": "http://alex-d.fr" + }, + "repository": { + "type": "git", + "url": "https://github.com/Alex-D/Trumbowyg.git" + }, + "bugs": { + "url": "https://github.com/Alex-D/Trumbowyg/issues" + }, + "license": "MIT", + "devDependencies": { + "bower": "^1.3.9", + "del": "^1.1.1", + "gulp": "^3.8.5", + "gulp-autoprefixer": "0.0.8", + "gulp-concat": "~2.3.4", + "gulp-header": "^1.2.2", + "gulp-imagemin": "~1.0.0", + "gulp-jshint": "~1.8.4", + "gulp-livereload": "~2.1.0", + "gulp-load-plugins": "~0.5.3", + "gulp-minify-css": "~0.3.7", + "gulp-newer": "~0.3.0", + "gulp-rename": "~1.2.0", + "gulp-sass": "~0.7.3", + "gulp-size": "~1.0.0", + "gulp-uglify": "~0.3.1", + "gulp.spritesmith": "~1.1.1", + "jshint-stylish": "~0.4.0", + "vinyl-paths": "^1.0.0" + }, + "scripts": { + "build": "npm install && gulp build", + "start": "gulp", + "test": "gulp test" + } +} diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/base64/trumbowyg.base64.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/base64/trumbowyg.base64.js new file mode 100755 index 00000000..05653dba --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/base64/trumbowyg.base64.js @@ -0,0 +1,81 @@ +/* =========================================================== + * trumbowyg.base64.js v1.0 + * Base64 plugin for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Cyril Biencourt (lizardK) + */ + +(function($){ + 'use strict'; + + $.extend(true, $.trumbowyg, { + langs: { + en: { + base64: "Image as base64", + file: "File", + errFileReaderNotSupported: "FileReader is not supported by your browser." + }, + fr: { + base64: "Image en base64", + file: "Fichier" + }, + cs: { + base64: "Vložit obrázek", + file: "Soubor" + } + }, + + opts: { + btnsDef: { + base64: { + isSupported: function(){ + if(typeof FileReader === "undefined"){ + if (window.console !== undefined) { + console.err('[Trumbowyg - Plugin base64] FileReader is not supported by your browser.'); + } + return false; + } + return true; + }, + func: function(params, tbw){ + var file; + tbw.openModalInsert( + // Title + tbw.lang.base64, + + // Fields + { + file: { + type: 'file', + required: true + }, + alt: { + label: 'description' + } + }, + + // Callback + function(values){ + var fReader = new FileReader(); + + fReader.onloadend = function(){ + tbw.execCmd('insertImage', fReader.result); + $(['img[src="', fReader.result, '"]:not([alt])'].join(''), tbw.$box).attr('alt', values.alt); + tbw.closeModal(); + }; + + fReader.readAsDataURL(file); + } + ); + + $('input[type=file]').on('change', function(e){ + file = e.target.files[0]; + }); + }, + ico: 'insertImage' + } + } + } + }); +})(jQuery); \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/Gulpfile.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/Gulpfile.js new file mode 100755 index 00000000..cec0edd6 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/Gulpfile.js @@ -0,0 +1,107 @@ +var gulp = require('gulp'), + del = require('del'), + vinylPaths = require('vinyl-paths'), + $ = require('gulp-load-plugins')(), + spritesmith = require('gulp.spritesmith'); + +var paths = { + sprites: { + 'icons-white': 'ui/images/icons-white/**.png', + 'icons-white-2x': 'ui/images/icons-white-2x/**.png', + 'icons-black': 'ui/images/icons-black/**.png', + 'icons-black-2x': 'ui/images/icons-black-2x/**.png' + }, + mainStyle: 'ui/sass/trumbowyg.colors.scss', + styles: { + sass: 'ui/sass', + includePaths: ['ui/sass', '../../src/ui/sass/mixins'] + } +}; + +var pkg = require('../../package.json'); +var banner = ['/**', + ' * <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>', + ' * <%= description %>', + ' * ------------------------', + ' * @link <%= pkg.homepage %>', + ' * @license <%= pkg.license %>', + ' * @author <%= pkg.author.name %>', + ' * Twitter : @AlexandreDemode', + ' * Website : <%= pkg.author.url.replace("http://", "") %>', + ' */', + '\n'].join('\n'); +var bannerLight = ['/** <%= pkg.title %> v<%= pkg.version %> - <%= pkg.description %>', + ' - <%= pkg.homepage.replace("http://", "") %>', + ' - License <%= pkg.license %>', + ' - Author : <%= pkg.author.name %>', + ' / <%= pkg.author.url.replace("http://", "") %>', + ' */', + '\n'].join(''); + + +gulp.task('clean', function(){ + return gulp.src(['ui/sass/_sprite*.scss']) + .pipe(vinylPaths(del)); +}); + + +gulp.task('sprites', function(){ + return makeSprite('white') && makeSprite('white', '-2x') && makeSprite('black') && makeSprite('black', '-2x'); +}); +function makeSprite(color, resolution){ + var suffix = '-' + color + ((resolution) ? resolution : ''); + var sprite = gulp.src(paths.sprites['icons' + suffix]) + .pipe(spritesmith({ + imgName: 'icons' + suffix + '.png', + cssName: '_sprite' + suffix + '.scss', + cssTemplate: function(params){ + var output = '', e; + for(var i in params.items){ + e = params.items[i]; + output += '$' + e.name + suffix + ': ' + e.px.offset_x + ' ' + e.px.offset_y + ';\n'; + } + if(params.items.length > 0){ + output += '\n\n'; + output += '$sprite-height' + suffix + ': ' + params.items[0].px.total_height + ';\n'; + output += '$sprite-width' + suffix + ': ' + params.items[0].px.total_width + ';\n'; + output += '$icons' + suffix + ': "./images/icons' + suffix + '.png";'; + } + + return output; + } + })); + sprite.img.pipe(gulp.dest('../../dist/plugins/colors/ui/images/')); + sprite.css.pipe(gulp.dest(paths.styles.sass)); + return sprite.css; +} + + + +gulp.task("styles", ["sprites"], function(){ + return gulp.src(paths.mainStyle) + .pipe($.sass({ + sass: paths.styles.sass, + includePaths: paths.styles.includePaths + })) + .pipe($.autoprefixer(["last 1 version", "> 1%", "ff >= 20", "ie >= 8", "opera >= 12", "Android >= 2.2"], { cascade: true })) + .pipe($.header(banner, { pkg: pkg, description: "Colors plugin stylesheet for Trumbowyg editor" })) + .pipe(gulp.dest("../../dist/plugins/colors/ui/")) + .pipe($.size({ title: "trumbowyg.colors.css" })) + .pipe($.rename({ suffix: ".min" })) // génère une version minimifié + .pipe($.minifyCss()) + .pipe($.header(bannerLight, { pkg: pkg })) + .pipe(gulp.dest("../../dist/plugins/colors/ui/")) + .pipe($.size({ title: "trumbowyg.colors.min.css" })); +}); + + + +gulp.task('watch', function(){ + gulp.watch(paths.mainStyle, ['styles']); +}); + + + +gulp.task('build', ['sprites', 'styles']); + +gulp.task('default', ['build', 'watch']); \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/trumbowyg.colors.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/trumbowyg.colors.js new file mode 100755 index 00000000..3dd69f78 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/trumbowyg.colors.js @@ -0,0 +1,83 @@ +/* =========================================================== + * trumbowyg.colors.js v1.0 + * Colors picker plugin for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Alexandre Demode (Alex-D) + * Twitter : @AlexandreDemode + * Website : alex-d.fr + */ + +(function($){ + 'use strict'; + + $.extend(true, $.trumbowyg, { + langs: { + cs: { + foreColor: "Barva textu", + backColor: "Barva pozadí" + }, + en: { + foreColor: "Text color", + backColor: "Background color" + }, + fr: { + foreColor: "Couleur du texte", + backColor: "Couleur de fond" + }, + sk: { + foreColor: "Farba textu", + backColor: "Farba pozadia" + } + } + }); + + // Create btnsDef entry + $.extend(true, $.trumbowyg, { + opts: { + btnsDef: {} + } + }); + + // Set default colors + if(!$.trumbowyg.opts.colors) + $.trumbowyg.opts.colors = ['ffffff', '000000', 'eeece1', '1f497d', '4f81bd', 'c0504d', '9bbb59', '8064a2', '4bacc6', 'f79646', 'ffff00', 'f2f2f2', '7f7f7f', 'ddd9c3', 'c6d9f0', 'dbe5f1', 'f2dcdb', 'ebf1dd', 'e5e0ec', 'dbeef3', 'fdeada', 'fff2ca', 'd8d8d8', '595959', 'c4bd97', '8db3e2', 'b8cce4', 'e5b9b7', 'd7e3bc', 'ccc1d9', 'b7dde8', 'fbd5b5', 'ffe694', 'bfbfbf', '3f3f3f', '938953', '548dd4', '95b3d7', 'd99694', 'c3d69b', 'b2a2c7', 'b7dde8', 'fac08f', 'f2c314', 'a5a5a5', '262626', '494429', '17365d', '366092', '953734', '76923c', '5f497a', '92cddc', 'e36c09', 'c09100', '7f7f7f', '0c0c0c', '1d1b10', '0f243e', '244061', '632423', '4f6128', '3f3151', '31859b', '974806', '7f6000']; + + // Add all colors in two dropdowns + $.extend(true, $.trumbowyg, { + opts: { + btnsDef: { + foreColor: { + dropdown: buildDropdown('foreColor') + }, + backColor: { + dropdown: buildDropdown('backColor') + } + } + } + }); + + + + function buildDropdown(func){ + var dropdown = []; + + $.each($.trumbowyg.opts.colors, function(i, color){ + var btn = '_' + func + color; + $.trumbowyg.opts.btnsDef[btn] = { + func: func, + param: '#' + color, + style: 'background-color: #' + color + ';' + }; + dropdown.push(btn); + }); + var btn = '_' + func + 'transparent'; + $.trumbowyg.opts.btnsDef[btn] = { + func: func, + param: 'transparent', + style: 'background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQIW2NkQAAfEJMRmwBYhoGBYQtMBYoAADziAp0jtJTgAAAAAElFTkSuQmCC);' + }; + dropdown.push(btn); + return dropdown; + } +})(jQuery); diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black-2x/backcolor.png b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black-2x/backcolor.png new file mode 100755 index 0000000000000000000000000000000000000000..de89ae8bcd3cdb521ccae32cd6805ac08aa6291a GIT binary patch literal 633 zcmV-<0*3vGP)(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRZ-|4BqaRCwC#nLlg7Kpci&wL_Ld8%LK8ms!-oMF~PcK{zJ|&A0G_xcV`KYz`s^ zl1+n)iy5-Iq%K01)()ki(WF((86)>jci|55Tz*gfTr!8l0gsR@9wY)pfCvx)B0vPl zHF-LBpsK14fENI_dKJh3*fGZ5Vg&&p19-mIin*k;J`$*y4?3RD!fxEl85&_Z39}AtZeu?RNX*Sg+Sh7f7X2L7`AM zIbN&P(go7(cKx>Jd48Lx^jY4LTb2dab-7EQ0rQe9m3^ zSV0IO0m&`P0szcrvw$l+q>mNkc%@C#Jb~gReXJnID{UA?C=>uxtJP$_5dVv=>jBAK z*TrBkh#X%m7C{JsZQJ(+a(r8rWf`4L=g&EmQVfT~`zb9#2oy!RcwW6;zpv6dmVC3> zV7*>Pp1dr}{#B!t23$%Mq+Bis`lHbZi^U>z?0&yTzu))!nx@49a&>7@O8pi7kvs|l z0H)JvsPu`0Xqp!2|9%|_i*4IjtyU+Ck$7o2jswSWLZ2N`8IQ+-Ios{_YLLvi{}5GG zeaH7s<1MpejJ=BOporuWIKLbZM_d4(xbY@-?2bHAX$cSkB0vO)01+S$3-UDp;X0q) T>*`L900000NkvXXu0mjfG`$0^ literal 0 HcmV?d00001 diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black-2x/forecolor.png b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black-2x/forecolor.png new file mode 100755 index 0000000000000000000000000000000000000000..84017702ea55c8c93ecdc8763f2e528192fdd8ff GIT binary patch literal 1513 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1|;R|J2nC-$r9IylHmNblJdl&R0hYC{G?O` z&)mfH)S%SFl*+=BsWuD@%u1Od5hW46K32*3xq68pHF_1f1wh>l3^w)^1&PVosU-?Y zsp*+{wo31J?^jaDOtDo8H}y5}EpSfF$n>ZxN)4{^3rViZPPR-@vbR&PsjvbXkegbP zs8ErclUHn2VXFi-*9yo63F|81#=KlDb#X~hD#E>34K5C;EJ)Q4 zN-fSWElLJPT$(b-ssbzLqSVBa{GyQj{2W*)24v)y2=9ZF3nBND}m`vf$McOz^NCM6mkoIHoK%2WtOF;xE1B+DuBIgm5JLeE;!AD z>P^Av78h5Xdi8;h(Fa8=QbfaqfT;(>geO}d2cGa#^MI+n2$-xN{Pmg5z`zvi>Eakt zaqGk#B< z6o8|SVn?|J55N7A-x9ARUy@oXE#H0A=ePUfiF+b+{-tb=d{(wQa&O%ILpP)+7mCXZ zmKsQ8sLwvz=BqYYe?!LAz?H1r`)+#ao;Na%8+_ym-qJxN|vg^Oj3|7s6yt8894lKDDkr{`QnGt*RdZ zPa;-I^|H+qJNwLJw(qo)DIy-0@=b9p9B$3iLk~|ot*Sl!biSWd|8bu{5uf$HH|IY- z81SV2^2;yv{zq1XYE4bI_!{fv;^(4w+K9W=X<4)3U4y8qE6+av48IW6CEmKZY00m@ z{{r3hrYFa(|GxZY!t~RjI#a!lm9D>jc+rA+(kiWTS8dlU=XS6;eEq>*&%h6kOS+U? z^0)q3_2Q!QQGRPUpQAA2qP16GR6 zNH3|dkxSdk61_HRyIS?K`|l&BoSB`cZTEi7)9=B5t}6*JDZLr5I=vCwv0Ch7k*w|MTBqnF4mMA2p zrf25aD!t#mUr8Y|#a1cY)Yrhbz&SM|)1#^=HMq(zB)KX(*)m1R-cG@$!U||WZfZ%Q zLPc&)Ua?h$trFN=D(3-T9Ob#X~hD#969RTqa;7NqJ2r55Lx z79|7YBTX5m85nl>EdnV7y2i@CC=(bdi8(I$$)&lec_p4Mwn{)5y_C!pD_1u+15;xY zOIIUPb5|2XLrXJDS4VRbAluE{!qU?$S+WE z4mMNJ2+zz*$uBR~1Vs5Px?R(JoBXH0dq_dFl%r`bpK#rVEo|e;uunK>rLqHuBc1t)Fk$e>tEZy-uMJfv1wvSnlTT>%=&&fv3z}yUDlLrXi=4tmS^ar z&?4)%Y0}**=la0!)>~j@1|H5aaFFeJ(lgBCk*4uCLp$blWoKhG1 zPv_qnr8C{zM@`sbuAfA&n+#w3_rhoH>#{%Ib7aWdE`2p?Dx=x#-c=S?=XgwN`B>3Y zV%6)lw8=xI>0-u_fBMRGyYC*#+pav(0R!qG4cF!XC1L*xvZ^H%;H?E zJ7VRC3&rYpPZY$KguQM0;~pKM60$;B z>qvq@%srOKR}w literal 0 HcmV?d00001 diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black/forecolor.png b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-black/forecolor.png new file mode 100755 index 0000000000000000000000000000000000000000..8e2a21e65f156c8dccc7167736bb9eecb3d3051d GIT binary patch literal 412 zcmV;N0b~A&P)P000>X1^@s6#OZ}&00009a7bBm000XU z000XU0RWnu7ytkOAY({UO#lFTB>(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRZ-B1uF+RCwC#l`(3>Fc3w*jA|=gz)iMGp+m%7+H~6nT;v*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4j)3cZ?-5SJ5TDhnn!*yD1EStlTBsy)VF&AS117^VqDR{r32?TJH z6kIFP@pU!@mV>KZ6qe>nNjJK3jR__&aU~#eBCLQFV^F|p%_C^UDFw%M5q9q1=7GRC zgvphHFOtgAr2-0)!T=FBF4oA0AOMEBkWd7}&~iY)hXg!6`@*r15D~$MKnzSgARCP` znGwA*c_J3Ol7cx5V?%g6hr_{j#BoW=!h;eL68sthK`e`ir3(lKb;c5Os1l3iVg(c@haipsisKdXWO$ORB#m|} zMlh3H(@Sprv|PUxtTr~X5~J`fm?@bet-yH62tIu-qG|OexTfiIfv4s2*kpMA#{Q$x zlUuBN{L?AhvWqF>V+8AVinX=aWPZ%y1XO60vUKNgv4Pj{NfOMp5+5 zZkqmX`_6{Ay1{2>7e6w$F9{CV8uGha8hRI4RJ7eTH{^mWK6vI`01nKLU*vln>PZ?& z8hO~|Qk+_laH*&7)=;LSt&e(p1Jx^Sg$6LRsOF0J{_U!j$EG@rs!uydr zO5GHA<#rHnv_^i%dVKHUB~_U<`;(ql{^62Ju63@<-5r~$ikcs?GXoDT@g3+GC{!5d zKkul`7~IlOGC(Edx9y&PFnh4~;SJ*SvuD(q!uss5e;wK|cu`wbDagj_F%@a{-U}-@ zxjxKXceA-t-1=IX>~@(CJ9^|us=B5B(U(w+OHznhN*f+Jm%si&%eAfb@S#qf^OOku?tUtUs z=$CV!1RAu9o405q#w6jzy=N{On!g{Y-~3KPcV_oiNyMpJL)qs!d*e(K+wKljtCKKM}U%tnjB+jV^tzx4j0*61tdy3<|VDeEE^ z4iQB?!FNImk10`CPX8-^I literal 0 HcmV?d00001 diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-white/backcolor.png b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/images/icons-white/backcolor.png new file mode 100755 index 0000000000000000000000000000000000000000..8e324abfe2df81c79061168b3a20fd83803d2681 GIT binary patch literal 586 zcmV-Q0=4~#P)P000>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umbowyg-2.0.0-beta.4/plugins/colors/ui/sass/trumbowyg.colors.scss b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/sass/trumbowyg.colors.scss new file mode 100755 index 00000000..e9ea3e71 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/colors/ui/sass/trumbowyg.colors.scss @@ -0,0 +1,94 @@ +@import "sprite-black"; +@import "sprite-black-2x"; +@import "sprite-white"; +@import "sprite-white-2x"; + +@import "sprite-pos"; + +.foreColor-trumbowyg-dropdown, +.backColor-trumbowyg-dropdown { + width: 276px; + padding: 7px 5px; + + button { + display: block; + position: relative; + float: left; + text-indent: -9999px; + height: 20px; + width: 20px; + border: 1px solid #333; + padding: 0; + margin: 2px; + + &:hover, + &:focus { + &::after { + content: " "; + display: block; + height: 27px; + width: 27px; + background: inherit; + position: absolute; + top: -5px; + left: -5px; + border: 1px solid #FFF; + box-shadow: #000 0 0 2px; + z-index: 10; + } + } + } +} + + + +/* + * Buttons icons + */ +.trumbowyg-button-pane li button { + &.trumbowyg-foreColor-button, + &.trumbowyg-backColor-button { + background-image: url($icons-black); + } + + &.trumbowyg-foreColor-button { @include sprite-pos($forecolor-black); } + &.trumbowyg-backColor-button { @include sprite-pos($backcolor-black); } +} + +.trumbowyg-black { + .trumbowyg-button-pane li button { + &.trumbowyg-foreColor-button, + &.trumbowyg-backColor-button { + background-image: url($icons-white); + } + + &.trumbowyg-foreColor-button { @include sprite-pos($forecolor-white); } + &.trumbowyg-backColor-button { @include sprite-pos($backcolor-white); } + } +} + + +@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 4/3), only screen and (min-device-pixel-ratio: 1.3), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx){ + .trumbowyg-button-pane li button { + &.trumbowyg-foreColor-button, + &.trumbowyg-backColor-button { + background-image: url($icons-black-2x) !important; + background-size: round($sprite-width-black-2x / 2) round($sprite-height-black-2x / 2) !important; + } + + &.trumbowyg-foreColor-button { @include sprite-pos($forecolor-black-2x, true); } + &.trumbowyg-backColor-button { @include sprite-pos($backcolor-black-2x, true); } + } + + .trumbowyg-black { + .trumbowyg-button-pane li button { + &.trumbowyg-foreColor-button, + &.trumbowyg-backColor-button { + background-image: url($icons-white-2x) !important; + } + + &.trumbowyg-foreColor-button { @include sprite-pos($forecolor-white-2x, true); } + &.trumbowyg-backColor-button { @include sprite-pos($backcolor-white-2x, true); } + } + } +} \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.js new file mode 100755 index 00000000..626e4059 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.js @@ -0,0 +1,157 @@ +/* =========================================================== + * trumbowyg.upload.js v1.0 + * Upload plugin for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Alexandre Demode (Alex-D) + * Twitter : @AlexandreDemode + * Website : alex-d.fr + */ + +(function($){ + 'use strict'; + + addXhrProgressEvent(); + + $.extend(true, $.trumbowyg, { + langs: { + en: { + upload: "Upload", + file: "File", + uploadError: "Error" + }, + sk: { + upload: "Nahrať", + file: "Súbor", + uploadError: "Chyba" + }, + fr: { + upload: "Envoi", + file: "Fichier", + uploadError: "Erreur" + }, + cs: { + upload: "Nahrát obrázek", + file: "Soubor", + uploadError: "Chyba" + } + }, + + upload: { + serverPath: './src/plugins/upload/trumbowyg.upload.php' + }, + + opts: { + btnsDef: { + upload: { + func: function(params, tbw){ + var file, + pfx = tbw.o.prefix; + + var $modal = tbw.openModalInsert( + // Title + tbw.lang.upload, + + // Fields + { + file: { + type: 'file', + required: true + }, + alt: { + label: 'description' + } + }, + + // Callback + function(){ + var data = new FormData(); + data.append('fileToUpload', file); + + if($('.' + pfx +'progress', $modal).length === 0) + $('.' + pfx + 'modal-title', $modal) + .after( + $('
', { + 'class': pfx +'progress' + }) + .append( + $('
', { + 'class': pfx +'progress-bar' + }) + ) + ); + + $.ajax({ + url: $.trumbowyg.upload.serverPath, + type: 'POST', + data: data, + cache: false, + dataType: 'json', + processData: false, + contentType: false, + + progressUpload: function(e){ + $('.' + pfx + 'progress-bar').stop().animate({ + width: Math.round(e.loaded * 100 / e.total) + '%' + }, 200); + }, + + success: function(data){ + if(data.message == "uploadSuccess") { + tbw.execCmd('insertImage', data.file); + setTimeout(function(){ + tbw.closeModal(); + }, 250); + } else { + tbw.addErrorOnModalField( + $('input[type=file]', $modal), + tbw.lang[data.message] + ); + } + }, + error: function(){ + tbw.addErrorOnModalField( + $('input[type=file]', $modal), + tbw.lang.uploadError + ); + } + }); + } + ); + + $('input[type=file]').on('change', function(e){ + try { + // If multiple files allowed, we just get the first. + file = e.target.files[0]; + } catch (err) { + // In IE8, multiple files not allowed + file = e.target.value; + } + }); + }, + ico: 'insertImage' + } + } + } + }); + + + function addXhrProgressEvent(){ + if (!$.trumbowyg && !$.trumbowyg.addedXhrProgressEvent) { // Avoid adding progress event multiple times + var originalXhr = $.ajaxSettings.xhr; + $.ajaxSetup({ + xhr: function() { + var req = originalXhr(), + that = this; + if(req && typeof req.upload == "object" && that.progressUpload !== undefined) + req.upload.addEventListener("progress", function(e){ + that.progressUpload(e); + }, false); + + return req; + } + }); + $.trumbowyg.addedXhrProgressEvent = true; + } + } +})(jQuery); diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.php b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.php new file mode 100755 index 00000000..32490ff5 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/plugins/upload/trumbowyg.upload.php @@ -0,0 +1,49 @@ + 'uploadSuccess', + 'file' => $file, + ); + } else { + $error = true; + $data = array( + 'message' => 'uploadError', + ); + } +} else { + $data = array( + 'message' => 'uploadNotAjax', + 'formData' => $_POST + ); +} + + + +echo json_encode($data); \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ar.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ar.js new file mode 100755 index 00000000..a03b4f1b --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ar.js @@ -0,0 +1,45 @@ +/* =========================================================== + * ar.js + * Arabic translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Abo Mokh ahmed (abomokhahmed) + * Github : https://github.com/abomokhahmed + */ + +jQuery.trumbowyg.langs.ar = { + _dir:"rtl", + viewHTML:"إعرض-HTML", + formatting:"تصميم", + p:"فقرة", + blockquote:"اقتباس", + code:"كود", + header:"رئيسي", + bold:"عريض", + italic:"مائل", + strikethrough:"مشطوب", + underline:"خطّ سفلي", + strong:"بارز", + em:"تغميق", + del:"حذف", + unorderedList:"قائمة غير مرتّبة", + orderedList:"قائمة مرتّبة", + insertImage:"إدخال صورة", + insertVideo:"إدخال فيديو", + link:"رابط", + createLink:"انشاء رابط", + unlink:"حذف رابط", + justifyLeft:"تصحيح للشمال", + justifyCenter:"تصحيح للمركز", + justifyRight:"تصحيح لليمين", + justifyFull:"تصحيح لكلا الإتّجاهين", + horizontalRule:"إدخال خطّ أفقي", + fullscreen:"شاشة واسعة", + close:"إغلاق", + submit:"أرسل", + reset:"تهيئة من حديد", + required:"إلزامي", + description:"وصف", + title:"عنوان", + text:"نصّ" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ca.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ca.js new file mode 100755 index 00000000..0e5d2827 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ca.js @@ -0,0 +1,57 @@ +/* =========================================================== + * ca.js + * Catalan translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Àlfons Sánchez (alsanan) + * Twitter : @alsanan + * Website : about.me/alsanan + * Github : https://github.com/alsanan + */ + +jQuery.trumbowyg.langs.ca = { + viewHTML: "Veure HTML", + + formatting: "Formatar", + p: "Paragraf", + blockquote: "Citació", + code: "Codi", + header: "Títol", + + bold: "Negreta", + italic: "Itàlica", + strikethrough: "Suprimir", + underline: "Subratllat", + + strong: "Forta", + em: "Èmfasi", + del: "Apagar", + + unorderedList: "Lista desordenada", + orderedList: "Lista ordenada", + + insertImage: "Inserir imatge", + insertVideo: "Inserir vídeo", + link: "Enllaç", + createLink: "Crear un enllaç", + unlink: "Eliminar enllaç", + + justifyLeft: "Alinear a esquerra", + justifyCenter: "Centrar", + justifyRight: "Alinear a dreta", + justifyFull: "Justificar", + + horizontalRule: "Inserir separador horitzontal", + + fullscreen: "Pantalla completa", + + close: "Tancar", + + submit: "Enviar", + reset: "Reiniciar", + + required: "Obligatori", + description: "Descripció", + title: "Títol", + text: "Text" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/cs.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/cs.js new file mode 100755 index 00000000..8cbfeef1 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/cs.js @@ -0,0 +1,54 @@ +/* =========================================================== + * cs.js + * Czech translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Jan Svoboda (https://github.com/svoboda-jan) + */ + +jQuery.trumbowyg.langs.cs = { + viewHTML: "Zobrazit HTML", + + formatting: "Formátování", + p: "Odstavec", + blockquote: "Citace", + code: "Kód", + header: "Nadpis", + + bold: "Tučné", + italic: "Kurzíva", + strikethrough: "Přeškrtnuté", + underline: "Podtržené", + + strong: "Tučné", + em: "Zvýraznit", + del: "Smazat", + + unorderedList: "Netříděný seznam", + orderedList: "Tříděný seznam", + + insertImage: "Vložit obrázek", + insertVideo: "Vložit video", + link: "Odkaz", + createLink: "Vložit odkaz", + unlink: "Smazat odkaz", + + justifyLeft: "Zarovnat doleva", + justifyCenter: "Zarovnat na střed", + justifyRight: "Zarovnat doprava", + justifyFull: "Zarovnat do bloku", + + horizontalRule: "Vložit vodorovnou čáru", + + fullscreen: "Režim celé obrazovky", + + close: "Zavřít", + + submit: "Potvrdit", + reset: "Zrušit", + + required: "Povinné", + description: "Popis", + title: "Nadpis", + text: "Text" +}; diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/da.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/da.js new file mode 100755 index 00000000..628caea2 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/da.js @@ -0,0 +1,55 @@ +/* =========================================================== + * da.js + * Danish translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Christian Pedersen + * Github : https://github.com/chripede + */ + +jQuery.trumbowyg.langs.da = { + viewHTML: "Vis HTML", + + formatting: "Formatter", + p: "Afsnit", + blockquote: "Citat", + code: "Kode", + header: "Overskrift", + + bold: "Fed", + italic: "Kursiv", + strikethrough: "Gennemstreg", + underline: "Understreg", + + strong: "Vigtig", + em: "Fremhæv", + del: "Slettet", + + unorderedList: "Uordnet liste", + orderedList: "Ordnet liste", + + insertImage: "Indsæt billede", + insertVideo: "Indsæt video", + link: "Link", + createLink: "Indsæt link", + unlink: "Fjern link", + + justifyLeft: "Venstrestil", + justifyCenter: "Centrer", + justifyRight: "Højrestil", + justifyFull: "Lige margener", + + horizontalRule: "Horisontal linie", + + fullscreen: "Fuld skærm", + + close: "Luk", + + submit: "Bekræft", + reset: "Annuller", + + required: "Påkrævet", + description: "Beskrivelse", + title: "Titel", + text: "Tekst" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/de.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/de.js new file mode 100755 index 00000000..0b29944d --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/de.js @@ -0,0 +1,55 @@ +/* =========================================================== + * de.js + * German translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Manfred Timm + * Github : https://github.com/Manfred62 + */ + +jQuery.trumbowyg.langs.de = { + viewHTML: "HTML anzeigen", + + formatting: "Formatieren", + p: "Absatz", + blockquote: "Zitat", + code: "Code", + header: "Überschrift", + + bold: "Fett", + italic: "Kursiv", + strikethrough: "Durchgestrichen", + underline: "Unterstrichen", + + strong: "Wichtig", + em: "Betont", + del: "Gelöscht", + + unorderedList: "Ungeordnete Liste", + orderedList: "Geordnete Liste", + + insertImage: "Bild einfügen", + insertVideo: "Video einfügen", + link: "Link", + createLink: "Link einfügen", + unlink: "Link entfernen", + + justifyLeft: "Links ausrichten", + justifyCenter: "Zentrieren", + justifyRight: "Rechts ausrichten", + justifyFull: "Blocksatz", + + horizontalRule: "Horizontale Linie einfügen", + + fullscreen: "Vollbild", + + close: "Schliessen", + + submit: "Bestätigen", + reset: "Rücksetzen", + + required: "Erforderlich", + description: "Beschreibung", + title: "Titel", + text: "Text" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/en.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/en.js new file mode 100755 index 00000000..ac16e30e --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/en.js @@ -0,0 +1,14 @@ +/* =========================================================== + * en.js + * English translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Alexandre Demode (Alex-D) + * Twitter : @AlexandreDemode + * Website : alex-d.fr + */ + +/** + * English is the default languange of Trumbowyg, + * you don't need to include any file :) + */ \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es.js new file mode 100755 index 00000000..4fe4e9b4 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es.js @@ -0,0 +1,55 @@ +/* =========================================================== + * es.js + * Spanish translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Moisés Márquez + * Email : moises.marquez.g@gmail.com + */ + +jQuery.trumbowyg.langs.es = { + viewHTML: "Ver HTML", + + formatting: "Formato", + p: "Párrafo", + blockquote: "Cita", + code: "Código", + header: "Título", + + bold: "Negrita", + italic: "Cursiva", + strikethrough: "Tachado", + underline: "Subrayado", + + strong: "Negrita", + em: "Énfasis", + del: "Borrar", + + unorderedList: "Lista Desordenada", + orderedList: "Lista Ordenada", + + insertImage: "Insertar una imagen", + insertVideo: "Insertar un vídeo", + link: "Enlace", + createLink: "Insertar un enlace", + unlink: "Suprimir un enlace", + + justifyLeft: "Izquierda", + justifyCenter: "Centrar", + justifyRight: "Derecha", + justifyFull: "Justificado", + + horizontalRule: "Insertar separador horizontal", + + fullscreen: "Pantalla completa", + + close: "Cerrar", + + submit: "Enviar", + reset: "Cancelar", + + required: "Obligatorio", + description: "Descripción", + title: "Título", + text: "Texto" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es_ar.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es_ar.js new file mode 100755 index 00000000..2c1e55fb --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/es_ar.js @@ -0,0 +1,55 @@ +/* =========================================================== + * es_ar.js + * Spanish (Argentina) translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Félix Vera + * Email : felix.vera@gmail.com + */ + +jQuery.trumbowyg.langs.es_ar = { + viewHTML: "Ver HTML", + + formatting: "Formato", + p: "Párrafo", + blockquote: "Cita", + code: "Código", + header: "Título", + + bold: "Negrita", + italic: "Itálica", + strikethrough: "Tachado", + underline: "Subrayado", + + strong: "Fuere", + em: "Énfasis", + del: "Borrar", + + unorderedList: "Lista Desordenada", + orderedList: "Lista Ordenada", + + insertImage: "Insertar una imagen", + insertVideo: "Insertar un video", + link: "Vínculo", + createLink: "Insertar un vínculo", + unlink: "Suprimir un vínculo", + + justifyLeft: "Alinear a la Izquierda", + justifyCenter: "Centrar", + justifyRight: "Alinear a la Derecha", + justifyFull: "Justificado", + + horizontalRule: "Insertar separado Horizontal", + + fullscreen: "Pantalla Completa", + + close: "Cerrar", + + submit: "Enviar", + reset: "Cancelar", + + required: "Obligatorio", + description: "Descripción", + title: "Título", + text: "Texto" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fa.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fa.js new file mode 100755 index 00000000..2a1b586e --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fa.js @@ -0,0 +1,56 @@ +/* =========================================================== + * fa.js + * Persian translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Kiarash Soleimanzadeh + * Github : https://github.com/kiyarash + * Email : kiarash.s@hotmail.com + */ + +jQuery.trumbowyg.langs.fa = { + viewHTML: "نمایش کد اچ تی ام ال", + + formatting: "قالب بندی", + p: "پاراگراف", + blockquote: "نقل قول", + code: "کد", + header: "سر تیتر", + + bold: "ضخیم", + italic: "مورب", + strikethrough: "میان خط دار", + underline: "زیر خط دار", + + strong: "برجسته", + em: "مورب", + del: "حذف شده", + + unorderedList: "لیست نامرتب", + orderedList: "لیست مرتب", + + insertImage: "درج تصویر", + insertVideo: "درج ویدئو", + link: "لینک", + createLink: "درج لینک", + unlink: "حذف لینک", + + justifyLeft: "تراز به چپ", + justifyCenter: "تراز به وسط", + justifyRight: "تراز به راست", + justifyFull: "تراز به چپ و راست", + + horizontalRule: "درج خط افقی", + + fullscreen: "تمام صفحه", + + close: "بستن", + + submit: "تائید", + reset: "انصراف", + + required: "اجباری", + description: "توضیحات", + title: "عنوان", + text: "متن" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fi.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fi.js new file mode 100755 index 00000000..4adaf428 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fi.js @@ -0,0 +1,55 @@ +/* =========================================================== + * fi.js + * Finnish translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Teppo Koivula (teppokoivula) + * Github : https://github.com/teppokoivula + */ + +jQuery.trumbowyg.langs.fi = { + viewHTML: "Näytä HTML", + + formatting: "Muotoilu", + p: "Kappale", + blockquote: "Lainaus", + code: "Koodi", + header: "Otsikko", + + bold: "Lihavointi", + italic: "Kursivointi", + strikethrough: "Yliviivaus", + underline: "Allevivaus", + + strong: "Vahvennus", + em: "Painotus", + del: "Poistettu", + + unorderedList: "Numeroimaton lista", + orderedList: "Numeroitu lista", + + insertImage: "Lisää kuva", + insertVideo: "Lisää video", + link: "Linkki", + createLink: "Luo linkki", + unlink: "Poista linkki", + + justifyLeft: "Asemoi vasemmalle", + justifyCenter: "Keskitä", + justifyRight: "Asemoi oikealle", + justifyFull: "Tasaa", + + horizontalRule: "Vaakaviiva", + + fullscreen: "Kokoruutu", + + close: "Sulje", + + submit: "Lähetä", + reset: "Palauta", + + required: "Pakollinen", + description: "Kuvaus", + title: "Otsikko", + text: "Teksti" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fr.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fr.js new file mode 100755 index 00000000..182bb52a --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/fr.js @@ -0,0 +1,56 @@ +/* =========================================================== + * fr.js + * French translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Alexandre Demode (Alex-D) + * Twitter : @AlexandreDemode + * Website : alex-d.fr + */ + +jQuery.trumbowyg.langs.fr = { + viewHTML: "Voir le HTML", + + formatting: "Format", + p: "Paragraphe", + blockquote: "Citation", + code: "Code", + header: "Titre", + + bold: "Gras", + italic: "Italique", + strikethrough: "Rayé", + underline: "Souligné", + + strong: "Fort", + em: "Emphase", + del: "Supprimé", + + unorderedList: "Liste à puces", + orderedList: "Liste ordonnée", + + insertImage: "Insérer une image", + insertVideo: "Insérer une video", + link: "Lien", + createLink: "Insérer un lien", + unlink: "Supprimer le lien", + + justifyLeft: "Aligner à gauche", + justifyCenter: "Centrer", + justifyRight: "Aligner à droite", + justifyFull: "Justifier", + + horizontalRule: "Insérer un séparateur horizontal", + + fullscreen: "Plein écran", + + close: "Fermer", + + submit: "Valider", + reset: "Annuler", + + required: "Obligatoire", + description: "Description", + title: "Titre", + text: "Texte" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/he.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/he.js new file mode 100755 index 00000000..4a094f4c --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/he.js @@ -0,0 +1,57 @@ +/* =========================================================== +* he.js +* Hebrew translation for Trumbowyg +* http://alex-d.github.com/Trumbowyg +* =========================================================== +* Author : Udi Doron (udidoron) +* Github : https://github.com/udidoron +*/ + +jQuery.trumbowyg.langs.he = { + _dir: "rtl", + + viewHTML: "צפה ב-HTML", + + formatting: "פורמט", + p: "פסקה", + blockquote: "ציטוט", + code: "קוד", + header: "ראשית", + + bold: "מודגש", + italic: "נטוי", + strikethrough: "קו חוצה", + underline: "קו תחתון", + + strong: "בולט", + em: "הדגשה", + del: "נמחק", + + unorderedList: "רשימה ללא סדר", + orderedList: "רשימה מסודרת", + + insertImage: "הכנס תמונה", + insertVideo: "הכנס סרטון", + link: "קישור", + createLink: "צור קישור", + unlink: "הסר קישור", + + justifyLeft: "ישר לשמאל", + justifyCenter: "מרכז", + justifyRight: "ישר לימין", + justifyFull: "ישר לשני הצדדים", + + horizontalRule: "הכנס קו אופקי", + + fullscreen: "מסך מלא", + + close: "סגור", + + submit: "שלח", + reset: "אתחל מחדש", + + required: "נחוץ", + description: "תיאור", + title: "כותרת", + text: "טקסט" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/id.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/id.js new file mode 100755 index 00000000..6b048fb1 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/id.js @@ -0,0 +1,57 @@ +/* =========================================================== + * id.js + * Indonesian translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Rezha Julio (kimiamania) + * Twitter : @kimiamania + * Website : http://rezhajulio.web.id + * Github : https://github.com/kimiamania + */ + +jQuery.trumbowyg.langs.id = { + viewHTML: "Lihat HTML", + + formatting: "Penyusunan", + p: "Paragraf", + blockquote: "Kutipan", + code: "Kode", + header: "Kepala", + + bold: "Tebal", + italic: "Miring", + strikethrough: "Coret", + underline: "Garis bawah", + + strong: "Tebal", + em: "Miring", + del: "Dicoret", + + unorderedList: "Daftar tak teratur", + orderedList: "Daftar teratur", + + insertImage: "Sisipkan gambar", + insertVideo: "Sisipkan video", + link: "Tautan", + createLink: "Sisipkan Tautan", + unlink: "Singkirkan tautan", + + justifyLeft: "Rata kiri", + justifyCenter: "Rata Tengah", + justifyRight: "Rata kanan", + justifyFull: "Rata kiri dan kanan", + + horizontalRule: "Sisipkan garis mendatar", + + fullscreen: "Layar penuh", + + close: "Tutup", + + submit: "Setuju", + reset: "Batal", + + required: "Diperlukan", + description: "Deskripsi", + title: "Judul", + text: "Teks" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/it.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/it.js new file mode 100755 index 00000000..ad784e50 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/it.js @@ -0,0 +1,54 @@ +/* =========================================================== + * it.js + * Italian translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Mirko Buffoni + */ + +jQuery.trumbowyg.langs.it = { + viewHTML: "Mostra HTML", + + formatting: "Formattazione", + p: "Paragrafo", + blockquote: "Citazione", + code: "Codice", + header: "Intestazione", + + bold: "Grassetto", + italic: "Italico", + strikethrough: "Barrato", + underline: "Sottolineato", + + strong: "Rafforza", + em: "Enfatizza", + del: "Cancella", + + unorderedList: "Elenco puntato", + orderedList: "Elenco numerato", + + insertImage: "Inserisci immagine", + insertVideo: "Inserisci video", + link: "Collegamento", + createLink: "Crea un collegamento", + unlink: "Elimina collegamento", + + justifyLeft: "Allinea a sinistra", + justifyCenter: "Centra", + justifyRight: "Allinea a destra", + justifyFull: "Giustifica", + + horizontalRule: "Inserisci un separatore orizzontale", + + fullscreen: "Schermo intero", + + close: "Chiudi", + + submit: "Invia", + reset: "Annulla", + + required: "Obbligatorio", + description: "Descrizione", + title: "Titolo", + text: "Testo" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ja.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ja.js new file mode 100755 index 00000000..86d600db --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ja.js @@ -0,0 +1,56 @@ +/* =========================================================== + * ja.js + * Japanese translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Kouta Fukuhara (foo9) + * Twitter : @foo9 + * Website : https://github.com/foo9 + */ + +jQuery.trumbowyg.langs.ja = { + viewHTML: "HTML表示", + + formatting: "フォーマット", + p: "段落", + blockquote: "引用", + code: "コード", + header: "見出し", + + bold: "太字", + italic: "斜体", + strikethrough: "取り消し線", + underline: "下線", + + strong: "太字", + em: "斜体", + del: "取り消し線", + + unorderedList: "順序なしリスト", + orderedList: "順序ありリスト", + + insertImage: "画像の挿入", + insertVideo: "動画の挿入", + link: "リンク", + createLink: "リンクの作成", + unlink: "リンクの削除", + + justifyLeft: "左揃え", + justifyCenter: "中央揃え", + justifyRight: "右揃え", + justifyFull: "両端揃え", + + horizontalRule: "横罫線", + + fullscreen: "全画面表示", + + close: "閉じる", + + submit: "送信", + reset: "キャンセル", + + required: "必須", + description: "説明", + title: "タイトル", + text: "テキスト" +}; diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ko.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ko.js new file mode 100755 index 00000000..ae6027c0 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ko.js @@ -0,0 +1,56 @@ +/* =========================================================== + * ko.js + * Korean translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : JoongSeob Vito Kim (dorajistyle) + * Blog : http://dorajistyle.pe.kr + * Github : https://github.com/dorajistyle + */ + +jQuery.trumbowyg.langs.ko = { + viewHTML: "HTML로 보기", + + formatting: "양식", + p: "문단", + blockquote: "인용부호", + code: "코드", + header: "머릿말", + + bold: "진하게", + italic: "기울임", + strikethrough: "취소선", + underline: "밑줄", + + strong: "굵게", + em: "강조", + del: "취소", + + unorderedList: "순차 목록", + orderedList: "비순차 목록", + + insertImage: "이미지 넣기", + insertVideo: "비디오 넣기", + link: "링크", + createLink: "링크 넣기", + unlink: "링크 없애기", + + justifyLeft: "왼쪽 정렬", + justifyCenter: "가운데 정렬", + justifyRight: "오른쪽 정렬", + justifyFull: "혼합 정렬", + + horizontalRule: "가로줄 넣기", + + fullscreen: "전체 화면", + + close: "닫기", + + submit: "전송", + reset: "초기화", + + required: "꼭 입력해야 합니다.", + description: "설명", + title: "제목", + text: "본문 내용" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/nl.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/nl.js new file mode 100755 index 00000000..fed7be0f --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/nl.js @@ -0,0 +1,56 @@ +/* =========================================================== + * nl.js + * Dutch translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Danny Hiemstra + * Github : https://github.com/dhiemstra + */ + +jQuery.trumbowyg.langs.nl = { + viewHTML: "HTML bekijken", + + formatting: "Opmaak", + p: "Paragraaf", + blockquote: "Citaat", + code: "Code", + header: "Kop", + + bold: "Vet", + italic: "Cursief", + strikethrough: "Doorhalen", + underline: "Onderlijnen", + + strong: "Sterk", + em: "Nadruk", + del: "Verwijderd", + + unorderedList: "Ongenummerde lijst", + orderedList: "Genummerde lijst", + + insertImage: "Afbeelding invoegen", + insertVideo: "Video invoegen", + link: "Link", + createLink: "Link maken", + unlink: "Link verwijderen", + + justifyLeft: "Links uitlijnen", + justifyCenter: "Centreren", + justifyRight: "Rechts uitlijnen", + justifyFull: "Uitvullen", + + horizontalRule: "Horizontale lijn", + removeFormat: "Opmaak verwijderen", + + fullscreen: "Volledig scherm", + + close: "Sluiten", + + submit: "Verzenden", + reset: "Herstellen", + + required: "Verplicht", + description: "Omschrijving", + title: "Titel", + text: "Tekst" +}; diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pl.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pl.js new file mode 100755 index 00000000..5e5ad1b7 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pl.js @@ -0,0 +1,55 @@ +/* =========================================================== + * pl.js + * Polish translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Paweł Abramowicz + * Github : https://github.com/pawelabrams + */ + +jQuery.trumbowyg.langs.pl = { + viewHTML: "Pokaż HTML", + + formatting: "Format", + p: "Akapit", + blockquote: "Cytat", + code: "Kod", + header: "Nagłówek", + + bold: "Pogrubienie", + italic: "Pochylenie", + strikethrough: "Przekreślenie", + underline: "Podkreślenie", + + strong: "Wytłuszczenie", + em: "Uwydatnienie", + del: "Usunięte", + + unorderedList: "Lista nieuporządkowana", + orderedList: "Lista uporządkowana", + + insertImage: "Wstaw obraz", + insertVideo: "Wstaw film", + link: "Link", + createLink: "Wstaw link", + unlink: "Usuń link", + + justifyLeft: "Wyrównaj do lewej", + justifyCenter: "Wyśrodkuj", + justifyRight: "Wyrównaj do prawej", + justifyFull: "Wyjustuj", + + horizontalRule: "Odkreśl linią", + + fullscreen: "Pełny ekran", + + close: "Zamknij", + + submit: "Zastosuj", + reset: "Przywróć", + + required: "Wymagane", + description: "Opis", + title: "Tytuł", + text: "Tekst" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pt.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pt.js new file mode 100755 index 00000000..df72e014 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/pt.js @@ -0,0 +1,57 @@ +/* =========================================================== + * pt.js + * Portuguese translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Ramiro Varandas Jr (ramirovjr) + * Twitter : @ramirovjnr + * Website : about.me/ramirovjnr + * Github : https://github.com/ramirovjr + */ + +jQuery.trumbowyg.langs.pt = { + viewHTML: "Ver HTML", + + formatting: "Formatar", + p: "Paragráfo", + blockquote: "Citação", + code: "Código", + header: "Título", + + bold: "Negrito", + italic: "Itálico", + strikethrough: "Suprimir", + underline: "Sublinhado", + + strong: "Forte", + em: "Ênfase", + del: "Apagar", + + unorderedList: "Lista não ordenada", + orderedList: "Liste ordenada", + + insertImage: "Inserir imagem", + insertVideo: "Inserir vídeo", + link: "Link", + createLink: "Criar um link", + unlink: "Remover link", + + justifyLeft: "Alinhar a esquerda", + justifyCenter: "Centralizar", + justifyRight: "Alinhar a direita", + justifyFull: "Justificar", + + horizontalRule: "Inserir separador horizontal", + + fullscreen: "Tela cheia", + + close: "Fechar", + + submit: "Enviar", + reset: "Limpar", + + required: "Obrigatório", + description: "Descrição", + title: "Título", + text: "Texto" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ro.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ro.js new file mode 100755 index 00000000..39aea363 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ro.js @@ -0,0 +1,59 @@ +/* =========================================================== + * ro.js + * Romanian translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Vladut Radulescu (pacMakaveli) + * + * Email: pacMakaveli90@gmail.com + * Twitter : @pacMakaveli90 + * Website : creative-studio51.co.uk + * Github : https://github.com/pacMakaveli + */ + +jQuery.trumbowyg.langs.pt = { + viewHTML: "Vizualizare HTML", + + formatting: "Format", + p: "Paragraf", + blockquote: "Citație", + code: "Cod", + header: "Titlu", + + bold: "Bold", + italic: "Italic", + strikethrough: "Tăiat", + underline: "Subliniat", + + strong: "Puternic", + em: "Accentuat", + del: "Sterge", + + unorderedList: "Lista dezordonată", + orderedList: "Liste ordonată", + + insertImage: "Adăugare Imagine", + insertVideo: "Adăugare Video", + link: "Link", + createLink: "Crează link", + unlink: "Remover link", + + justifyLeft: "Aliniază stânga", + justifyCenter: "Aliniază centru", + justifyRight: "Aliniază dreapta", + justifyFull: "Justificare", + + horizontalRule: "Linie orizontală", + + fullscreen: "Tot ecranul", + + close: "Închide", + + submit: "Procesează", + reset: "Resetează", + + required: "Obligatoriu", + description: "Descriere", + title: "Titlu", + text: "Text" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs.js new file mode 100755 index 00000000..6228be5f --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs.js @@ -0,0 +1,44 @@ +/* =========================================================== + * rs.js + * Serbian (Cyrlic) translation for Trumbowyg + * https://www.github.com/johonunu + * =========================================================== + * Author : Nikola Trifunovic (https://www.github.com/johonunu) + */ + +jQuery.trumbowyg.langs.rs = { + viewHTML: "Погледај HTML кóд", + formatting: "Форматирање", + p: "Параграф", + blockquote: "Цитат", + code: "Кóд", + header: "Наслов", + bold: "Подебљано", + italic: "Курзив", + strikethrough: "Прецртано", + underline: "Подвучено", + strong: "Подебљано", + em: "Истакнуто", + del: "Обрисано", + unorderedList: "Ненабројива листа", + orderedList: "Набројива листа", + insertImage: "Унеси слику", + insertVideo: "Унеси видео", + link: "Линк", + createLink: "Унеси линк", + unlink: "Уклони линк", + justifyLeft: "Лево равнање", + justifyCenter: "Централно равнање", + justifyRight: "Десно равнање", + justifyFull: "Обострано равнање", + horizontalRule: "Хоризонтална линија", + fullscreen: "Режим читавог екрана", + close: "Затвори", + submit: "Унеси", + reset: "Откажи", + required: "Обавезно поље", + invalidUrl: "URL", + description: "Опис", + title: "Наслов", + text: "Текст" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs_latin.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs_latin.js new file mode 100755 index 00000000..08e5da11 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/rs_latin.js @@ -0,0 +1,44 @@ +/* =========================================================== + * rs_latin.js + * Serbian (Latin) translation for Trumbowyg + * https://www.github.com/johonunu + * =========================================================== + * Author : Nikola Trifunovic (https://www.github.com/johonunu) + */ + +jQuery.trumbowyg.langs.rs_latin = { + viewHTML: "Poglеdaj HTML kód", + formatting: "Formatiranjе", + p: "Paragraf", + blockquote: "Citat", + code: "Kód", + header: "Naslov", + bold: "Podеbljano", + italic: "Kurziv", + strikethrough: "Prеcrtano", + underline: "Podvučеno", + strong: "Podеbljano", + em: "Istaknuto", + del: "Obrisano", + unorderedList: "Nеnabrojiva lista", + orderedList: "Nabrojiva lista", + insertImage: "Unеsi sliku", + insertVideo: "Unеsi vidеo", + link: "Link", + createLink: "Unеsi link", + unlink: "Ukloni link", + justifyLeft: "Lеvo ravnanjе", + justifyCenter: "Cеntralno ravnanjе", + justifyRight: "Dеsno ravnanjе", + justifyFull: "Obostrano ravnanjе", + horizontalRule: "Horizontalna linija", + fullscreen: "Rеžim čitavog еkrana", + close: "Zatvori", + submit: "Unеsi", + reset: "Otkaži", + required: "Obavеzno poljе", + invalidUrl: "URL", + description: "Opis", + title: "Naslov", + text: "Tеkst" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ru.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ru.js new file mode 100755 index 00000000..31080b22 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/ru.js @@ -0,0 +1,54 @@ +/* =========================================================== + * ru.js + * Russion translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Yuri Lya + */ + +jQuery.trumbowyg.langs.ru = { + viewHTML: "Посмотреть HTML", + + formatting: "Форматирование", + p: "Обычный", + blockquote: "Цитата", + code: "Код", + header: "Заголовок", + + bold: "Полужирный", + italic: "Курсив", + strikethrough: "Зачеркнутый", + underline: "Подчеркнутый", + + strong: "Полужирный", + em: "Курсив", + del: "Зачеркнутый", + + unorderedList: "Обычный список", + orderedList: "Нумерованный список", + + insertImage: "Вставить изображение", + insertVideo: "Вставить видео", + link: "Ссылка", + createLink: "Вставить ссылку", + unlink: "Удалить ссылку", + + justifyLeft: "По левому краю", + justifyCenter: "По центру", + justifyRight: "По правому краю", + justifyFull: "По ширине", + + horizontalRule: "Горизонтальная линия", + + fullscreen: "Во весь экран", + + close: "Закрыть", + + submit: "Вставить", + reset: "Отменить", + + required: "Обязательное", + description: "Описание", + title: "Подсказка", + text: "Текст" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/sk.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/sk.js new file mode 100755 index 00000000..32c9ae3c --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/sk.js @@ -0,0 +1,54 @@ +/* =========================================================== + * sk.js + * Slovak translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : VeeeneX (https://github.com/VeeeneX) + */ + +jQuery.trumbowyg.langs.sk = { + viewHTML: "Zobraziť HTML", + + formatting: "Formátovanie", + p: "Paragraf", + blockquote: "Citácia", + code: "Kód", + header: "Nadpis", + + bold: "Tučné", + italic: "Kurzíva", + strikethrough: "Preškrtnuté", + underline: "Podčiarknuté", + + strong: "Tučné", + em: "Zvýrazniť", + del: "Zmazať", + + unorderedList: "Netriedený zoznam", + orderedList: "Triedený zoznam", + + insertImage: "Vložiť obrázok", + insertVideo: "Vložiť video", + link: "Odkaz", + createLink: "Vložiť odkaz", + unlink: "Zmazať odkaz", + + justifyLeft: "Zarovnať doľava", + justifyCenter: "Zarovnať na stred", + justifyRight: "Zarovnať doprava", + justifyFull: "Zarovnať do bloku", + + horizontalRule: "Vložit vodorovnú čiaru", + + fullscreen: "Režim celej obrazovky", + + close: "Zavrieť", + + submit: "Potvrdiť", + reset: "Zrušiť", + + required: "Povinné", + description: "Popis", + title: "Nadpis", + text: "Text" +}; diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/tr.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/tr.js new file mode 100755 index 00000000..277cd8dd --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/tr.js @@ -0,0 +1,56 @@ +/* =========================================================== + * tr.js + * Turkish translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Emrah Bilbay (munzur) + * Github : https://github.com/munzur + * Website: http://kafe.in/ + */ + +jQuery.trumbowyg.langs.tr = { + viewHTML: "HTML Kodu", + + formatting: "Biçimlendirme", + p: "Paragraf", + blockquote: "Alıntı", + code: "Kod", + header: "Başlık", + + bold: "Kalın", + italic: "İtalik", + strikethrough: "Orta çizgi", + underline: "Alt çigzi", + + strong: "Koyu", + em: "Vurgulu", + del: "Üstü çizilmiş", + + unorderedList: "Numarasız liste", + orderedList: "Numaralı liste", + + insertImage: "Resim yerleştir", + insertVideo: "Video yerleştir", + link: "Link", + createLink: "Link yerleştir", + unlink: "Linki sil", + + justifyLeft: "Sola hizala", + justifyCenter: "Ortaya hizala", + justifyRight: "Sağa hizala", + justifyFull: "Yasla", + + horizontalRule: "Yatay çizgi ekle", + + fullscreen: "Tam ekran", + + close: "Kapat", + + submit: "Onayla", + reset: "Sıfırla", + + required: "Gerekli", + description: "Açıklama", + title: "Başlık", + text: "Metin" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/zh_cn.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/zh_cn.js new file mode 100755 index 00000000..a76a72a8 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/langs/zh_cn.js @@ -0,0 +1,56 @@ +/* =========================================================== + * zh_cn.js + * Simplified Chinese translation for Trumbowyg + * http://alex-d.github.com/Trumbowyg + * =========================================================== + * Author : Liu Kai (akai) + * Twitter : @akai404 + * Github : https://github.com/akai + */ + +jQuery.trumbowyg.langs.zh_cn = { + viewHTML: "源代码", + + formatting: "格式", + p: "段落", + blockquote: "引用", + code: "代码", + header: "标题", + + bold: "加粗", + italic: "斜体", + strikethrough: "删除线", + underline: "下划线", + + strong: "加粗", + em: "斜体", + del: "删除线", + + unorderedList: "无序列表", + orderedList: "有序列表", + + insertImage: "插入图片", + insertVideo: "插入视频", + link: "超链接", + createLink: "插入链接", + unlink: "取消链接", + + justifyLeft: "居左对齐", + justifyCenter: "居中对齐", + justifyRight: "居右对齐", + justifyFull: "两端对齐", + + horizontalRule: "插入分隔线", + + fullscreen: "全屏", + + close: "关闭", + + submit: "确定", + reset: "取消", + + required: "必需的", + description: "描述", + title: "标题", + text: "文字" +}; \ No newline at end of file diff --git a/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/trumbowyg.js b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/trumbowyg.js new file mode 100755 index 00000000..d4bbfb38 --- /dev/null +++ b/plugins/trumbowyg/Trumbowyg-2.0.0-beta.4/src/trumbowyg.js @@ -0,0 +1,1213 @@ +jQuery.trumbowyg = { + langs: { + en: { + viewHTML: "View HTML", + + formatting: "Formatting", + p: "Paragraph", + blockquote: "Quote", + code: "Code", + header: "Header", + + bold: "Bold", + italic: "Italic", + strikethrough: "Stroke", + underline: "Underline", + + strong: "Strong", + em: "Emphasis", + del: "Deleted", + + unorderedList: "Unordered list", + orderedList: "Ordered list", + + insertImage: "Insert Image", + insertVideo: "Insert Video", + link: "Link", + createLink: "Insert link", + unlink: "Remove link", + + justifyLeft: "Align Left", + justifyCenter: "Align Center", + justifyRight: "Align Right", + justifyFull: "Align Justify", + + horizontalRule: "Insert horizontal rule", + removeformat: "Remove format", + + fullscreen: "fullscreen", + + close: "Close", + + submit: "Confirm", + reset: "Cancel", + + required: "Required", + description: "Description", + title: "Title", + text: "Text", + target: "Target" + } + }, + + // User default options + opts: {}, + + btnsGrps: { + design: ['bold', 'italic', 'underline', 'strikethrough'], + semantic: ['strong', 'em', 'del'], + justify: ['justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull'], + lists: ['unorderedList', 'orderedList'] + } +}; + + + +(function(navigator, window, document, $, undefined){ + 'use strict'; + + // @param : o are options + // @param : p are params + $.fn.trumbowyg = function(o, p){ + if(o === Object(o) || !o){ + return this.each(function(){ + if(!$(this).data('trumbowyg')) + $(this).data('trumbowyg', new Trumbowyg(this, o)); + }); + } + if(this.length === 1){ + try { + var t = $(this).data('trumbowyg'); + switch(o){ + // Modal box + case 'openModal': + return t.openModal(p.title, p.content); + case 'closeModal': + return t.closeModal(); + case 'openModalInsert': + return t.openModalInsert(p.title, p.fields, p.callback); + + // Selection + case 'saveSelection': + return t.saveSelection(); + case 'getSelection': + return t.selection; + case 'getSelectedText': + return t.getSelectedText(); + case 'restoreSelection': + return t.restoreSelection(); + + // Destroy + case 'destroy': + return t.destroy(); + + // Empty + case 'empty': + return t.empty(); + + // Public options + case 'lang': + return t.lang; + + // HTML + case 'html': + return t.html(p); + } + } catch(e){} + } + + return false; + }; + + // @param : editorElem is the DOM element + // @param : o are options + var Trumbowyg = function(editorElem, o){ + var t = this; + // Get the document of the element. It use to makes the plugin + // compatible on iframes. + t.doc = editorElem.ownerDocument || document; + // jQuery object of the editor + t.$ta = $(editorElem); // $ta : Textarea + t.$c = $(editorElem); // $c : creator + + // Extend with options + o = $.extend(true, {}, o, $.trumbowyg.opts); + + // Localization management + if(typeof o.lang === 'undefined' || typeof $.trumbowyg.langs[o.lang] === 'undefined') + t.lang = $.trumbowyg.langs.en; + else + t.lang = $.extend(true, {}, $.trumbowyg.langs.en, $.trumbowyg.langs[o.lang]); + + // Header translation + var h = t.lang.header; + + // Defaults Options + t.o = $.extend(true, {}, { + lang: 'en', + dir: 'ltr', + + closable: false, + fullscreenable: true, + fixedBtnPane: false, + fixedFullWidth: false, + autogrow: false, + + prefix: 'trumbowyg-', + + // WYSIWYG only + semantic: true, + resetCss: false, + removeformatPasted: false, + + btns: [ + 'viewHTML', + '|', 'formatting', + '|', 'btnGrp-design', + '|', 'link', + '|', 'insertImage', + '|', 'btnGrp-justify', + '|', 'btnGrp-lists', + '|', 'horizontalRule', + '|', 'removeformat' + ], + btnsAdd: [], + + /** + * When the button is associated to a empty object + * func and title attributs are defined from the button key value + * + * For example + * foo: {} + * is equivalent to : + * foo: { + * func: 'foo', + * title: this.lang.foo + * } + */ + btnsDef: { + viewHTML: { + func: 'toggle' + }, + + p: { + func: 'formatBlock' + }, + blockquote: { + func: 'formatBlock' + }, + h1: { + func: 'formatBlock', + title: h + ' 1' + }, + h2: { + func: 'formatBlock', + title: h + ' 2' + }, + h3: { + func: 'formatBlock', + title: h + ' 3' + }, + h4: { + func: 'formatBlock', + title: h + ' 4' + }, + + bold: { + key: 'B' + }, + italic: { + key: 'I' + }, + underline: {}, + strikethrough: {}, + + strong: { + func: 'bold', + key: 'B' + }, + em: { + func: 'italic', + key: 'I' + }, + del: { + func: 'strikethrough' + }, + + createLink: { + key: 'K' + }, + unlink: {}, + + insertImage: {}, + + justifyLeft: {}, + justifyCenter: {}, + justifyRight: {}, + justifyFull: {}, + + unorderedList: { + func: 'insertUnorderedList' + }, + orderedList: { + func: 'insertOrderedList' + }, + + horizontalRule: { + func: 'insertHorizontalRule' + }, + + removeformat: {}, + + // Dropdowns + formatting: { + dropdown: ['p', 'blockquote', 'h1', 'h2', 'h3', 'h4'] + }, + link: { + dropdown: ['createLink', 'unlink'] + } + }, + + blockLevelElements: ['br', 'p', 'div', 'ul', 'ol', 'table', 'img', 'address', 'article', 'aside', 'audio', 'blockquote', 'canvas', 'dl', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'nav', 'noscript', 'output', 'pre', 'section', 'tfoot', 'video'] + + }, o); + + if(o.btns) + t.o.btns = o.btns; + else if(t.o.semantic) + t.o.btns[4] = 'btnGrp-semantic'; + + // Keyboard shortcuts are load in this array + t.keys = []; + + t.init(); + }; + + Trumbowyg.prototype = { + init: function(){ + var t = this; + t.height = t.$ta.height(); + + t.buildEditor(); + t.buildBtnPane(); + + t.fixedBtnPaneEvents(); + + t.buildOverlay(); + }, + + buildEditor: function(){ + var t = this, + prefix = t.o.prefix, + html = ''; + + t.$box = $('
', { + 'class': prefix + 'box ' + prefix + 'editor-visible ' + prefix + t.o.lang + ' trumbowyg' + }); + + // $ta = Textarea + // $ed = Editor + t.isTextarea = t.$ta.is('textarea'); + if(t.isTextarea){ + html = t.$ta.val(); + t.$ed = $('
'); + t.$box + .insertAfter(t.$ta) + .append(t.$ed, t.$ta); + } else { + t.$ed = t.$ta; + html = t.$ed.html(); + + t.$ta = $('